Main Menu

Sponsored Links


Web Cartoon Maker: a Fun Way to Learn C++ Contents Previous Next

System Time Functions

There are several functions available in WCM C++ to retrieve the current system time. These functions have nothing to do with time in your cartoon. They were implemented mostly for illustration purposes. You will find functions to deal with time in your cartoon in the next section.

// retrieve time in seconds since 00:00:00 UTC, January 1, 1970

int iTime = GetUTCTime ()

// retrieve current UTC hour, you must pass

// a value received from GetUTCTime

int iHour = GetUTCHour ( iTime );

// retrieve current UTC minute, you must pass

// a value received from GetUTCTime

int iMinute = GetUTCMinute ( iTime );

// retrieve current UTC second, you must pass

// a value received from GetUTCTime

int iSecond = GetUTCSecond ( iTime );

It is important to realize that these functions are evaluated at the time the program is compiled. Once the cartoon is compiled, the time values are fixed to the time that the cartoon was compiled.

Contents Previous Next

New Tales Animator Video by Alan Sturgess

Alan Sturgess shared an excellent video he made using Tales Animator! You can still download Tales Animator here. Unfortunately it is only available for Wi


Simple Online Character Designer

There is a prototype of simple online character designer available HERE. It is only a prototype, it does not contain many pieces yet but it can already generat


Book is updated

Now our book "Web Cartoon Maker: A Fun Way to Learn C++" is fully in synch with WCM 1.5! It is available for download and online reading HERE.


Web Cartoon Maker 1.5 is here!

Web Cartoon Maker 1.5 is finally here! You can download it HERE! Here is what was updated in version 1.5: Web Cartoon Maker Desktop Edition is now fully standal


read more news...