Click here to Skip to main content
15,914,163 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Performance issue.. Pin
Hamid_RT23-Oct-07 21:02
Hamid_RT23-Oct-07 21:02 
AnswerRe: Performance issue.. Pin
David Crow24-Oct-07 3:39
David Crow24-Oct-07 3:39 
AnswerRe: Performance issue.. [modified] Pin
Neo Andreson24-Oct-07 4:00
Neo Andreson24-Oct-07 4:00 
QuestionHow to know the type of variable at run time?? Pin
ashishbhatt23-Oct-07 17:38
ashishbhatt23-Oct-07 17:38 
AnswerRe: How to know the type of variable at run time?? Pin
mr_Tuborg23-Oct-07 18:51
mr_Tuborg23-Oct-07 18:51 
AnswerRe: How to know the type of variable at run time?? Pin
Naveen23-Oct-07 19:43
Naveen23-Oct-07 19:43 
AnswerRe: How to know the type of variable at run time?? Pin
Mark Salsbery24-Oct-07 6:01
Mark Salsbery24-Oct-07 6:01 
QuestionMultiple definitions Pin
John R. Shaw23-Oct-07 15:49
John R. Shaw23-Oct-07 15:49 
The following represents standard C++ code, no Microsoft specifics involved.
// NOTE: The "Visual C++ 6.0" compiler could not destiguish between
// the following 'add' methods when they had the same name ('add_set').
void add_c_set(nfa_type& nfa, const string_set_type& c_set, bool and_flag) const;
void add_id_set(nfa_type& nfa, const ccid_set_type& id_set, bool and_flag) const;

The above problem occured, in long standing code, when I seperated some unrelated methods from a seperate template class, as they could stand on their own. Although I considered it a seperate issue, this must be related, the "Visual C++ 6.0" compiler started complaining about heap space (for symbols) when compiling for Unicode (not for ASCII). When compiling with "Visual C++ .Net" there are no problems.

The "string_set_type" is an STL set of STL strings (char or wchar_t) and "ccid_set_type" is a set of special identifiers. A "ccid" is basically a type derived from a template class that wraps an "unsigned char" value.

If you have any ideas, or have seen this problem before, please throw it out there, as I need a clue.

Thanks.

INTP
"Program testing can be used to show the presence of bugs, but never to show their absence."Edsger Dijkstra

AnswerRe: Multiple definitions Pin
Christian Graus23-Oct-07 16:07
protectorChristian Graus23-Oct-07 16:07 
GeneralRe: Multiple definitions Pin
John R. Shaw23-Oct-07 17:24
John R. Shaw23-Oct-07 17:24 
AnswerRe: Multiple definitions Pin
User 58385223-Oct-07 16:07
User 58385223-Oct-07 16:07 
GeneralRe: Multiple definitions Pin
Christian Graus23-Oct-07 16:29
protectorChristian Graus23-Oct-07 16:29 
GeneralRe: Multiple definitions Pin
John R. Shaw23-Oct-07 17:50
John R. Shaw23-Oct-07 17:50 
GeneralRe: Multiple definitions Pin
User 58385223-Oct-07 18:22
User 58385223-Oct-07 18:22 
GeneralRe: Multiple definitions Pin
John R. Shaw23-Oct-07 18:46
John R. Shaw23-Oct-07 18:46 
QuestionSuspendThread and StackWalk64 Pin
Baltoro23-Oct-07 14:08
Baltoro23-Oct-07 14:08 
AnswerRe: SuspendThread and StackWalk64 Pin
cmk24-Oct-07 10:16
cmk24-Oct-07 10:16 
GeneralThanks for Reply Pin
Baltoro25-Oct-07 6:11
Baltoro25-Oct-07 6:11 
Questionirc via socket Pin
Adno23-Oct-07 12:29
Adno23-Oct-07 12:29 
QuestionRe: irc via socket Pin
Mark Salsbery23-Oct-07 13:42
Mark Salsbery23-Oct-07 13:42 
AnswerRe: irc via socket Pin
Adno23-Oct-07 14:59
Adno23-Oct-07 14:59 
GeneralRe: irc via socket Pin
Mark Salsbery24-Oct-07 6:07
Mark Salsbery24-Oct-07 6:07 
GeneralRe: irc via socket Pin
Adno24-Oct-07 9:03
Adno24-Oct-07 9:03 
GeneralRe: irc via socket Pin
Mark Salsbery24-Oct-07 10:59
Mark Salsbery24-Oct-07 10:59 
GeneralRe: irc via socket Pin
Moak8-Nov-07 12:16
Moak8-Nov-07 12:16 

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.