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...
Type: Posts; User: CowsOFFmylawn
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...
'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...
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>
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...
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...
Thanks for the help!
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]);
So would
char* pcTemp;
pcTemp = vc1TempChar[iByteCounter];
vs1String.push_back(pcTemp);
work?
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>...