[EMAIL PROTECTED] wrote:
>     I am using the g++ compiler to compile the program shown below,
> and I am getting this error "ld returned 1 exit status"
> can anyone help me with this error.
> 
> 
> #include "stdio.h"
> #include "iostream."

#include <iostream>

You can compile your code with -
g++ yourcode.cpp -o yourcode

Normally I believe, C++ codes don't use stdio.h
and you could *possibly* get rid of it.

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

Reply via email to