Thread: Help Help

  1. #1
    Its not rocket science vasanth's Avatar
    Join Date
    Jan 2002
    Posts
    1,683

    Help Help

    Pleas help me... I had created a huge program for my class project in c++. But now the teacher is insisting that i write the code in C. So is there any c++ to c converters available which will convert my c++ code into c code..

    Vasanth

  2. #2
    Registered User
    Join Date
    Jan 2002
    Location
    Vancouver
    Posts
    2,212
    I'll try and do it, post your code.

  3. #3
    Fingerstyle Guitarist taylorguitarman's Avatar
    Join Date
    Aug 2001
    Posts
    564
    Shouldn't really be much of a problem, unless you've been inheriting lots of classes. Post you're code and I'll be glad to tell you how you can change the program. My guess is that most of it is not C++ anyways. Since syntax is basically the same you'll really only need to change things from classes to structs and your couts and cins to printfs and scanfs, etc. Most of your program is probably just fine the way it is.

Popular pages Recent additions subscribe to a feed