User Tools

Site Tools


programming:cpp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
programming:cpp [2021/04/16 18:22]
nanodano
programming:cpp [2021/06/09 00:55] (current)
nanodano
Line 1: Line 1:
 ====== C++ Programming ====== ====== C++ Programming ======
  
-C++ is a language based on CIf you want C programming, see: [[:programming:c|C Programming]]. C++ is a much more complex language than C. C++ is still highly portable, but not as much as C. C++ has the kitchen sink.+If you are looking for the C programming language, see: [[:programming:c|C Programming]]. C++ is a much more complex language than C. C++ is still highly portable, but not as much as C. C++ has the kitchen sink.
  
-===== Editors =====+===== Blog posts =====
  
-Technically you could write code in any text editor, but some are better than othersAt minimum, you'll want to use an editor that supports syntax highlighting which will help you read the code and identify syntax errors easier.+See: https://www.devdungeon.com/content/c
  
-You might also want an editor that has a built-in debugger, terminal, and version control tools. When an editor starts to incorporate these kinds of features, it becomes an integrated development environment (IDE) rather than a simple text editor.+===== Editors =====
  
   * vim   * vim
Line 28: Line 28:
   * clang   * clang
   * TurboC++ (DOS)   * TurboC++ (DOS)
- 
-===== Debugging ===== 
- 
-==== Methods of debugging ==== 
- 
-  * Rubber duck 
-  * Print statements 
-  * breakpoint debugging 
  
 ==== Debuggers ==== ==== Debuggers ====
Line 52: Line 44:
 ===== Code examples ===== ===== Code examples =====
  
-==== Hello world ==== +See https://github.com/devdungeon/cookbook/
- +
-<code cpp hello.cpp> +
-#include <iostream> +
- +
-int main() { +
-  std::cout << "Hello, world!" << std::endl; +
-+
-</code> +
- +
-==== Command-line arguments ==== +
- +
-==== Environment variables ==== +
- +
-==== User input ==== +
- +
-==== Formatting output ==== +
- +
-Using tabs, using ASCII borders, formatting hex/binary/money/decimal points+
  
  
programming/cpp.1618597373.txt.gz · Last modified: 2021/04/16 18:22 by nanodano