I wrote a simple program to print out Testscore in Visual Studio .Net 2003
and got the following messages when trying to run it.
'TestScore.exe': Loaded 'D:\Documents and Settings\pooleb\My Documents\Visual Studio Projects\TestScore\Debug\TestScore.exe', Symbols loaded.
'TestScore.exe': Loaded 'D:\WINDOWS\system32\ntdll.dll', No symbols loaded.
'TestScore.exe': Loaded 'D:\WINDOWS\system32\kernel32.dll', No symbols loaded.
The program '[3920] TestScore.exe: Native' has exited with code 0 (0x0).
This is the program:
#include <iostream>
using namespace std;
int main(void)
{
short testScore;
testScore = 3;
cout << "Your test score is " << testScore << "\n";
return 0;
}
It is from an example in C++ Demystified by Jeff Kent.
Am I doing something wrong?
Thanks, BandM