Search Results

Showing results 1 to 40 of 345
Search took 0.02 seconds.
Search: Posts Made By: NinjaLink
Forum: C++ 3 Days Ago
Replies: 3
Views: 164
Posted By NinjaLink
Did my above post help? =/
Forum: C++ 3 Days Ago
Replies: 3
Views: 164
Posted By NinjaLink
I am not using a queue class for these program segments. I apologize for any confusion. They are just programming segments made up to help me understand how to do them. On my test tomorrow, I have...
Forum: C++ 3 Days Ago
Replies: 3
Views: 164
Posted By NinjaLink
I need help with the programming segments below, so I can study for them...I showed my effort on trying to do them. However, I don't believe they are right. If someone can assist me with this, I will...
Forum: C++ 5 Days Ago
Replies: 0
Views: 69
Posted By NinjaLink
My question is, how do you calculate the "Completion Time" as I am alittle confused about it. Do I add the service times and the result is the completion times? Thank you to anyone who helps

...
Forum: Computer Science 5 Days Ago
Replies: 0
Views: 121
Posted By NinjaLink
My question is, how do you calculate the "Completion Time" as I am alittle confused about it. Do I add the service times and the result is the completion times? Thank you to anyone who helps

...
Forum: C++ 9 Days Ago
Replies: 0
Views: 120
Posted By NinjaLink
Hi. What I want to do is convert a postfix expression into a infix expression. I am reading the postfix expression from an input file and I want to print the infix expression to an output file. I...
Forum: C++ 10 Days Ago
Replies: 0
Views: 93
Posted By NinjaLink
I need help with my function that is in my stack.h file which converts postfix expression to infix. My main.cpp reads the postfix expression from a file and outputs the expression to an output file....
Forum: C++ 12 Days Ago
Replies: 0
Views: 111
Posted By NinjaLink
I need help trying to convert a postfix expression to Infix. I have tried to search books and internet material to help me take on this task but no luck. Below is what I created, but I know it is far...
Forum: C++ 12 Days Ago
Replies: 5
Views: 152
Posted By NinjaLink
I don't understand why it doesn't work because I have tried several different ways and spent several hours on doing the IsEqual, operator==, and operator!= functions. Is there any other hints or...
Forum: C++ 12 Days Ago
Replies: 5
Views: 152
Posted By NinjaLink
Does this mean that my operator== function works fine and I just need to reorganizae my main.cpp?
Forum: C++ 12 Days Ago
Replies: 5
Views: 152
Posted By NinjaLink
I had another thread before this one, but I felt that it was getting too long.

Current problem: My operator== is not working properly in my program. I have done some things in my function, but I...
Forum: C++ 12 Days Ago
Replies: 16
Views: 325
Posted By NinjaLink
I apologize. I corrected the information below. I do not know how that other stuff got in that post. Right now, everything compiles and it looks fine except that I do not know how to print out the...
Forum: C++ 13 Days Ago
Replies: 1
Views: 144
Posted By NinjaLink
Hello, I need some advice to help me write a program to convert postfix to infix. However, I am having difficulty getting started. I tried to search for more information, but all I got was infix to...
Forum: C++ 13 Days Ago
Replies: 16
Views: 325
Posted By NinjaLink
Hey, I finally figured it out even though it took several hours. However, I have one last question. In main.cpp, how do I print out each stack so that it looks like the Expected output below. Thanks!...
Forum: C++ 13 Days Ago
Replies: 16
Views: 325
Posted By NinjaLink
Alright I will try to see if I can figure it out. Does everything else look fine in my operator== and operator!=? or does it still needs work. Thanks
Forum: C++ 13 Days Ago
Replies: 16
Views: 325
Posted By NinjaLink
Thank you Vernon Dozier.

I was working on the program some more and corrected the issues and started populating my operator== and operator!= to try to get things working. However, I came across...
Forum: C++ 13 Days Ago
Replies: 16
Views: 325
Posted By NinjaLink
The reason I asked was because when I made the change:



bool stackType<Type>& operator==(bool stackType<Type>&);
bool stackType<Type>& operator!= (bool stackType<Type>&);


template<class...
Forum: C++ 13 Days Ago
Replies: 16
Views: 325
Posted By NinjaLink
Thank you for replying Vernon Dozier.

Is it still necessary to use bool for operator== and operator!= or should i declare the function exactly the same as how I did operator=?
Forum: C++ 13 Days Ago
Replies: 16
Views: 325
Posted By NinjaLink
I am trying to create the functions for operator "==" and "!=". I am currently getting an error below: Any help is appreciated.


error:155 bool operator==(const stackType<Type>&)' must take...
Forum: C++ 14 Days Ago
Replies: 16
Views: 325
Posted By NinjaLink
Can someone help me determine if 2 stacks are the same? I am fairly new to stacks and need help. My header file is also below. Currently I am getting an error message using "==" and "!=" in my if...
Forum: C++ 16 Days Ago
Replies: 5
Views: 190
Posted By NinjaLink
Any idea guys? I really want this program to work, but the output box comes up and then disappears when I use stackarray.h, when i use #include <stack>, the output window stays up for small period...
Forum: C++ 16 Days Ago
Replies: 5
Views: 190
Posted By NinjaLink
I also tried #include <stack> and the output box stays up but it shows blank and then eventually gives a windows error to close.
Forum: C++ 16 Days Ago
Replies: 5
Views: 190
Posted By NinjaLink
I updated my code with your last post, but the output still disappears. Do you think I have an error writing my header file?
Forum: C++ 17 Days Ago
Replies: 5
Views: 190
Posted By NinjaLink
I started a new thread since my last thread was getting to long. I am using stacks to find out if a string of characters is a palindrome, is not a palindrome, and is almost a palindrome. However, my...
Forum: C++ 17 Days Ago
Replies: 19
Views: 400
Posted By NinjaLink
The output screen came up and then disappear again! This is what I have after your last reply.



#include <fstream>
#include <string>
#include <sstream>
#include "stackarray.h"
Forum: C++ 17 Days Ago
Replies: 19
Views: 400
Posted By NinjaLink
Am I on the right track with my case statement? For some reason, I don't think I am doing it right.



#include <fstream>
#include <string>
#include <sstream>
#include "stackarray.h"
Forum: C++ 17 Days Ago
Replies: 19
Views: 400
Posted By NinjaLink
I received an output stating I "Cannot add to a full stack" after doing


while (!u.isEmptyStack())/*u is not empty*/
{
u.push(word);
/*pushes the top of u into r and then...
Forum: C++ 17 Days Ago
Replies: 19
Views: 400
Posted By NinjaLink
hey what post was sstream? i can't find it.
Forum: C++ 17 Days Ago
Replies: 19
Views: 400
Posted By NinjaLink
Thank you for your reply. This is what I currently have. I am receiving that isEmptyStack(): is not declared, but it is in my stackarray.h file. Even though it is a function, do I need to declare it...
Forum: C++ 17 Days Ago
Replies: 19
Views: 400
Posted By NinjaLink
I'm also thinking about using a for-loop after the while loop. Do you think that is a good idea?
Forum: C++ 17 Days Ago
Replies: 19
Views: 400
Posted By NinjaLink
This is what I have so far. However, when I compile program, the output box just comes and goes real fast. Do you know a reason why the output screen would come up and disappear?


main.cpp

...
Forum: C++ 17 Days Ago
Replies: 19
Views: 400
Posted By NinjaLink
I'm deleting my palindrome function and start from scratch. Stacks is just a new thing to me, and I thought I could build on top of my function. It does seem like it is easier if I started from...
Forum: C++ 17 Days Ago
Replies: 19
Views: 400
Posted By NinjaLink
Do you think it is easier using my Palindrome program that uses iteration?
Forum: C++ 17 Days Ago
Replies: 19
Views: 400
Posted By NinjaLink
How do I declare push and pop? I thought it was already declared in my .h file above?


#include <fstream>
#include <string>
#include <stack>
#include "stackarray.h"


using namespace std;
Forum: HTML and CSS 17 Days Ago
Replies: 4
Views: 314
Posted By NinjaLink
does anyone know?
Forum: C++ 17 Days Ago
Replies: 19
Views: 400
Posted By NinjaLink
Is there any hints or advice someone can please give me to help me start it up. This is my first time using stacks in a program.
Forum: HTML and CSS 17 Days Ago
Replies: 4
Views: 314
Posted By NinjaLink
In my header_inner, I am trying to display an image in the background, but whenever I try, it just shows the blank. Will someone please help me with this as I have been messing with this for hours. I...
Forum: C++ 17 Days Ago
Replies: 19
Views: 400
Posted By NinjaLink
Hi, I am new to stacks and need some help getting started with my first program in stacks. I have all the functions like pop,push etc. in my header file. I have to create a palindrome program with...
Forum: C++ 24 Days Ago
Replies: 4
Views: 225
Posted By NinjaLink
Sorry... The current output is 2 triangles underneath each other. I am trying to turn the 2nd triangle upside down, so I can get an output of a diamond.

Current Output:



- *-
-**-
...
Forum: C++ 24 Days Ago
Replies: 4
Views: 225
Posted By NinjaLink
I am creating a diamond but I am having problem. Right now, my output prints out 2 triangles underneath each other (is not displaying in the post correctly). I want to flip the 2nd triangle around to...
Showing results 1 to 40 of 345

 


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

©2003 - 2009 DaniWeb® LLC