Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

DJGPP

When i use DJGPP and try to compile a C++ program it comes with an error saying: Error: c:djgppinld.exe cannot open - lstdcx: no such file or dirctory(ENOENT). I can compile C programs fine itsjust C++ that is messed up. Can somebody help me?




Comments

  • To link c++ programms you need to link in the c++ class libraries, or use gxx rather than gcc.


    Try this command line for your C++ programms:


    gxx myfile.c -o myfile.exe


    Hope it helps


  • : To link c++ programms you need to link in the c++ class libraries, or use gxx rather than gcc.


    : Try this command line for your C++ programms:


    : gxx myfile.c -o myfile.exe


    : Hope it helps







Sign In or Register to comment.