T Subash try this link my friend
http://www.ezgoal.com/channels/developer/c.asp?cid=195269
2006-09-19 23:21:51
·
answer #1
·
answered by Joe_Young 6
·
0⤊
0⤋
Basically C is a structured Programming Language, but C++ is Object Oriented Programming Language(OOPs). So, there is totally a different approach to be adopted to code in c++. no software could convert c++ to c. but c programs can run fine in c++.
2006-09-19 23:23:13
·
answer #2
·
answered by Sathyam 1
·
0⤊
0⤋
ahhh!!! simple ... change ur file extensions from (.c) to (.cpp)
c:\> ren *.c *.cpp
now the serious part ..
I dont know if any s/w available for that but u can urself make a program in c/c++, where u can program to open a (.c) file, convert printf & scanf statements into cout & cin, with a proper logic and then rename the file with (.cpp) extension.
dont forget to add an " #include " statement.
I suppose nothing extra is required ..
Its quite hard to programm it but once u make it, u will feel proud .....LOL
but i know u will look for a short cut (ready to use programm)
and i would lose my 8 points ...
2006-09-19 23:34:34
·
answer #3
·
answered by Digitally Й!Й 3
·
0⤊
0⤋
I doubt it, as it would be impossible to convert most C++ programs to C, as it can't handle the object-oriented stuff.
As for C to C++, for the most part it should be fine as it is - C++ is just C extended - hence the "++".
Rawlyn.
2006-09-19 23:20:25
·
answer #4
·
answered by Anonymous
·
0⤊
0⤋
in most cases in C++ there are libraries that you can include to use 'most' c functions. If you have the ability to compile one, you should have the ability to compile the other though. i dont really see the purpose in converting them.
2006-09-19 23:17:47
·
answer #5
·
answered by dzr0001 5
·
0⤊
0⤋
u can convert it if its not very big project
2006-09-19 23:18:05
·
answer #6
·
answered by ibrahim ersoy 2
·
0⤊
0⤋