View Single Post
Old Oct 27th, 2005, 4:24 PM   #18
D-Ferg27
Programmer
 
D-Ferg27's Avatar
 
Join Date: Oct 2005
Posts: 49
Rep Power: 0 D-Ferg27 is on a distinguished road
#include <iostream>
int main()


{
    int i ;
    cout << "please enter an integer value: " ;     //Cout undeclared (first use              
                                                                 // this function)
    cin >> i;                                                  
    cout << " \n the value you entered is" << i;
    cout << "and its double is...\n ";
    cout << i * 2;
    return 1;
}

ok when i try to compile it it just does nothing then highlight the ling that i put the comment in and says waht i put in the comment.
D-Ferg27 is offline   Reply With Quote