DevDungeon
- Labs
Knowledge
Social
DevDungeon
Knowledge
Social
This is an old revision of the document!
C++ is a language based on CIf you want C programming, see: 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.
Technically you could write code in any text editor, but some are better than others. At minimum, you'll want to use an editor that supports syntax highlighting which will help you read the code and identify syntax errors easier. You might also want an editor that has a built-in debugger, terminal, and version control tools.
#include <iostream> int main() { std::cout << "Hello, world!" << std::endl; }
Using tabs, using ASCII borders, formatting hex/binary/money/decimal points