Thread: compiler help

  1. #1
    markdogg2
    Guest

    compiler help

    i really need help compiling my file, mark.cpp, ive looked everywhere, to no avail. please help. im using borland. late.

  2. #2
    Registered User
    Join Date
    Apr 2002
    Posts
    12
    Help with what?? We can't help you unless you post some code, or at least ask a question...

  3. #3
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    If it's the command line compiler for Borland, try
    cc mark.cpp

    If that doesn't work perhaps you could actually ask a question that we can answer. "Please help" just doesn't cut it.

    -Prelude
    My best code is written with the delete key.

  4. #4
    _B-L-U-E_ Betazep's Avatar
    Join Date
    Aug 2001
    Posts
    1,412
    C:\>bcc32 mark.cpp
    Blue

  5. #5
    Registered User
    Join Date
    Dec 2001
    Posts
    479
    i think there is a small icon that u can click on in order to compile
    codes

  6. #6
    markdogg2
    Guest
    ok, sorry, guess i was a little vague. but i type bcc32b mark.cpp in the command line thing, and it says bad file name, whats up?

  7. #7
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    >it says bad file name
    Did you include the complete path? If you do this:
    C:\>bcc32b mark.cpp

    And mark.cpp has the path C:\ProgramFiles\Borland\MyProjects\Mark\mark.cpp

    Then the compiler won't be able to find the file.

    -Prelude
    My best code is written with the delete key.

  8. #8
    markdogg2
    Guest
    my file is in c:/windows/desktop/mysource/mark.cpp

    in the command line thing, this is what i have been doing, correct me if i act in error->
    cd mysource <enter>
    bcc32 mark.cpp <enter>

    i am sure that this is wrong, since it doesnt work. Please help me to correct this. thanks.

  9. #9
    markdogg2
    Guest
    any help?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Compiler Paths...
    By Cobra in forum C++ Programming
    Replies: 5
    Last Post: 09-26-2006, 04:04 AM
  2. C Compiler and stuff
    By pal1ndr0me in forum C Programming
    Replies: 10
    Last Post: 07-21-2006, 11:07 AM
  3. I can't get this new compiler to work.
    By Loduwijk in forum C++ Programming
    Replies: 7
    Last Post: 03-29-2006, 06:42 AM
  4. how to call a compiler?
    By castlelight in forum C Programming
    Replies: 3
    Last Post: 11-22-2005, 11:28 AM
  5. Bad code or bad compiler?
    By musayume in forum C Programming
    Replies: 3
    Last Post: 10-22-2001, 09:08 PM