c++ - problem starting up
- biff (9/9) Nov 26 2002 having trouble compiling first program - i'm getting....Fatal error: una...
- Matthew Wilson (20/29) Nov 26 2002 Some questions:
- biff (4/40) Nov 26 2002 Thanks for replying - I'm using NT - I looked for the PATH variable in t...
- Matthew Wilson (15/69) Nov 26 2002 Not off the top of my head. That does seem strange. Are you typing
- biff (2/74) Nov 26 2002
- Matthew Wilson (12/97) Nov 26 2002 Too weird for me. Maybe Walter might know.
- Walter (11/111) Nov 26 2002 Instead of:
having trouble compiling first program - i'm getting....Fatal error: unable to open input file 'test.cpp' - - - errorlevel1 my program reads: #include <stdio.h> #include <iostream.h> main() { cout << "Hello!"; }
Nov 26 2002
Some questions: 1. Are you using the command line version? 2. Can you include a description of your actions to effect the compile? In anticipation of this information, and making a few assumptions: a. You need to have c:\dm\bin in your path. You can do this in Win95/8/ME by adding the following line path = c:\dm\bin;%PATH% to your autoexec.bat file, or in NT/2000/XP by opening the System applet in Control Panel, and selecting the Environment Variables (you'll need to hunt for this as is different on each operating system), then adding c:\dm\bin to the PATH environment variable b. you need to specify a fully-qualified path for your file or, preferably, execute your compile instruction from the file's local directory. E.g. if your file is in c:\test\test.cpp, then change to c:\test and from there execute dmc test.cpp Matthew "biff" <biff_member pathlink.com> wrote in message news:as0e6s$h99$1 digitaldaemon.com...having trouble compiling first program - i'm getting....Fatal error:unable toopen input file 'test.cpp' - - - errorlevel1 my program reads: #include <stdio.h> #include <iostream.h> main() { cout << "Hello!"; }
Nov 26 2002
Thanks for replying - I'm using NT - I looked for the PATH variable in the control panel and it already appears to have a value set - any ideas? i have test.cpp in c:\dm\bin - in this directory in type dmc test.cpp In article <as0kgj$o1k$1 digitaldaemon.com>, Matthew Wilson says...Some questions: 1. Are you using the command line version? 2. Can you include a description of your actions to effect the compile? In anticipation of this information, and making a few assumptions: a. You need to have c:\dm\bin in your path. You can do this in Win95/8/ME by adding the following line path = c:\dm\bin;%PATH% to your autoexec.bat file, or in NT/2000/XP by opening the System applet in Control Panel, and selecting the Environment Variables (you'll need to hunt for this as is different on each operating system), then adding c:\dm\bin to the PATH environment variable b. you need to specify a fully-qualified path for your file or, preferably, execute your compile instruction from the file's local directory. E.g. if your file is in c:\test\test.cpp, then change to c:\test and from there execute dmc test.cpp Matthew "biff" <biff_member pathlink.com> wrote in message news:as0e6s$h99$1 digitaldaemon.com...having trouble compiling first program - i'm getting....Fatal error:unable toopen input file 'test.cpp' - - - errorlevel1 my program reads: #include <stdio.h> #include <iostream.h> main() { cout << "Hello!"; }
Nov 26 2002
Not off the top of my head. That does seem strange. Are you typing sc test.cpp ? Try sc .\test.cpp and see what happens. Seems puzzling ... "biff" <biff_member pathlink.com> wrote in message news:as0mdj$q0n$1 digitaldaemon.com...Thanks for replying - I'm using NT - I looked for the PATH variable in the control panel and it already appears to have a value set - any ideas? ihavetest.cpp in c:\dm\bin - in this directory in type dmc test.cpp In article <as0kgj$o1k$1 digitaldaemon.com>, Matthew Wilson says...bySome questions: 1. Are you using the command line version? 2. Can you include a description of your actions to effect the compile? In anticipation of this information, and making a few assumptions: a. You need to have c:\dm\bin in your path. You can do this in Win95/8/MEinadding the following line path = c:\dm\bin;%PATH% to your autoexec.bat file, or in NT/2000/XP by opening the System applethuntControl Panel, and selecting the Environment Variables (you'll need totofor this as is different on each operating system), then adding c:\dm\binpreferably,the PATH environment variable b. you need to specify a fully-qualified path for your file or,execute your compile instruction from the file's local directory. E.g. if your file is in c:\test\test.cpp, then change to c:\test and from there execute dmc test.cpp Matthew "biff" <biff_member pathlink.com> wrote in message news:as0e6s$h99$1 digitaldaemon.com...having trouble compiling first program - i'm getting....Fatal error:unable toopen input file 'test.cpp' - - - errorlevel1 my program reads: #include <stdio.h> #include <iostream.h> main() { cout << "Hello!"; }
Nov 26 2002
thanks for the help but that didn't work either In article <as0nu2$rlo$1 digitaldaemon.com>, Matthew Wilson says...Not off the top of my head. That does seem strange. Are you typing sc test.cpp ? Try sc .\test.cpp and see what happens. Seems puzzling ... "biff" <biff_member pathlink.com> wrote in message news:as0mdj$q0n$1 digitaldaemon.com...Thanks for replying - I'm using NT - I looked for the PATH variable in the control panel and it already appears to have a value set - any ideas? ihavetest.cpp in c:\dm\bin - in this directory in type dmc test.cpp In article <as0kgj$o1k$1 digitaldaemon.com>, Matthew Wilson says...bySome questions: 1. Are you using the command line version? 2. Can you include a description of your actions to effect the compile? In anticipation of this information, and making a few assumptions: a. You need to have c:\dm\bin in your path. You can do this in Win95/8/MEinadding the following line path = c:\dm\bin;%PATH% to your autoexec.bat file, or in NT/2000/XP by opening the System applethuntControl Panel, and selecting the Environment Variables (you'll need totofor this as is different on each operating system), then adding c:\dm\binpreferably,the PATH environment variable b. you need to specify a fully-qualified path for your file or,execute your compile instruction from the file's local directory. E.g. if your file is in c:\test\test.cpp, then change to c:\test and from there execute dmc test.cpp Matthew "biff" <biff_member pathlink.com> wrote in message news:as0e6s$h99$1 digitaldaemon.com...having trouble compiling first program - i'm getting....Fatal error:unable toopen input file 'test.cpp' - - - errorlevel1 my program reads: #include <stdio.h> #include <iostream.h> main() { cout << "Hello!"; }
Nov 26 2002
Too weird for me. Maybe Walter might know. Sorry Matthew "biff" <biff_member pathlink.com> wrote in message news:as0qai$u7g$1 digitaldaemon.com...thanks for the help but that didn't work either In article <as0nu2$rlo$1 digitaldaemon.com>, Matthew Wilson says...theNot off the top of my head. That does seem strange. Are you typing sc test.cpp ? Try sc .\test.cpp and see what happens. Seems puzzling ... "biff" <biff_member pathlink.com> wrote in message news:as0mdj$q0n$1 digitaldaemon.com...Thanks for replying - I'm using NT - I looked for the PATH variable incompile?control panel and it already appears to have a value set - any ideas? ihavetest.cpp in c:\dm\bin - in this directory in type dmc test.cpp In article <as0kgj$o1k$1 digitaldaemon.com>, Matthew Wilson says...Some questions: 1. Are you using the command line version? 2. Can you include a description of your actions to effect theWin95/8/MEIn anticipation of this information, and making a few assumptions: a. You need to have c:\dm\bin in your path. You can do this inappletbyadding the following line path = c:\dm\bin;%PATH% to your autoexec.bat file, or in NT/2000/XP by opening the Systemc:\dm\bininhuntControl Panel, and selecting the Environment Variables (you'll need tofor this as is different on each operating system), then addingiftopreferably,the PATH environment variable b. you need to specify a fully-qualified path for your file or,execute your compile instruction from the file's local directory. E.g.thereyour file is in c:\test\test.cpp, then change to c:\test and fromexecute dmc test.cpp Matthew "biff" <biff_member pathlink.com> wrote in message news:as0e6s$h99$1 digitaldaemon.com...having trouble compiling first program - i'm getting....Fatal error:unable toopen input file 'test.cpp' - - - errorlevel1 my program reads: #include <stdio.h> #include <iostream.h> main() { cout << "Hello!"; }
Nov 26 2002
Instead of: dmc test.cpp try the following: type test.cpp "Matthew Wilson" <dmd synesis.com.au> wrote in message news:as0qv6$usg$1 digitaldaemon.com...Too weird for me. Maybe Walter might know. Sorry Matthew "biff" <biff_member pathlink.com> wrote in message news:as0qai$u7g$1 digitaldaemon.com...inthanks for the help but that didn't work either In article <as0nu2$rlo$1 digitaldaemon.com>, Matthew Wilson says...Not off the top of my head. That does seem strange. Are you typing sc test.cpp ? Try sc .\test.cpp and see what happens. Seems puzzling ... "biff" <biff_member pathlink.com> wrote in message news:as0mdj$q0n$1 digitaldaemon.com...Thanks for replying - I'm using NT - I looked for the PATH variabletheicontrol panel and it already appears to have a value set - any ideas?tocompile?havetest.cpp in c:\dm\bin - in this directory in type dmc test.cpp In article <as0kgj$o1k$1 digitaldaemon.com>, Matthew Wilson says...Some questions: 1. Are you using the command line version? 2. Can you include a description of your actions to effect theWin95/8/MEIn anticipation of this information, and making a few assumptions: a. You need to have c:\dm\bin in your path. You can do this inappletbyadding the following line path = c:\dm\bin;%PATH% to your autoexec.bat file, or in NT/2000/XP by opening the SysteminControl Panel, and selecting the Environment Variables (you'll needE.g.c:\dm\binhuntfor this as is different on each operating system), then addingtopreferably,the PATH environment variable b. you need to specify a fully-qualified path for your file or,execute your compile instruction from the file's local directory.iferror:thereyour file is in c:\test\test.cpp, then change to c:\test and fromexecute dmc test.cpp Matthew "biff" <biff_member pathlink.com> wrote in message news:as0e6s$h99$1 digitaldaemon.com...having trouble compiling first program - i'm getting....Fatalunable toopen input file 'test.cpp' - - - errorlevel1 my program reads: #include <stdio.h> #include <iostream.h> main() { cout << "Hello!"; }
Nov 26 2002