| | |
Libraries
![]() |
•
•
•
•
I'm trying to compile my program using library functions I created. I can't figure out how to get it to work. I'm going to attach my files so if someone could help me that would be great
#ifndef PROGLIB_H
#define PROGLIB_H
....function prototypes and/or constants and/or etc...
#endif
Next make sure your header file and its corresponding .cpp file are in the same directory, unless you've got your compiler configured to search certainly and not by default. Actually, what compiler you using? Is it command line or IDE GUI? Let me know.
Good luck, LamaBot
what compiler are ye' using?
for most IDE's like Dev CPP and MSVC++ 6.0, there is an option to, "add to project".. make sure the you are adding all 3 files to your project, then try to compile.
If you are using a command line compiler like borland, you will have to learn the codes for linking files together.. which I used to remember but I don't anymore.
for most IDE's like Dev CPP and MSVC++ 6.0, there is an option to, "add to project".. make sure the you are adding all 3 files to your project, then try to compile.
If you are using a command line compiler like borland, you will have to learn the codes for linking files together.. which I used to remember but I don't anymore.
![]() |
Similar Threads
- java gui libraries (Java)
- Using C libraries in C++ programs (C++)
- libraries (C++)
- create new libraries under VC++ 6.0 (C++)
- Visual c++ libraries (C++)
- HTTPS Libraries (C)
- hitting the libraries (Computer Science)
Other Threads in the C++ Forum
- Previous Thread: plzzzzzzzzzzz help me............
- Next Thread: Encryptor
| Thread Tools | Search this Thread |
ace_thread api array based binary bitmap borland c++ c/c++ calling char class classes code coding compile console conversion count delete delete-line deploy desktop developer directshow dll download dynamic dynamiccharacterarray email embedded encryption error file forms fstream function functions game givemetehcodez graph gui homeworkhelp homeworkhelper iamthwee ifstream information input int integer java lib linkedlist linker loop looping loops map math mathhomeworkhelp matrix memory multiple news node number numbertoword output parameter pointer problem program programming project python random read recursion reference reverse richedit rpg string strings temperature template test text text-file tree url variable vector video win32 windows winsock word wordfrequency wxwidgets






