- C Projects: Just like the C projects, the C projects enlisted below are mini projects – small games and applications. They are good for starters who are looking for reference projects to create a C mini-project of their own. Banking Record System; Bookshop Management System; Bus Reservation System; Hotel Management System; Payroll Management System.
- Dec 26, 2007 I too have a very similar problem at the moment and I too am using the Dev C IDE as well, while searching the web for a solution, I found this FAQ about this problem. Read 35.12 through 35.15. Read 35.12 through 35.15.
- Dev-CPP Setup Guide. This page describes the steps I took in order to get Dev-Cpp to work with a homebuilt wxWidgets. I was using Dev-Cpp 4.9.8.1 and wxWidgets 2.5 from CVS.
- The information on Computing.Net is the opinions of its users. Such opinions may not be accurate and they are to be used at your own risk. Computing.Net cannot verify the validity of the statements made on this site.
Why can't I use conio.h functions like clrsrc? Because conio.h is not part of the C standard. It is a Borland extension, and works only with Borland compilers (and perhaps some other commercial compilers). Dev-C uses GCC, the GNU Compiler Collection, as it's compiler.GCC is originally a UNIX compiler, and aims for portability and standards-compliance.
For some reason, though, the program does not recognize these functions when it compiles. |
That is incorrect. You are not having compilation errors. You are having linker errors.
As I mentioned in the first paragraph, #include<ni488.h> is included in the program and contains all of these functions. |
No, it does not. If it did, you would not be having those linker errors. It must contain declarations of those functions. This allows the compiler to ensure that you are using the functions correctly. It effectively leaves a note to the linker saying 'here, please call the actual code that does the actual work for this function'. The linker then goes looking through all the binary objects it has been told to look through, which will be your code and any libraries it has been told to look through. If it cannot find the actual (compiled) code that does the actual work, it comes back with the complaint 'undefined reference'.
Dev C Project Undefined Reference Page
That is what is happening here. Your