Posts

Showing posts from January, 2022

C++ IDEs for Ubuntu Linux

 C++ IDEs for Ubuntu Linux I read some web articles about recommended C++ Integrated Development Environments used to write code for C++ in Ubuntu and tried a number including: Netbeans Eclipse for C/C++ Visual Studio Code CodeBlocks KDevelop Geany All of them had serious issues except Geany.  Netbeans required configuration. C++ code files could not be handled at all. There was no easy guide on how to get Netbeans to compile, build and run C++ code.  Eclipse had similar issues to Netbeans. There is a specific version of Eclipse for C++ but surprisingly, it seems not to work out of the box. I had no time to fiddle with IDEs.  Visual Studio Code looks sleek but I could not figure out how to compile, build and run C++ code files! What a pity. Why spend so much energy beautifying software and little effort to make it usable? Its a nightmare for me. I have no time for "steep learning curves". I want my "Hello World!" to compile, build and run pronto.  CodeBlocks ...

BEGINNING PROGRAMMING WITH C++

 BEGINNING PROGRAMMING WITH C++ This blog contains notes on programming with C++. A good book to get (z-lib.org) is  Introduction to C++ Programming Concepts and Applications by John Keyser. BUILT-IN DATA TYPES IN C++ See  https://www.tutorialspoint.com/cplusplus/cpp_data_types.htm  Seven basic C++ data types Type Keyword Boolean bool Character char Integer int Floating point float Double floating point double Valueless void Wide character wchar_t      The 3 basic Boolean operations— and , or , and not —can be combined to make more complex logical operations. The order of precedence in the way that these logical operators are evaluated are:  not first, then and , and then or .