[prev in list] [next in list] [prev in thread] [next in thread]
List: mingw-users
Subject: Re: [Mingw-users] =?iso-8859-1?Q?Basic_doubts_with_gcc?=
From: Peter Barada <peter () the-baradas ! com>
Date: 2003-11-26 3:48:19
[Download RAW message or body]
>The main problem is the command "cout" that does not belong to the C
>language, but to the C++ one. Therefore, I think I cannot use the
>same basic command line: gcc -o hello.exe hello.c, that I used to use
>on C programs.
Try renaming hello.c to hello.cc, that way GCC will think its a C++
program.
--
Peter Barada
peter@the-baradas.com
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
MinGW-users mailing list
MinGW-users@lists.sourceforge.net
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic