View Single Post
  #9 (permalink)  
Old December 17th, 2006, 06:30 AM
jhanny007 jhanny007 is offline
Authorized User
 
Join Date: Oct 2006
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi mastrgramr,
  thank you i fixed my problem by using spacename std;

by the way i dnt know what is the function of that code?

what is the different between this?

#include <iostream.h>


 int main();
 {
 cout <<"Hello World!\n";
     return 0;
 }

where in i got an error with this which is this code i only copied from the book...

not like this code using namespace std;

#include <iostream>

using namespace std;
 int main()
 {
    cout << "Hello World!\n";
    cin.get();
        return 0;
        }

anyone can explain im very much appriciated thank you;))

.::JHANNY::.


Reply With Quote