Search:

Type: Posts; User: mouse163

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Thread: cin.get() ?

    by mouse163
    Replies
    4
    Views
    1,272

    thanks very much!

    thanks very much!
  2. Thread: cin.get() ?

    by mouse163
    Replies
    4
    Views
    1,272

    cin.get() ?

    why is it that you cannot have 2 consecutive cin.get() for a char
    in a row such as this:
    (it skips the second prompt and just prints first name)




    #include<iostream>
    #include<iomanip>...
  3. Replies
    4
    Views
    1,809

    yes, this is an assignment. I'm an 'older' night...

    yes, this is an assignment.
    I'm an 'older' night student who (obviously)
    is new to C++. and myr esources are very limited.
    I very much appreciate your tips.
    thanks
    M
  4. Replies
    4
    Views
    1,809

    the 2nd else belongs to the first if statement,...

    the 2nd else belongs to the first if statement, it actually does complile-
    but yeah, there are problems...
    i will look at updating the pointers after i delete.

    no one ever said it was going to...
  5. Replies
    4
    Views
    1,809

    deleting a node by index

    hi,
    i am working(still)..on a linked list where nodes are assigned
    and given an index number.
    I am assigning the indexes incrementally according to the size
    of the linked list.
    Upon deletion...
  6. Replies
    9
    Views
    1,735

    figured out the probl..thanks andy!!

    figured out the probl..thanks andy!!
  7. Replies
    9
    Views
    1,735

    here is the assembly error from the debugger: ...

    here is the assembly error from the debugger:


    strcmp:
    004226A0 mov edx,dword ptr [esp+4]
    004226A4 mov ecx,dword ptr [esp+8]
    004226A8 test edx,3
    004226AE jne ...
  8. Replies
    9
    Views
    1,735

    Andy, your explanation was excellent. I feel...

    Andy,
    your explanation was excellent.
    I feel as though I understand it alot better -
    I appreciate your time immensely.

    Problem is, following your logic-my program is still crashing when I add...
  9. Replies
    9
    Views
    1,735

    I did study it but, can't get some of the C...

    I did study it but, can't get some of the C logic.
    I am very weak with this.
  10. Replies
    9
    Views
    1,735

    I just cannot get this! Then compate...

    I just cannot get this!
    Then compate current->D.name to tptr->D.name until you find the insetion point.
    the following is my attempt at this function.
    (i have an overloaded > op in the struct...
  11. Replies
    5
    Views
    4,880

    thank you so much for taking the time to go thru...

    thank you so much for taking the time to go thru all that for me-
    I am going to punch through your tips and the tutorial
    (believe me i have done a few!)

    I'm very grateful for your time-
    Michele
  12. Replies
    5
    Views
    4,880

    Thanks, I don't think that's the problem-I...

    Thanks,
    I don't think that's the problem-I believe the problem is in my Add function.
    If i added straight to the back print() worked fine.
    but thanks
  13. Replies
    5
    Views
    4,880

    Linked list probs

    Hey all,
    I'm including my telephone linked list code.
    I am having major problems trying to insert (or add)
    my new node in the appropriate alphabetical order.
    I tried to overload the > op to...
  14. Replies
    9
    Views
    1,735

    Linked List alpha insertion

    Hi.
    when you see my code, it will go without saying I struggle with this-but I'm trying...

    I have a LL class that has a data from a struct that holds
    name and number.

    I am trying to write the...
  15. Replies
    4
    Views
    1,860

    header inclusives:

    ---there are certain instances where using namespace std; IS appropriate and others when it doen't hold water.
    In addition using namespace std; in the above referenced instance is relative to...
  16. Replies
    4
    Views
    1,860

    stack trace

    ClownPimp,
    thank for your interest - i am still kinda new to programming
    (if you want to define my struggles as that ;-D) how do i do a stack trace?

    M
  17. Replies
    4
    Views
    1,860

    i/o file manipulation

    I am creating a listed database of employees from an external file..it should read in the first txt file info and create the database-
    and then generate a payday with a second file that has hours...
  18. Replies
    1
    Views
    1,157

    databse iterator probs

    I am using the #include<list>
    header with the following declaration of a databaseclass
    for my employees, which will be read by an iterator class.

    The abstract base class has 2 pure virtual...
  19. Replies
    5
    Views
    1,223

    actually for some things using namespace std does...

    actually for some things using namespace std does not work.
    I would very much prefer to type one simple statement but....
    no dice @ times...

    I'm sure you'll run into a time when this is...
  20. Replies
    5
    Views
    1,223

    combining 2 arrays

    can anyone tell me why I am crashing when i run this ?
    I am loading and then trying to combine 2 arrays to I can sort the final one:
    thanks!




    #include <iostream>
    using std::cout;
    using...
  21. Replies
    1
    Views
    1,330

    sort algorithm (merge?)

    Hello everybody,
    was wondering which would be the appropriate approach
    to merge and sort 2 filled arrays (ints).
    I have tried to implement a merge sort..
    but am wondering if this is the correct...
  22. Replies
    3
    Views
    5,144

    more ??

    Hi & thanks for the response..
    maybe you can help more...
    I am using the > operator as a member function to compare
    one object to the 'this' object...
    it works and compiles but when I attempt to...
  23. Replies
    3
    Views
    5,144

    Overloading < or > operators

    Hi all,
    I want to use a greater than operator and overload it to compare two objects of the same class thereby doing a bubble or selection sort to alphabetize...
    I understand the syntax (I think) I...
  24. Replies
    2
    Views
    2,059

    solution

    actually i was using a reference parameter and calling a pointer once i changed that..things were better the << operator instead of >> was an accidental typo - i hadn't attempted that function yet...
  25. Replies
    2
    Views
    2,059

    Operator Overloading of array output

    Hi all...
    I have a question regarding overloading of the << operator.
    I am using it as a friend function of a class in order to print out
    the private data of each object of the class when created....
Results 1 to 25 of 49
Page 1 of 2 1 2