| | |
Linking files for Compilation in C++ Data Structures
Please support our C++ advertiser: Intel Parallel Studio Home
Thread Solved |
•
•
Join Date: Aug 2004
Posts: 8
Reputation:
Solved Threads: 0
Hi
i have a problem linking upthe files
main.cpp
tree.cpp
tree.h
and list.ct really do not know how to complie with list.ct whats the ct ?
anyway inside the list.ct, are templates.
it reflect linking problem..
i.e. [Linker error] undefined reference to `Tree::cleanUp()'
Question:
what should i save list.ct as?
because i can only save as .cpp file or .h files BUT NOT .ct files
This really has caused some major headaches..
hope some one can help.
Thanks
i have a problem linking upthe files
main.cpp
tree.cpp
tree.h
and list.ct really do not know how to complie with list.ct whats the ct ?
anyway inside the list.ct, are templates.
it reflect linking problem..
i.e. [Linker error] undefined reference to `Tree::cleanUp()'
Question:
what should i save list.ct as?
because i can only save as .cpp file or .h files BUT NOT .ct files
This really has caused some major headaches..
hope some one can help.
Thanks
•
•
Join Date: Aug 2004
Posts: 8
Reputation:
Solved Threads: 0
I have save the file
as list.ct
but when i compile i still recieved a complie error
[Linker error] undefined reference to `Tree::cleanUp()'
Is there something wrong with the way i complied??
using Dev C++ as complier..
i mainly chose main.cpp, complied and run it (option)
or should i do something else before compliing it?
as list.ct
but when i compile i still recieved a complie error
[Linker error] undefined reference to `Tree::cleanUp()'
Is there something wrong with the way i complied??
using Dev C++ as complier..
i mainly chose main.cpp, complied and run it (option)
or should i do something else before compliing it?
![]() |
Similar Threads
- Data Structures in C Problem (C)
- Do I need to take Data Structures? (C++)
- Why Data Structures???...QUESTIONS INSIDE (C++)
- Java Collections: ADTs, Data Structures & Algorithms (Java)
Other Threads in the C++ Forum
- Previous Thread: Almost There, Going Nowhere
- Next Thread: greeting everyone, a little help? thanks.
| Thread Tools | Search this Thread |
api array based binary c++ c/c++ calculator char char* class classes code coding compile console conversion count database delete deploy desktop developer directshow dll download dynamic dynamiccharacterarray email encryption error file forms fstream function functions game givemetehcodez google graph gui homeworkhelp iamthwee ifstream input int integer java lib linkedlist linker linux list loop looping loops map math matrix memory multiple news number numbertoword output 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





