Posts
 
Reputation
Joined
Last Seen
Ranked #307
Strength to Increase Rep
+8
Strength to Decrease Rep
-2
93% Quality Score
Upvotes Received
45
Posts with Upvotes
42
Upvoting Members
32
Downvotes Received
3
Posts with Downvotes
3
Downvoting Members
3
15 Commented Posts
1 Endorsement
Ranked #858
Ranked #242
~188.61K People Reached
About Me

Games Development Student in year 2. Studying for a bachelors degree.

Interests
Gym, modelling, programming, soccer, gaming
PC Specs
Toshiba laptop, 3gb ram, 1gb GT230M graphics,2.13GHz core 2 duo
Favorite Tags

318 Posted Topics

Member Avatar for LianaN
Member Avatar for lashbandi

You will need to use either loops, or just create more variables and do the same as you have there.

Member Avatar for sandy_5
0
12K
Member Avatar for Techboy52

You have the cylinder value set to 0. How does it calculate the height of the cylinder without the volume?

Member Avatar for stultuske
0
4K
Member Avatar for LegendX

normally, a for loop has the following syntax [CODE]for(index=0;index<-sumNumber;index++)[/CODE] Of course, this can change quite dramatically, but this is the basic that you will use alot. Index starts at 0, index++ adds 1 to the index each time the loop runs. The loop will end once index reaches sumNumber One …

Member Avatar for JamesCherrill
0
144
Member Avatar for gcardonav

[QUOTE=Narue;1343290][B]>Namespaces are a relatively new C++ feature just now starting to appear in C++ compiler[/B] If by "just now" you mean "almost two decades ago", you'd be correct. They're not new, and all decent compilers have a mature implementation in place.[/QUOTE] Seems like a google search for namespaces and a …

Member Avatar for StanleyLau
0
4K
Member Avatar for Translucentbill

[QUOTE=mangopearapples;1461149]Sorry? I was just giving him an example.[/QUOTE] He was referring to the negative feedback he received, nothing about you. But, you just basically gave the guy cut and paste code. If he just googled mouse listener, from masijades post, he would have [I]had[/I] to learn what a mouse listener …

Member Avatar for goodtaste
0
1K
Member Avatar for TayKaye

