| | |
Not able to compile using TurboC
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Jun 2006
Posts: 1
Reputation:
Solved Threads: 0
Hi,
I'm not a beginner in C...I'm more used to C/C++ programming through Microsoft visual C++ rather than Simple compilers such as TurboC.
Now I've loaded TurboC in my home PC so that my brothers get started with C programming...
But we are not able to compile any program...
Error: not able to open stdio.h
Actually the compiler is not able to track any include files.
I have all my settings right...INCLUDE, LIB path set in options->directories.
Please show me the way out...What else could be the problem???
Thanks,
Mamata.
I'm not a beginner in C...I'm more used to C/C++ programming through Microsoft visual C++ rather than Simple compilers such as TurboC.
Now I've loaded TurboC in my home PC so that my brothers get started with C programming...
But we are not able to compile any program...
Error: not able to open stdio.h
Actually the compiler is not able to track any include files.
I have all my settings right...INCLUDE, LIB path set in options->directories.
Please show me the way out...What else could be the problem???
Thanks,
Mamata.
I havent programmed in TurboC in my life, so I cant help you with your settings. But theoritically if the include, and library directories are configured properly, there shouldnt be any problem. Did you check that stdio.h is actually inside that directory?
Anyway why do you think that Microsoft VC isnt a good compiler for learning C? Since TurboC is a bit outdated, it would be better if you use a modern compiler like Microsoft VC or DevCPP. You can get the VC 2003 toolkit for free if you only want a commandline compiler. Although Microsoft has replaced it with the VC2005 compiler, there are external sites that lets you download it. Google for it. When it comes to compilers, there is nothing called simple or complex. All of the above compilers can be used in the command line, and that will be enough for a beginner. The way you compile is more or less the same for all compilers.
Anyway why do you think that Microsoft VC isnt a good compiler for learning C? Since TurboC is a bit outdated, it would be better if you use a modern compiler like Microsoft VC or DevCPP. You can get the VC 2003 toolkit for free if you only want a commandline compiler. Although Microsoft has replaced it with the VC2005 compiler, there are external sites that lets you download it. Google for it. When it comes to compilers, there is nothing called simple or complex. All of the above compilers can be used in the command line, and that will be enough for a beginner. The way you compile is more or less the same for all compilers.
バルサミコ酢やっぱいらへんで
In my TurboC setup I have a TURBOC.CFG config file in the directory with the executables. It contains
-I finds any headers in either directory listed.
-L same for libraries.
-v to add debug code to the compile.
I have the compiler in C:\lang
C++ Syntax (Toggle Plain Text)
-Ic:\lang\TC\INCLUDE;c:\lang -Lc:\lang\TC\LIB;c:\lang -v
-L same for libraries.
-v to add debug code to the compile.
I have the compiler in C:\lang
![]() |
Similar Threads
- Compile PHP (PHP)
- turboC (C)
- static compile (Visual Basic 4 / 5 / 6)
Other Threads in the C++ Forum
- Previous Thread: C+ Compiler
- Next Thread: Need Help In C++
| Thread Tools | Search this Thread |
api array arrays based beginner binary c++ c/c++ calculator char char* class classes code compile compiler console conversion count delete deploy desktop directshow dll download dynamic dynamiccharacterarray encryption error file forms fstream function functions game givemetehcodez google graph gui homeworkhelp homeworkhelper iamthwee ifstream input int integer java lib linkedlist linker linux list loop looping loops map math matrix memory news number numbertoword output parameter pointer problem program programming project python random read recursion recursive reference return rpg sorting string strings struct temperature template templates test text text-file tree unix url variable vector video visual visualstudio win32 windows winsock wordfrequency wxwidgets






