| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8
Comments:
<0> to programming modern apps <0> ie for GUI <1> cout/cin are console type thing <1> s <0> yeah <0> I just started to learn C++ so was wondering if it's just taught as a tool for learning, or if it is still important in the real world <1> only important in console apps <0> ok <0> hi vavvjr <2> mornin'g all <3> hola <2> Hola Quantum``... <0> hey <3> futurama++ <0> what's wrong with this code? std::string x; <0> std::vector<std::string> y;
<0> while(cin >> x) <0> y.push_back(x); <0> it seems to work with double and int <3> use getline to input strings <0> k, thanks <4> hi <5> i need random numbers <5> and rand()%maxvalue ****s. <6> Sure does <6> Can't find the c-bot token for the "better" way <7> boost.RNL <5> how bout an algorithm, not a library :P <7> pfft, that library is in TR1 <7> might as well get familar with it <8> NineVolt: Mersenne twister is one I believe <5> that's all new as hell <5> i don't need it to be -that- good :P <5> and it's not so much that rand() ****s, it's that i can't find an efficient way to limit the range of values it spits out. <6> ? <5> %maxvalue works fine for small maxvalues, but as they get bigger, the distribution becomes really really messed up. <8> eh? <8> yes, so use a better RNG no <5> that won't make a difference. at all. <5> you still get a random number, you still have to manually limit the range. <5> unless you don't... <6> http://www.c-faq.com/lib/randrange.html <5> aha! <5> many thanks :P <8> using a better RNG can make a difference <8> half time's over, back to Argentina vs S&M <5> crap. <7> i bet you like the S&M <5> "If this is a problem, about the only thing you can do is to call rand multiple times, discarding certain values:" <5> that's what i feared. <8> a good question would be <8> what's wrong with boost.random <5> i didn't code it. <5> i guess i can take a look at it though. <5> i find it easier to understand english-language algorithms though. <8> ok, then there's a whole load of PRNG algorithms out there <8> so np <5> they all seem so... computationally costly. <7> S&M is getting crushed <9> 6:0 ? <6> I love getting crushed when I do SM <1> your nuts? <7> that's stupid <7> he's obviously a post op tranny <1> speak for yerself <1> :) <10> it begins with s&m nut crushing and ends with post op trannys, sad sad :/ <6> Worry not |Serpent, soon you'll be one of us <6> And I don't mean a C++ programmer, that of course cannot happen <6> And then JBlitzen is only part of the post op trannys group <10> haha <10> i don't know where i heard it first, but i keep hearing "one of us, one of us" now, spooky :/ <10> prolly from simpsons <6> Anonymous alcoholics, you mean <10> there it is! <10> i wonder how you knew though...
<7> "one of us, one of us" is chanted by the animatronic gays during the epcot center ride featuring electric cars, sponsored by oil companies <10> peterhu, your english is confusing what's left of my brain :/ <11> your left ear? <10> i thought more like pineal gland, but yeah i might've just mistaken my left ear for that <6> *burp* <8> indeed <7> one of you bitches go get me a sandwich <8> false. <5> negative. <7> that wasn't a question <5> that's why i said negative. <5> my response was an interjection. <7> not moos <5> indeed. <8> no <7> and we all know moo is a bitch <5> i want a lasagna. <5> a whole tray. right now. <8> lasagna is yuck <5> and a spatula to eat it with. <7> better than whatever you freaky deaky eat in oman <5> Cowmoo : it seems that your sanity is failing you. <8> negative x2 <5> oh yea, you're the omani. <5> i forgot about that. <5> yea, lasagna's supposed to have noodles and cheese, not pebbles and sand. <5> you guys probably make it all wrong :P <7> there's an afgani restuarant near by, it's actually pretty good <8> haha <5> i've never had afghani food. <5> there's a paki place by me.. <5> and an ethiopian place, i've been there before.. <7> it's the only one i've ever seen <5> ethiopian food tastes great but looks really unappetizing. <8> I would like to eat lasagna at a super expensive italian place one day <8> perhaps in the hands of someone proper they can un-yuck it <5> nah, bad idea. <7> NineVolt: that sounds like asian food <5> if you go to a nice italian place, don't get a pasta dish. <5> get some seafood or something. <5> not a lasagna though, lasagna's like one of the most low budget italian dishes :P <7> watching a coworker eat a squid tenticle almost made me lose my lunch <7> had the puckers on it and everthing, blech <5> i eat squid tentacles like they're nothing. <8> um <8> khan is ignorant <8> he hates "seafood" <8> so please ignore at your leisure. <5> i hate seafood too. <7> sea food is for primative people <8> oh, another loser <7> eat evolved food, you monkey <8> I do <5> i like eating animals that are bigger than me. <5> like i feel bad eating chicken, it's too inferior. <7> but tasty <8> but sushi has a special place in my heart <3 <5> oh yea. i still eat it all the time :P <5> but it's not as satisfying as a bigger animal. <5> beef, or bison, now that's a food. <7> yeah, i like dinosaur <7> mmm <5> i wanna get into big game hunting. <5> **** man <5> i'm hungry. where's my lasagna... <8> as does a good filet mignon <8> I'm agnostic when it comes to eating animals <8> well actually that's a lie <8> anyway time for Holland vs Ivory Coast <8> (btw peterhu = gaey) <7> you are one lazy omani <7> well, guess i'll settle for quiznos <7> i wish a freaking pot bellies was closer than the office <7> as i'm working from home today
Return to
#c++ or Go to some related
logs:
#linux #php #chatzone KjuteBo0i linux vga=1440x900
etoya undernet
#linux Optiplex GX110 standby linux #Linuxhelp banned undernet php truncate decimal
|
|