Click here to Skip to main content
       

C / C++ / MFC

 
GeneralRe: search for a word in a text file Pinmemberbyank20-Jul-12 7:28 
GeneralRe: search for a word in a text file PinmemberTopCoder2318-Jul-12 3:40 
GeneralRe: search for a word in a text file Pinmemberbyank19-Jul-12 11:05 
QuestionParseExact - parsing a date with a given format in C++ / MFC PinmemberBadJerry18-Jul-12 0:50 
AnswerRe: ParseExact - parsing a date with a given format in C++ / MFC PinmemberJochen Arndt18-Jul-12 2:27 
AnswerRe: ParseExact - parsing a date with a given format in C++ / MFC PinmvpRichard MacCutchan18-Jul-12 3:20 
GeneralRe: ParseExact - parsing a date with a given format in C++ / MFC [modified] PinmemberBadJerry18-Jul-12 3:32 
AnswerRe: ParseExact - parsing a date with a given format in C++ / MFC PinmemberTopCoder2318-Jul-12 4: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 PinmemberBadJerry18-Jul-12 5:41 
GeneralRe: ParseExact - parsing a date with a given format in C++ / MFC PinmvpRichard MacCutchan18-Jul-12 7:39 
GeneralRe: ParseExact - parsing a date with a given format in C++ / MFC Pinmemberjschell20-Jul-12 7:28 
GeneralRe: ParseExact - parsing a date with a given format in C++ / MFC PinmvpRichard MacCutchan20-Jul-12 9:21 
GeneralRe: ParseExact - parsing a date with a given format in C++ / MFC PinmemberTopCoder2318-Jul-12 21:12 
AnswerRe: ParseExact - parsing a date with a given format in C++ / MFC Pinmemberkrmed18-Jul-12 10:04 
GeneralRe: ParseExact - parsing a date with a given format in C++ / MFC PinmemberBadJerry18-Jul-12 22:45 
GeneralRe: COleDateTime::Format("%A, %B %d, %Y") PinmemberTopCoder2319-Jul-12 6:16 
GeneralRe: COleDateTime::Format("%A, %B %d, %Y") PinmemberBadJerry19-Jul-12 7:08 
Generalset focus to main dialog form in MFC (SOLVED) [modified] Pinmemberjawadali47717-Jul-12 18:05 
AnswerRe: set focus to main dialog form in MFC PinmvpRichard MacCutchan17-Jul-12 21:48 
GeneralRe: set focus to main dialog form in MFC Pinmemberjawadali47717-Jul-12 22:00 
Questionftp : to upload multile files at same time Pinmemberincludeh1017-Jul-12 4:27 
QuestionRe: ftp : to upload multile files at same time PinmemberDavidCrow17-Jul-12 9:59 
AnswerRe: ftp : to upload multile files at same time PinmemberPeter_in_278017-Jul-12 18:16 
QuestionMoving file with progress Pinmembersarfaraznawaz17-Jul-12 1:02 
AnswerRe: Moving file with progress PinmemberMalli_S17-Jul-12 1:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    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
Web03 | 2.8.140415.2 | Last Updated 16 Apr 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid