Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
stacks
- Page 1
Re: Page Speed Issue
Digital Media
Digital Marketing
2 Months Ago
by Olu_610
Java-based websites are known to be difficult for speed optimization because they contain certain technical
stacks
. But with caching and image compression, java website can generate page speeds which are equivalent to those of WordPress websites.
Re: Stacks and trees
Programming
Software Development
16 Years Ago
by priyankasaini
stacks
can be implemented using array .take a variable which is nothing but index of the position in which we can insert data,call it top and increment it whenever we insert and decrement it by one whenever we pop out something
Stacks Help
Programming
Software Development
16 Years Ago
by shaynicb25
… same content"); else System.out.println("The two
Stacks
have NOT the same content"); } } public class StackClass {… as the current one //Postcondition: Returns true if the two
stacks
have // same content, false otherwise. public boolean equalStack(StackClass …
Re: Stacks Help
Programming
Software Development
16 Years Ago
by shaynicb25
… as the current one //Postcondition: Returns true if the two
stacks
have // same content, false otherwise. public boolean equalStack(StackClass … if(stack1.equalStack(stack2)) System.out.println("The two
Stacks
have the same content"); else System.out.println("…
Stacks
Programming
Software Development
16 Years Ago
by M00nDancer
I'm trying to solve a typical
stacks
problem, but I'm a bit stuck, I'm afraid. … when you get in that position. Basically, I know what
stacks
are and how to add/remove items from it, and…
Stacks
Programming
Software Development
16 Years Ago
by DemonGal711
I have to use
stacks
for my program, but I've never done them before …
Re: Stacks
Programming
Software Development
16 Years Ago
by Lerner
… to try to handle errors gracefully. You can write functional
stacks
without using throw (and the associated try/catch) statements. If…
Re: Stacks and Queues
Programming
Software Development
17 Years Ago
by olams
…she told me she was going to teach
stacks
and queues, binary trees, linked lists and … was just wandering if the operations of
stacks
and queues could be implemented in the same… of the books i am reading, implement
stacks
in a seperate program, and queues in … or no answer. Can the operations of
stacks
and queues be implemented in the same program…
Re: stacks - verify well-formed equations, InFix to PostFix
Programming
Software Development
15 Years Ago
by BestJewSinceJC
… should result in an error. But if you use separate
stacks
for each symbol, it will appear legitimate and it won… code momentarily. edit: It looks like you're using separate
stacks
, which I do not think is correct for the reason…/brackets/parens are seen is very important, and using different
stacks
does not keep track of the order they were seen…
Re: Stacks - balanced parentheses
Programming
Software Development
19 Years Ago
by Lerner
…but for now I'd concentrate on the use of
stacks
and use of classes/structs (the only difference between classes…private access by default). Your functions to manipulate and interrogate
stacks
seem logical from what I can tell, but I would…good start and seem to understand what to do with
stacks
in general, now learn how to leverage that knowledge …
Re: Stacks and trees
Programming
Software Development
16 Years Ago
by csurfer
… of it. So answering them. 1)How to create
stacks
and trees?
Stacks
can be created using many methods. By Arrays, using… act as top indicator. 2)Where can you apply
stacks
and trees?
Stacks
can be applied for various applications. Ex : Reversal of…
Stacks in C++
Programming
Software Development
20 Years Ago
by roscioeak@direc
Can anyone direct me where to go for doing
stacks
in C++. I have to make a program using
stacks
but can you initialize a stack with given values? If so can you give an example?
Stacks - balanced parentheses
Programming
Software Development
19 Years Ago
by gropedersen
… not. The program has to use ADT (Abstract Data Type)
stacks
. The user should input all data in form of an… any opinion on the program. I just started learning about
stacks
so I am uncertain if I solved it the best…
Stacks and Queues
Programming
Software Development
17 Years Ago
by olams
Hi, I am reading ahead for a C++ class that i am taking next quarter. I just read
stacks
and queues and know how to implement both seperately. I was wandering if there is a program that has been written in which both
stacks
and queues were implemented in one code. If there is, could you post it up. Thanks
Re: Stacks and Queues
Programming
Software Development
17 Years Ago
by olams
…. I was asking if one could implement the operations of
stacks
and queues in the same program. thanks. [quote=Narue;373226…. Of course, you could play games with me about using
stacks
to simulate a queue and queues to simulate a stack…
stacks - verify well-formed equations, InFix to PostFix
Programming
Software Development
15 Years Ago
by nola_Coder
… some coding assignments. My Data Structures class is working on
stacks
right now, and that is our current assignment. This assignment… to go back and reread some of the material on
stacks
and stack operations in order to get a clearer picture…
Re: stacks - verify well-formed equations, InFix to PostFix
Programming
Software Development
15 Years Ago
by nola_Coder
… to do what you say, or to have 3 separate
stacks
, one for each parentheses, brackets, and braces? I have a…; on top of the stack... but with the 3 dedicated
stacks
, the program could just check whichever stack it needs to…
Re: stacks - verify well-formed equations, InFix to PostFix
Programming
Software Development
15 Years Ago
by nola_Coder
[QUOTE=BestJewSinceJC;1019066]You can't use three separate
stacks
because consider the following input: {(}) That input isn't valid, … should result in an error. But if you use separate
stacks
for each symbol, it will appear legitimate and it won…
Stacks Palindrome Help
Programming
Software Development
15 Years Ago
by NinjaLink
… need some help getting started with my first program in
stacks
. I have all the functions like pop,push etc. in…
Re: Stacks Palindrome Help
Programming
Software Development
15 Years Ago
by DemonGal711
… (/*get word to compare*/) { while () {/*pushes characters of word into
stacks
u and s*/} while () {/*pushes the top of u into… suggestions, use [icode]stack<string>[/icode] for your
stacks
because those numbers (10-26) will be broken into individual…
Stacks in Silverlight
Programming
Software Development
13 Years Ago
by complete
Is using
Stacks
(the data collection class) allowed in Silverlight? I have used
Stacks
in my WPF c# application. But Visual Studio complains when I declare a Stack in my Silverlight APP. I need to use this class. Is there a substitute?
Re: Stacks - balanced parentheses
Programming
Software Development
19 Years Ago
by iamthwee
>I just started learning about
stacks
so I am uncertain if I solved it the best …
Re: Stacks and Queues
Programming
Software Development
17 Years Ago
by Narue
…. Of course, you could play games with me about using
stacks
to simulate a queue and queues to simulate a stack…
Re: Stacks and Queues
Programming
Software Development
17 Years Ago
by olams
… myself. I just wanted to see how the operations of
stacks
and queues are implemented in a code. That's how…
Re: Stacks and Queues
Programming
Software Development
17 Years Ago
by Narue
… a reason to stop asking. >Can the operations of
stacks
and queues be implemented in the same program? Yes.
Re: Stacks and Queues
Programming
Software Development
17 Years Ago
by vijayan121
…. Of course, you could play games with me about using
stacks
to simulate a queue and queues to simulate a stack…
Re: Stacks and Queues
Programming
Software Development
17 Years Ago
by olams
… a reason to stop asking. >Can the operations of
stacks
and queues be implemented in the same program? Yes.[/quote]
Re: stacks - verify well-formed equations, InFix to PostFix
Programming
Software Development
15 Years Ago
by leverin4
…'t change the brace types, you'll probably need 3
stacks
; 1 for each type of bracket. Keep in mind, verifying…
Re: stacks - verify well-formed equations, InFix to PostFix
Programming
Software Development
15 Years Ago
by BestJewSinceJC
I updated my last post, you should take a look. And at this point, I'd recommend that you first develop the code for the parentheses then. After you get that working, then add in logic for the brackets and curly braces. It would be pointless to help you complete the separate
stacks
solution, since the algorithm itself is flawed.
Re: stacks - verify well-formed equations, InFix to PostFix
Programming
Software Development
15 Years Ago
by nola_Coder
…. It would be pointless to help you complete the separate
stacks
solution, since the algorithm itself is flawed.[/QUOTE] Cool, man…
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC