Will the older c++ commands (leaving that of conio.h) work with a new compiler like g++ if i use "using namespace std;" and use 'int' with main() rather than 'void' and don't use .h for including a header file?

Recommended Answers

All 3 Replies

Probably yes. Why don't you just try it and find out for yourself.

Probably yes. Why don't you just try it and find out for yourself.

i have tried it and it worked but i wanted to know if there are any commands which do not work.

I don't think so.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.