Newbie : Need help with TC 2.01 Borlan compiler

This is a discussion on Newbie : Need help with TC 2.01 Borlan compiler within the C Programming forums, part of the General Programming Boards category; I recently installed TC 2.01v by Borland I am running windowx XP it had a zipped file which i unzipped ...

  1. #1
    Registered User
    Join Date
    Feb 2005
    Posts
    91

    Newbie : Need help with TC 2.01 Borlan compiler

    I recently installed TC 2.01v by Borland

    I am running windowx XP

    it had a zipped file which i unzipped and to a folder called tctemp and then clicked a file called install.exe which installed the program on C:/TC

    Now when i start the program I have to go to the directory C:/TC and type TC

    I started typing a a simple program and it worked fine but I ran into a few problems :

    1. when I use any data type like int or float int the main function
    the program gives me an error " expression syntax in main function "

    2. I have been looking for a tutorail for this compiler but have been unable to find it, can anybody help me with that too

    3. there were also some more instructions on the installtion which were to right click on the dos window and when a menu pops up then click properties and then type the name of file in some "....bat" somewhere in the properties menu. But when i right click on the DOS window i never get this kind of window

    I need help very bad at this , I losing faith !!!!!!!

  2. #2
    Gawking at stupidity
    Join Date
    Jul 2004
    Location
    Oregon, USA
    Posts
    3,164
    It would help if you weren't using a 15-year old compiler on a 4-year old OS. There are some good free compilers out there that were actually made more recently than the HTTP protocol. The FAQ on this site lists some.
    If you understand what you're doing, you're not learning anything.

  3. #3
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,555
    > the program gives me an error " expression syntax in main function "
    Well posting your code would help.
    Who knows what sort of mess you've made of brackets, braces and semi-colons.

    Plus I'd really suggest you look at DEV-C++ as your compiler, rather than that old fossil.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  4. #4
    Registered User
    Join Date
    Feb 2005
    Posts
    91
    can someone please tell me a good C compiler i can look for and which i can use on windows XP

  5. #5
    Gawking at stupidity
    Join Date
    Jul 2004
    Location
    Oregon, USA
    Posts
    3,164
    I just told you that this site lists some and Salem even suggested a particular one that you might want to try. So why are you asking this question exactly?
    If you understand what you're doing, you're not learning anything.

  6. #6
    People Love Me
    Join Date
    Jan 2003
    Posts
    412

  7. #7
    Registered User
    Join Date
    Feb 2005
    Posts
    91
    This might sound foolish but I am looking for a just a C compiler not a C++
    even though I know C code can be compiled on C++

    the only C compiler i saw was gcc but if iam right it only runs on UNIX , can I run it on Windows XP

  8. #8
    Sweet
    Join Date
    Aug 2002
    Location
    Tucson, Arizona
    Posts
    1,807
    MinGW the compiler system which Dev-C++ uses comes with gcc(C COMPILER!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!) and g++ the C++ compiler.
    Woop?

  9. #9
    Registered User
    Join Date
    Feb 2005
    Posts
    91
    i was reading up on dec-C++ 5 the beta version which has the feature abt MiniGW using gcc (C compiler ) so is there an option in the compiler system on which one to use and if disable other one

    I am sound very stupid i think but I'll take any critcism for this !!!!

  10. #10
    People Love Me
    Join Date
    Jan 2003
    Posts
    412
    Quote Originally Posted by gemini_shooter
    This might sound foolish but I am looking for a just a C compiler not a C++
    even though I know C code can be compiled on C++

    the only C compiler i saw was gcc but if iam right it only runs on UNIX , can I run it on Windows XP
    Honey....you can set your project to be a C or C++ project...and you really shouldn't shun C++ like that. He's really a good guy. He has classes, exception handelling, and all sorts of other goodies that make your life easier.

  11. #11
    Gawking at stupidity
    Join Date
    Jul 2004
    Location
    Oregon, USA
    Posts
    3,164
    Well, the "make your life easier" part of it is debatable
    If you understand what you're doing, you're not learning anything.

  12. #12
    Registered User
    Join Date
    Feb 2005
    Posts
    91
    Thank you very much

    I am not setting c++ aside..

    Just like to make myself a better programmer by being able to differentiate between them (C and C++) through my programs. Lately have been criticised very much for my coding styles and I should be because my coding style looks like a joke to me right now.

    Check my post in this forum :

    "airport log program using 3D linked list : problem reading from file " (page 2)

    You might understand how bad my coding style is if u just glanced through the program and at the same time how frustated I am since I cannot figure out what the hell is wrong with that code ?

    Anyways thanks a bunch u saved me a whole lotta frustration !!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem building Quake source
    By Silvercord in forum Game Programming
    Replies: 16
    Last Post: 07-11-2010, 09:13 AM
  2. OpenScript2.0 Compiler
    By jverkoey in forum C++ Programming
    Replies: 3
    Last Post: 10-30-2003, 12:52 PM
  3. Newbie Question!!! How to setup compiler
    By Mithrandil in forum C++ Programming
    Replies: 1
    Last Post: 10-04-2003, 10:32 AM
  4. Compiler Design... Anyone That Can Help!
    By ComputerNerd888 in forum C++ Programming
    Replies: 3
    Last Post: 09-27-2003, 09:48 AM
  5. Replies: 3
    Last Post: 11-04-2001, 02:53 PM

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