visual c++ express

i can compile in visual c++ express edition but cannot get the output !!

do i need to install any addtional software or ....




Answer this question

visual c++ express

  • HemantSav

    thnks for the answer

    but, i tried to compile in the visual express 2005 express....

    i am just an learner i need the compiler to be like turbo C++ where i can get the result or output when i pressed f5 button ... is there is any thing like that to get the output in command prompt..like turbo c++

    created an CRL console application ...i compiled it but found the following

    'balaji.exe': Loaded 'C:\Documents and Settings\My World\Desktop\New Folder\balaji\debug\balaji.exe', Symbols loaded.

    'balaji.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', No symbols loaded.

    'balaji.exe': Loaded 'C:\WINDOWS\system32\mscoree.dll', No symbols loaded.

    'balaji.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', No symbols loaded.

    'balaji.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll', No symbols loaded.

    'balaji.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll', No symbols loaded.

    'balaji.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.DebugCRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_f75eb16c\msvcr80d.dll', No symbols loaded.

    'balaji.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll', No symbols loaded.

    'balaji.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.DebugCRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_f75eb16c\msvcm80d.dll', No symbols loaded.

    'balaji.exe': Loaded 'C:\WINDOWS\system32\ole32.dll', No symbols loaded.

    'balaji.exe': Loaded 'C:\WINDOWS\system32\gdi32.dll', No symbols loaded.

    'balaji.exe': Loaded 'C:\WINDOWS\system32\user32.dll', No symbols loaded.

    'balaji.exe': Loaded 'C:\WINDOWS\system32\shlwapi.dll', No symbols loaded.

    'balaji.exe': Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll', No symbols loaded.

    'balaji.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_0de06acd\msvcr80.dll', No symbols loaded.

    'balaji.exe': Loaded 'C:\WINDOWS\system32\shell32.dll', No symbols loaded.

    'balaji.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll', No symbols loaded.

    'balaji.exe': Loaded 'C:\WINDOWS\system32\comctl32.dll', No symbols loaded.

    'balaji.exe': Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Culture.dll', No symbols loaded.

    'balaji.exe': Unloaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Culture.dll'

    'balaji.exe': Loaded 'C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\mscorlib\16bed69e86f539448a50437063765130\mscorlib.ni.dll', No symbols loaded.

    'balaji.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_32\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll', No symbols loaded.

    'balaji.exe' (Managed): Loaded 'c:\documents and settings\my world\desktop\new folder\balaji\debug\balaji.exe', Symbols loaded.

    'balaji.exe': Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorjit.dll', No symbols loaded.

    'balaji.exe': Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\diasymreader.dll', No symbols loaded.

    'balaji.exe': Loaded 'C:\WINDOWS\system32\rsaenh.dll', No symbols loaded.

    'balaji.exe' (Managed): Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.DebugCRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_f75eb16c\msvcm80d.dll', No symbols loaded.

    'balaji.exe': Loaded 'C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\System\fd163155c680294d86c4b868e24f020a\System.ni.dll', No symbols loaded.

    'balaji.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll', No symbols loaded.

    The thread 'Win32 Thread' (0x730) has exited with code 0 (0x0).

    The thread 'Win32 Thread' (0xddc) has exited with code 0 (0x0).

    The program '[480] balaji.exe: Native' has exited with code 0 (0x0).

    The program '[480] balaji.exe: Managed' has exited with code 0 (0x0).

    thank you



  • Ray Marshall

    Or you can have system("pause"); at the end of your code. You will need to include stdlib.h to use the system method.

    Thanks,
    Ayman Shoukry
    VC++ Team


  • captainstorm

    What do you mean by cannot get the output Were you able to run your application What is the expected output of your application

    Thanks,
    Ayman Shoukry
    VC++ Team


  • ElvenWong

    If you press F5, you will debug your program. That means it will compile and run. If it is a console app and it's a debug build, I believe the app will run and then close if it never stops and waits for input. The easiest way around this is to add a line at the end which does something simple, and put a breakpoint on that line ( press F9 while the cursor is on that line and you'll see a black dot in the left edge of the code window. This means when you run with F5, the code will stop running at that point, allowing you to view the output and examine the state of the programs variables, etc.



  • visual c++ express