| | |
Tool Needed
![]() |
•
•
Join Date: Mar 2004
Posts: 1,620
Reputation:
Solved Threads: 50
Hello,
You shouldn't need it, unless you have a bunch of libraries, or are using depreciated methods to implement your thingy. C++ is an extension (add-in) to C, and you can get printf and a bunch of other functions to work just fine within it.
Now, if you are looking for unified code, then I think it is going to be a manual process indeed. IN that case, you could convert your libraries one at a time, as they should still link fine. I am not aware of any big hiccups here.
Christian
You shouldn't need it, unless you have a bunch of libraries, or are using depreciated methods to implement your thingy. C++ is an extension (add-in) to C, and you can get printf and a bunch of other functions to work just fine within it.
Now, if you are looking for unified code, then I think it is going to be a manual process indeed. IN that case, you could convert your libraries one at a time, as they should still link fine. I am not aware of any big hiccups here.
Christian
Compilers are usually set up to compile files with ".c" extensions as C and ".cpp" as C++; so if you are going to add C++ only stuff, the first thing to do is rename your .c files as .cpp. (and update the project file accordingly)
Once you do that, you should be able to build and run, and then you can incrementally add/change things to use C++ syntax extensions.
Once you do that, you should be able to build and run, and then you can incrementally add/change things to use C++ syntax extensions.
![]() |
Similar Threads
- Zero-downtime Database Migration tool needed (Database Design)
- Trojan.KillAV removal tool needed (Viruses, Spyware and other Nasties)
- E-business tool needed (eCommerce)
- Tool Needed (C++)
- Disappearing dial-up icon (Windows NT / 2000 / XP)
Other Threads in the C++ Forum
- Previous Thread: how to create a password and change the password?
- Next Thread: ive found many ebooks
| Thread Tools | Search this Thread |
api array based binary bitmap c++ c/c++ char class classes classified code coding compatible compile console conversion count date delete deploy desktop developer directshow dll download dynamic dynamiccharacterarray email encryption error file filewrite forms fstream function functions game givemetehcodez graph gui homeworkhelp homeworkhelper homeworksolutions iamthwee icon if...else ifstream input int integer java lib linkedlist linker loop looping loops map math matrix memory multiple news node object output play pointer problem program programming project python random read recursion reference rpg string strings struct symbol temperature template test text text-file toolkit tree url values variable vector video win32 windows winsock wordfrequency wxwidgets






