help, gcc, ?cout error?

aka007@mail.com aka007@mail.com
Sat Dec 11 20:34:00 GMT 1999


i modified it a bit, here is the current version:

   UW PICO(tm) 2.9                  File: a.cpp

#include <iostream.h>

int main()
  {

        int a;
        int b;
        int c;

        a=5;
        b=2;

        c= a+b;

        cout << a;

        return 0;
  }


if i comment out, //, the cout, it compiles

get the same error....

Jesse
aka007@mail.com


On Sat, 11 Dec 1999 17:36:28 -0800, Dave Topham
<dtopham@csuhayward.edu> wrote:

>All you need for cout is <iostream>
>There may be a conflict using that in addition to <stdio.h>
>(I'm not an expert, but this is my thoughts on it!)
>-Dave
>



More information about the Gcc-help mailing list