Search:

Type: Posts; User: StealthRT

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    1,818

    Alright, I’m done with this. If the only help I...

    Alright, I’m done with this. If the only help I get is people who know how to do it and look down on those who do not then that is what the real time waster is and not that I try to post in a few...
  2. Replies
    6
    Views
    1,818

    Helps a lot there. I came here to post the same...

    Helps a lot there. I came here to post the same since i wasent getting enough help from any other ones that i understood.

    David
  3. Replies
    6
    Views
    1,818

    Linked List deleting Help

    Hey all i am trying to delete a set number of items in a linked list. Here is the code for delete my item.


    void unorderedLinkedList<Type>::deleteNode(const Type& deleteItem)
    {
    nodeType<Type>...
  4. Replies
    20
    Views
    3,203

    Got it working finally! YAY! :) cout

    Got it working finally! YAY! :)


    cout << "Address: ";
    cin.ignore();
    getline(std::cin, theAddress);

    Thanks for the help!

    David
  5. Replies
    20
    Views
    3,203

    i get an error: cout

    i get an error:


    cout << "Address: ";
    cin.ignore();
    cin.getline(theAddress);
    //cin >> theAddress;

    the error is:
  6. Replies
    20
    Views
    3,203

    And this is my full code: #include ...

    And this is my full code:


    #include <string>
    #include <assert.h>
    #include <iostream>
    #include <windows.h>
    #include <fstream>
    #include <limits>
  7. Replies
    20
    Views
    3,203

    this is my output after i do the cin.ignore(); ...

    this is my output after i do the cin.ignore();




    cout << "Relation (Family, Friend or Associate): " << endl;
    cin >> theRelation;

    cout << "Address: ";
    cin >> theAddress;
  8. Replies
    20
    Views
    3,203

    I still get the same results when using getline()...

    I still get the same results when using getline() on the address.

    The output looks like this:


    David
  9. Replies
    20
    Views
    3,203

    Thank you, laserlight, for telling me politely...

    Thank you, laserlight, for telling me politely how this forum works. :)

    However, if I were to say, post this same question on this forum under c and c++ and anything else associated with c then...
  10. Replies
    20
    Views
    3,203

    heres the whole program: #include ...

    heres the whole program:


    #include <string>
    #include <assert.h>
    #include <iostream>
    #include <windows.h>
    #include <fstream>

    using namespace std;
  11. Replies
    20
    Views
    3,203

    Ok, i fixed the errors: bool tryitout() {...

    Ok, i fixed the errors:


    bool tryitout()
    {
    extPersonType thePerson;
    addressType thePersonAddress;
    dateType thePersonDate;
    string fName, lName, theRelation, theAddress;
    string theCity,...
  12. Replies
    20
    Views
    3,203

    Ah, ok i just saw that i had it inside the...

    Ah, ok i just saw that i had it inside the tryitout() and not the main:


    int main(){
    int repeat = 0, theUserInput;


    However, i am still getting an error:
  13. Replies
    20
    Views
    3,203

    Help with functions and cin

    Hey all i am having 2 problems.
    - first problem is that i am unable to run the code with the function inside the switch. For some reason it keeps giving me these errors:


    - Second program i had...
  14. Yep, i just noticed i had "string" instead of...

    Yep, i just noticed i had "string" instead of "int.


    string addressType::getZip() const
    {
    return addrZip;
    }

    string extPersonType::getNumber() const
    {
  15. Classes and redefinition; different basic types help

    Hey all i am trying to compile my code but i keep getting "redefinition; different basic types". Here is the error log:

    And here is my code that its having problems with:


    #include <string>...
  16. Replies
    6
    Views
    1,988

    private variables, functions help

    Hey all i am having some problems with an assignment of mine. This is the code it reffences to:


    class xClass
    {
    public:
    void func();
    void print() const;
    xClass ();
    ...
Results 1 to 16 of 17