Search:

Type: Posts; User: CowsOFFmylawn

Search: Search took 0.00 seconds.

  1. at hk_mp5kpdw moving the templated code to the...

    at hk_mp5kpdw
    moving the templated code to the header worked

    at nadroj
    it raises an error when 'Bub' classs is used. For now though, I only anticipate using the basic data types with this...
  2. 'stringstream' doesn't work; ie "dog" is now a...

    'stringstream' doesn't work; ie "dog" is now a stringstream object. It doesn't matter too much, unless the error is related to another error I have when I tried to test the complete subsystem.

    It...
  3. Wow I suck at this, I tried a simple class and I...

    Wow I suck at this, I tried a simple class and I got a similar linker error to the one I got before :,(

    here's the main


    #include "MessageReceiver.h"


    #include<iostream>
    #include<string>
  4. Oh my, don't I feel embarrassed. :3 It's always...

    Oh my, don't I feel embarrassed. :3 It's always something easy. The MessageReceiver:: thing solved it. I don't know why you had problems with ss>>t. It seems to work with both vc++ express and...
  5. Hopefully simple 'unresolved external symbol' problem

    I have an object that gets a list of 'Messages' (in std::string format) and it has to convert part of the string into either an int or a double. I found code online that appears to do this. The...
  6. Replies
    7
    Views
    1,525

    Thanks for the help!

    Thanks for the help!
  7. Replies
    7
    Views
    1,525

    No, but the program adds to the string one...

    No, but the program adds to the string one character at a time.



    string sTempString;


    vs1String.push_back(sTempString);
    vs1String[thisone].push_back(vc1TempChar[iByteCounter]);
  8. Replies
    7
    Views
    1,525

    So would char* pcTemp; pcTemp =...

    So would


    char* pcTemp;

    pcTemp = vc1TempChar[iByteCounter];
    vs1String.push_back(pcTemp);


    work?
  9. Replies
    7
    Views
    1,525

    Vector of Strings help

    I have a vector of chars and I'm trying to put the chars into a vector of strings:





    int iByteCounter = 0;
    vector<char> vc1TempChar;
    vector<char> vc2TempChar;
    vector<string>...
Results 1 to 9 of 9