🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: be.comp.programming
3 messages
3 total messages Started by Christophe Wed, 30 Oct 2002 01:38
omzetten
#6983
Author: Christophe
Date: Wed, 30 Oct 2002 01:38
8 lines
1199 bytes
volgende code :

CTime curTime = CTime::GetCurrentTime();
 int uur = curTime.GetHour();
 int min = curTime.GetMinute();
 CString tijd =  (CString) uur;  //lukt ni

Vraag : Hoe krijg ik die int uur en int min in die CString ???
Re: omzetten
#6984
Author: Pieter Philippaerts
Date: Wed, 30 Oct 2002 02:08
9 lines
1362 bytes
"Christophe" <chill@mine.be> wrote in message
news:7KGv9.185669$8o4.29617@afrodite.telenet-ops.be...
> Vraag : Hoe krijg ik die int uur en int min in die CString ???

Bekijk CStringT::Format eens; die methode werkt op een gelijkaardige manier
als printf().

Mvg,
Pieter Philippaerts
Re: omzetten
#6990
Author: Christophe
Date: Wed, 30 Oct 2002 18:12
18 lines
1660 bytes
"Pieter Philippaerts" <Pieter@removethis.mentalis.org> schreef in bericht
news:67Hv9.3677$Yx2.143742@news.chello.be...
> "Christophe" <chill@mine.be> wrote in message
> news:7KGv9.185669$8o4.29617@afrodite.telenet-ops.be...
> > Vraag : Hoe krijg ik die int uur en int min in die CString ???
>
> Bekijk CStringT::Format eens; die methode werkt op een gelijkaardige
manier
> als printf().
>
> Mvg,
> Pieter Philippaerts
>
>

bedankt ,
m_strTekst.Format(%d:%d,...Get.. , ..Get...);
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads