Click here to Skip to main content
15,891,375 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: srandom and random Pin
Richard MacCutchan9-Jan-20 1:26
mveRichard MacCutchan9-Jan-20 1:26 
SuggestionRe: srandom and random Pin
David Crow9-Jan-20 3:25
David Crow9-Jan-20 3:25 
GeneralRe: srandom and random Pin
_Flaviu9-Jan-20 6:42
_Flaviu9-Jan-20 6:42 
GeneralRe: srandom and random Pin
k50549-Jan-20 9:03
mvek50549-Jan-20 9:03 
GeneralRe: srandom and random Pin
_Flaviu9-Jan-20 21:03
_Flaviu9-Jan-20 21:03 
GeneralRe: srandom and random Pin
Victor Nijegorodov9-Jan-20 22:51
Victor Nijegorodov9-Jan-20 22:51 
QuestionRedirect to my struct Pin
_Flaviu7-Jan-20 21:58
_Flaviu7-Jan-20 21:58 
AnswerRe: Redirect to my struct Pin
Afzaal Ahmad Zeeshan7-Jan-20 22:11
professionalAfzaal Ahmad Zeeshan7-Jan-20 22:11 
You need to use a namespace here to remove the ambiguity between types.

Check this thread to see how this can be solved, Why doesn't ANSI C have namespaces? - Stack Overflow.

Quote:
how can I do to sid be as my SID struct, not as _SID windows struct ?
Are you including both the header files? If they are in separate header files, you can try avoiding including a header file and SID will automatically be of your choice.
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~

GeneralRe: Redirect to my struct Pin
_Flaviu7-Jan-20 22:38
_Flaviu7-Jan-20 22:38 
GeneralRe: Redirect to my struct Pin
_Flaviu8-Jan-20 0:29
_Flaviu8-Jan-20 0:29 
GeneralRe: Redirect to my struct Pin
Richard MacCutchan8-Jan-20 2:21
mveRichard MacCutchan8-Jan-20 2:21 
GeneralRe: Redirect to my struct Pin
_Flaviu8-Jan-20 3:15
_Flaviu8-Jan-20 3:15 
GeneralRe: Redirect to my struct Pin
k50548-Jan-20 3:38
mvek50548-Jan-20 3:38 
GeneralRe: Redirect to my struct Pin
_Flaviu8-Jan-20 18:59
_Flaviu8-Jan-20 18:59 
GeneralRe: Redirect to my struct Pin
Richard MacCutchan8-Jan-20 3:44
mveRichard MacCutchan8-Jan-20 3:44 
GeneralRe: Redirect to my struct Pin
leon de boer8-Jan-20 6:00
leon de boer8-Jan-20 6:00 
GeneralRe: Redirect to my struct Pin
_Flaviu8-Jan-20 7:09
_Flaviu8-Jan-20 7:09 
AnswerRe: Redirect to my struct Pin
Richard MacCutchan7-Jan-20 22:14
mveRichard MacCutchan7-Jan-20 22:14 
AnswerRe: Redirect to my struct Pin
phil.o7-Jan-20 22:33
professionalphil.o7-Jan-20 22:33 
GeneralRe: Redirect to my struct Pin
_Flaviu7-Jan-20 22:43
_Flaviu7-Jan-20 22:43 
AnswerRe: Redirect to my struct Pin
k50548-Jan-20 4:00
mvek50548-Jan-20 4:00 
GeneralRe: Redirect to my struct Pin
_Flaviu8-Jan-20 7:18
_Flaviu8-Jan-20 7:18 
AnswerRe: Redirect to my struct Pin
Stefan_Lang8-Jan-20 21:44
Stefan_Lang8-Jan-20 21:44 
Questionerror C3861: 'major': identifier not found Pin
_Flaviu6-Jan-20 22:29
_Flaviu6-Jan-20 22:29 
AnswerRe: error C3861: 'major': identifier not found Pin
Victor Nijegorodov6-Jan-20 23:49
Victor Nijegorodov6-Jan-20 23:49 

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.