Randy AC7NJ <[EMAIL PROTECTED]> wrote:
> the error I get is
> myfirst.c:5: error: 'cout' was not declared in this scope
> 
> / / myfirst.c --displays a  message
> #include <iostream>
> int main(void)
> {
>        cout << "come up and C++ me sometime.";
>        cout << "\n";

Try

        std::cout << "come up and C++ me sometime.";
        std::cout << "\n";

>        return 0;
> }

Andre'
_______________________________________________
help-gplusplus mailing list
help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to