Log in

View Full Version : Converting C language to C++


Jondoe2
Aug 13, 2007, 08:18 PM
This code below is a piece of code I
Got from my C language program. So my question is that I want to change this
Piece of code into the C++ language.

a) oddnumber(vector<vector<int> > &met, int n);

Thank you...

asterisk_man
Aug 14, 2007, 06:21 AM
OK, since c++ is a superset of c you're already done. Everything that's valid I c is valid in c++

shihouzhuge
Oct 6, 2009, 10:14 PM
There's no difference in defining function,as the c you show is just c++:)

bushboy
Oct 21, 2009, 02:45 PM
Hey bro, the code you provide is just C++.
:):):D

ramanpln
Aug 16, 2010, 06:31 AM
Inheritance in c++ programming language

ramanpln
Aug 16, 2010, 06:31 AM
Inheritance in c++ programming language