No output

Hello Everybody,


I just started learning  VC++ and openGL.I installed VC++ express edition and sdk plaform.

Copied Opengl and glut files resp. I got program compiled but when i try to execute it ,it just opens a blank notepad type file. no output.

and I get this messages..

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

'Hill1.exe': Loaded 'C:\WINDOWS\system32\uxtheme.dll', No symbols loaded.

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

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

'Hill1.exe': Loaded 'C:\WINDOWS\system32\MSCTF.dll', No symbols loaded.

'Hill1.exe': Loaded 'C:\WINDOWS\system32\oleaut32.dll', No symbols loaded.

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

I tried everything..what am i missing

can anyone help pl

thanks

 




Answer this question

No output

  • aajrb

    If you see a Notepad-style window, you've built a Windows program, not a console mode program. Your main() function won't even execute. If it did, "Hello!!!" goes into the bit-bucket, not the window. I'm not sure how to guide you from there...


  • Jose Miguel Torres

    No one is going to be able to help without more details! The program built with no problems and looks like it ran as well.

    What is the program supposed to do

    Thanks,
    Ayman Shoukry
    VC++ Team


  • Bose39814

    The messages indicate that it was built and run with no problems. Did you try running the executable straight ahead from the command prompt.

    Thanks,
    Ayman Shoukry
    VC++ Team


  • Alexb1115

    hi,

    thanks for the reply..

    even the simple hello program shows same messages..code is below..

    <code>

    #include <iostream>

    using namespace std;

    int main()

    {

    cout << "Hello!!!" << endl;

    cin.get();

    }

    </code>



  • No output