anumuttu
Newbie level 5
Hi pals,
can anybody knows how to convert "C++" [.cc or .cpp] codes to "C" [.c] files??????
I was just wondering how you would implement this into C if it actually is possible, if not, how do you
guys implement an equal way of dealing with this in C ?
For instance, if you would have classes like this in C++:
class Lightwave
{
Public:// BLA BLA
private:// BLA BLA
...
};
class Modeler : public Lightwave
{
Public:// BLA BLA
private:// BLA BLA
...
};
class Layout : public Lightwave
{
Public:// BLA BLA
private:// BLA BLA
...
};
int main()
{
cout << "Press enter to exit.\n";;
cin.ignore(cin.rdbuf()->in_avail() + 1);
return 0;
}
can anybody knows how to convert "C++" [.cc or .cpp] codes to "C" [.c] files??????
I was just wondering how you would implement this into C if it actually is possible, if not, how do you
guys implement an equal way of dealing with this in C ?
For instance, if you would have classes like this in C++:
class Lightwave
{
Public:// BLA BLA
private:// BLA BLA
...
};
class Modeler : public Lightwave
{
Public:// BLA BLA
private:// BLA BLA
...
};
class Layout : public Lightwave
{
Public:// BLA BLA
private:// BLA BLA
...
};
int main()
{
cout << "Press enter to exit.\n";;
cin.ignore(cin.rdbuf()->in_avail() + 1);
return 0;
}