Chris' C++ Tutorial, Lesson 1
 
 
Home
Lesson 1: Setting up the dev c++ compiler
Lesson 2: Making a basic application
Lesson 3: Variables and input
Lesson 4: Programming flow
Lesson 5: Functions
 

- - - - - - - - - - - -

Now it is time to set up the dev c++ compiler. In this lesson we will simply install the dev c++ compiler, make a simple aplication, and then compile it.


The dev c++ compiler is a powerful c and c++ compiler that is free. Here is how to get it: First download the compiler installer at http://www.bloodshed.net/devcpp.html, download version 4. Install it, then open it.

Once you open it make a new c++ project and name it: "My first app". A new c++ source file will be created, and it will be opened. Delete evrything in it and type this in:

#include <iostream>

int main (){

std::cout<<"Hello World, This is my first application \n\n";

std::cout<<"Do you like?";

return 0;

}

Don't worry, you wont need to know what all this means, well be learning that in the next chapter.

- - - - - - - - - - - -

 

 

Copyright 2003 Chris' C++ Tutorial

Hosted by www.Geocities.ws

1