- Strength to Increase Rep
- +4
- Strength to Decrease Rep
- -1
- Upvotes Received
- 5
- Posts with Upvotes
- 5
- Upvoting Members
- 5
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
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 … | |
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 … | |
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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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, … | |
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 … | |
Re: 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. | |
Re: [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 … | |
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 … | |
Re: [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 … | |
Re: [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 … | |
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 … | |
Re: >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 … | |
Re: 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 ) { … | |
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 … | |
Re: [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 … | |
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 … |