On Fri, Oct 10, 2008 at 9:15 AM, Manoj Vivek <[EMAIL PROTECTED]> wrote:

> Hi... Can any one say... why there is error shown if clrscr(); is given 
> before the declaration statements...... Please help...

clrscr() is not a standard function and it tells me you are probably
using Turbo C's conio library (not standard with all C compilers).
But... I suspect you are doing something like this:

#include <conio.h>

int main() {
  clrscr();
  int myInt;
  char *title = "something";
....
}

Which you can't do in C (you have to make all declarations first
before any statements or function calls). This is not true in C++,
though.

-- Brett
------------------------------------------------------------
"In the rhythm of music a secret is hidden;
    If I were to divulge it, it would overturn the world."
               -- Jelaleddin Rumi

Reply via email to