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







  • Chris BrownChris Brown USAMember Posts: 4,588 ✭✭

    ____ // http://forcoder.org // free video tutorials and ebooks about || JavaScript C# PL/SQL Perl Visual Basic .NET PHP Java Scratch R MATLAB C Assembly Delphi Objective-C Visual Basic Python Go Swift C++ Ruby ABAP D Logo Crystal Fortran Ada Dart Apex Prolog ML Transact-SQL SAS F# Clojure Scheme Alice Bash Scala Hack Kotlin Lisp Julia Awk FoxPro VBScript Erlang Lua Rust COBOL LabVIEW || __________

Sign In or Register to comment.