16 Posted Topics
Hey, Im trying to write a chat program which should be able to run multiple clients using threads. But I seem to get this "java.io.StreamCorruptedException: invalid type code: 00" error the whole time. My server code: [CODE] import java.io.*; import java.net.*; public class Server{ ServerSocket serverSocket; Socket connection = null; … | |
Re: Have a look at this article, doesnt look to tough [Click Here](http://arteraktiv.com/2010/10/22/simple-php-mysql-blog-example/) | |
Re: The log is caused by the `j <= n/i` As i gets larger n/i will get smaller Try replacing n with and actual number and see the results | |
Re: Check out http://www.html.net/tutorials/ . I used them before | |
Re: jQuery has a fadein function if you are using it. Not to difficult to add it to existing code. Function would look something like: $(document).ready(function() { $('#yourPic').fadeIn(1000); }); | |
Re: For a start you can read up on [ifstream](http://www.cplusplus.com/reference/iostream/ifstream/ifstream/) . Once you have something to show we'll help you | |
Hey, I am having some difficulty drawing my lines correctly using flash.Box2D. The fault isnt with box2D, rather with my math. I attached a swf with the basic engine as well as some angles drawn on it. Why doesnt the lines want to draw correctly for anything greater than +-40 … | |
Re: Is your mouseover suppose to reposition them in any way or does it have a completely unrelated purpouse? | |
Im trying to make a highlighter that will highlight a word after I have typed it in a JTextArea. The problem I have, is that after I press space, the highlighter doesnt stop. It continues highlighting the next words as well. public class highLighter { JTextArea ref; Highlighter hilite; String … | |
Re: Thinking in Java, by Bruce Eckel. The 3rd edition can be downloaded legally for free. http://www.mindview.net/Books/TIJ/ | |
![]() | Re: Why not name them `public float pow(float base, float exponent)` > public float pow(float first, float power){ ` |
Hi, Im having difficulty getting my form contents to send to my php page using ajax, jquery and json. The results just doesnt want to show. My javascript, where I create the JSON object and try to send it through to the php page: [CODE] var JSONobj; var JSONstr; function … | |
| |
Hey, We got an assignment to host a website, our members must be kept in a mySQL database. I honestly have no idea where to start. If you could just help me with the basics steps. Ill research the details myself. Here's what I've done so far. 1.I downloaded and … | |
Im getting the folowing error while trying to implement a friend function between two classes. "Board.C: In member function ‘void Board::input(bool)’: Board.C:227: error: ‘class Piece’ has no member named ‘castSpell’ make: *** [Board.o] Error 1" Piece's Header file [CODE] #ifndef PIECE_H #define PIECE_H # include "Spellcaster.h" # include <iostream> #include … | |
Hey, Im learning assembler and have written as small test program. the aim of the program is to take a char input from the keyboard and compare it wit "A". This section of the program works. At the start of the program I want to output a message just to … ![]() |
The End.