Click here to Skip to main content
15,913,115 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Question"Mega C & C++ Beginer QuiZ" Code this and please!!! Pin
Chaie John27-Aug-13 21:16
Chaie John27-Aug-13 21:16 
AnswerRe: "Mega C & C++ Beginer QuiZ" Code this and please!!! Pin
Richard MacCutchan27-Aug-13 22:29
mveRichard MacCutchan27-Aug-13 22:29 
GeneralRe: "Mega C & C++ Beginer QuiZ" Code this and please!!! Pin
.dan.g.28-Aug-13 19:05
professional.dan.g.28-Aug-13 19:05 
GeneralRe: "Mega C & C++ Beginer QuiZ" Code this and please!!! Pin
Richard MacCutchan28-Aug-13 21:18
mveRichard MacCutchan28-Aug-13 21:18 
AnswerRe: "Mega C & C++ Beginer QuiZ" Code this and please!!! Pin
David Crow28-Aug-13 2:08
David Crow28-Aug-13 2:08 
SuggestionRe: "Mega C & C++ Beginer QuiZ" Code this and please!!! Pin
pasztorpisti28-Aug-13 3:42
pasztorpisti28-Aug-13 3:42 
QuestionDay of the Week Pin
BobInNJ27-Aug-13 14:13
BobInNJ27-Aug-13 14:13 
AnswerRe: Day of the Week Pin
David Crow27-Aug-13 15:53
David Crow27-Aug-13 15:53 
Something like the following, with maybe a tweak or three:

struct tm time_in = { 0, 0, 0, 1, 7, 2013 - 1900 }; // August 1st, 2013

time_t time_out = mktime(&time_in);

struct tm *time_local = localtime(&time_out);

_tprintf(_T("%u\n"), time_local->tm_wday);

"One man's wage rise is another man's price increase." - Harold Wilson

"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

"Show me a community that obeys the Ten Commandments and I'll show you a less crowded prison system." - Anonymous


AnswerRe: Day of the Week Pin
Krishnakumartg28-Aug-13 7:03
Krishnakumartg28-Aug-13 7:03 
GeneralRe: Day of the Week Pin
David Crow28-Aug-13 7:27
David Crow28-Aug-13 7:27 
AnswerRe: Day of the Week Pin
Freak3028-Aug-13 23:22
Freak3028-Aug-13 23:22 
QuestionProgram Quiz , Tell me the codings Pin
Chaie John27-Aug-13 11:59
Chaie John27-Aug-13 11:59 
AnswerRe: Program Quiz , Tell me the codings Pin
Garth J Lancaster27-Aug-13 12:18
professionalGarth J Lancaster27-Aug-13 12:18 
AnswerRe: Program Quiz , Tell me the codings Pin
pasztorpisti28-Aug-13 6:49
pasztorpisti28-Aug-13 6:49 
Questionnk Pin
vishal.chaturvedi1927-Aug-13 2:02
vishal.chaturvedi1927-Aug-13 2:02 
QuestionRe: nk Pin
CPallini27-Aug-13 11:12
mveCPallini27-Aug-13 11:12 
QuestionFirefox Address Pin
MrDooDoo26-Aug-13 9:39
MrDooDoo26-Aug-13 9:39 
QuestionRe: Firefox Address Pin
David Crow26-Aug-13 10:26
David Crow26-Aug-13 10:26 
AnswerRe: Firefox Address Pin
MrDooDoo28-Aug-13 6:04
MrDooDoo28-Aug-13 6:04 
AnswerRe: Firefox Address Pin
«_Superman_»26-Aug-13 20:00
professional«_Superman_»26-Aug-13 20:00 
GeneralRe: Firefox Address Pin
MrDooDoo28-Aug-13 6:06
MrDooDoo28-Aug-13 6:06 
AnswerRe: Firefox Address Pin
Maximilien27-Aug-13 3:44
Maximilien27-Aug-13 3:44 
GeneralRe: Firefox Address Pin
MrDooDoo28-Aug-13 6:02
MrDooDoo28-Aug-13 6:02 
QuestionIs the Parent Instance Same For All Childs? Pin
AmbiguousName25-Aug-13 9:31
AmbiguousName25-Aug-13 9:31 
AnswerRe: Is the Parent Instance Same For All Childs? Pin
Richard Andrew x6425-Aug-13 10:53
professionalRichard Andrew x6425-Aug-13 10:53 

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.