adding cccfiles to a project

so i can use includes such as "ccc_win.h"
i have visual studio 2008, i cant seem to find any online instructions that match my menus . i have tried the following.
project/properties/configuring properties/linker/general and i added the cccfiles folder to the additional libraries directory. didn't work

also tried
project/properties/common properties/add aditional reference search path and added my cccfiles folder still didn't work.

im obviously not doing it right so can anyone correct me please? thanks
Last edited on
Hi,

you can try to add the cccfiles to project/properties/configuration properties/ C/C++ /additional include directories

Once it's done, try to include the needed files (e.g. ccc_win.h, ccc_time.h, etc into "Header Files" folder ( right click >> add new items ) and the needed cpp files ( e.g. ccc_time.cpp etc) to " Source Files" folder (add new items).

In your classes where you need the functions, include the header files too ( e.g: #include "ccc_win.h")

Hope this helps
thank you, it worked. well mostly, i couln't figure out how to add them in source or header files by right clicking and makeing a new one. But it turns out you can click and drag right from my cccfiles folder.
sory, it looks like i spoke to soon. it compiles fine but when i build i get this
hi.obj : error LNK2019: unresolved external symbol "public: class GraphicWindow & __thiscall GraphicWindow::operator<<(class Message)" (??6GraphicWindow@@QAEAAV0@VMessage@@@Z) referenced in function "int __cdecl ccc_win_main(void)" (?ccc_win_main@@YAHXZ) The system could not fine the spesified file

im not sure what to do with this one
Topic archived. No new replies allowed.