Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+4
Strength to Decrease Rep
-1
100% Quality Score
Upvotes Received
5
Posts with Upvotes
5
Upvoting Members
5
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
2 Commented Posts
~5K People Reached
Favorite Tags
Member Avatar for DarthPJB

Ola' daniweb, long time no see. I've been absent for a while, mostly due to not having any problems to ask about, but also because I got one of those annoying 'job' things ^_^. Anyhow, I'm not terribly familiar with C# (being from c++ land), however I've got to use …

Member Avatar for thines01
0
796
Member Avatar for DarthPJB

If anyone saw my last wonderfully perplexing post I've almost finished my binary-conversion lib. However while writing it I've come across a couple of simple questions that google doesn't seem to want to answer for me. Thus I once again find myself pulling my hair out over something trivial. So …

Member Avatar for DarthPJB
0
106
Member Avatar for DarthPJB

Howdy, those of you who remember me may be happy to know my 2D game engine was finished and I'm now working on a 3D engine. My engine has been going rather spiffingly well, after some battles with DirectX and OpenGL i managed to get them working side-by-side. Wrote a …

Member Avatar for DarthPJB
0
297
Member Avatar for JainishP

Firstly the 'sign' in this case is a single bit used to determine if the number is positive or negative. For example in a [b]exemplar[/b] five bit number. 0 0 0 0 0 = +0 0 1 0 0 0 = +1 0 0 1 0 0 = +2 0 …

Member Avatar for JainishP
0
189
Member Avatar for twisizz

I've had this issue a few times myself, it's due to the compiled program using the C++ runtime libraries and Direct runtime. If they are not present on the system running the application you receive that error. Both can be downloaded from microsoft and distributed with your application (or even …

Member Avatar for twisizz
0
164
Member Avatar for JungWoo

What exactly do you mean by 'make my header file based on cpp'. Do you want to create a header file that you can include that contains a function for what your doing? if so you would want to make a header file that contained a prototype of the function, …

Member Avatar for Dave Sinkula
0
127
Member Avatar for DarthPJB

I return with another perplexing issue that I just can't figure out, a generic and unhelpful"std::bad_alloc at memory location" error. Before I get to the code, some background... Having finished my uber-awesome 2D engine (thanks entirely to you guys) I decided it was time to break open the can of …

Member Avatar for DarthPJB
0
317
Member Avatar for hurbano

It compiles fine for me. If your using Visual Studio (or Visual C++) Make sure that your project is a Windows (win32, win64) [b]console[/b] application, not a standard windows application. This option is selected when you make the new project.

Member Avatar for DarthPJB
0
80
Member Avatar for thenewbie

[QUOTE=thenewbie;979838]so here the thing im practicing c++ just started all this is in cmd :P and im making combat simulator as of a project on another forum that i guesed good practice so im doing it but i decided to make 3 classes :archer , mage , barb and i …

Member Avatar for DarthPJB
0
148
Member Avatar for DarthPJB

This is as funny as it is interesting so I thought I'd let you all take a look. I'm currently developing a 2D engine as part of a small 3D engine project, the 2D interface uses DirectX9 textured quads to display graphics. (If anyone happens to be interested). Anyway I …

Member Avatar for DarthPJB
0
129
Member Avatar for tomtetlaw

[QUOTE=tomtetlaw;841466]I know this is alot to ask, i know this is a big task to start all of a sudden and i know that i will probably get stuck and give up, but i am really interested in making a 3D engine from scratch, and i need help, can anyone …

Member Avatar for DarthPJB
0
493
Member Avatar for rtwister

[QUOTE=rtwister;878861]it keeps saying theres an error on line 17, it says: "no match for 'operator!=' in 'a != password'" [/QUOTE] Your trying to compare a char with a string, there is no operator for that. Either use a char to store the password, or (much better plan) use a string …

Member Avatar for mvmalderen
0
131
Member Avatar for DarthPJB

Hello once again, I've continued my engine somewhat and the rendering functions are now working fine thanks to Stinomus (feel free to applaud). However to enable it to load data I must use files containing strings describing objects in the game world. That in turn works perfectly and passes the …

Member Avatar for DarthPJB
0
232
Member Avatar for lyardson

>Java is perfect, extremely fast, has no bugs! The fact that it *just >works* on ANY operating system makes it superior to c++. Name any commonly (or uncommonly) used OS c++ can't be compiled for? >>C++ also tends to be slower than java (scientifically proven) as >>monkeys tend to write …

Member Avatar for mirfan00
0
268
Member Avatar for Takafoo

you might want to consider breaking off much smaller parts of your code. for example [code=c++] if ( argc < 2 ) { cout<<"ERROR - Incorrect number of arguments"<endl; cout<<"Syntax : wordcount filename"<<endl<<endl; return 0; } [/code] into [code=c++] bool CheckArgs(int argc) { if ( argc < 2 ) { …

Member Avatar for Takafoo
0
177
Member Avatar for DarthPJB

I'm continuing my project and found a strange error, I can think of ten thousand hacks to get around it and a few ways to fix it properly, but my curiousity is peeked. why Is AStringBufEx end result 18 characters long when the Lenth of the initial string is only …

Member Avatar for Ancient Dragon
0
102
Member Avatar for mostermand

[QUOTE=mostermand;877493]Yes I was assuming a destructor was implemented but my question still applies should I allocate all my resources in classes? [/QUOTE] It really depends on what kind of resources your allocating and why. if for example you are creating a new string to hold a line of text during …

Member Avatar for mostermand
0
142
Member Avatar for DarthPJB

Hello, my first post here, mostly due to every question I placed on google the answer is here (normally answered by a fellow Anime fan called Narue, someone's got their thinking cap on ^_^) Anyhow the problem is as follows, I'm writing a 2D game engine using DirectX9 (not relivent …

Member Avatar for Stinomus
0
771