how to start programme

Write your question here.

Hello world,

I'd like to study programme in C++. But really don't know where and how to start. :-| Can anyone help?

Hope to hear from you soon.

All the best!
http://www.cplusplus.com/doc/tutorial/introduction/

Get cracking!

You will need to install a compiler. If you use windows you will most likely install VCExpress. On linux you will most likely use the GCC compiler collection.


To get started copy and paste this code into a txt file and save it as
main.cpp


1
2
3
4
5
6
7
#include <iostream>

int main()
{
    std::cout << "Hello world!\n";
    return 0;
}


If you have an output screen, such as a debug window or a command prompt, it should say "Hello world!". In which case you have your programming environment set up.

Happy coding!
Topic archived. No new replies allowed.