Sunday, July 12, 2009

Does anyone know a program to translate C/C++ code to Pascal?

I have a C code and I want to translate it to Pascal code, I need a program to do this, if you know this program, please tell me!

Does anyone know a program to translate C/C++ code to Pascal?
I remember to see a program once to do that. It was a while ago (early 90s). It was named c2p (their was also p2c). I don't think anyone would build a new one or even maintain an existing translator like that since then, since pascal is almost extinct.





So maybe you can get lucky and find an old copy of this program by doing a web search. Be aware that it could only manage plain c (not c++) and that any recent features of the language won't be supported.





Good luck, it won't be easy!!
Reply:try one in spanish
Reply:There might be "C to Pascal" translators (look it up in google, there's a project in sourceforge, I think) but I doubt you will be able to translate an object oriented programming language (C++) into one that isn't.


No comments:

Post a Comment