Click here to Skip to main content
14,449,221 members

C / C++ / MFC

 
GeneralRe: Redirect to my struct Pin
leon de boer8-Jan-20 7:00
Memberleon de boer8-Jan-20 7:00 
GeneralRe: Redirect to my struct Pin
_Flaviu8-Jan-20 8:09
Member_Flaviu8-Jan-20 8:09 
AnswerRe: Redirect to my struct Pin
Richard MacCutchan7-Jan-20 23:14
communityengineerRichard MacCutchan7-Jan-20 23:14 
AnswerRe: Redirect to my struct Pin
phil.o7-Jan-20 23:33
mvephil.o7-Jan-20 23:33 
GeneralRe: Redirect to my struct Pin
_Flaviu7-Jan-20 23:43
Member_Flaviu7-Jan-20 23:43 
AnswerRe: Redirect to my struct Pin
k50548-Jan-20 5:00
Memberk50548-Jan-20 5:00 
GeneralRe: Redirect to my struct Pin
_Flaviu8-Jan-20 8:18
Member_Flaviu8-Jan-20 8:18 
AnswerRe: Redirect to my struct Pin
Stefan_Lang8-Jan-20 22:44
mveStefan_Lang8-Jan-20 22:44 
_Flaviu wrote:
#ifdef SID
typedef ... SID;


Sorry to be rude, but that's bullsh1t! If there really is a #define for the symbol SID anywhere in your code or your precompiler options, then your ccode will most likely never compile, because any attempt to use, declare or otherwise reference a struct SID will be turned into garbage by the precompiler which replaces the symbol with something else!

So, unless and until you make sure that nobody does such a #define, there is no point looking further! And then, of course, the #ifdef makes no sense - not that it did before.
GOTOs are a bit like wire coat hangers: they tend to breed in the darkness, such that where there once were few, eventually there are many, and the program's architecture collapses beneath them. (Fran Poretto)

Questionerror C3861: 'major': identifier not found Pin
_Flaviu6-Jan-20 23:29
Member_Flaviu6-Jan-20 23:29 
AnswerRe: error C3861: 'major': identifier not found Pin
Victor Nijegorodov7-Jan-20 0:49
MemberVictor Nijegorodov7-Jan-20 0:49 
GeneralRe: error C3861: 'major': identifier not found Pin
_Flaviu7-Jan-20 1:29
Member_Flaviu7-Jan-20 1:29 
GeneralRe: error C3861: 'major': identifier not found Pin
Victor Nijegorodov7-Jan-20 1:40
MemberVictor Nijegorodov7-Jan-20 1:40 
GeneralRe: error C3861: 'major': identifier not found Pin
_Flaviu7-Jan-20 2:07
Member_Flaviu7-Jan-20 2:07 
GeneralRe: error C3861: 'major': identifier not found Pin
Victor Nijegorodov7-Jan-20 2:13
MemberVictor Nijegorodov7-Jan-20 2:13 
AnswerRe: error C3861: 'major': identifier not found Pin
Stefan_Lang8-Jan-20 22:58
mveStefan_Lang8-Jan-20 22:58 
GeneralRe: error C3861: 'major': identifier not found Pin
_Flaviu8-Jan-20 23:04
Member_Flaviu8-Jan-20 23:04 
GeneralRe: error C3861: 'major': identifier not found Pin
Stefan_Lang8-Jan-20 23:40
mveStefan_Lang8-Jan-20 23:40 
Questionsetw irrational behaviour Pin
Vaclav_5-Jan-20 9:25
MemberVaclav_5-Jan-20 9:25 
AnswerRe: setw irrational behaviour Pin
k50545-Jan-20 11:27
Memberk50545-Jan-20 11:27 
GeneralRe: setw irrational behaviour Pin
Vaclav_5-Jan-20 18:37
MemberVaclav_5-Jan-20 18:37 
GeneralRe: setw irrational behaviour Pin
Richard MacCutchan5-Jan-20 22:53
communityengineerRichard MacCutchan5-Jan-20 22:53 
GeneralRe: setw irrational behaviour Pin
k50546-Jan-20 5:16
Memberk50546-Jan-20 5:16 
AnswerRe: setw irrational behaviour Pin
CPallini6-Jan-20 22:30
mveCPallini6-Jan-20 22:30 
Questionerror C2065: '_S_IFDIR' : undeclared identifier Pin
_Flaviu5-Jan-20 8:42
Member_Flaviu5-Jan-20 8:42 
AnswerRe: error C2065: '_S_IFDIR' : undeclared identifier Pin
k50545-Jan-20 11:31
Memberk50545-Jan-20 11:31 

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.