No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
26 Posted Topics
hi, i am looking for a sample program for delphi for a server client. I was wanting to use sockets and i am using pascal. if any one know of any good resource site or has some same code. I tired the following example [url]http://www.dcs.napier.ac.uk/~bill/delphi_page.htm[/url] but when i compile t … | |
I have a m2n32 Asus board. I was putting my pc into another case and turned it on and the fan turned once and did nothing. The light on the mobo is on. I took the mobo out of the case and tried it and same thign happened. I have … | |
as above. e.g int[] array = new int[can be any size] joptionpane.showmessagebox(null, "what to put here is the question" "messageboxtitle" joptionpane.informationmessage}; //dont correct the message box crap i was in a rush i know how to do it e.g array 1 = 1 array 2 = 5 array 3 = … | |
i have downloaded the sdk directx9 and installed and put the lib and include files in the dev-c++ directory. I have adjusted the compiler options and I still get 100 errors. e.g redefinition of struct D3DVECTOR and C\devcpp\...\d3d9.h, in file included from C\devcpp\...\d3d9.h any ideas??? | |
I am trying 2 write a program to solve a soduko. I have lots of text fields and I need to compare them like if (string1.equals(textfield){ do whatever} but it only works for "0" e.g null??/ I have tried parsing it to an int but get the same result. any … | |
i am into making games and most games have cut scenes. as i am not passed the 2d stage and dont have a clue about 3d animation i was thinkin it would be easier to get a mate to make a flash movie for my game. so can you play/open … | |
as above im am getting pretting good at java now and have make a few 2d games. i want to get into 3d now. i have tried google but it is really hard to find normal java 3d tutorials. i keep finding the applet ones which i dont want to … | |
I have two classes. block and main public Block(Stage stage) { super(stage); //fill array where[t][s]=i; i++; system.out.println(where[t][s]); } and the main. the problem is I create an instance of the class block and I know it runs because I put a system.out there and the I a list of printed … | |
i want to name a item and give it a color(probs an int value) i was thinking of doing a 2d array but I need to send it to another class i create the item by Monster m = new Monster(this); any ideas | |
I am starting to make some java games and I think i have sorted out the collision side of things ( i have made a space invaders game) so i know how to shoot and kill enemies. I am now wanting to stop players/monsters going through walls etc? p.s. what … | |
gl\glaux.h: No such file or directory. i get the error above when trying to compile any code with #include <gl\glaux.h> in it??? | |
I am at uni doing computer science and interested in game programming. i just have a few questions . . . are most games programmed in C++? how long will it take to learn i mean to get good enough to do a game like dig dug (a classic man)? … | |
i had an eariler problem and posted it here [url]http://www.daniweb.com/techtalkforums/thread22426.html[/url] I have to read a file in format char, int, string, string string(but i dont know how many strings(words are on the end). I can get the char and int(the code is on the link above) and one strings(word) but … | |
Re: dont want to sound stupid but if you can just do keystrokes instead of trying to put the data in the fields e.g yahoo you have to tab a couple of times and you get to the email username. then just keystroke that in then tab and them password. I … | |
I have to read a file in format char, int string. I can easily do it in the form - int int, string e.g. 12 34 the cat sat on the mat(which is what I want to process and output) code below. [code] tokenType = inputStream.nextToken(); while (tokenType != StreamTokenizer.TT_EOF) … | |
just a quick question. I was wondering what java programme was on mobiles and what programme would you need to make a java file to run on a mobile??? thanks 4 :eek: | |
I am making a game and need a hell of alot of varibles. it is all so GUI so I need alot of Jbuttons. can I do it like something what I have below??? char[] mine=new char[3]; for(int count=0;count<10;count++){ //String add = "one"+count; JButton mine[count] = new JButton(""); } heres … | |
I have this system which I only want to try and borrow books from a library. I have data already in arrays. I need to check that nobody else has a book then add it to the data. I have commented where i think the problem is. i have tried … | |
as above i need to know WHERE to put some code for a button to submit some data captured then transfer to an access database. any help would be gratefull | |
code is below int average(){ //method in class int total = 0; int NOS=5; System.out.println(""); for(int i=0;i<10;i++){ if(ID ==" "){ NOS = i; break; } total += mark;// total is the problem, tried printing it // while thefor loop was running and at the end // and its says "0" … | |
I have two erros which I have tried everything to fix them C:\Documents and Settings\java:14: array required, but java.lang.String found ID[count] = ID; ^ C:\Documents and Settings\java:15: array required, but int found mark[count] = mark; heres the code class Module { String[] ID = new String[10]; int[] score = new … | |
//main method int number = 1; int num = 3; details[] Darray = new details[number][num]; String name = JOptionPane.showInputDialog(null, "Enter the name", "Enter details", JOptionPane.QUESTION_MESSAGE); String DOB = JOptionPane.showInputDialog(null, "Enter the DOB", "Enter details", JOptionPane.QUESTION_MESSAGE); class details // i have default construtors aswell String getName(){ return name; } heres the … | |
might be main or another method // dont know yet int[] num1 = new int[intA]; int[] num2 = new int[intB]; public static void cal(what do i put here) blah blah and class Homework7v2 { int a=0; // i need to use this int all the way through and // it … | |
heres the start public class work { public static void main (String [] args) { int number = 1; } public static boolean ifstate() { if ( number == 0 ) blah blah } question - how do I get the second method to call on the varible from the … | |
heres the problem; some one inputs a 4 digit number e.g 1234 I stored it as a string and i have to display it in a messagebox like ----------------------------- the digits are 1 2 3 4 ------------------------------------ How? p.s i know how to do trhe input box and display, but … |
The End.