Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
0 registered members (), 1,382 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19055 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Current date and time #475686
01/03/19 16:12
01/03/19 16:12
Joined: Jan 2019
Posts: 12
F
First Offline OP
Newbie
First  Offline OP
Newbie
F

Joined: Jan 2019
Posts: 12
I want to get the current date and time so to start I add this:

#include <stdlib.h>
#include <time.h>

I get:

Include file stdlib.h not found
Include file time.h not found

why?

Last edited by First; 01/03/19 16:13.
Re: Current date and time [Re: First] #475688
01/03/19 16:17
01/03/19 16:17
Joined: Feb 2017
Posts: 1,731
Chicago
AndrewAMD Offline
Serious User
AndrewAMD  Offline
Serious User

Joined: Feb 2017
Posts: 1,731
Chicago
Because this is Lite-C, not C.

Zorro comes pre-packaged with headers found in the "include" folder, not the standard C library.

Re: Current date and time [Re: AndrewAMD] #475695
01/04/19 01:16
01/04/19 01:16
Joined: Jan 2019
Posts: 12
F
First Offline OP
Newbie
First  Offline OP
Newbie
F

Joined: Jan 2019
Posts: 12
OK.

I am trying to get the current time of day. Hence trying to use that 'include'. So how is that done in Lite-C?

Re: Current date and time [Re: First] #475700
01/04/19 05:56
01/04/19 05:56
Joined: Sep 2003
Posts: 929
Spirit Offline

Moderator
Spirit  Offline

Moderator

Joined: Sep 2003
Posts: 929


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1