Click here to Skip to main content
12,251,027 members (41,269 online)

C / C++ / MFC

 
Generalsearch for a word in a text file Pin
byank18-Jul-12 2:14
memberbyank18-Jul-12 2:14 
QuestionRe: search for a word in a text file Pin
DavidCrow18-Jul-12 2:18
memberDavidCrow18-Jul-12 2:18 
AnswerRe: search for a word in a text file Pin
byank19-Jul-12 11:00
memberbyank19-Jul-12 11:00 
GeneralRe: search for a word in a text file Pin
DavidCrow20-Jul-12 2:24
memberDavidCrow20-Jul-12 2:24 
GeneralRe: search for a word in a text file Pin
Shaunak De20-Jul-12 3:17
memberShaunak De20-Jul-12 3:17 
GeneralRe: search for a word in a text file Pin
DavidCrow20-Jul-12 4:51
memberDavidCrow20-Jul-12 4:51 
GeneralRe: search for a word in a text file Pin
byank20-Jul-12 7:28
memberbyank20-Jul-12 7:28 
GeneralRe: search for a word in a text file Pin
TopCoder2318-Jul-12 3:40
memberTopCoder2318-Jul-12 3:40 
GeneralRe: search for a word in a text file Pin
byank19-Jul-12 11:05
memberbyank19-Jul-12 11:05 
QuestionParseExact - parsing a date with a given format in C++ / MFC Pin
BadJerry18-Jul-12 0:50
memberBadJerry18-Jul-12 0:50 
AnswerRe: ParseExact - parsing a date with a given format in C++ / MFC Pin
Jochen Arndt18-Jul-12 2:27
memberJochen Arndt18-Jul-12 2:27 
AnswerRe: ParseExact - parsing a date with a given format in C++ / MFC Pin
Richard MacCutchan18-Jul-12 3:20
mvpRichard MacCutchan18-Jul-12 3:20 
GeneralRe: ParseExact - parsing a date with a given format in C++ / MFC Pin
BadJerry18-Jul-12 3:32
memberBadJerry18-Jul-12 3:32 
AnswerRe: ParseExact - parsing a date with a given format in C++ / MFC Pin
TopCoder2318-Jul-12 4:54
memberTopCoder2318-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 Pin
BadJerry18-Jul-12 5:41
memberBadJerry18-Jul-12 5:41 
GeneralRe: ParseExact - parsing a date with a given format in C++ / MFC Pin
Richard MacCutchan18-Jul-12 7:39
mvpRichard MacCutchan18-Jul-12 7:39 
GeneralRe: ParseExact - parsing a date with a given format in C++ / MFC Pin
jschell20-Jul-12 7:28
memberjschell20-Jul-12 7:28 
GeneralRe: ParseExact - parsing a date with a given format in C++ / MFC Pin
Richard MacCutchan20-Jul-12 9:21
mvpRichard MacCutchan20-Jul-12 9:21 
GeneralRe: ParseExact - parsing a date with a given format in C++ / MFC Pin
TopCoder2318-Jul-12 21:12
memberTopCoder2318-Jul-12 21:12 
AnswerRe: ParseExact - parsing a date with a given format in C++ / MFC Pin
krmed18-Jul-12 10:04
memberkrmed18-Jul-12 10:04 
GeneralRe: ParseExact - parsing a date with a given format in C++ / MFC Pin
BadJerry18-Jul-12 22:45
memberBadJerry18-Jul-12 22:45 
GeneralRe: COleDateTime::Format("%A, %B %d, %Y") Pin
TopCoder2319-Jul-12 6:16
memberTopCoder2319-Jul-12 6:16 
GeneralRe: COleDateTime::Format("%A, %B %d, %Y") Pin
BadJerry19-Jul-12 7:08
memberBadJerry19-Jul-12 7:08 
Generalset focus to main dialog form in MFC (SOLVED) Pin
jawadali47717-Jul-12 18:05
memberjawadali47717-Jul-12 18:05 
AnswerRe: set focus to main dialog form in MFC Pin
Richard MacCutchan17-Jul-12 21:48
mvpRichard MacCutchan17-Jul-12 21:48 
GeneralRe: set focus to main dialog form in MFC Pin
jawadali47717-Jul-12 22:00
memberjawadali47717-Jul-12 22:00 
Questionftp : to upload multile files at same time Pin
includeh1017-Jul-12 4:27
memberincludeh1017-Jul-12 4:27 
QuestionRe: ftp : to upload multile files at same time Pin
DavidCrow17-Jul-12 9:59
memberDavidCrow17-Jul-12 9:59 
AnswerRe: ftp : to upload multile files at same time Pin
Peter_in_278017-Jul-12 18:16
memberPeter_in_278017-Jul-12 18:16 
QuestionMoving file with progress Pin
sarfaraznawaz17-Jul-12 1:02
membersarfaraznawaz17-Jul-12 1:02 
AnswerRe: Moving file with progress Pin
Malli_S17-Jul-12 1:43
memberMalli_S17-Jul-12 1:43 
QuestionRe: Moving file with progress Pin
Richard MacCutchan17-Jul-12 2:39
mvpRichard MacCutchan17-Jul-12 2:39 
GeneralRe: Moving file with progress Pin
DavidCrow17-Jul-12 4:26
memberDavidCrow17-Jul-12 4:26 
GeneralRe: Moving file with progress Pin
sarfaraznawaz17-Jul-12 20:03
membersarfaraznawaz17-Jul-12 20:03 
QuestionRe: Moving file with progress Pin
DavidCrow18-Jul-12 2:16
memberDavidCrow18-Jul-12 2:16 
QuestionAbout opengl screen shot is black Pin
Koma Wang16-Jul-12 22:52
memberKoma Wang16-Jul-12 22:52 
SuggestionRe: About opengl screen shot is black Pin
Richard MacCutchan16-Jul-12 23:29
mvpRichard MacCutchan16-Jul-12 23:29 
AnswerRe: About opengl screen shot is black Pin
TopCoder2317-Jul-12 3:48
memberTopCoder2317-Jul-12 3:48 
QuestionBasic / standard MFC VC6.0 CListCtrl questions Pin
Vaclav_Sal16-Jul-12 10:02
memberVaclav_Sal16-Jul-12 10:02 
AnswerRe: Basic / standard MFC VC6.0 CListCtrl questions Pin
Jochen Arndt16-Jul-12 21:09
memberJochen Arndt16-Jul-12 21:09 
GeneralRe: Basic / standard MFC VC6.0 CListCtrl questions Pin
Vaclav_Sal17-Jul-12 3:23
memberVaclav_Sal17-Jul-12 3:23 
GeneralRe: Basic / standard MFC VC6.0 CListCtrl questions Pin
Jochen Arndt17-Jul-12 3:33
memberJochen Arndt17-Jul-12 3:33 
GeneralSOLVED Basic / standard MFC VC6.0 CListCtrl questions Pin
Vaclav_Sal18-Jul-12 3:47
memberVaclav_Sal18-Jul-12 3:47 
QuestionCMFCToolbar EnableReflections : how is it supposed to work ? Pin
Maximilien16-Jul-12 9:26
memberMaximilien16-Jul-12 9:26 
AnswerRe: CMFCToolbar EnableReflections : how is it supposed to work ? Pin
Eugen Podsypalnikov16-Jul-12 23:10
memberEugen Podsypalnikov16-Jul-12 23:10 
Questionwhy no virtual constructor? Pin
shanmugarajaa16-Jul-12 3:34
membershanmugarajaa16-Jul-12 3:34 
AnswerRe: why no virtual constructor? Pin
sanjay kaledhonkar16-Jul-12 3:54
membersanjay kaledhonkar16-Jul-12 3:54 
GeneralRe: why no virtual constructor? Pin
Stefan_Lang16-Jul-12 22:07
memberStefan_Lang16-Jul-12 22:07 
AnswerRe: why no virtual constructor? Pin
jschell16-Jul-12 6:01
memberjschell16-Jul-12 6:01 
GeneralRe: why no virtual constructor? Pin
Stefan_Lang16-Jul-12 22:08
memberStefan_Lang16-Jul-12 22:08 

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.160426.1 | Last Updated 4 May 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid