Forum: Java Sep 17th, 2005 |
| Replies: 2 Views: 2,442 Thanks for the help NPH, it has helped me a lot.
i am now having problems trying to get the a variable from my 'public void balloon' method. The variable is array x[i]. I like to call the... |
Forum: Java Sep 16th, 2005 |
| Replies: 2 Views: 2,442 Hi, pple im interested to know how to put a drawn 'image', a combination of a circle and a line into another class?
If i like to draw that 'image' in the void paint() method multiple times, e.g... |
Forum: C Aug 31st, 2005 |
| Replies: 3 Views: 3,494 hi people,
i am having some problems, perhaps understanding about how dynamic memory allocation works with pointers and arrays.
Im trying to get the user to input the size of the string in my... |
Forum: C++ Aug 24th, 2005 |
| Replies: 7 Views: 2,692 i have my b3-long-sample.bin file for input
it is a file containing machine excutable MIPS programs.
i need to determine whether it is in lengths of 4 bytes and read the contents into an unsigned... |
Forum: C++ Aug 24th, 2005 |
| Replies: 7 Views: 2,692 #include <stdio.h>
#include <string.h>
#include <ctype.h>
#include <stdlib.h>
struct VarData{
unsigned long var;
}; |
Forum: C++ Aug 24th, 2005 |
| Replies: 7 Views: 2,692 I have another problem.
supposedly i have to read a .bin file.
i have to make sure tt the length is in a multiple of 4 bytes. and store each four byte into a unsigned long variable and print the... |
Forum: C++ Aug 24th, 2005 |
| Replies: 7 Views: 2,692 #include <stdio.h>
#include <stdlib.h>
union uVariant {
// Long
unsigned long num;
// Bits
struct { |
Forum: C++ Aug 23rd, 2005 |
| Replies: 7 Views: 2,692 Hi guys,
do any of u know how to extract a certain amount of bits from a parameter(instruction) and return the bits as a integer in a range .
for example i would like to extract the opcode... |
Forum: C Aug 18th, 2005 |
| Replies: 10 Views: 2,905 thanks for the help. I managed to solve the problem! :) |
Forum: C Aug 17th, 2005 |
| Replies: 3 Views: 6,945 Hi guys, i like to thank all who has helped me so far. I managed to come up with some sort of code, to find the invalid string. e.g -8ha .
However im having problems getting it to print whether is... |
Forum: C Aug 17th, 2005 |
| Replies: 10 Views: 2,905 Hi guys, i like to thank all who has helped me so far. I managed to come up with some sort of code, to find the invalid string. e.g -8ha .
However im having problems getting it to print whether is... |
Forum: C Aug 16th, 2005 |
| Replies: 10 Views: 2,905 the problem is as follows
read content of file,
break the content into words; using strtok, delimiter is 'white space'
now the problem im facing is how do one put the 'tokenPtr' into an array?
... |
Forum: C Aug 13th, 2005 |
| Replies: 10 Views: 2,905 Hi pros and experts. I am experiencing some trouble in doing up a code which could evaluate the input into the different data types.
What i managed to acheived is to read a file and its content. ... |