|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Mixing C and C++
So far, I've tried finding C compilers, with no success whatsoever, so I decided to compile C using C++. However, I've been encountering some problems. Since C++ is a subset of C, I shouldn't be having any problems. Can anyone offer an explanation?
![]() |
|
#2
|
||||
|
||||
|
Re: Mixing C and C++
Well, what problems are you encountering, exactly? And what compiler are you actually using?
You're right, the two should be identical when compiled that way, so it might just be an error in your code, not just a compiler issue. Either way, be more specific. |
|
#3
|
||||
|
||||
|
Re: Mixing C and C++
C++ is just a more advanced version of C. If offers the ability of making "objects" to do object oriented programming. This is something that I'd guess most teams would not be doing.
Any C++ compiler will be able to compile standard C code without any problems. Could you post your error messages? |
|
#4
|
||||
|
||||
|
Re: Mixing C and C++
C++ is a superset of C, not a subset of C. Post your error & warning messages so we can help you.
HTH |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| pic: SoCal 2006: Beach 'Bot and 968 Mixing It Up | Greg Ross | Regional Competitions | 9 | 28-03-2006 23:19 |
| Bill of Materials, do it and do it well, and bring it to your event | sanddrag | Rules/Strategy | 3 | 24-03-2006 21:09 |
| Mixing Joystick Values for mecanum wheels | Leav | Programming | 10 | 15-01-2006 14:51 |
| pic: Stars and Stripes over Einstein and Galileo | CD47-Bot | Extra Discussion | 6 | 01-05-2004 00:54 |