Just incase what you have in a do..while() loop. [CODE]do{//start the loop here cout << "Rock, Paper, Scissors Game\n"; cout << "You are playing against the computer\n"; cout << "Type 1 for rock\n"; cout << "Type 2 for paper\n"; cout << "Type 3 for scissors\n"; cin >> userChoice; //User enters …

Member Avatar for jogosde
0
3K
Member Avatar for bangor_boy
Member Avatar for Kathy0410

Interfaces can only contain method signatures and constant declarations. this: Employee emp = new Employee(); emp.pay(); Is not allowed. What are you trying to accomplish?

Member Avatar for Kathy0410
0
136
Member Avatar for arunkumars

I'm not sure of your understanding of polymorphism. Polymorphism is not **method overloading**. Method overloading is a feature which allows the creation of methods with the same name which differ from each other in the type of the input and the output of the function. Each of these methods will …

Member Avatar for Mitja Bonca
0
227
Member Avatar for juliermills

As a side use for javascript, it is a supported scripting language in the Unity3D game engine! So if you ever want to make cool games, you can do it in javascript, which is pretty awesome if you think about it!

Member Avatar for Akill10
0
230
Member Avatar for pritish.kamath

Hi, simple error I spotted straight away is your class declaration: public class Pritish extends Applet implements ActionListener implements Runnable { } You have the implements keyword twice! To implement multiple interfaces, you just use the " , " character. public class Pritish extends Applet implements ActionListener,Runnable { }

Member Avatar for stultuske
0
120
Member Avatar for RyMarr475

Can you post your getPath() method from your computer class? Most likely you don't have the path setup correctly, which will mean the icon is not found and therefore will be null.

Member Avatar for NormR1
0
1K
Member Avatar for yup790

The simple way I did my 3D level editor in XNA is create a separate project. Then, when I was finished placing objects in the editor, I saved the data into xml format. The data just consisted of standard things like: position,scale,rotation. In my main game project, I then created …

Member Avatar for Akill10
0
187
Member Avatar for king03

Perhaps you can post the code you have already done, that way we can steer you in the right direction or let you know if the direction you are going is fine

Member Avatar for Akill10
0
135
Member Avatar for Akill10

Hi, I am wondering if there is a way to store and search quickly a group of numbers. What I want to do is store a group of Vector3D positions, and then later on, I want to search some sort of array/hashmap based on a current group of Vector3D positions. …

Member Avatar for skatamatic
0
116
Member Avatar for winki

Just going by the error on the screenshot, the IDE has told you the problem, are you sure you have initialised CurrentControl? Are you initialising after you try to use it?

Member Avatar for Reverend Jim
0
308
Member Avatar for emitremmit

`Item Item[] = new Item[5];` You also need to fix this. You dont even have a variable. You cannot use a class name as a variable. EDIT: Apparently you can :D but I have never seen it before nor do I advise to do it, unless of course there is …

Member Avatar for Subliminimalist
0
190
Member Avatar for hifistyle

Hi, So what is the actual problem? I have never used DarkGDK before, but if you let us know what is happening/what you expect to happen, we can easily let you know if your theory is off.

Member Avatar for Akill10
0
92
Member Avatar for Torf

Well, to start off, create 2 new files, 1 called Author, 1 called Book. Just make sure they are created in the same package(folder) to avoid any unecessary confusion. Then do exactly what your brief said. Create the variables needed in each class. Java already has it's own LinkedList class …

Member Avatar for NormR1
0
112
Member Avatar for witchDoc

One of the easiest frameworks to use is microsofts XNA and C#. It is free to develop for the windows platform(and sell) but if you want to move into the console market, it will cost like 100quid to get your game on xbox live.

Member Avatar for Akill10
0
194
Member Avatar for Akill10

Hi, Been looking about and cannot find an answer to this. Is it possible to view the class diagram for your project in the express edition of VS? If not, are there any plugins etc. for it which would allow me to do so? If not, does anyone have any …

Member Avatar for Akill10
0
110
Member Avatar for chiiqui

[QUOTE=firstPerson;1677588]For the most part it should be, especially judging from @OP's post, I wouldn't expect him to be doing any problem that hasn't been solved or has a variant of the solution he needs.[/QUOTE] Unless, of course, your expectations were wrong!

Member Avatar for JeffGrigg
0
235
Member Avatar for pendo826

Of course it is possible! Think of an object as a piece of data. It has a type and it has a value. Exactly the same way you create an array of ints. An int is a type, and it has a value. So, Say your class name is Foo...Therefore, …

Member Avatar for raptr_dflo
0
234
Member Avatar for Interista
Member Avatar for Interista
0
701
Member Avatar for compulove
Member Avatar for Slyvr

Do a search for all references of Window.Title in your IDE. That should tell you where it is being changed. Does the title say paused, before you pause the game for the first time?

Member Avatar for Akill10
0
155
Member Avatar for marvolo1300

An array of size 2 will mean you can store 2 objects. I am not sure why you think it is 3. So, An array which holds 2 objects will looke like this: array[0] = object 1 array[1] = object 2 So, when you create an array of size N. …

Member Avatar for marvolo1300
0
166
Member Avatar for Jazerix
Member Avatar for Jazerix
0
155
Member Avatar for AndrewConroy

[url]http://en.wikipedia.org/wiki/Subroutine[/url] Take a look at that.

Member Avatar for Akill10
0
128
Member Avatar for caswimmer2011

There is no "Keylogger" interface in Java. So the thread title does not make sense. Anyway, to add to what harinath said, You cannot make a keylogger using java. It lacks the low level operating hooks needed to do it.

Member Avatar for Vreality
0
446
Member Avatar for c++_fem

[QUOTE=gerard4143;1674682]Why won't you make the parameters unsigned integers?[/QUOTE] You could do this, But if he was taking input from the user for example, he would have to do the same check for a negative value.

Member Avatar for c++_fem
0
234
Member Avatar for gahhon

You would declare a variable static, if you want that variable to be common to ALL objects. For example, [CODE] class Foo { public static int counter = 0; private int objectNumber; public Foo() { objectNumber = ++counter; } public int getObjectNumber() { return objectNumber; } } [/CODE] So, ALL …

Member Avatar for gahhon
0
123
Member Avatar for vaironl

There is a very handy maths operation called modulo. Which finds the remainder of division of one number by another. So, what do all even numbers have in common? Yes, they have a remainder of 0 when divided by 2. The modulo operator is: % [CODE] for(int i=0; i< aray.length;i++) …

Member Avatar for Akill10
0
194
Member Avatar for Dwillich87

Do you understand that the entry point for your program is the main method? It seems as if you ar expecting it too run through the code from top to bottom.

Member Avatar for Akill10
0
138
Member Avatar for xtinawp

to go to my documents from where you are there type: cd "My Documents", then type: cd "folder you saved to", then type: javac Quiz1.java

Member Avatar for peter_budo
0
1K
Member Avatar for mrnutty

After a healthy 2 weeks straight coding a game, I had an equally healthy episode of thinking in code. [CODE]if dishes need washed put in dish washer else sit down[/CODE] And many of the same type of things, what is even sadder is I laughed at myself until I started …

Member Avatar for chiiqui
0
449
Member Avatar for webdragon89
Member Avatar for UltimateKnight
Member Avatar for UltimateKnight
0
235
Member Avatar for kutuup

Maybe something to do with creating the function with no prototype? Normally you would separate class into a .h and .cpp file. Not sure though, maybe you don't need prototypes in classes

Member Avatar for kutuup
0
1K
Member Avatar for jamesl22

Why don't you use the engine supporting the game you just linked to? It says it is open source

Member Avatar for Akill10
0
74
Member Avatar for pcgamer2008

How are you positioning the '+' character? I assume you are trying to create a crosshair. What I would do is, have a crosshair image and use this formula to center it on screen. crosshairX = (Screenwidth - crosshairImageWidth)/2 crosshairY = (Screenheight - crosshairImageHeight)/2 The camera should have no effect …

Member Avatar for pcgamer2008
0
114
Member Avatar for cabosun
Member Avatar for VernonDozier

Isn't the std namespace part of iostream? #include <iostream> should do it. Also, I found this: [I]_tmain is a macro that expand to main o wmain according to _UNICODE macro. In VC2005, By default , a program is unicode enabled (UNICODE and _UNICODE defined) so your _tmain macro expands to …

Member Avatar for VernonDozier
0
1K
Member Avatar for Derek Elensar

Line 17 you declare an ifstream....like Insensus said, that is an input file stream, he assumed you were actually trying to read data because of this. Use ofstream for writing to files. You will also need to change ios::in to ios::out or ios::binary depending on what you want to do. …

Member Avatar for Derek Elensar
0
177
Member Avatar for programing

I'm not really understanding your question. But, going by your [B]thread title[/B], to delete a particular position, you would basically follow these steps. 1. Point iterator to the first position in list 2. Move the iterator forward until you reach your desired index(e.g. for loop) 3. Make the current nodes …

Member Avatar for programing
0
119
Member Avatar for King_Alucard

You don't seem to grasp the use of getters/setters. They are used to set/get member variables for each instance of a class. [CODE]string DayOfTheWeek::getDay() const { string simDay; cout << "Enter The Day Of The Week:\n"; cin >> simDay; return simDay; }[/CODE] Tell me which member variable you should be …

Member Avatar for Akill10
0
256
Member Avatar for Tinee

[CODE] [B]Resistance A;[/B]//HERE YOU DECLARE A VARIABLE A option = A.Option(); if (option == 1) { int colorA, colorB, colorC, colorD; double Rsistance; string Color[4], answer; char temp1[10], temp2[10]; do { string answer = "n"; [B]string A[/B], B, C, D;//HERE YOU DECLARE A AGAIN [/CODE] Your Resistance object goes out …

Member Avatar for Akill10
0
4K
Member Avatar for cafegeo

Why do you have an array for base pay aswell? If the base pay is different for each person, why not just make base_pay another member variable for the struct?

Member Avatar for cafegeo
0
3K
Member Avatar for miguelsan

[CODE] for(i=0;i<2;i++) {row = 0; col = 3; col1 = 0; value[row][col1] = (array[row][col]-value[row][col1+1]*array[row][col1+1]-value[row][col1+2]*array[row][col1+2])/array[row][col1]; row++; col1++; value[row][col1] = (array[row][col]-value[row][col1-1]*array[row][col1-1]-value[row][col1+1]*array[row][col1+1])/array[row][col1]; row++; col1++; value[row][col1] = (array[row][col]-value[row][col1-1]*array[row][col1-1]-value[row][col1-2]*array[row][col1-2])/array[row][col1]; } [/CODE] This doesn't make sense. You are setting the values of row and col1 each loop to be back at 0. So the loop will …

Member Avatar for miguelsan
0
92

The End.