Click here to Skip to main content
12,830,669 members (42,938 online)

C / C++ / MFC

 
GeneralRe: search for a word in a text file Pin
byank20-Jul-12 8:28
memberbyank20-Jul-12 8:28 
GeneralRe: search for a word in a text file Pin
TopCoder2318-Jul-12 4:40
memberTopCoder2318-Jul-12 4:40 
GeneralRe: search for a word in a text file Pin
byank19-Jul-12 12:05
memberbyank19-Jul-12 12:05 
QuestionParseExact - parsing a date with a given format in C++ / MFC Pin
BadJerry18-Jul-12 1:50
memberBadJerry18-Jul-12 1:50 
AnswerRe: ParseExact - parsing a date with a given format in C++ / MFC Pin
Jochen Arndt18-Jul-12 3:27
memberJochen Arndt18-Jul-12 3:27 
AnswerRe: ParseExact - parsing a date with a given format in C++ / MFC Pin
Richard MacCutchan18-Jul-12 4:20
mvpRichard MacCutchan18-Jul-12 4:20 
GeneralRe: ParseExact - parsing a date with a given format in C++ / MFC Pin
BadJerry18-Jul-12 4:32
memberBadJerry18-Jul-12 4:32 
AnswerRe: ParseExact - parsing a date with a given format in C++ / MFC Pin
TopCoder2318-Jul-12 5:54
memberTopCoder2318-Jul-12 5:54 
Richard pointed out using strftime( ) . it is standard C.

#include <cstdio>
#include <ctime>
 

int main ()
{
  time_t rawtime;
  struct tm * timeinfo;
  char buffer [80];
  
  time ( &rawtime );
  timeinfo = localtime ( &rawtime );

  strftime (buffer,80,"%Y %m %d  ",timeinfo);
 
  puts (buffer);

  return 0;
}

GeneralRe: ParseExact - parsing a date with a given format in C++ / MFC Pin
BadJerry18-Jul-12 6:41
memberBadJerry18-Jul-12 6:41 
GeneralRe: ParseExact - parsing a date with a given format in C++ / MFC Pin
Richard MacCutchan18-Jul-12 8:39
mvpRichard MacCutchan18-Jul-12 8:39 
GeneralRe: ParseExact - parsing a date with a given format in C++ / MFC Pin
jschell20-Jul-12 8:28
memberjschell20-Jul-12 8:28 
GeneralRe: ParseExact - parsing a date with a given format in C++ / MFC Pin
Richard MacCutchan20-Jul-12 10:21
mvpRichard MacCutchan20-Jul-12 10:21 
GeneralRe: ParseExact - parsing a date with a given format in C++ / MFC Pin
TopCoder2318-Jul-12 22:12
memberTopCoder2318-Jul-12 22:12 
AnswerRe: ParseExact - parsing a date with a given format in C++ / MFC Pin
krmed18-Jul-12 11:04
memberkrmed18-Jul-12 11:04 
GeneralRe: ParseExact - parsing a date with a given format in C++ / MFC Pin
BadJerry18-Jul-12 23:45
memberBadJerry18-Jul-12 23:45 
GeneralRe: COleDateTime::Format("%A, %B %d, %Y") Pin
TopCoder2319-Jul-12 7:16
memberTopCoder2319-Jul-12 7:16 
GeneralRe: COleDateTime::Format("%A, %B %d, %Y") Pin
BadJerry19-Jul-12 8:08
memberBadJerry19-Jul-12 8:08 
Generalset focus to main dialog form in MFC (SOLVED) Pin
jawadali47717-Jul-12 19:05
memberjawadali47717-Jul-12 19:05 
AnswerRe: set focus to main dialog form in MFC Pin
Richard MacCutchan17-Jul-12 22:48
mvpRichard MacCutchan17-Jul-12 22:48 
GeneralRe: set focus to main dialog form in MFC Pin
jawadali47717-Jul-12 23:00
memberjawadali47717-Jul-12 23:00 
Questionftp : to upload multile files at same time Pin
includeh1017-Jul-12 5:27
memberincludeh1017-Jul-12 5:27 
QuestionRe: ftp : to upload multile files at same time Pin
DavidCrow17-Jul-12 10:59
memberDavidCrow17-Jul-12 10:59 
AnswerRe: ftp : to upload multile files at same time Pin
Peter_in_278017-Jul-12 19:16
memberPeter_in_278017-Jul-12 19:16 
QuestionMoving file with progress Pin
sarfaraznawaz17-Jul-12 2:02
membersarfaraznawaz17-Jul-12 2:02 
AnswerRe: Moving file with progress Pin
Malli_S17-Jul-12 2:43
memberMalli_S17-Jul-12 2:43 

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.


Advertise | Privacy | Mobile
Web02 | 2.8.170326.1 | Last Updated 25 Mar 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid