i'm trying to write a program where i use one stack and one queue, each of size 10, to find strings that are palindromes (spelled same forward and backward). i have my ItemType.h, Stack.h, Stack.cxx,...
Type: Posts; User: eskimo083
i'm trying to write a program where i use one stack and one queue, each of size 10, to find strings that are palindromes (spelled same forward and backward). i have my ItemType.h, Stack.h, Stack.cxx,...
Thanks for all the info skipper. And I'm glad to see you're ok and not out shopping for a new vehicle :)
Update (for those who read this much of my dumb topic)
I managed to get something that works after working with a buddy half the nite.
#include <fstream.h>
#include <string.h>
#include...
sure...blame the snow on me. ;) boy i forget every year how much i hate it until it actually falls. i do admit that doing circles in parking lots and sliding out of turns is fun though :)
as for...
Thank you. That helps out for the start of my program. Except, I'm getting these errors. I'm working on it, but not having luck fixing them at the moment.
cxx: Error: prog6.cxx, line 38:...
so i would have to use something besides "<<"?
Or is the 'studentrec' name not valid?
I am in the process pulling data from a file. The data contains lines of Students and their info. Example of one line:
Elmore Dennis 78 MED23332
So basically, its last name, first name, his...
well, i figured out my solution to displaying newstr.
outfile<<newstr;
i feel dumb, but i guess this will be efficient for now and my program runs fine.
thanks.
Kermi3, thanks for the code tag advice. i was unaware of it. and thanks for the welcome!
and Cshot, thank you so much for the help. i figured it was just one or two lines i had messed up.
i...
i am testing five strings to see if they are palindrone. my program is running, but in my outfile, it is saying that everything is "Not Palindrone"....which isn't correct. and the strings look messed...