On Wed, Sep 11, 2002 at 04:55:02PM -0700, tarundeep wrote:
> nope
> gcc is gnu compiler for c 
> g++ is for c++
> although g++ can compile C also

Oh yeah?

binand@binand[~]:(8) cat a.c
#include <stdio.h>

int main (void) {
    int new = 42;
    char *delete = "DA";
    printf ("%s = %d\n", delete, new);
    return 0;
}

binand@binand[~]:(9) gcc a.c
binand@binand[~]:(10) g++ a.c
a.c: In function `int main ()':
a.c:4: parse error before `new'
a.c:5: parse error before `delete'
a.c:6: parse error before `,'

Binand

-- 
If you found this helpful, please take some time off to rate it:
http://svcs.affero.net/rm.php?r=binand


-------------------------------------------------------
In remembrance
www.osdn.com/911/
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to