help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ld returned 1 exit status


From: Bikal KC
Subject: Re: ld returned 1 exit status
Date: Tue, 21 Aug 2007 08:18:10 +0930
User-agent: Thunderbird 2.0.0.5 (X11/20070721)

derrick_chi@msn.com 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]