Search Results

Showing results 1 to 20 of 20
Search took 0.01 seconds.
Search: Posts Made By: bleonard989
Forum: Windows Vista and Windows 7 Apr 18th, 2008
Replies: 16
Views: 7,393
Posted By bleonard989
yeah... it's hard to tell what's wrong with it without the error messages... what does the screen say?

It is weird that it will let you boot from disc, and not repair it... so it's more than...
Forum: Windows Vista and Windows 7 Apr 15th, 2008
Replies: 16
Views: 7,393
Posted By bleonard989
Actually, this has happened to me, first of all... did you buy the upgrade for vista off of the digital locker on Microsoft.com, or did you buy the hard copy of the OS?
Forum: Windows Vista and Windows 7 Apr 15th, 2008
Replies: 16
Views: 7,393
Posted By bleonard989
Do you have the vista installation DVD?
Forum: C++ Apr 13th, 2008
Replies: 0
Views: 392
Posted By bleonard989
I am having problems with my linked queue adt. I don't get any error messages, but it just isn't doing anything in the menu driven client code. It's just to test the queue to make sure it works...
Forum: C++ Feb 27th, 2008
Replies: 5
Views: 408
Posted By bleonard989
template <class ItemType>
StackType<ItemType>::StackType(ItemType s) // line 42
{
top = -1;
stackSize = s;
items = new int[stackSize];
}

Stack.h:42: note: ...
Forum: C++ Feb 27th, 2008
Replies: 5
Views: 408
Posted By bleonard989
when I do that, just use cin>> size, I get this error

prog4.cpp: In function `int main()':
prog4.cpp:8: error: no matching function for call to `StackType<int>::StackType()'
Stack.h:77: note:...
Forum: C++ Feb 27th, 2008
Replies: 5
Views: 408
Posted By bleonard989
This might be really simple or impossible, but what I need to do is somehow take what the user inputs in the client code, and set one of my variables in my constructor to the variable in the client...
Forum: C++ Feb 27th, 2008
Replies: 14
Views: 1,299
Posted By bleonard989
Thanks, that worked, now I just need to fix it so everything outputs as it should, will you please check back tomorrow in case I have any other questions about the program?

Thank You so much for...
Forum: C++ Feb 27th, 2008
Replies: 14
Views: 1,299
Posted By bleonard989
Still getting the same error messages
Forum: C++ Feb 27th, 2008
Replies: 14
Views: 1,299
Posted By bleonard989
Stack.h

#ifndef STACK_H
#define STACK_H


const int MAX_SIZE = 10;

class FullStack
{};
Forum: C++ Feb 27th, 2008
Replies: 14
Views: 1,299
Posted By bleonard989
I now get these errors when I go to compile:
/tmp/ccXxm2AE.o(.text+0x123): In function `main':
: undefined reference to `StackType<int>::StackType(int)'
/tmp/ccXxm2AE.o(.text+0x401): In function...
Forum: C++ Feb 27th, 2008
Replies: 14
Views: 1,299
Posted By bleonard989
when I do that
Stack.cpp:43: error: invalid function declaration

I get this error

Updated code:

#ifndef STACK_H
#define STACK_H
Forum: C++ Feb 26th, 2008
Replies: 14
Views: 1,299
Posted By bleonard989
StackType<ItemType>& StackType<ItemType>::StackType(const StackType<ItemType> &right)


when I put this in for the other function, it comes up with 2 errors
Stack.cpp:43: error: return type...
Forum: C++ Feb 26th, 2008
Replies: 14
Views: 1,299
Posted By bleonard989
These are the errors I am getting. I have never worked with classes before, I posted before but have done some work to it since then, and have gotten less errors. The main problems are the push...
Forum: C++ Feb 26th, 2008
Replies: 21
Views: 2,691
Posted By bleonard989
the reason your code is looping continuously is because of your first while loop

while(oper!= '!')

cout << "Enter Number: "; // Prompt user to enter number
cin >> input; // accept...
Forum: C++ Feb 26th, 2008
Replies: 1
Views: 2,958
Posted By bleonard989
I am pretty new to c++, and have never worked with stack or templated classes before. I have started this program, but I am not done, I was wondering if I am at least on the right track, because I...
Forum: C Nov 1st, 2007
Replies: 9
Views: 2,727
Posted By bleonard989
I just got done working on my own fib project. I wrote a post about it looking for help as well. You can check out my thread that I have about this project, I used a function, but only had to go up...
Forum: C++ Nov 1st, 2007
Replies: 5
Views: 2,486
Posted By bleonard989
ok thanks for the help guys, I got it figured out today


long double whichfib (int num)
{
int count=1;
long double newnum, newnum1, newnum2;

if (num == 0)
newnum = 0;
Forum: C++ Nov 1st, 2007
Replies: 5
Views: 2,486
Posted By bleonard989
Yeah, im sure that it is horrible, this is the introductory course, and our teacher isnt too worried about the formatting, just as long as it works. I have searched the forums and all of the answers...
Forum: C++ Nov 1st, 2007
Replies: 5
Views: 2,486
Posted By bleonard989
I am trying to use fairly simple C++ code to complete this problem: The user will input a number of the Fibonacci series, and through a function called whichfib(), the program will then output the...
Showing results 1 to 20 of 20

 


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

©2003 - 2009 DaniWeb® LLC