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

50 Posted Topics

Member Avatar for samaru
Member Avatar for The Dude
Member Avatar for restrictment

Looks good but could save your self a lot of problems if you used classes( other words an OOP(object orianted programming) aproach) but other then that not bad for someone starting out.

Member Avatar for apkrieg
0
683
Member Avatar for Doctor Inferno
Member Avatar for kemkoi

C++ would be a good language to learn but its a big jump into the deep end (or can be for beginners) i would suggest learning java or c# to start with then once you have learnt that move onto c++. I would suggest that you both learn the same …

Member Avatar for amanahad
0
322
Member Avatar for linux

dont you mean. 01101101 01100101 00100000 01101110 01101111 00100000 01110011 01110000 01100101 01100001 01101011 01101001 01100101 00100000 01100010 01101001 01101110 01100001 01110010 01111001 00101110 00100000

Member Avatar for vinnitro
2
1K
Member Avatar for ajst

Hi Guys and girls, I'm using a TMonthCalander to display Dates, I'm using the BoldDays method to bold the important days. I have everything working fine when the user changes the month via the TMonthCalander controls. But I can not bold the days when they click a button. I've tried …

0
126
Member Avatar for ajst

Hi Guys and girls, I'm trying to save the font settings of my component and load them back in via xml. I have xml working with saving and loading of every property except Font. When I save font its as an integer. But when I load the value back in …

Member Avatar for AceStryker
0
426
Member Avatar for ajst

Hi DaniWeb, I'm new to delphi and was wondering if it is possible to embed forms inside one another. Example I have several forms working by it self and I want to move them forms onto a new blank form. Rather then copying and pasting the code is there a …

Member Avatar for ajst
0
138
Member Avatar for ajst

Hi I have an app for Android phones. It is working as intended but when I receive a phone call the app is minimised(but still running) and I have to open the app again. I was wondering how do I make it so after the phone call it restores my …

Member Avatar for ajst
0
188
Member Avatar for ajst

Hi Guys and Girls, I'm having some trouble getting a timer to work on my android 2.1 app. I want it so once a button is clicked it trys to connect to my server every 60 seconds. my code for connecting to server is working, but I don't understand why …

Member Avatar for ajst
0
144
Member Avatar for ajst

Hi DaniWeb, I'm currently writing a client server program. I have my client and server sending data and everything fine. But I'm trying to get my client to reconnect. E.g if I get the server to kill the clients connection how can I get the client to realise it is …

Member Avatar for maninaction
0
211
Member Avatar for The Dude
Member Avatar for ajst

Hi fellow daniwebs, I was wondering are there any people who play online RPG's not in the sense of WOW or any other MMORPG I mean as in games such as Dungeons and Dragons pen and paper style. If anyone does do they know of a PbP(play by post) group's …

Member Avatar for ajst
1
244
Member Avatar for server_crash

what you can do is rather then running the inner loop to the same number as the outer loop get it to stop at half of the outer loop. that way it will not create duplicates or have to waste time comparing if its in list allready e.g [CODE] int …

Member Avatar for Momerath
0
162
Member Avatar for ajst

Hi, I currently have a method that is called on a ActionEvent of being clicked. Now I want to call that method from another method. Is there a way to do this with out having to just copy and paste my code into another method and just call that? This …

Member Avatar for JamesCherrill
0
97
Member Avatar for spoonlicker

when the down button is pressed increase Y speed untill the collision detection detects it is at the bottom/or touching another block.

Member Avatar for ajst
-1
99
Member Avatar for NickOOOShea

you dont need to know how they are going to program each feature. imagine you are playing your game. And describe how each feature of the game work. E.g In the bottom of the right hand corner i want a minimap that displays the map and all units and buildings …

Member Avatar for DaSpirit
0
183
Member Avatar for berben11

wow congrats it shows a lot of hard work has gone into making this. I would like to know how easy it is to use and import new models and how well the code is written so like a limited 30 day trial of the engine before i would pay …

Member Avatar for ajst
1
324
Member Avatar for ajst

