'No symbols Loaded'. Simple console application

This is a discussion on 'No symbols Loaded'. Simple console application within the C++ Programming forums, part of the General Programming Boards category; Hi, I havent coded in c++ in 2 years or so and just was writing a fairly simple console app ...

  1. #1
    Registered User
    Join Date
    Oct 2004
    Posts
    3

    Wink 'No symbols Loaded'. Simple console application

    Hi,
    I havent coded in c++ in 2 years or so and just was writing a fairly simple console app to refresh myself. Its builds without errors and warnings but when i run it the program exits immediatley (cant insert breakpoints to see whats happening) and the following comes up in the debug window:

    'Test1.exe': Loaded 'C:\Windows\system32\ntdll.dll', No symbols loaded.
    'Test1.exe': Loaded 'C:\Windows\system32\ntdll.dll', No symbols loaded.
    The program '[3088] Test1.exe: Native' has exited with code 0 (0x0).


    The last time I used C++ I was using MS V6.0 and am using MS V.NET now. So I don't know if this is something to do with it. I.e. some of the #includes i am using. Cant find anything in the MSDN libraries.Can anybody help????please

  2. #2
    Registered User
    Join Date
    Oct 2004
    Posts
    3
    Sorry just to add,
    Inserting breakpoints outside my main file could let me see whats happening. My program basically runs exactly as i want but when the last function is called it just exists straight away. What do i do to make the console window stay open? (the programme takes no user input, no cin's so without putting in breakpoints i cant see it working)
    any help is appreciated. regards

  3. #3
    Registered User hk_mp5kpdw's Avatar
    Join Date
    Jan 2002
    Location
    Northern Virginia/Washington DC Metropolitan Area
    Posts
    3,672
    You can try putting a cin.get(); statement at the end of your program. This topic is discussed in the FAQ.
    I used to be an adventurer like you... then I took an arrow to the knee.

  4. #4
    Registered User
    Join Date
    Oct 2004
    Posts
    3
    Thanks, I scanned the FAQ and missed it. Cheers for pointing both out.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 7
    Last Post: 01-14-2008, 09:25 AM
  2. Simple GUI for console app (How?)
    By Bill 101 in forum C Programming
    Replies: 3
    Last Post: 11-15-2002, 02:16 PM
  3. splitting the screen in a Win32 console application
    By watcher_b in forum C Programming
    Replies: 1
    Last Post: 10-19-2002, 05:22 PM
  4. Few problems with console application
    By GaPe in forum C Programming
    Replies: 12
    Last Post: 04-03-2002, 12:19 PM
  5. Win32 Console Application...Full Screen?
    By MrWizard in forum C++ Programming
    Replies: 4
    Last Post: 04-01-2002, 01:56 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21