Search Results

Showing results 1 to 8 of 8
Search took 0.00 seconds.
Search: Posts Made By: monkey_king ; Forum: C++ and child forums
Forum: C++ Jun 17th, 2009
Replies: 5
Views: 659
Posted By monkey_king
I think it depends on what you are doing with the file.
I've found that the FILE, strtok is by far the fastest way of reading in data.
I've been using flat files, (same number of columns in all...
Forum: C++ May 12th, 2009
Replies: 13
Solved: Sorting vectors
Views: 697
Posted By monkey_king
What is the ordering?
If you want to sort by the most frequent elements first, then you can use the link given to you.

If you are sorting by some other rule,
you should say what rule that is.
Forum: C++ Mar 22nd, 2009
Replies: 1
Solved: Huffman Tree
Views: 1,050
Posted By monkey_king
You should start by defining the problem itself.

First aff all assume you will only be using ascii symbol.
This way you will only be needing to keep track of 128 diffent kind of charachters....
Forum: C++ Mar 16th, 2009
Replies: 4
Views: 526
Posted By monkey_king
Use either valgrind or gdb for finding errors.

compile with -g option
then

gdb ./yourprog
run

or
valgrind ./yourprog
Forum: C++ Mar 16th, 2009
Replies: 2
Views: 340
Posted By monkey_king
I'm using unix, so I can't look at your source files,
but theres something I don't understand in you code for case2

Your are setting temp->next = null;
which probly mean that you want...
Forum: C++ Mar 15th, 2009
Replies: 11
Views: 1,186
Posted By monkey_king
Forum: C++ Mar 13th, 2009
Replies: 19
Views: 906
Posted By monkey_king
Then show us the line that contains the assignment error.
And maybe even the compile error itself.
Forum: C++ Mar 13th, 2009
Replies: 19
Views: 906
Posted By monkey_king
Try cutting down your program to just a few lines,
check the compile errors, fix those.
Then you should understand what you did wrong.
Showing results 1 to 8 of 8

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC