Click here to Skip to main content
15,902,112 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to read a set of numbers from a textfile to a 2D array? Pin
Hamid_RT16-Sep-06 1:45
Hamid_RT16-Sep-06 1:45 
QuestionSETUP.exe Pin
J512198215-Sep-06 20:58
J512198215-Sep-06 20:58 
AnswerRe: SETUP.exe Pin
ThatsAlok16-Sep-06 1:07
ThatsAlok16-Sep-06 1:07 
AnswerRe: SETUP.exe Pin
Hamid_RT16-Sep-06 1:32
Hamid_RT16-Sep-06 1:32 
QuestionMultiple definition? Eh? Pin
Lord Kixdemp15-Sep-06 16:04
Lord Kixdemp15-Sep-06 16:04 
QuestionRe: Multiple definition? Eh? Pin
prasad_som15-Sep-06 18:59
prasad_som15-Sep-06 18:59 
AnswerRe: Multiple definition? Eh? Pin
Hamid_RT15-Sep-06 20:19
Hamid_RT15-Sep-06 20:19 
GeneralRe: Multiple definition? Eh? Pin
Lord Kixdemp16-Sep-06 15:21
Lord Kixdemp16-Sep-06 15:21 
W... What the heck? How am I gonna get an answer if I don't put the error message? Damn, I feel so retarded sometimes... Mad | :mad:

1>------ Build started: Project: War Game, Configuration: Release Win32 ------<br />
1>Compiling...<br />
1>Main.cpp<br />
1>ErrorHandling.cpp<br />
1>Generating Code...<br />
1>Linking...<br />
1>Game.obj : error LNK2005: "class _WGError WGError" (?WGError@@3V_WGError@@A) already defined in ErrorHandling.obj<br />
1>Main.obj : error LNK2005: "void __cdecl MapHandling::LoadTiles(void)" (?LoadTiles@MapHandling@@YAXXZ) already defined in Game.obj<br />
1>Main.obj : error LNK2005: "class _WGError WGError" (?WGError@@3V_WGError@@A) already defined in ErrorHandling.obj<br />
1>Main.obj : error LNK2005: "struct TileFile * MapHandling::Tilesets" (?Tilesets@MapHandling@@3PAUTileFile@@A) already defined in Game.obj<br />
1>MapHandling.obj : error LNK2005: "void __cdecl MapHandling::LoadTiles(void)" (?LoadTiles@MapHandling@@YAXXZ) already defined in Game.obj<br />
1>MapHandling.obj : error LNK2005: "class _WGError WGError" (?WGError@@3V_WGError@@A) already defined in ErrorHandling.obj<br />
1>MapHandling.obj : error LNK2005: "struct TileFile * MapHandling::Tilesets" (?Tilesets@MapHandling@@3PAUTileFile@@A) already defined in Game.obj<br />
1>..\Release/War Game.exe : fatal error LNK1169: one or more multiply defined symbols found<br />
1>Build log was saved at "file://c:\Incoming\War Game\Visual Studio 2005\Release\BuildLog.htm"<br />
1>War Game - 8 error(s), 0 warning(s)<br />
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========<br />


WGError is in ErrorHandling.h, while TileFile and Tilesets are in MapHandling.h.

Thanks and sorry for being dumb... :P

Windows Calculator told me I will die at 28. Frown | :(

GeneralRe: Multiple definition? Eh? Pin
PJ Arends16-Sep-06 15:43
professionalPJ Arends16-Sep-06 15:43 
GeneralRe: Multiple definition? Eh? Pin
Lord Kixdemp16-Sep-06 19:43
Lord Kixdemp16-Sep-06 19:43 
QuestionIterator Invalidation? iVec.erase(it) Pin
Yonggoo15-Sep-06 13:24
Yonggoo15-Sep-06 13:24 
AnswerRe: Iterator Invalidation? iVec.erase(it) Pin
tanvon malik15-Sep-06 14:59
tanvon malik15-Sep-06 14:59 
QuestionRe: Iterator Invalidation? iVec.erase(it) Pin
prg_desh15-Sep-06 18:38
prg_desh15-Sep-06 18:38 
QuestionFont in list box Pin
Oliver12315-Sep-06 12:52
Oliver12315-Sep-06 12:52 
AnswerRe: Font in list box Pin
tanvon malik15-Sep-06 14:49
tanvon malik15-Sep-06 14:49 
GeneralRe: Font in list box Pin
Oliver12315-Sep-06 16:55
Oliver12315-Sep-06 16:55 
AnswerRe: Font in list box Pin
Hamid_RT15-Sep-06 20:29
Hamid_RT15-Sep-06 20:29 
QuestionMFC - Scroll Bars Pin
StevenWalsh15-Sep-06 10:42
StevenWalsh15-Sep-06 10:42 
AnswerRe: MFC - Scroll Bars Pin
Chris Losinger15-Sep-06 11:02
professionalChris Losinger15-Sep-06 11:02 
AnswerRe: MFC - Scroll Bars Pin
Alex Boyce15-Sep-06 11:04
Alex Boyce15-Sep-06 11:04 
QuestionThe ripple effect Pin
Waldermort15-Sep-06 8:59
Waldermort15-Sep-06 8:59 
AnswerRe: The ripple effect Pin
Chris Losinger15-Sep-06 9:50
professionalChris Losinger15-Sep-06 9:50 
AnswerRe: The ripple effect Pin
Maximilien15-Sep-06 10:04
Maximilien15-Sep-06 10:04 
GeneralRe: The ripple effect Pin
Waldermort15-Sep-06 10:20
Waldermort15-Sep-06 10:20 
GeneralRe: The ripple effect Pin
Chris Losinger15-Sep-06 10:22
professionalChris Losinger15-Sep-06 10:22 

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.