Click here to Skip to main content

C / C++ / MFC

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