Wednesday, August 31, 2016

Coding "Hello World"
1) Open visula studio 2010
2) New Project
     Empty project
     Name it "Hello World"
3) Right click on source files
     choose C++ file
     Name it "main"

4) Code!
          #include<iostream>
          using namespace std;
       
           int main(){

                    ciut<<"hello world!"<<endl;

           }

Press ctrl +f5

Right click name of program
     properties
     linker
     system
     subsystem
     console

1 try it
2 change what it says

No comments:

Post a Comment