| | |
Libraries
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
•
•
•
•
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
Views: 945 | Replies: 5
| Thread Tools | Search this Thread |
Tag cloud for C++
6 api array arrays based beginner binary bmp c++ c/c++ calculator char class classes code compile compiler console conversion convert count data delete deploy dll download dynamic encryption error file forms fstream function functions game givemetehcodez graph gui homeworkhelp iamthwee ifstream input int java lib library lines linkedlist linker list loop looping loops map math matrix memory microsoft newbie news number output pointer problem program programming project python random read recursion recursive reference return simple sort spoonfeeding stream string strings struct temperature template templates test text text-file tree url variable vector video visual visualstudio void win32 windows winsock wordfrequency wxwidgets






