Resources

Network tools

Tutorials

Some points to remember


Hello World

The first place to start is Hello world, i know you can find these all over the web, but heres mine:

#include <iostream> //includes the input & output stream
using namespace std; // makes life easier

//First exec line
int main()
{
cout << "Hello World\n";
cout << "This is a sample program by Andrew Simpson\n";
cout << "Email : g7013261@tees.ac.uk\n";
cout << endl;
return 0; // tell me if the program has ended
}

cout is a function to print onto the screen, "\n" means newline, like endl; int main() is the main function declared as an integer, which returns 0 when the program ends.