Sublight's Profile
Reputation: 3
Apprentice
- Group:
- Members
- Active Posts:
- 41 (0.02 per day)
- Joined:
- 11-July 08
- Profile Views:
- 1,661
- Last Active:
Apr 22 2013 09:55 AM- Currently:
- Offline
Previous Fields
- Country:
- US
- OS Preference:
- Who Cares
- Favorite Browser:
- Who Cares
- Favorite Processor:
- Who Cares
- Favorite Gaming Platform:
- Nintendo
- Your Car:
- Who Cares
- Dream Kudos:
- 0
Latest Visitors
-
Sandals456 
18 Apr 2013 - 11:59 -
helpmeeee 
17 Apr 2013 - 09:03 -
Skydiver 
16 Apr 2013 - 19:00 -
jwmollman 
10 Jan 2012 - 13:38
Posts I've Made
-
In Topic: Win socket reset trouble. WSAEADDRINUSE error.
Posted 17 Apr 2013
Thank you.
It turns out there were a few other quirks in the read/write code and client side activity, but everything is working now. -
In Topic: C Splitting data?
Posted 16 Apr 2013
All, or nearly all, C functions are part of C++.
Anyway, strtok appears to be a c function from the string library.
Both the c declaration
#include "string.h"
and the c++ style declaration
#included <cstring>
may be used as header declaration to use it. -
In Topic: C Splitting data?
Posted 16 Apr 2013
Easy, if you understand pointers.
My personal favorite method is string tokenizer, strtok. I usually use it for parsing .csv files, but you can modify that to accept just about any data separator.
Storing the data into an array isn't done automaticaly by strtok, but would only take a few extra lines of code. -
In Topic: Graphic Libraries and GTK#
Posted 18 Nov 2012
Thanks for the tip and the vote of confidence. I hadn't heard of Unity3D before, and as first impression go I'm both impressed... and a bit worried that is too much overkill.
I'm not exactly a savvy C# coder. I'm more of a savvy C/C++ coder who is using this game project to force myself to learn C#, which I keep hearing is the greatest thing since sliced bread. Further, coming from a low-level C background the idea of high-level graphic model design and rendering is a little intimidating. To me, coding a simple physics engine sounds easier, which is what we might be doing anyway. We're writing a space 4x game where the smallest objects tracked are meter wide missiles that could be billions of km apart. I'm not sure how well Unity could handle those scales, and the idea of using a full game engine like Unity3D only for graphic rendering feels a little silly.
Still, I'm relieved to know that we at least have a cross-platform 3D option to consider.
-
In Topic: Recording last idle time of PC.
Posted 25 Jul 2012
Maybe.
We've shown you an if-then branch, and an if-else branch.
The proper branch, combined with some form of minimum-time filtering, is exactly what you want. The wrong branch could quickly give you a 10,000 KB+ file. Choose wisely.
My Information
- Member Title:
- New D.I.C Head
- Age:
- Age Unknown
- Birthday:
- Birthday Unknown
- Gender:
Contact Information
- E-mail:
- Private
- Website URL:
-
http://
Friends
Sublight hasn't added any friends yet.
|
|


Find Topics
Find Posts
View Reputation Given
|
Comments
Sublight has no profile comments yet. Why not say hello?