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 said client socket doesnt have corresponding component??? thanks for looking

Member Avatar
Member Avatar
+0 forum 15

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 took the ram and graphics card out so just the cpu and heaksink. The heaksink just spins once. I shorted the power to get it on out the case. but still spins once.I have 2 psu's which both should work including the one I was using before i moved the …

Member Avatar
Member Avatar
+0 forum 10

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 = 3 array 4 = 2 the array can be any size thats the problem so i can't just put "array 1"+ array[0] "array 2"+ array[1] etc i can use a for loop when outputting it in a dos window but what can you use for a message box?

Member Avatar
Member Avatar
+0 forum 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???

Member Avatar
Member Avatar
+0 forum 1

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 ideas

Member Avatar
Member Avatar
+0 forum 2

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 flash movies from a c++ concole? if so how? cheers

Member Avatar
+0 forum 0

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 get into. thanks for looking

Member Avatar
Member Avatar
+0 forum 1

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 numbers in a dos window. the problem is in the main class I call it like system.out.println(Block.where[0][2]); and the output is "0"; ???? why is this? AND HOW to solve? thanks for looking

Member Avatar
Member Avatar
+0 forum 4

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

Member Avatar
Member Avatar
+0 forum 1

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 is the best way to do walls? (just paint() them) thanks for you help

Member Avatar
Member Avatar
+0 forum 2

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???

Member Avatar
Member Avatar
+0 forum 3

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)? (p.s I found java easyish and not much of a challenge, and was sick of ready made methods, and want to make interesting software or games!) next question - how to turn c++ code into code that an xbox/gamecube can run? last question - about graphics and animation - I …

Member Avatar
Member Avatar
+0 forum 1

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 not if i dont know how many strings on the end. theres probably a simple answer but i can't think of it, been looking at it for too long. please help this has been doing my head in for a week(feels like longer)

Member Avatar
Member Avatar
+0 forum 1

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) { firstNo= (float)inputStream.nval; inputStream.nextToken(); secondNo = inputStream.nval; thirdstring = inputStream.Sval; System.out.println(firstNo+"\t"+secondNo+"\n"+thirdstring ); tokenType = inputStream.nextToken(); } } [/code] but when theres a character at the begining or a string, int, string I can only get the first word(shown below) of the string instead of the whole title. [code] in.nextToken(); while …

Member Avatar
Member Avatar
+0 forum 1

delete post

Member Avatar
+0 forum 0

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:

Member Avatar
Member Avatar
+0 forum 1

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 the error C:\Documents and Settings\Adam\Desktop\work\MineSweep.java:42: mine is already defined in MineSweep() final JButton mine[count] = new JButton("");

Member Avatar
Member Avatar
+0 forum 2

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 syste.out and I jst get the original data that was in the array instead of the added data??? any ideas?? thanks for looking the code is below [code] import javax.swing.*; class LibraryMain { // Creates a staff of employees public static void main (String[] args) { // Sets up the …

Member Avatar
Member Avatar
+0 forum 1

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

Member Avatar
Member Avatar
+0 forum 2

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" all the time why? NOS++; } int avg = (total/NOS); System.out.println(avg); return avg;

Member Avatar
Member Avatar
+0 forum 3

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 int[10]; int setID(String ID, int mark, int count){ //id, mark and count get passed from the main method ID[count] = ID; score[count] = mark; }

Member Avatar
Member Avatar
+0 forum 3

//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 problem - i was told that you are only ment to input data in the main method. I need a 2d array to store many people info. I tried `Darray[0] = name;` but this came up C:\Documents and Settings\java:34: incompatible types found : java.lang.String required: details since classes are ment …

Member Avatar
Member Avatar
+0 forum 3

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 wont let me put it here>? public static void main(String[] args)

Member Avatar
Member Avatar
+0 forum 3

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 first. thanks

Member Avatar
Member Avatar
+0 forum 10

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 dont know how to put one answer on different lines?

Member Avatar
Member Avatar
+0 forum 3

The End.