Forum: Java Jun 20th, 2009 |
| Replies: 1 Views: 390 I have this code here:
it uses text files and hash tables to keep some student records:
can somebody help me with the 'FindEntry' Method, i don't really get why it doesn't work....
public class... |
Forum: Java Jun 14th, 2009 |
| Replies: 1 Views: 268 hi everyone
Im working on a program that includes hash tables and files.
What i'm doing is that I save the information (Name, Student ID, Address, Phone No.) of some students in a text file.
I... |
Forum: Java Mar 13th, 2009 |
| Replies: 3 Views: 665 Thanks a lot!
If i didn't know anything 'bout the question, i wouldn't have had posted it!
I know htat for n elements, there are n! possible permutations
And I think that the procedure should... |
Forum: Java Mar 13th, 2009 |
| Replies: 3 Views: 665 HI all
Can anyone help me with this algorithm (I ned to write the code in java)......The java code would also be helpful
Describe a recursive algorithm for enumerating all permutations of the... |
Forum: Java Feb 12th, 2009 |
| Replies: 7 Views: 1,167 The actual HTML code is passed to the TagCheck method.
You know in html codes.... you start a tag (e.g. <head> ) and then you have some code in between, then you close that tag (e.g. </head> ).... |
Forum: Java Feb 12th, 2009 |
| Replies: 7 Views: 1,167 Thanks for your help.
I have actually tried the expression mathing code...and it works perfectly...but this one seems to be a bit more challenging
this is the code I've got for the parentheses... |
Forum: Java Feb 12th, 2009 |
| Replies: 7 Views: 1,167 Hi all
The program i'm trying to write is meant to take a series of HTML codes as input and check to see if the all the tags in that code are matched or not (it should basically check all the... |
Forum: Java Oct 13th, 2008 |
| Replies: 3 Views: 1,600 thanks alot
i'm coming up with some ideas |
Forum: Java Oct 12th, 2008 |
| Replies: 3 Views: 1,600 I'm trying to write a program in java...it's actually the famous game of "Knight's Tour" - I guess you're all familiar with it- just for a brief explanation
what I have to do is to get from the user... |
Forum: C++ Aug 17th, 2008 |
| Replies: 14 Views: 1,721 thanks alot for all the replies
but i'm still not convinced that even with this function i'd be able to work with high digit numbers!
i guess it's just the c++ weakness in this case! |
Forum: C++ Aug 17th, 2008 |
| Replies: 14 Views: 1,721 can u plz tell me how many parametres this atoi() function takes?
how do u use it? |
Forum: C++ Aug 16th, 2008 |
| Replies: 6 Views: 2,986 with the recursive functions you should always have a stop point somewhere in ur function otherwise it will go on forever. Your stop point in this case is the "return 1" which means that you can only... |
Forum: C++ Aug 15th, 2008 |
| Replies: 14 Views: 1,721 thanks
but how do u think u'd try to answer this problem:
Problem code: ARITH
One part of the new WAP portal is also a calculator computing expressions with very long numbers.
To make the... |
Forum: C++ Aug 15th, 2008 |
| Replies: 6 Views: 2,986 why don't u trace for a number like 4?
of course the code u've come up with 'is' actually more complicated than a simple code for a factorial should be! but tracing it will help
int... |
Forum: C++ Aug 15th, 2008 |
| Replies: 14 Views: 1,721 hey all;
is there a conversion from "char" to "int" or to
"double" possible ? If yes, how? and if not, how do
we work with numbers that have more than 32 digits, for instance
a 500 digit... |
Forum: C++ Jun 25th, 2008 |
| Replies: 5 Views: 1,475 i use Microsoft Visual C++ 6.0
and my operating system is Windows XP |
Forum: C++ Jun 25th, 2008 |
| Replies: 5 Views: 1,475 hi,
does anyone know if there is a code in c++ that allows print on paper instead of monitor?
i mean instread of using 'cout<<' to see what you want on monitor, use a code to print your info on... |
Forum: C++ Jun 1st, 2008 |
| Replies: 5 Views: 577 could you plz write your code using a class
for some of your code my compiler gives error
(PS. i use a Microsoft Visual C++ 6) |
Forum: C++ Jun 1st, 2008 |
| Replies: 5 Views: 577 i've tried getline() but it runs an error and the program ends
how can i store the contents of my file in a linked list? |
Forum: C++ Jun 1st, 2008 |
| Replies: 5 Views: 577 i've created a linked list which stores some info about documents
such as code,title,creator,filename,...
i've also stored some info about some other documents in a *.txt file
i've got a search... |
Forum: C++ May 11th, 2008 |
| Replies: 2 Views: 914 i've got the algorithm but haven't got started on the c++ program yet..i desperately need help with the cpp code plz
input: n,a power of 2(the board size); and the location L of the missing square... |
Forum: C++ May 11th, 2008 |
| Replies: 2 Views: 914 hi
i have an n*n page (n is a power of 2) with an empty place in it, and i want to fill in this sqaure with right trominos (a tromino has an 'L' shape)
i want to show the empty spaces with... |
Forum: C++ Apr 27th, 2008 |
| Replies: 0 Views: 659 i'm writing a program that reverses the first 600 characters of a bitmap picture (it basically swaps character 0 with char 599, 1 with 598 and ......)
This is what i've written so far but it's not... |
Forum: C++ Apr 24th, 2008 |
| Replies: 0 Views: 455 i want to write an object oriented program using classes and sequential files
there is a store which keeps record of its customers' info in a file:
customer code char6
customer name char30... |
Forum: C++ Apr 24th, 2008 |
| Replies: 2 Views: 391 i'm trying to write a program that reads a text from the user(keyboard) sentence by sentence and then prints the 'morse code' of them char bay char on a text file. I'm just testing it for the letter... |
Forum: C++ Apr 23rd, 2008 |
| Replies: 2 Views: 459 thanx ever so much
it wuz gr8 help
i thought i knew a bit of c++ ! ;) |
Forum: C++ Apr 23rd, 2008 |
| Replies: 2 Views: 459 i have text file with a series of words in it. some word contain the expression '.zip' , i'm trying to rerad the characters of the file and replace the .'zip' with '.rar'
this is my prog, bu it's... |
Forum: C++ Apr 23rd, 2008 |
| Replies: 1 Views: 339 i'm trying to write a program that reads a text from the user(keyboard) sentence by sentence and then prints the 'morse code' of them char bay char on a text file. I'm just testing it for the letter... |
Forum: C++ Mar 12th, 2008 |
| Replies: 4 Views: 588 thanks a lot....yes it worked perfecly
sth else that i had problem with was the "+" operator....
this is the + operator overloading definition:
fmatrix operator + (fmatrix& a, fmatrix &b)
{... |
Forum: C++ Mar 12th, 2008 |
| Replies: 4 Views: 588 thanks for the idea...but it's not helping
i don't think the error has much to do with defining the operator...i'm not trying to add or subtract anything, just inputing float type numbers into my... |
Forum: C++ Mar 12th, 2008 |
| Replies: 4 Views: 588 hey evryone;
I've created a matrix class (called fmatrix), and im facin a problem with one of the functions: read()......i cannot fill the matrix through keyboard as an input device and keep getting... |