| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13
Comments:
<0> .fr is not for work <1> guys I have a string with \r\n as end of line, I'm saving it, I'm loading the file into a string then i do mySStream << myString; and I do a getline on mySStream. The returned value is the whole stream <2> but your p***port, it says you are from <insert name here> ? <0> .be <1> how can I add an eol to a string that getline understands? <2> belgique ? cool <0> getline takes an delimiter <1> cool, tx <3> how did you read it into mystring? <0> http://img21.imageshack.us/my.php?image=roudouhome29vu.jpg <= home! <3> neat <1> with getline <3> what kind of tv is that? <0> Plasma <3> i mean, make/model <0> Philips 50"
<1> while(getline(f, sx)) s+=sx; <2> TF1? TlFrance1 :P? <4> http://ewick.servehttp.com:81/snow.JPG <1> I didn't knew it's looping only once :P <0> Ja <3> yeah, sk8ing... I don't think that preserves the line breaks in the string <4> could be a nice picture if it weren't for that damn telephone pole <0> Poor poor EwIck's upload bandwidth <4> I don't know how much I get <4> downstream is quite okay <1> rdragon... I should do s+=boost::algorithm::trim(s) + CRLF; <2> i'll upload some images for you <0> How many MP is that <3> why do you need to read the whole file into a string, then put it into a stringstream, and then use getline to get each line out again? <0> At least I've been nice, I did downside it 16x <4> let me check <1> I get a serialized string in many places <2> http://img487.imageshack.us/img487/2826/dscf06354va.jpg <4> it's 4 mp <2> it was in automne i think <0> 4 MP is nice <0> More is useless <0> The one I just got is 8 MP, and it's so big I have to downsize the images anyway <4> yeap <4> it looks great if you print the pics though <0> Guess I'll try to find where you set the default size <0> LuiGGi: that's .ar? <2> rigth <2> right or wherever <0> I should tell my boss I want to go in south america <0> I'm starting to get tired of eastern europe and middle east :> <4> so.. only one of your neighbours can afford a car huh? <2> eastern europe? and what about the weastern europe ? <0> I'm already in western europe <5> hi all <2> hi <5> did any one use leadtools toolkit? <2> Ashe, what's you job ? <6> hello guys <6> what will be the easiest way to erase the inner spaces inside a string <2> "people has just applauded me once, when i got lost at the beach" loool <2> remplacing " " by "" ? <6> like "hello this is a test that i only want one space between the words" <2> ok im getting out, see you soon (j'espre :)) <5> did any one use leadtools toolkit? <6> can someone point me at the right direction? <5> did any one use leadtools toolkit? <7> KBM: somethink like int s=d=0; while (d!=strlength) { if (str[d]!=' ') str[s++]=str[d++]; else d++; } str.resize(d); <7> ohh that would remove every space <8> is this a good way to check for a space character in a string iterator: while( *iter != ' ' ) ? <8> my program keeps going after the ' ' character <8> hmmm <6> ok? <6> i dun get it <6> while( *iter != ' ' ) what does that do? <8> I'm going through a string, which iter is an iterator for <8> it's not detecting ' ' in the string <8> ... in my condition <8> u get it? <8> std::string::iterator iter = temp.begin(); <3> pfloyd345 what are you trying to do?
<8> how would you go about splitting a sentence into words which will be input as variables into data members <8> ? <3> std::stringstream ss( some_string ); std::string word; while( ss >> word ) { ... } <8> I just need to test for a certain character, namely this one =-> ' ' <8> I did while ( *iter != ' ' ) to say that but it's not working <3> pfloyd345 please explain what you're trying to DO, not your broken solution <8> ok, I am inputing information from a file, and trying to grab certain information, first I copy a line into a temporary then I check for a "A: " before what I wrote in the file to be the name, and i'm trying to input that info into a variable 'string' <9> Is it possible to make a dll from c++ code? <8> brb gonna smoke a ciggie and think <8> maybe I need to go character by character <9> Is it possible to make a dll from c++ code ... I've read it is, but I'm not the programmer, and I need a dll...the program I use says it accepts them <3> yes it is, Aeggie <9> I have a .cpp file <3> pfloyd345 - so, your line is space delimited? <9> but I need to know how to makie it into a dll <8> yes <3> <3> std::stringstream ss( some_string ); std::string word; while( ss >> word ) { ... } <8> should it be comma denoted or something else? <3> tip: make it tab delimited <8> ok <8> how does ss >> word work ? does it input one character at a time? <3> it works like cin >> word; or file >> word; or any other input stream <8> ok <6> ok say i have a nested loop inside a loop how can i break out of one without the other <3> break; <6> beacause im breaking out of both <6> http://www.noidea128.org/sourcefiles/15849.html <6> ignore line 5 <6> line 10 and down is where the problem lies <3> so what's the problem? <6> the break <3> looks fine to me <6> is breakin out both loops <8> I already inserted into a string from my ifstream like this: OpenFile.getline(ch, 100); temp.append(ch); <3> probably because exit == false <6> and it should only break out the for <3> while(!exit) is the same as while( exit == false ) <3> probably because exit == true, rather <3> did you use a debugger to figure out what happens? <10> if(iCount >= iCount < rsSource.length()) <10> I must admit this line puzzles me. <6> lol <6> that was the error <10> And since it'S what decides wether exit is true or false, and it doesn'T make much sense... <3> yeah, rewrite that <6> it works now <10> Are "break" instruction usually bad form? <11> CC? <10> I know I don't like them, but I don't know if it that opinion is shared by most. <3> DrkMatter - bad form? it's how you break out of a loop prematurely <3> if you need it, you use it <11> i don't use #include <3> #include isn't ever needed <11> indeed <11> it's usefulness is hyped <6> ok explain <6> wat do u mean #include isnt always needed? <3> exactly what I said <11> sigh <11> new furniture coming on saturday, woot <11> finally, people won't see an empty room for the first room they see when we open the door <8> cool <12> Finally made that trip to Ikea, eh <11> pfft <11> though, ikea would be ritzy for someone living in a trailer, i would imagine <11> unfortunately, as you're unemployed, you can't splurge <12> I keep hearing good things about it, actually, but I'm convinced it's because reporters are idiots <11> it's cheap crap <11> and you're routed like sheeple <12> That's my take on it <12> Wtf routed <11> there's a line on the floor for recommended following <11> they're usually as crowded as a walmart <11> with the same clientele
Return to
#c++ or Go to some related
logs:
fixedBackground + javascript #AllNiteCafe #teens #chatzone grub hangs at LOADING STAGE 1.5 poweredge strace -f -o logfile #fedora jaceri boy17 #chatzone
|
|