DoNotWant's Profile User Rating: -----

Reputation: 11 Tradesman
Group:
Active Members
Active Posts:
62 (0.04 per day)
Joined:
03-November 11
Profile Views:
4,079
Last Active:
User is offline Feb 10 2015 09:46 PM
Currently:
Offline

Previous Fields

Country:
SE
OS Preference:
Windows
Favorite Browser:
FireFox
Favorite Processor:
Who Cares
Favorite Gaming Platform:
Who Cares
Your Car:
Who Cares
Dream Kudos:
0
Icon   DoNotWant has not set their status

Posts I've Made

  1. In Topic: String splitting problem

    Posted 10 Feb 2015

    Well, now I just feel stupid! ;)
    Thanks, I have no idea why I didn't do that from the beginning.
    I did come up with another solutiong while walking the dog tho.
    I added if (!iss) break; right before the push_back, but your solution is way cleaner.
  2. In Topic: Scope problem with linked list code

    Posted 10 Feb 2015

    Node current;
    
    for (Linkedlist::Node *current = ll.head; current != NULL; current = current->next)
    {
    os << current->data << " ";
    return os;
    }
    


    You don't have a default constructor for your node. Also, why does your loop initializer look like that?
    This will also always return after the first iteration.

My Information

Member Title:
D.I.C Head
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:

Contact Information

E-mail:
Private

Friends

DoNotWant hasn't added any friends yet.

Comments

Page 1 of 1
  1. Photo

    simmu Icon

    27 Dec 2011 - 00:23
    hi
Page 1 of 1