Yes, that helps alot any suggestions on a better way write that part of the code would be appreciated and also thanks again for the help.
I will try to think of a better way to write as well, but...
Type: Posts; User: seanman13579
Yes, that helps alot any suggestions on a better way write that part of the code would be appreciated and also thanks again for the help.
I will try to think of a better way to write as well, but...
I have to write a program to check for balanced tags in a HTML code. I have written the code below so far but it is not working right it was brought to my attention that my coding is wrong and that...
Yes Elysia i realize this that was something i just threw together real fast a rough draft if you will. lol here is what it would look like
#include <iostream>
#include <string>
#include...
Could use some help i am having some hard time figuring this out. What i need to do is read in a file and then based on its file extension decide what to do i.e. ".cpp" or ".html"
I though i could...
One again thank you itsme86 so much works fine now. Will make suggested changes too thanks so much.
Ok i hate to keep asking question but im now getting a new error. When i run it on a windows based complier it just crashes and when i run it on a UNIX complier i get a segmentation fault (core dumb)...
One last question I want to have it display whether its balanced or not
if (&stack = 0) // i know this is not right but how would i get the value out.
{
cout << "your program...
Hey itsme86 thanks man i know i was doing something wrong that was small and dumb. lol
This is my first time on this forum. I have to make this program check for balanced parentheses. I have most of the work done. But i keep getting "cannot convert `int*' to `STACK*' for argument...