Quantcast
Viewing all articles
Browse latest Browse all 2703

C++ FIRST PROGRAM RUNNING PROBLEM

hi...

I am new to programming lenguage C++.
When i try to run following program in turboc++(ver 3.0)
1  // Fig. 2.1: fig02_01.cpp
 2  // Text-printing program.
 3  #include <iostream> // allows program to output data to the screen
 4
 5  // function main begins program execution
 6  int main()
 7  {
 8     std::cout << "Welcome to C++!\n"; // display message
 9
10     return 0; // indicate that program ended successfully
11
12  } // end function main

then it shows an error that.

FATAL FIRST.CPP 1:unable to create output file 'C:TURBOC3\SOURCE\FIRST.OBJ'

can anyone please help that why is this error is coming and how to
remove this error..


thanks in advance


Viewing all articles
Browse latest Browse all 2703

Trending Articles