Cannot Execute a C++ Program

This is a discussion on Cannot Execute a C++ Program within the C++ Programming forums, part of the General Programming Boards category; I am a beginner and I am using TCC. I have this code which i managed to compile. But when ...

  1. #1
    Registered User
    Join Date
    Oct 2001
    Posts
    1

    Cannot Execute a C++ Program

    I am a beginner and I am using TCC. I have this code which i managed to compile. But when I try to run it it gives me the following errors:

    Files: Tcdef.dpr cannot be created
    Files Tcdef.dsk cannot be created.

    Can somebody please help.
    Thank you very much

    Vivek

  2. #2
    Registered User
    Join Date
    Aug 2001
    Posts
    154
    I've never heard of tcc, but in any case you'll have to be more specific. Post some code. There's any number of reasons files can't be created. If you have successfully compiled, the program should run, generally speaking, although not necessarily correctly. Sounds more like compile or linking errors.

  3. #3
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,831
    From memory, and I'm going back a bit here, Turbo C writes the project settings to the .dpr file and your desktop settings to the .dsk file. These are not files you create or modify, rather the IDE looks after them. ISTR it writes them when you exit the IDE.

    If the IDE cannot write these files, I would have a look at your installation/IDE settings and make sure you are not trying to write to somewhere that doesn't exist, or that you have no access to.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. a program that will call an execute but with arguments
    By what3v3r in forum C++ Programming
    Replies: 3
    Last Post: 01-19-2006, 08:44 PM
  2. Need help on code to execute the program
    By hibmem10 in forum C++ Programming
    Replies: 6
    Last Post: 12-24-2005, 12:42 PM
  3. Can't execute my program
    By bahruddina in forum C Programming
    Replies: 4
    Last Post: 07-13-2004, 10:19 PM
  4. simple frontend program problem
    By gandalf_bar in forum Linux Programming
    Replies: 16
    Last Post: 04-22-2004, 06:33 AM
  5. My program, anyhelp
    By @licomb in forum C Programming
    Replies: 14
    Last Post: 08-14-2001, 10:04 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21