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
programming:cpp [2021/06/09 00:55]
nanodano
programming:cpp [2021/06/09 00:55] (current)
nanodano
Line 44: 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.1623200113.txt.gz · Last modified: 2021/06/09 00:55 by nanodano