Hi, I've got a job interview coming up and was wondering if people would be so kind to help me with some revision for the interview. It's it a programming role(surprisingly) so would be greatful if people would post the questions they have been asked or ask in job interviews. …

Member Avatar for Moschops
0
92
Member Avatar for maniza

Try making a simple game like naughts and crosses to start with. you might use all of them to start with but its a good bases before moving onto a bigger board game like chess or checkers which would use all of the above.

Member Avatar for maniza
0
96
Member Avatar for tron_thomas

first of all i would look into path finding look at Dijkstra's algorithm or A* to get an understanding on how they could find there way to the objective. now if you wanted them to wander around randomly while also making there way to the objective when you are evaluating …

Member Avatar for ajst
0
76
Member Avatar for jbennet

Well the basic tips i can give for making any strat game is start from the bottom. look at what you game is going to consist of...units...buildings etc these are what classes you will need. (assuming its 3d) a model class to load everything a base unit class unit class …

Member Avatar for ajst
0
141
Member Avatar for z00t

[CODE] System.out.println("area = " + area); [/CODE] or you could do [CODE] System.out.print ("area = "); System.out.println (area); [/CODE] Both will achieve the same result.

Member Avatar for ajst
0
160
Member Avatar for oppie204

well if you are looking at making craps(gamberling dice game that you described). My tips would be to look into random number generator and how to print text to console. No one will do your work for you, but we will help if you post your attempted code.

Member Avatar for ajst
0
124
Member Avatar for ajst

Hi guys and girls, I've decided to pick up C++ again after not using it for 2 nearly 3 years. I've been programming in java and c# in the mean time so my understanding of programming is very good. I've been trying to make a pack of cards but for …

Member Avatar for ajst
0
361
Member Avatar for ajst

Hi guys and girls(?), I have created a 2d turn based board game game like chess, in java but my problem is that I wanna add some kind of walk through or tutorial system to explain the controls and features of the game. I was wondering if anyone had any …

Member Avatar for jon.kiparsky
0
129
Member Avatar for Smashed Badger

I would suggest you look into an old MMORPG fps game called planet side. it was exactly as you described in your orignal post. a massive fps game with mmo propaties and objectives dependents on the time of day and how active people are. so during the day when people …

Member Avatar for ajst
0
145
Member Avatar for rohit2

