Pages:<< prev 1 next >>
![Post is unread](https://smaugmuds.afkmods.com/skins/default/images/icons/topic.png)
![](https://smaugmuds.afkmods.com/avatars/codeguru.gif)
![This member is currently offline](https://smaugmuds.afkmods.com/skins/default/images/icons/user_offline.png)
The Null Value
![](https://smaugmuds.afkmods.com/skins/default/images/3.png)
GroupAFKMud Team
Posts254
JoinedFeb 23, 2003
So I'm coding MUDs again. Isn't that exciting?
No? I didn't think so...
How's everyone been? Ten years doesn't seem like a long time, but it really is. How has everyone else faired?
Samson, we really ought to catch up some!
No? I didn't think so...
How's everyone been? Ten years doesn't seem like a long time, but it really is. How has everyone else faired?
Samson, we really ought to catch up some!
![Post is unread](https://smaugmuds.afkmods.com/skins/default/images/icons/topic.png)
![](https://smaugmuds.afkmods.com/avatars/codeguru.gif)
![This member is currently offline](https://smaugmuds.afkmods.com/skins/default/images/icons/user_offline.png)
The Null Value
![](https://smaugmuds.afkmods.com/skins/default/images/3.png)
GroupAFKMud Team
Posts254
JoinedFeb 23, 2003
Nice to meet you too!
I'm spending my Sunday morning trying to get the hang of coding again. It's not that I forgot the basic syntax of C++, but I forgot how unforgiving MUD code can be...
Ah well.
I'm spending my Sunday morning trying to get the hang of coding again. It's not that I forgot the basic syntax of C++, but I forgot how unforgiving MUD code can be...
Ah well.
![Post is unread](https://smaugmuds.afkmods.com/skins/default/images/icons/topic.png)
![](https://smaugmuds.afkmods.com/skins/default/images/noavatar.png)
![This member is currently offline](https://smaugmuds.afkmods.com/skins/default/images/icons/user_offline.png)
Sorcerer
![](https://smaugmuds.afkmods.com/skins/default/images/4.png)
GroupMembers
Posts600
JoinedDec 3, 2008
I'm spending it trying to get a lottery system coded... but I am not that good at coding yet so having a hard time.
![Post is unread](https://smaugmuds.afkmods.com/skins/default/images/icons/topic.png)
![](https://smaugmuds.afkmods.com/skins/default/images/noavatar.png)
![This member is currently offline](https://smaugmuds.afkmods.com/skins/default/images/icons/user_offline.png)
Geomancer
![](https://smaugmuds.afkmods.com/skins/default/images/6.png)
GroupAdministrators
Posts1,917
JoinedJul 26, 2005
Welcome back long time no see. Keep working at it dbna and youll get there
![Post is unread](https://smaugmuds.afkmods.com/skins/default/images/icons/topic.png)
![](https://smaugmuds.afkmods.com/avatars/uploaded/601.jpg)
![This member is currently offline](https://smaugmuds.afkmods.com/skins/default/images/icons/user_offline.png)
Conjurer
![](https://smaugmuds.afkmods.com/skins/default/images/3.png)
GroupMembers
Posts414
JoinedMar 7, 2005
Welcome back to the fold.
We had a few new bugs posted recently and now this. Things are getting more lively around here.
Again, good to have ya back.
![:wink:](https://smaugmuds.afkmods.com/emojis/wink.png)
We had a few new bugs posted recently and now this. Things are getting more lively around here.
![:cool:](https://smaugmuds.afkmods.com/emojis/cool.gif)
Again, good to have ya back.
![:alien:](https://smaugmuds.afkmods.com/emojis/alien.gif)
![Post is unread](https://smaugmuds.afkmods.com/skins/default/images/icons/topic.png)
![](https://smaugmuds.afkmods.com/skins/default/images/noavatar.png)
![This member is currently offline](https://smaugmuds.afkmods.com/skins/default/images/icons/user_offline.png)
Sorcerer
![](https://smaugmuds.afkmods.com/skins/default/images/4.png)
GroupMembers
Posts600
JoinedDec 3, 2008
I'm trying... its just figuring out how to have these tickets save.... I am thinking of having them save in a .dat file, but until sure how to save the time they were purchased.
![Post is unread](https://smaugmuds.afkmods.com/skins/default/images/icons/topic.png)
![](https://smaugmuds.afkmods.com/avatars/codeguru.gif)
![This member is currently offline](https://smaugmuds.afkmods.com/skins/default/images/icons/user_offline.png)
The Null Value
![](https://smaugmuds.afkmods.com/skins/default/images/3.png)
GroupAFKMud Team
Posts254
JoinedFeb 23, 2003
If I recall, you can use now time() to grab the current system time in UNIX format.
See: http://www.cplusplus.com/reference/clibrary/ctime/time/
See: http://www.cplusplus.com/reference/clibrary/ctime/time/
![Post is unread](https://smaugmuds.afkmods.com/skins/default/images/icons/topic.png)
![](https://smaugmuds.afkmods.com/skins/default/images/noavatar.png)
![This member is currently offline](https://smaugmuds.afkmods.com/skins/default/images/icons/user_offline.png)
Geomancer
![](https://smaugmuds.afkmods.com/skins/default/images/6.png)
GroupAdministrators
Posts1,917
JoinedJul 26, 2005
I'd use time_t and current_time for saving the time.
![Post is unread](https://smaugmuds.afkmods.com/skins/default/images/icons/topic.png)
![](https://smaugmuds.afkmods.com/avatars/codeguru.gif)
![This member is currently offline](https://smaugmuds.afkmods.com/skins/default/images/icons/user_offline.png)
The Null Value
![](https://smaugmuds.afkmods.com/skins/default/images/3.png)
GroupAFKMud Team
Posts254
JoinedFeb 23, 2003
Remcon said:
I'd use time_t and current_time for saving the time.
Ah yes, I forgot about current_time.
![:)](https://smaugmuds.afkmods.com/emojis/smile.gif)
Pages:<< prev 1 next >>