Syntax changes in gcc

Status
Not open for further replies.

android

Inactive
Beginner
I am right now using gcc compiler. Before hand i used to use TC++. I need some help with syntax changes.
 
Just starting now. i know that you need to use using namespace std for all the c++ header files. But then how do i use clear screen . Cannot use conio right????
 
for clear screen
Assuming u are working in linux/unix this shud works
system("clear");

in windows make that system("cls"); //I do this in 32 bit windows Console programming
I don't know much about namespace std stuff, have heard of it myself, but never used g++ really.

What else?
 
Status
Not open for further replies.