Greetings,
Whenever I compile and run a program (as seen below), after I enter the input, the program stops, and doesn't run the last cout. Is the answer totally obvious, or is there something I've overlooked? It compiles all fine and dandy...
Oh, and by the way, I'm running Windows XP and using Bloodshed Dev-C++ 4Code:#include <iostream.h> int main() { char *message; cout <<"Enter a sentence: "; cin >> message; cout <<"\nYou said " << message; return 0; }
Much confused ( ),
-IEatGreyFoxes.