Showing results 1 to 20 of 20
Search took 0.01 seconds; generated 1 minute(s) ago.
Posts Made By: skeet123
Forum: Assembly Apr 11th, 2007
Replies: 5
Views: 4,027
Posted By skeet123
Re: need help on pep/8 machine language program

I am trying to get this problem worked out but still not able get it right.

0000 4900FE ;Get input from the user and store it @ 00FE
0003 4900FF ;Get input from the user and store it @ 00FF
0006 ...
Forum: Assembly Apr 7th, 2007
Replies: 5
Views: 4,027
Posted By skeet123
Re: need help on pep/8 machine language program

Did anyone ever figure out why this did not work?
Forum: Assembly Mar 17th, 2007
Replies: 0
Views: 1,051
Posted By skeet123
Help with machine language

I am having trouble trying to get this machine language program to work with pep/8. Write a machine language program to input two one-digit numbers from the user, add them, and output the one-digit...
Forum: Computer Science Jul 23rd, 2006
Replies: 4
Views: 1,753
Posted By skeet123
O-notation

Having trouble understanding O-notation. This is the question:

10. The approximate number of iterations of an algorithm with data size N is determined to be: 1 + 2 + 3 + ... + N
a. Write a table...
Forum: C++ Apr 23rd, 2006
Replies: 3
Views: 4,969
Posted By skeet123
Re: Help with Big-O notation

Thanks Narue you helped me a bunch.
Forum: C++ Apr 23rd, 2006
Replies: 3
Views: 4,969
Posted By skeet123
Help with Big-O notation

I have an assignment dealing with algorithms and Big O notation. I am a little confusded about this notation stuff. Here are a few of the questions on the assignment:

What is the O-notation for the...
Forum: Computer Science Apr 15th, 2006
Replies: 2
Views: 2,175
Posted By skeet123
Help with array stack vs pointer stack

I have just started to learn about stacks and have been scouring the net for information. I am having trouble coming up with an answer for this question:

Suppose you were asked to add a function...
Forum: C++ Dec 7th, 2005
Replies: 0
Views: 6,169
Posted By skeet123
recursive linked list

I am having trouble trying to implement my recursive method for inserting into a linked list. I made the recursive method private because it needs acces to the head pointer. Not sure where to go from...
Forum: C Oct 24th, 2005
Replies: 6
Views: 4,097
Posted By skeet123
Re: recursive backtracking

THe problem requires you to solve it recursively. I ended up solving the problem. Here is the code:

bool count(int x)
{
if(x==42)
return true;
if (x<42)
return false;
if(x%3==0 ||...
Forum: C Oct 23rd, 2005
Replies: 6
Views: 4,097
Posted By skeet123
recursive backtracking

Having trouble where to go next on this program:

1. If n is even, then you may give back exactly n/2 bears.
2. If n is divisible by 3 or 4, then you may multiply the last two...
Forum: C Sep 13th, 2005
Replies: 3
Views: 1,838
Posted By skeet123
Re: help with recursion

Thanks both of you for your reply.
Forum: C Sep 13th, 2005
Replies: 3
Views: 1,838
Posted By skeet123
help with recursion

I am having a problem with a recursion problem. I have been reading alot of threads on this subject here and other places. I think I understand what recursion is. I am just having a problem trying to...
Forum: C++ Dec 2nd, 2004
Replies: 1
Views: 2,985
Posted By skeet123
another merge sort question

I have been working on this program awhile and I am almost done with it except for trying to get the output to look like what instructor wants. Here how the output should look:

BREAKING DOWN: list =...
Forum: C++ Nov 29th, 2004
Replies: 0
Views: 3,420
Posted By skeet123
mergesort

Almost got this program to work. Still have one error but not sure how to fix.
It is using a linked list class for storing nodes. Here is the code:

// functions use by main
void...
Forum: C++ Nov 23rd, 2004
Replies: 3
Views: 20,363
Posted By skeet123
Merge sort

Can someone point me in the right direction on implementing a merge sort.
Here is what the main program will look like. THanks.

int main(void)
{
int ar[100];

int i, v, len;

for (i=0;...
Forum: C++ Nov 19th, 2004
Replies: 5
Views: 9,228
Posted By skeet123
Re: Binary search tree removal

Thanks for the reply I finally got it to work. Now th problem I am having is tring to remove a node with two children. Any suggestions.
Forum: C++ Nov 18th, 2004
Replies: 5
Views: 9,228
Posted By skeet123
Re: Binary search tree removal

I have a root node.Here is the entire code:

#include <iostream>
#include <cstdlib>
#include <string>

using namespace std;

class node
{
Forum: C++ Nov 18th, 2004
Replies: 5
Views: 9,228
Posted By skeet123
Binary search tree removal

I am having trouble coming up with code for removing a node in a binary search tree. This is what I have so far:

void remove(int n)
{
node *current=root;
node *gptr;
...
Forum: C++ Nov 12th, 2004
Replies: 2
Views: 5,941
Posted By skeet123
Re: priority queue

Sorry for the mix-up but i finally figured the darn thing out. Thanks any way.
Forum: C++ Nov 11th, 2004
Replies: 2
Views: 5,941
Posted By skeet123
priority queue

I am having a very hard time trying to solve this problem.Here are the instructions to the assignment:

Implement a Priority Queue using a heap.

The heap should be implemented as a class that has a...
Showing results 1 to 20 of 20

 
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 12:11 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC