Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Showing results 1 to 40 of 500
Search took 0.09 seconds.
Search: Posts Made By: bl00dninja
Forum: Coder's Corner Lounge May 12th, 2007, 3:19 AM
Replies: 19
Views: 591
Posted By bl00dninja
well you made it this far, that says something...

well you made it this far, that says something for you! there's a dude in my CS clases that probably falls into your category...close to the end of our data structures II class the teacher told him...
Forum: C++ May 7th, 2007, 10:57 PM
Replies: 7
Views: 251
Posted By bl00dninja
yeah, and i'm still looking but every solution...

yeah, and i'm still looking but every solution i've found is of my own invention, which many be due to the fact that the whole thing was designed by myself. what i'm looking for are good rules. ...
Forum: C++ May 6th, 2007, 3:10 AM
Replies: 7
Views: 251
Posted By bl00dninja
avl trees final step

i am able to insert. i am able to print. i am able to delete nodes and put other nodes in their place. i am having trouble with the dSkews(node *, int, node *) function that resets skew values...
Forum: C++ May 4th, 2007, 3:10 AM
Replies: 1
Views: 122
Posted By bl00dninja
AVL delete function

i can now insert at will, i can delete also...IN SOME CASES, this is the virgin remove() function. it removes (most) nodes properly, but fails to reset skews (yeah i know i'm throwing exceptions...
Forum: C++ May 3rd, 2007, 3:07 AM
Replies: 0
Views: 103
Posted By bl00dninja
Unhappy avl trees again

got the inserts to work with skew changes and all. starting to work on delete. using insert as a recursive template for that. just drunken code here, but doeas anyone have any ideas on the...
Forum: C++ Apr 26th, 2007, 1:11 AM
Replies: 0
Views: 110
Posted By bl00dninja
avl rotations...i lost my mommy!!!

in my avl tree, i'm losing the connection to the parent when doing rotations.

for example: in a left roation on this tree:

.....6
..../ \
...5 7
........\
.........8
..........\
Forum: C++ Apr 19th, 2007, 3:23 AM
Replies: 1
Views: 153
Posted By bl00dninja
avl trees

for the anointed only:

why do i have problems with rotations? i understand the question is crap, but sometimes a hero will emerge that has the time to answer the question.

here is the avl...
Forum: Coder's Corner Lounge Apr 8th, 2007, 1:04 AM
Replies: 40
Views: 1,053
Posted By bl00dninja
the most beautiful thing i have ever heard, both...

the most beautiful thing i have ever heard, both in music and in lyrics, is
"I want my shit" by the insane clown posse. it brings tears to my eyes.
Forum: C Apr 7th, 2007, 3:06 AM
Replies: 9
Views: 363
Posted By bl00dninja
so for: int x[10]; for a lot of operations...

so for:


int x[10];


for a lot of operations would it be more efficient to use:


x[0]
Forum: Software Design and Algorithms Apr 6th, 2007, 1:39 AM
Replies: 36
Views: 2,758
Posted By bl00dninja
here's a bucketsort that can sort negative...

here's a bucketsort that can sort negative numbers...really simple idea, multiplies the running time by about 4. ten million items from 0-999 in about 3 seconds...not bad.

driver
//total size of...
Forum: Coder's Corner Lounge Apr 6th, 2007, 1:13 AM
Replies: 19
Views: 459
Posted By bl00dninja
i use C++ for school, but in the year and a half...

i use C++ for school, but in the year and a half before that i dabbled in java, C, and C++ and found that i preferred C++ over the rest of them. the fact that you can write C code in C++ and pick...
Forum: Community Announcements and Feedback Apr 1st, 2007, 1:04 AM
Replies: 9
Views: 258
Posted By bl00dninja
go to their house and kill them.

go to their house and kill them.
Forum: Coder's Corner Lounge Mar 31st, 2007, 2:34 AM
Replies: 29
Views: 597
Posted By bl00dninja
Have you ever heard of Plato, Aristotle,...

Have you ever heard of Plato, Aristotle, Socrates? Morons. ...
Forum: Community Announcements and Feedback Mar 31st, 2007, 2:21 AM
Replies: 9
Views: 258
Posted By bl00dninja
i totally agree, posting in the forums is a good...

i totally agree, posting in the forums is a good way to get feedback from a lot of people. oftentimes a certain person may not have the time or background to deal with your issues. from time to...
Forum: Coder's Corner Lounge Mar 25th, 2007, 3:59 AM
Replies: 31
Views: 756
Posted By bl00dninja
i wait while i drink 30 natty-lights, then i get...

i wait while i drink 30 natty-lights, then i get out a nine volt battery testing it on my scrotum to be assured it still holds a decent charge. then i take a couple paperclips and hook them on the...
Forum: Coder's Corner Lounge Mar 25th, 2007, 3:43 AM
Replies: 29
Views: 597
Posted By bl00dninja
check my sig, but you'll need to understand the...

check my sig, but you'll need to understand the context to find them funny, otherwise they're just stupid. google them in quotes to find the context if you don't just see it.
Forum: C Mar 25th, 2007, 3:38 AM
Replies: 2
Views: 174
Posted By bl00dninja
the point here is, if you submit 1,000 lines of...

the point here is, if you submit 1,000 lines of code only the really good guys will look at it. i do this myself when my back is against a wall, so i'm NOT bitching at you. however, if you know...
Forum: C++ Mar 18th, 2007, 7:43 PM
Replies: 44
Views: 1,061
Posted By bl00dninja
yeah dawei, the bud horses trampled me. in the...

yeah dawei, the bud horses trampled me. in the books i read to get started, pointers made more sense in C. thta's just the way i learned, if it's more helpful for another member to start in C++,...
Forum: Software Design and Algorithms Mar 18th, 2007, 7:10 PM
Replies: 4
Views: 164
Posted By bl00dninja
get a pen and paper and work with it. think...

get a pen and paper and work with it. think about data structures that would be appropriate. maybe an STL map? most of your work here is not coding, but design.
Forum: C++ Mar 15th, 2007, 6:37 PM
Replies: 44
Views: 1,061
Posted By bl00dninja
probably the only major benefit would be in...

probably the only major benefit would be in character strings and arrays...C forces you to deal with that issue. it just gives you a better understanding of what a char* actually is. although with...
Forum: C++ Mar 15th, 2007, 2:26 AM
Replies: 44
Views: 1,061
Posted By bl00dninja
"wat" you need to do is try harder or learn to...

"wat" you need to do is try harder or learn to search better or give up. it's NOT that hard. read the tutorial a million times if it takes that. oh yeah, and stop that 1337 spelling crap, you come...
Forum: Show Off Your Open Source Projects Mar 13th, 2007, 1:01 AM
Replies: 0
Views: 78
Posted By bl00dninja
bucketsort with negative numbers

probably easy and cheesy, but i thought it was a neat extension to bucketsort.

DRIVER:

//total size of list
#define LISTSIZE 25000
//range of nums within the list
#define RANGE 1000

//for printing...
Forum: C++ Mar 8th, 2007, 2:16 AM
Replies: 3
Views: 170
Posted By bl00dninja
sorry, the double post is about 2 different...

sorry, the double post is about 2 different issues, so it really isn't a double post.

corrected the print(), but the problem still exists.
Forum: C++ Mar 7th, 2007, 1:56 AM
Replies: 3
Views: 170
Posted By bl00dninja
heapsort revisited

sometimes i get the last element in the range of numbers (1-100, etc.) intruding into the next to last element when sorting(a bunch of 9's then some tens, then more nines). sometimes i get a sorted...
Forum: C++ Mar 6th, 2007, 11:16 PM
Replies: 4
Views: 239
Posted By bl00dninja
HOLY SHIT!!!!!!!!!!!!!!! THANKS! now i'll try to...

HOLY SHIT!!!!!!!!!!!!!!! THANKS!

now i'll try to optimize it, i know there's a bunch of unneccesary crap in there.
Forum: C++ Mar 6th, 2007, 11:10 PM
Replies: 4
Views: 239
Posted By bl00dninja
thanks, i'll play with it, also i do realize...

thanks, i'll play with it, also i do realize that the entire implementation is weird and probably bloated and clunky. it's the result of lots of band-aid patches.
Forum: C++ Mar 6th, 2007, 2:33 AM
Replies: 4
Views: 239
Posted By bl00dninja
heapsort

why does this NOT work for large lists?

#include <iostream>
#include <deque>
#include <math.h>

using namespace std;

template <class T>
class heapsort
Forum: C++ Feb 28th, 2007, 2:33 AM
Replies: 3
Views: 208
Posted By bl00dninja
you make an entire class "virtual" when you never...

you make an entire class "virtual" when you never expect it to be instantiated in an object form. like a class "human". all humans share traits, but there should probably be a child class (at...
Forum: Coder's Corner Lounge Feb 28th, 2007, 2:27 AM
Replies: 24
Views: 605
Posted By bl00dninja
i just went through a horror show on sorting...

i just went through a horror show on sorting programs. i forgot that the compile on VS 2005 was VERY F***ING different on debug and release mode. but yeah, i don't understand why a CS grad could...
Forum: C++ Feb 11th, 2007, 7:01 PM
Replies: 6
Views: 295
Posted By bl00dninja
do what dawei said. i'm drunk right now.

do what dawei said. i'm drunk right now.
Forum: C Feb 9th, 2007, 2:34 AM
Replies: 9
Views: 219
Posted By bl00dninja
so.............. you want a user to enter data,...

so..............

you want a user to enter data, then you will send it to stdout at a later time?

what are you trying to do?

you could cin>>some stuff

then sleep() for awhile, then cout<<their...
Forum: Coder's Corner Lounge Feb 8th, 2007, 1:15 AM
Replies: 16
Views: 489
Posted By bl00dninja
this is the WORST WTF error i ever got: error: ...

this is the WORST WTF error i ever got:

error: internal compiler error

yeah, what the fuck do you do now?
Forum: C++ Feb 5th, 2007, 11:49 PM
Replies: 4
Views: 181
Posted By bl00dninja
yeah, just put it in your profile. i probably...

yeah, just put it in your profile. i probably wouldn't just email someone i know nothing about.
Forum: C++ Feb 2nd, 2007, 2:44 AM
Replies: 3
Views: 243
Posted By bl00dninja
can't give any cool details...BUT i've been told...

can't give any cool details...BUT i've been told that when you use templates the declarations and definitions need to be in one file.

the reason you find weird shit like this is that C++ is not a...
Forum: C++ Jan 31st, 2007, 1:24 AM
Replies: 30
Views: 815
Posted By bl00dninja
dude, seriously. you need to listen to these...

dude, seriously. you need to listen to these guys. what you're wanting to do is ridiculous considering your background. the best help i can give is to give users specific instructions on how to...
Forum: Project Ideas Jan 31st, 2007, 12:54 AM
Replies: 11
Views: 449
Posted By bl00dninja
well frames are so 1995... anyway, as a dial-up...

well frames are so 1995...

anyway, as a dial-up user (yeah i'm probably in the minority by now) i don't go to sites that have all that crap...i'll find the content elsewhere.
Forum: C++ Jan 31st, 2007, 12:07 AM
Replies: 15
Views: 497
Posted By bl00dninja
i seem to recall a "DUMPBIN" utility or something...

i seem to recall a "DUMPBIN" utility or something in visual studio that can show asm...google.
Forum: C++ Jan 30th, 2007, 2:37 AM
Replies: 10
Views: 294
Posted By bl00dninja
good job then. oftentimes all you need to do is...

good job then. oftentimes all you need to do is explain your problem...and then it's solved, even if it was to an inanimate object. :)

hearing yourself talk (or type) about it can shed new light...
Forum: C++ Jan 28th, 2007, 6:43 PM
Replies: 10
Views: 294
Posted By bl00dninja
yeah, you could overload the unary [] operator,...

yeah, you could overload the unary [] operator, but except for the sake of a couple key strokes it's worthless. the damn thing still has to iterate throught the elements of the list. it's NOT true...
Forum: Coder's Corner Lounge Jan 26th, 2007, 4:01 AM
Replies: 42
Views: 789
Posted By bl00dninja
i had a lab partner from africa that used david...

i had a lab partner from africa that used david as his american name but the real pronunciation was daudi---(dow-dee). don't remember which country (like 8+ years ago).
Showing results 1 to 40 of 500

 
Forum Jump



DaniWeb IT Discussion Community
All times are GMT -5. The time now is 2:23 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC