Search Results

Showing results 1 to 20 of 20
Search took 0.01 seconds.
Search: Posts Made By: needhelp83
Forum: Computer Science Sep 16th, 2009
Replies: 3
Views: 448
Posted By needhelp83
Hope this doesn't come across as stupid, but how do I test with values. What exactly am I looking for when I test?
Forum: Computer Science Sep 15th, 2009
Replies: 1
Views: 357
Posted By needhelp83
Prove the following recurrence by induction
T(n) = 2T(n/2) + n lg n = Θ ( n lg^2 n ), T(1) = 1

This to me looks scary and I was wondering if anybody had a heads up on how to solve for this
Forum: Computer Science Sep 15th, 2009
Replies: 3
Views: 448
Posted By needhelp83
Solve the following recurrences using the characteristics equation
T(n) = 4T(n-1) – 3T(n-2)
T(1) = 1
T(2) = 2

T(n) – 4T(n-1) + 3T (n-2) = 0
r^n r^n-1 r^n-2
...
Forum: Computer Science Sep 12th, 2009
Replies: 0
Views: 506
Posted By needhelp83
O-notation
– O(g(n)) = { f (n) : there exist positive constants c and n0 such that
0 ≤ f (n) ≤ cg(n) for all n ≥ n0}
– g(n) is an upper bound of f(n), may not be tight

Ω-notation
–...
Forum: Computer Science Sep 11th, 2009
Replies: 2
Views: 838
Posted By needhelp83
Alright, I didn't get this one quite right on the homework, but I am trying to figure out exactly how to solve this thing. The answer was n log n , but how do you total this up when going through the...
Forum: JavaScript / DHTML / AJAX Jan 2nd, 2009
Replies: 2
Views: 2,385
Posted By needhelp83
Forum: JavaScript / DHTML / AJAX Jan 1st, 2009
Replies: 2
Views: 2,385
Posted By needhelp83
I am trying to create a web-based Twitter app that will print out a friend's timeline, but the Twitter API asks for username/password. How do I do the username/password authentication on the...
Forum: Ruby Oct 12th, 2008
Replies: 0
Views: 2,380
Posted By needhelp83
This is my first program and Ruby and I am trying to get some help on writing a BST.


require 'rational'

class BST
def insert(newo)
if ! @o
@o = newo
else
Forum: C++ Oct 5th, 2008
Replies: 17
Solved: C++ Newbie
Views: 1,317
Posted By needhelp83
Ancient Dragon, Thank you so much. After countless hours I have finally got this thing to run. I will definitely consider your advice about a better design. This was first linked list class I...
Forum: C++ Oct 5th, 2008
Replies: 17
Solved: C++ Newbie
Views: 1,317
Posted By needhelp83
It is my while loop with the getchar. It keeps look when I redirect with a text file. How do I get the loop to stop. I know the EOF is -1, but it conflicts with changing my char to decimal. Is...
Forum: C++ Oct 5th, 2008
Replies: 17
Solved: C++ Newbie
Views: 1,317
Posted By needhelp83
I have been using same example and it works fine until I add the edge feature with the getting character from input. This throws the program totally off and I am not sure why.
Forum: C++ Oct 5th, 2008
Replies: 17
Solved: C++ Newbie
Views: 1,317
Posted By needhelp83
Should I use a debugging tool to try and solve this?
Forum: C++ Oct 4th, 2008
Replies: 17
Solved: C++ Newbie
Views: 1,317
Posted By needhelp83
Another issue that i have no idea on what to do. I have an intense while loop. I keep getting segmentation faults whenever I perform this loop. What can I do to solve? Thanks for the help Ancient...
Forum: C++ Oct 4th, 2008
Replies: 17
Solved: C++ Newbie
Views: 1,317
Posted By needhelp83
Ok. I now have a new problem. I am try to read a character at a time from a file redirection and I am unable to get this to work. I keep getting segmentation faults and invalid conversion from...
Forum: C++ Oct 2nd, 2008
Replies: 17
Solved: C++ Newbie
Views: 1,317
Posted By needhelp83
I really need help with this. I am at a point where I am not sure what to do for creating my edges. I have created all my nodes in a linked list with a down pointer. What to do?


using...
Forum: C++ Oct 1st, 2008
Replies: 17
Solved: C++ Newbie
Views: 1,317
Posted By needhelp83
Okay, gonna see if I can get a little help here. I am creating an array to store each node in my directed graph. Off each one these nodes I am going to create a linked list.

Does this look like...
Forum: C++ Sep 28th, 2008
Replies: 17
Solved: C++ Newbie
Views: 1,317
Posted By needhelp83
How should I go about creating the adjacency linked list? Should I create a structure that is a node. How do I use the main method to initiate the nodes?
Forum: C++ Sep 28th, 2008
Replies: 17
Solved: C++ Newbie
Views: 1,317
Posted By needhelp83
What are the commands to create a new adjaceny linked list?
Forum: C++ Sep 28th, 2008
Replies: 17
Solved: C++ Newbie
Views: 1,317
Posted By needhelp83
Yes, we have always programmed in java, but never in C++. For this course we are expected to learn a new programming language and it is C/C++. This is our first assignment and honestly only...
Forum: C++ Sep 28th, 2008
Replies: 17
Solved: C++ Newbie
Views: 1,317
Posted By needhelp83
I am brand new at C++ and I have a programming assignment I have to do. I have to create a directed graph and perform a breadth-first traversal. I have to use an adjacency linked list...
Showing results 1 to 20 of 20

 


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

©2003 - 2009 DaniWeb® LLC