Click here to Skip to main content
15,890,282 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CTreeCtrl labels - are painted with black background instead of trasparent Help needed plz Pin
sarat31-Jan-08 18:47
sarat31-Jan-08 18:47 
GeneralRe: CTreeCtrl labels - are painted with black background instead of trasparent Help needed plz Pin
Shog91-Feb-08 3:59
sitebuilderShog91-Feb-08 3:59 
GeneralSTL list vs multi set Pin
minkowski31-Jan-08 2:18
minkowski31-Jan-08 2:18 
GeneralRe: STL list vs multi set Pin
73Zeppelin31-Jan-08 3:29
73Zeppelin31-Jan-08 3:29 
GeneralRe: STL list vs multi set Pin
minkowski31-Jan-08 3:31
minkowski31-Jan-08 3:31 
GeneralRe: STL list vs multi set Pin
73Zeppelin31-Jan-08 3:50
73Zeppelin31-Jan-08 3:50 
GeneralRe: STL list vs multi set Pin
Shog931-Jan-08 8:03
sitebuilderShog931-Jan-08 8:03 
Generali don't know why both result same~ Pin
Jung Seng Won31-Jan-08 2:07
Jung Seng Won31-Jan-08 2:07 
#include <time.h>
#include<stdio.h>
#include <conio.h>
#include <stdlib.h>
#include <Windows.h>
void main()
{
time_t curr, bir;
struct tm *curr_tm, *bir_tm;

curr = time(NULL);
bir = time(NULL);

curr_tm = localtime(&curr);
bir_tm = localtime(&bir);

// printf("%s\n", asctime(curr_tm));
// printf("%s\n", asctime(bir_tm));

bir_tm->tm_year = 83;
bir_tm->tm_mon = 11;
bir_tm->tm_mday = 26;



printf("%s\n", asctime(curr_tm));
printf("%s\n", asctime(bir_tm));



}//main

i don't know why
printf("%s\n", asctime(curr_tm));
printf("%s\n", asctime(bir_tm));
's result is same~
definitly curr_tm, bir_tm 's paramata is different~
example)
curr_tm = localtime(&amp;curr);
bir_tm = localtime(&amp;bir);

firstly, i am sorry, i am from korea.
and i am not good in wriitting english so please understand~
Thank you everyone~

GeneralRe: i don't know why both result same~ Pin
Chris Losinger31-Jan-08 2:26
professionalChris Losinger31-Jan-08 2:26 
GeneralRe: i don't know why both result same~ Pin
CPallini31-Jan-08 2:55
mveCPallini31-Jan-08 2:55 
GeneralRe: i don't know why both result same~ Pin
CPallini31-Jan-08 2:41
mveCPallini31-Jan-08 2:41 
GeneralProblem with Visual Studio Express 2005 [modified] Pin
73Zeppelin31-Jan-08 1:49
73Zeppelin31-Jan-08 1:49 
GeneralRe: Problem with Visual Studio Express 2005 Pin
CPallini31-Jan-08 2:20
mveCPallini31-Jan-08 2:20 
GeneralRe: Problem with Visual Studio Express 2005 Pin
73Zeppelin31-Jan-08 2:37
73Zeppelin31-Jan-08 2:37 
GeneralRe: Problem with Visual Studio Express 2005 Pin
CPallini31-Jan-08 3:03
mveCPallini31-Jan-08 3:03 
GeneralRe: Problem with Visual Studio Express 2005 Pin
73Zeppelin31-Jan-08 3:16
73Zeppelin31-Jan-08 3:16 
GeneralPardon. Pin
CPallini31-Jan-08 3:27
mveCPallini31-Jan-08 3:27 
GeneralRe: Pardon. Pin
73Zeppelin31-Jan-08 3:54
73Zeppelin31-Jan-08 3:54 
GeneralExporting Makefile inVC++.Net (2005) Pin
Rajesh_Parameswaran31-Jan-08 1:36
Rajesh_Parameswaran31-Jan-08 1:36 
GeneralRe: Exporting Makefile inVC++.Net (2005) Pin
73Zeppelin31-Jan-08 2:52
73Zeppelin31-Jan-08 2:52 
GeneralRe: Exporting Makefile inVC++.Net (2005) Pin
KarstenK31-Jan-08 3:41
mveKarstenK31-Jan-08 3:41 
GeneralRe: Exporting Makefile inVC++.Net (2005) Pin
73Zeppelin31-Jan-08 3:56
73Zeppelin31-Jan-08 3:56 
GeneralRe: Exporting Makefile inVC++.Net (2005) Pin
Rajesh_Parameswaran31-Jan-08 3:56
Rajesh_Parameswaran31-Jan-08 3:56 
GeneralRe: Exporting Makefile inVC++.Net (2005) Pin
73Zeppelin31-Jan-08 4:00
73Zeppelin31-Jan-08 4:00 
GeneralNeed help regrading making a control transparent when rendering video Pin
yaminisridaran31-Jan-08 0:36
yaminisridaran31-Jan-08 0:36 

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.