forlano Messages: 1207 Registered: March 2006 Location: Italy
Senior Contributor
luzr wrote on Wed, 26 April 2006 19:06
This indeed is not quite right. You should place
extern RoundData TD;
into header (declaration) and
RoundData TD;
into any .cpp file (definition). After fixing that, it started working.
Mirek
.SetSize( MAX );
Thanks a lot!
I was becoming crazy. This stupid problem stopped me for an entire day (night included).
There is an explanation for this. After I read some notes about C++ that complained about the "extern" used in C, and after Aris complained too, , for my extensive use of "spaghetti" I become a Taleban and I wanted to remove all the "extern" from my program.
Perhaps I've projected the application not in the best way if now I need it, so I've altered the beauty of the Aris' code.
I'll post soon the first part of the application where there are all the things I've learned so far.