to find out which pane is selected try using getSelectedIndex() which will tell you which pane is currently selected. try using something like this if you want the code to be ran as soon as that pane has been selected. [CODE] private void jTabbedPane1MouseClicked(java.awt.event.MouseEvent evt) { // TODO add your …

Member Avatar for ajst
0
100
Member Avatar for ajst

Hi guys, I've been looking into reflection and was wondering if anyone had any good tutorials or a good use for it. I understand how it works but can't think of an example of when it would actually be used. A website with a task that needs reflection to solve …

Member Avatar for ajst
0
155
Member Avatar for Yangz_Seth

no will help you do your assignment for you. if you are stuck post your code and we will help you.

Member Avatar for Yangz_Seth
-1
124
Member Avatar for kangkan_14

private methods can only be accessed by that class and not from another class. public methods can be called from another class. so you can have a public method being called which calls a private method. you can have a private method call a public method. but you cant call …

Member Avatar for kangkan_14
0
278
Member Avatar for jaycastr

whats the diffrence between having auto complete avaible to you and going to sun website and looking at all the avaible methods in that class? They both achieve the same thing but going to the website will just take a bit longer.

Member Avatar for Akill10
1
460
Member Avatar for MooGeek

2 days for me when i was at uni this happend quite often but looking at the code after is horrible. i did a code a xbox360 game in 48 hours in a team of 4(3 coders 1 designer). we won the competition and recieved such good credit we wanted …

Member Avatar for ajst
0
170
Member Avatar for axa121
Member Avatar for jlovesfishiee
Member Avatar for kdmuk10

if you are looking for some tasks to work though that improve problem solving skill and test your abilty to program try [URL="http://projecteuler.net/"]http://projecteuler.net/[/URL] start from the beginning and work your way through there are over 300 now and they start to get hard quickly.

Member Avatar for kdmuk10
0
174
Member Avatar for nutihu

use the event when the text field gains focus so when you select it, the text is set to null. [CODE] private void jTextField1FocusGained(java.awt.event.FocusEvent evt) { // TODO add your handling code here: jTextField1.setText(""); //or jTextField1.setText(null); } [/CODE]

Member Avatar for ajst
0
3K
Member Avatar for ajst

Hi guys, I'm trying to create a 2D array of JLabels my first problem is actually creating them. my code atm is = [CODE] package test; import java.io.File; import javax.swing.JLabel; import javax.swing.JPanel; public class testing extends javax.swing.JFrame { /** Creates new form testing */ public testing() { initComponents(); for(int i …

Member Avatar for ajst
0
1K
Member Avatar for gladius33

Gladius33 if you read rapture post before he explains how to solve the problem basicly in psudo code for you. it has also been pointed out that you are on the right tracks with the code you have produced but you are only testing 1st number? what happens if the …

Member Avatar for ajst
0
191
Member Avatar for Random_Integer

I would write the array to a file then load it back in every time the Jar is ran. this might help more since its java rather then c++ [URL="http://www.javapractices.com/topic/TopicAction.do?Id=42"]http://www.javapractices.com/topic/TopicAction.do?Id=42[/URL] Edit: and after inspecting your code closely and relising it is C++ so ignore my comment unless you need it

Member Avatar for ajst
0
121
Member Avatar for num90

If you are wanting to code a little project in c or c++ you are in the wrong forum this is java, and if you read the forum rules you won't be given code or help unless some effort by yourself is shown.

Member Avatar for ajst
-1
75
Member Avatar for ajst

Hi Guys, I'm basicly reading from a CSV File that im using to store data. Now when I read from the CSV file i want to load the data to fill in the parameters eg. the csv file contains name,address,age,favColor. so when i load the file i want it to …

Member Avatar for jon.kiparsky
0
139
Member Avatar for ajst

Hi there, I'm currently struggerling to come up with a game concept and need some thoughts or ideas. 1)My criterea are that it can't be a graphicle game so needs to be text based or very light on using images. 2)Must be 2D mainly to conincide with point 1 3)my …

Member Avatar for SgtMe
0
214
Member Avatar for iammet

the way i got round finding out which radio button is selected is to create a method that returns which radio button is selected [CODE] private String RadioSelected() { if(radio1.isSelected() { return radio1.getText(); } if(radio2.isSelected() { return radio2.getText(); } return null; } [/CODE] this is only a good idea if …

Member Avatar for ajst
0
356
Member Avatar for ajst

Hi, I'm trying to use JAVA GUI for first time. I've got a Jframe that when loaded adds a jpanel. the problem is it will not show any swing controls that get added to the jPanel. I'm using netbeans 6.9.1. any idea to why is happerning would be greatful [CODE] …

Member Avatar for JamesCherrill
0
3K
Member Avatar for ajst

Hi, I'm currently trying to create a program that will log into the web page given to it if supplied with the user name and password. but the problem im having is sending the POST request to the website and then retreiveing the URL it sends back to load in …

Member Avatar for ajst
0
320
Member Avatar for ajst

Hi there I'm writing to a file so that it creates a back log of the data and time i did something. I've got the program so it writes the data that is needed and also the date and time. the problem is if you use the program more then …

Member Avatar for ajst
0
189
Member Avatar for ajst

I currently have a program that takes a URL edits it and then opens IE with the new URL. What I also want is it to log in to that webpage once it is opened, but i cant seem to find a way to interact with the browser so the …

Member Avatar for ajst
0
141
Member Avatar for Xufyan

if you did a try and catch method of parseing the label text to an integer. so that if it works it performs the operation else it returns a message to the user saying "this is not a number please input numbers only" sudo code try { one = integer.parse(label.gettext()) …

Member Avatar for ajst
0
1K

The End.