R
Raj
tell me one program that works on c but not on c++?
Raj said:tell me one program that works on c but not on c++?
tell me one program that works on c but not on c++?
A module for the Linux kernel maybe.
Pep said:main()
{
std::cout << "hello world" << std::endl;
}
The C++ std:: class does not exist in C
Michael said:-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
main(){ /* implicit int declaration */
int new=0; /* reserved word in C++ */
printf("%d\n",new); /* implicit function declaration */
return 0;
}
Raj said:tell me one program that works on c but not on c++?
tell me one program that works on c but not on c++?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.