Search found 22 matches

by LwSiX
Fri Sep 14, 2007 4:27 am
Forum: Beginners Help
Topic: seekg and large numbers
Replies: 7
Views: 439

seekg and large numbers

Hello there, i just have a quick question. Im trying to parse large files 4gb+ and ive run into a serious problem with seekg, trying to start the pointer at 5,000,000,000 isnt working and it gives me a compiler warning.... warning C4305: 'argument' : truncation from '__int64' to 'long' How can i wor...
by LwSiX
Sun Apr 29, 2007 9:58 pm
Forum: Beginners Help
Topic: memory problem?
Replies: 5
Views: 399

im having a similar issue, my game is using a ridiculous amount of memory in the main game loop. It is very strange.
by LwSiX
Sun Apr 29, 2007 9:06 am
Forum: Beginners Help
Topic: Quick question
Replies: 3
Views: 219

This may be a ridiculous question, and you can laugh at me if you want, but how in the world would a function that only returns a variable be used to accidentally set or modify a variable?
by LwSiX
Sat Apr 28, 2007 1:37 am
Forum: Beginners Help
Topic: texture ugly
Replies: 4
Views: 435

I had a similar issue with my notebook. Oddly enough putting it into software mode fixed the problem, of course there are huge drawbacks to doing that.
by LwSiX
Thu Apr 26, 2007 3:02 am
Forum: Beginners Help
Topic: Quick question
Replies: 3
Views: 219

Quick question

Hi there, i was going over some code examples of a characterclass and saw this class CharacterClass { public: boolean isMagicUser() const; }; what exactly is that and shouldnt it be... class CharacterClass { public: bool isMagicUser() { return m_bMagicUser; } private: bool m_bMagicUser; }; or is tha...
by LwSiX
Wed Apr 25, 2007 3:51 am
Forum: Beginners Help
Topic: GUI editor ?
Replies: 9
Views: 497

Yeah thats understandable man.

By the way, i was able to find the actual editor in the bin/ directory (thanks bitplane) and was able to throw a GUI together and save it as an XML file, cool stuff! Sure beats sitting there flipping around with coordinates. Can't wait to see the final solution.
by LwSiX
Sat Apr 21, 2007 8:42 pm
Forum: Beginners Help
Topic: GUI editor ?
Replies: 9
Views: 497

That comment was a more of an attempt of some light hearted humor on my part, i honestly wasn't trying to be a prick here.
by LwSiX
Sat Apr 21, 2007 3:15 am
Forum: Beginners Help
Topic: GUI editor ?
Replies: 9
Views: 497

Thanks for your helpful response bitplane, much appreciated!
by LwSiX
Fri Apr 20, 2007 4:55 am
Forum: Beginners Help
Topic: GUI editor ?
Replies: 9
Views: 497

Sorry, i didn't know this would stump the entire forum. :roll:
by LwSiX
Fri Apr 20, 2007 12:36 am
Forum: Beginners Help
Topic: GUI editor ?
Replies: 9
Views: 497

Thanks.
by LwSiX
Thu Apr 19, 2007 10:48 pm
Forum: Beginners Help
Topic: GUI editor ?
Replies: 9
Views: 497

GUI editor ?

OK, so ive seen this in the wiki but yet this header does not exist in the 1.3 SDK and makes absolutely no mention of a third party kit. So what gives?
by LwSiX
Fri Feb 09, 2007 1:16 pm
Forum: Beginners Help
Topic: Array question (cpp)
Replies: 4
Views: 252

vitek wrote:No. Regular arrays are only indexable with integral values. If you want to index by something else, use a map [std::map, or the new core::map].

Travis
Thanks, thats exactly what I'm looking for.
by LwSiX
Fri Feb 09, 2007 3:42 am
Forum: Beginners Help
Topic: Array question (cpp)
Replies: 4
Views: 252

Array question (cpp)

Hi there,

Is it possible to use a char * as an index for an array? For example:

Code: Select all

 int array["test"] = 5
I used to do this with PHP, but c++ just isn't having this!
by LwSiX
Tue Jan 30, 2007 10:58 pm
Forum: Beginners Help
Topic: General sockets question
Replies: 2
Views: 231

Thanks! Guess i overlooked that part.
by LwSiX
Tue Jan 30, 2007 9:35 pm
Forum: Beginners Help
Topic: General sockets question
Replies: 2
Views: 231

General sockets question

Hi there, In my game i have some basic network code with sockets, but i have come across a small issue. My understanding of how a program retreives data from a socket is that it will simply sit on a function such as this: //get a message sent to the socket bytes = recv(sck_HL,buffer,1023,0); until d...