Search:

Type: Posts; User: paint

Search: Search took 0.01 seconds.

  1. Thread: Queue

    by paint
    Replies
    11
    Views
    1,365

    no such luck :(

    no such luck :(
  2. Thread: Queue

    by paint
    Replies
    11
    Views
    1,365

    I knew that was the problem but I really didn't...

    I knew that was the problem but I really didn't know how to fix it. tks I will try that.
  3. Thread: Queue

    by paint
    Replies
    11
    Views
    1,365

    so you dont have to wade through all the code...

    so you dont have to wade through all the code here are the spots I think the problem lies in.


    for(i = 0; i<strlen(ch); ++i)
    {
    s1.push(ch[i]);
    s2.push(ch[i]);
    q.enqueue(ch[i]);
    }...
  4. Thread: Queue

    by paint
    Replies
    11
    Views
    1,365

    ok got past that problem and found I am doing...

    ok got past that problem and found I am doing something wrong in building or checking the queue. The stacks work fine the que simply wont come out right here is the revised code. Pls help if you can....
  5. Thread: Queue

    by paint
    Replies
    11
    Views
    1,365

    Noone have other suggestions? I still am getting...

    Noone have other suggestions? I still am getting knowhere though have fixed a few other problems I saw coming up.
  6. Thread: Queue

    by paint
    Replies
    11
    Views
    1,365

    Main problem with that is S1 is the array for my...

    Main problem with that is S1 is the array for my stack I need to compair S1 to q to get my results.
  7. Thread: Queue

    by paint
    Replies
    11
    Views
    1,365

    Thanks for the try but that gave me about 2 pages...

    Thanks for the try but that gave me about 2 pages worth of similar errors to all my functions.
  8. Thread: Queue

    by paint
    Replies
    11
    Views
    1,365

    Queue

    Ok I ve rewritten the code. I got the stacks to work beautifully but got to the queue and hit a snag. I m getting an error that says unresolved external 'charqueue::front2()' refenenced from...
  9. Thread: Help again pls

    by paint
    Replies
    10
    Views
    1,325

    PS I really do appreciate the help this...

    PS I really do appreciate the help this assignment really has me messed up and it's due tomarrow.
  10. Thread: Help again pls

    by paint
    Replies
    10
    Views
    1,325

    Well guys I m working on totally redoing this...

    Well guys I m working on totally redoing this code. I dont have a lot of choice in this matter it is an assignment and the teacher didn't give us much room to chose our own variables etc. many of the...
  11. Thread: Help again pls

    by paint
    Replies
    10
    Views
    1,325

    Well I cant tell if either is working both ways...

    Well I cant tell if either is working both ways compile but both also crash when run. The getline gives a warning of compairing signed and unsigned values in the for loop. The crashing is now the...
  12. Thread: Help again pls

    by paint
    Replies
    10
    Views
    1,325

    sorry I will try to be more helpfull in my...

    sorry I will try to be more helpfull in my message title. I looked around a little and hope I learned a bit I changed the code to look like this. will this take a sentence and store it into an array...
  13. Thread: Help again pls

    by paint
    Replies
    10
    Views
    1,325

    Help again pls

    I m once again having problems. I need to get a sentence into an array that I can work with I need to check it for being a palindrome. I ve got it all set up and debugged(or did before playing with...
  14. Thread: Help me pls

    by paint
    Replies
    6
    Views
    1,028

    yep changing to public did it. Still got errors...

    yep changing to public did it. Still got errors but expected them and they are nothing I ve not seen before. Tks for the help.
  15. Thread: Help me pls

    by paint
    Replies
    6
    Views
    1,028

    LOL Thank you now I feel so stupid so obvious....

    LOL Thank you now I feel so stupid so obvious. Gah I look for that forever. Tks alot I ll go fix it now.
  16. Thread: Help me pls

    by paint
    Replies
    6
    Views
    1,028

    #include const int maxsize = 50; ...

    #include <iostream>
    const int maxsize = 50;

    class stackchar
    {
    private: stackchar();
    void enqueue(char val);
    char front();
    void dequeue();
    bool isfull();
  17. Thread: Help me pls

    by paint
    Replies
    6
    Views
    1,028

    Help me pls

    I m a student at a local college. New to C++. My latest program has me a bit baffled. I wrote the class file, and implimentation file. When I wrote the main I compiled it and got errors that said...
Results 1 to 17 of 17