- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
13 Posted Topics
Hello: Need some help on how I can pass the following test: 00AA10A4 lea ecx,[eax-1] 00AA10A7 test eax,ecx 00AA10A9 je LockFunc2+27h (0AA10B1h) From my understanding, lea in this case is simply doing ecx = eax - 1 (at least thats what I can observe from debugging) However I keep failing … | |
Hi All: I'm wondering if anyone knows any usefull links to articles I can read on coding multiplayer for XNA. I'm looking for something that would teach me how to code for more than two players. The idea of what I'm working on is for a standard 4v4 deathmatch over … | |
Re: Right now you only open the file and do nothing with it. You need to check if the file even exists first. Try adding this on line 19 if (!inFile) { cout << "ERROR 404: FILE NOT FOUND!!"; } And then you have to close the file once you're done … | |
Hello: How can I improve on my function template to also do insertion sort on strings? I'm afraid I'm very new to templates, any hints appreciated. Template looks like so: [CODE]template <class T> void insSort(T arr[], int size) { T key = arr[0]; int j = 0; for(int i = … | |
Re: I would suggest reading over this guide here: [url]http://login2win.blogspot.com/2008/07/c-queues.html[/url] you're on your way to making your queue work. As to your enqueue, you never actually set the value you pass to the new node you're making (hence the garbage output). This right here needs to be: temp->value = num; On … | |
Hiya: I have tried to reproduce this equation to simple reflect a ball after colliding with a paddle (or screen bounds) R = V – (2 * V[dot]N) N I don't want to take the easy rout of just negating the velocity but is my first time trying to implement … | |
Hiya I'm relatively new to data structures and using push_back. I'm trying to build a small dictionary program that assumes that there is no words (and definitions) in the dictionary when you first launch it. What I then need to do is ask for a word then definition to start … | |
Hiya I don't know what I'm doing wrong that getline() does not work for me. My program is not finished but this is what I got so far: #include <iostream> #include <vector> #include <string> using namespace std; struct Term { string word; string definition; }; struct Dictionary { vector<Term> term; … | |
Hi: I have to write a program generating the fibonacci sequence based on the length desired by the user. I'm using arrays and methods too. So I have to do one method to generate the sequence and another to print the other method. So far so good, except the last … | |
Hi: I made a simple game using java and I would like to know if there's anyway that I can make the file an executable so that my little game runs on the command windows so I can share with my friends? | |
Hi: I have to write a program that uses methods and arrays. I have to create a method that creates an array and populates it with 10 random numbers between 1 and 10 inclusive. Then I have to write another method that sorts the number from lowest to highest and … | |
Hi. I'm supposed to reverse a number based on user input. Example, if the user inputs 123, the output should be 321. However, so far, the way it is now, if the user inputs 123, the output is 312. I'm a little lost -_- help please. [code]while ( input != … | |
Hi all: I'm a newbie at Java and having fun :) So I'm doing a pattern program, so far so good, but I wanted to ask if there is any console specifier for spaces only and not width between integers. I'm using only integers so I thought I should use … |
The End.