thanks for your concern ...
I AM QUITE KEEN TO MAKE SOME PROGRESS IN INFORMATICS OLYMPIAD AND ACM-ICPC BUT ALL THESE TECHNICAL YET NON-ALGORITHMIC PROBLEMS ARE POSING A BIG PROBLEM
by the way if u just have time the competition website is
http://www.iarcs.org.in/inoi/about_gcc.php
or just just google " inoi " its the first result
Switching from Turbo C++ to gcc/gpp: Some common problems
IARCS home > OLYMPIAD > Current
Do not use
#include <conio.h>
You will not need any functions from this header (e.g., clrscr(), getch()).
Note: The Dev-C++ and Code::Blocks compilers are based on gcc, but both of them allow some non-gcc header files, notably conio.h. Please rememmber not to use conio.h, otherwise your programs will not compile under gcc on the evaluation server.
For C++ header files such as iostream.h, leave out the suffix .h when including the file. That is, use
#include <iostream>
rather than
#include <iostream.h>
Note: The does not apply to C header files such as stdio.h. For C header files, include the suffix .h, as usual. For example:
#include <stdio.h>
After the header files, add the line
using namespace std;
to ensure that C++ finds the functions cin and cout.
Define main as int main() rather than void main().
To summarize, here is how a typical C++ program using gcc/gpp would look:
#include <iostream>
using namespace std;
int main(){
cout << "Hello world\n";
}
this is what that site says
MY DEV C++ IS FROM ORWELL , LIKE I SAID I KNOW VERY VERY WELL WHAT DOES A BASIC HELLO WORLD PROGRAM LOOK LIKE IN TURBO C++ AS WELL AS WHATEVER THIS GCC /ANSI /MINGW (I DONT KNOW WHAT TO CALL THIS VERSION WHERE using namespace std; is compulsory)
BUT THATS WHAT MY PROBLEM IS THE EXE BLACK SCREEN STAYS BLANK (NOT UNRESPONSIVE IT CAN BE CLOSED WITH (ALT +F4) BUT NO OUTPUT AT ALL NOR THERE IS ANY DIAGNOSTIC STATEMENT )
THIS PROBLEM REPEATS AFTER EVERY 10 DAYS SO,
I REINSTALL THE COMPILER AGAIN N AGAIN AND RECACHE ALL HEADER FILES THEN THE PROBLEM IS RECTIFIED
THANKS AGAIN