Click here to Skip to main content
15,900,724 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCompiling 2 sources C files with gcc Pin
Schehaider_Aymen19-Oct-08 10:28
Schehaider_Aymen19-Oct-08 10:28 
AnswerRe: Compiling 2 sources C files with gcc Pin
CPallini19-Oct-08 10:43
mveCPallini19-Oct-08 10:43 
GeneralRe: Compiling 2 sources C files with gcc Pin
Schehaider_Aymen19-Oct-08 11:32
Schehaider_Aymen19-Oct-08 11:32 
GeneralRe: Compiling 2 sources C files with gcc Pin
CPallini19-Oct-08 11:38
mveCPallini19-Oct-08 11:38 
GeneralRe: Compiling 2 sources C files with gcc Pin
Schehaider_Aymen19-Oct-08 11:45
Schehaider_Aymen19-Oct-08 11:45 
GeneralRe: Compiling 2 sources C files with gcc Pin
CPallini19-Oct-08 11:49
mveCPallini19-Oct-08 11:49 
GeneralRe: Compiling 2 sources C files with gcc Pin
Schehaider_Aymen19-Oct-08 11:53
Schehaider_Aymen19-Oct-08 11:53 
GeneralRe: Compiling 2 sources C files with gcc Pin
CPallini19-Oct-08 12:05
mveCPallini19-Oct-08 12:05 
Blood_HaZaRd wrote:
gcc -o Sthing *.o


*.o it's only a wildcard way to say 'link with all object files you find'. You get the error because the compiler finds both client.o and server.o (and both have a main function inside). I strongly suggest you to issue the man gcc command.
Smile | :)

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke

[My articles]

GeneralRe: Compiling 2 sources C files with gcc Pin
Schehaider_Aymen19-Oct-08 12:11
Schehaider_Aymen19-Oct-08 12:11 
GeneralRe: Compiling 2 sources C files with gcc Pin
CPallini19-Oct-08 13:03
mveCPallini19-Oct-08 13:03 
GeneralRe: Compiling 2 sources C files with gcc Pin
markkuk20-Oct-08 1:52
markkuk20-Oct-08 1:52 
QuestionWin32 Global hooks and mouse overs.... Pin
Mr Jen Withers19-Oct-08 9:44
Mr Jen Withers19-Oct-08 9:44 
AnswerRe: Win32 Global hooks and mouse overs.... Pin
AlexAbramov19-Oct-08 12:57
AlexAbramov19-Oct-08 12:57 
GeneralRe: Win32 Global hooks and mouse overs.... Pin
Mr Jen Withers20-Oct-08 3:51
Mr Jen Withers20-Oct-08 3:51 
QuestionLog-in event Pin
Green Fuze19-Oct-08 6:49
Green Fuze19-Oct-08 6:49 
AnswerRe: Log-in event Pin
Mark Salsbery19-Oct-08 10:26
Mark Salsbery19-Oct-08 10:26 
GeneralRe: Log-in event Pin
Green Fuze19-Oct-08 22:26
Green Fuze19-Oct-08 22:26 
GeneralRe: Log-in event Pin
Mark Salsbery20-Oct-08 6:00
Mark Salsbery20-Oct-08 6:00 
QuestionCreate a C program in Visual Studio 2005 Pin
bigdenny20019-Oct-08 0:53
bigdenny20019-Oct-08 0:53 
AnswerRe: Create a C program in Visual Studio 2005 [modified] Pin
Perspx19-Oct-08 1:00
Perspx19-Oct-08 1:00 
AnswerRe: Create a C program in Visual Studio 2005 Pin
Mike Dimmick19-Oct-08 1:07
Mike Dimmick19-Oct-08 1:07 
QuestionHow to resize column in CDatagrid Pin
Max++18-Oct-08 21:47
Max++18-Oct-08 21:47 
QuestionHow to save a process's state and resume it later Pin
susandy18-Oct-08 17:08
susandy18-Oct-08 17:08 
AnswerRe: How to save a process's state and resume it later Pin
Cedric Moonen18-Oct-08 23:56
Cedric Moonen18-Oct-08 23:56 
QuestionPathFileExists() and GetFileAttributes() both hang when a network path doesn't exist. Pin
TragicComic18-Oct-08 13:00
TragicComic18-Oct-08 13:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.