Saturday, June 9, 2012

C++ For Beginner - Creating Your First C++ Program

1. On your Task Bar click START, then choose Program, Turbo C++ 4.5, click Turbo C++


























 2. On your work-area type the following commands:
#include<iostream.h>
 int main ()
{
    cout<<"Welcome Turbo C++";
    return 0;
}
























 3. Preparing to save your program.
     a. To save your program, on your Menu Bar Click File | Save.
     b. Type firstprogram.cpp as your filename.
     c. Then Click Save.






No comments:

Post a Comment