| |
| |
| |
|
Page: 1 2 3 4 5 6
Comments:
<0> :D <1> Morning.. <2> every char is one bit, right? <2> Morning <2> I mean two <3> Nope <2> No? <3> It's CHAR_BIT(S?) bits <3> Usually 8 <2> I used the offset of the end of my file, to predict the length the array I needed. <2> But its flawed. <3> So what happened to your girlfriend <2> Because in a file a newline seems to take more space, than wenn I store it in an array <3> Your newlines probably are \r\n <2> She sleeping now <2> I cant remember
<2> does notepad show chr(10) <3> Why would it <3> You have 1 word per line? <1> hey- anyone have any favorite resources for how to use vector cl***es in C++? <2> Yes <1> I'm googling now- but I thought you people might have golden sources.. <2> http://www.codeguru.com/Cpp/Cpp/cpp_mfc/stl/article.php/c4027/ <2> just got this short wile ago <3> ifstream file( "words.txt" ); vector<string> v( ostream_iterator<string>(file), ostream_iterator<string>() ); <3> There, with some more () <2> Petskull... was that a good resource? <3> That was for you, Giovanni_ <3> (just in case the vector makes you think it's for Petskull) <1> Wow.. I like this page.. <1> thanks! <3> It's codeguru, it can't be good <2> MrAshe... I think I gotta dive into that myself <2> I bet this vector stuff means rewriting a big chunck of my code <2> Would it solve my \n\r problem? <4> hello <2> cant see how <3> Giovanni_: you'd have all the words in v <2> without \n and \r? <3> Yup <4> \r\n <2> And how do I access the words seperate? <3> v[x] <4> a she <2> ofcourse <2> Thanks <2> Any includes? <2> oow I see <2> #include <vector> <2> well thank you all for youre time <1> you're welcome <1> *smile* <4> cool <4> i just made a wrapper object <4> yay <4> for a plugin system i have for the nes emulator <5> hmm <6> anyone know finite domain constraint programming? <5> oh jesus christ <4> hewh <7> xp__ you mean some academic crap that a graduate student generated in the final year crisis of his Phd? <6> hi yes, I need to do job shop scheduling <6> finite domain constraint programming is the best way to do this with propagation and distribution schemes used solved spaces <8> [15:00] <3> ifstream file( "words.txt" ); vector<string> v( ostream_iterator<string>(file), ostream_iterator<string>() ); <8> except with istream iterators <9> how can i know if a variable hasnt been ***igned? <9> hi? <10> ***ign it, and then know that it's been ***igned <9> ? <9> anyone has da code to solve a quartic equation? <7> Therefore is a girl <9> ? <9> im gay.. <7> that explains why you can't solve a 'quartic' equation <9> lol <9> i just did <11> morning
<0> Hi julie. <11> i'm a boy ;) <0> Sorry Julie <11> np <11> JBlitzen do u know this linux IDE <11> his name is Ajunta <11> ? <0> No <11> k <11> a good IDE for windows <11> can u recomnad to me ? <8> visual studio is popular <11> i don't need a popular <11> i need a good one <11> what do u say rdragon <11> u recomand me something ? <8> it's popular, because it's good. <8> i recommend it. <11> k <11> will get it <11> i'll get it <8> hopefully you'll get it from microsoft.com <11> with money ? <8> the express edition is free <11> and the full edition ? <11> with money i supose <11> :-? <8> there are other editions, with features that most people never use <8> express should be good enough for you <11> what does not have the express edition <11> and the full edition have ? <8> it doesn't have the mfc source, and some other tools (like openMP features, etc) <11> hmm <11> this is advanced programming <11> im new in c++ <8> huh? <11> no ? <8> just use it. <11> where can i read about mfc , openMP <11> and other stuffs like that <8> you won't need any of the tools the pay editions include unless you're on a real team <11> a have a team <11> 5 guys <11> but u're at begining <8> sigh <8> then go read about the differences <11> u're learning basic steps <11> where ? <8> if you don't know what openmp is, then you're probably not using it <11> that right <8> if you don't know what mfc is, you're probably not using it <11> yes <11> that's corect <8> then get the express edition <8> microsoft.com should have a feature matrix somewhere that shows what you get with the bigger editions <8> poke around. <11> but with what can help me mfc and openmp? <8> google <11> k <11> another stuffs , i'll should find ? <11> mfc, openmp, ... <8> what are you trying to ask? <11> i didn't know about mfc and openmp <11> before u told me <11> are there more thing i should know ? <11> things <11> important tools ,things ... <11> are they ? <8> ...no <11> k <11> mfc , openmp and visual studio <8> what is your "team" of 5 people trying to do? <11> right now u're learning <11> 4 of us
Return to
#c++ or Go to some related
logs:
loghob bxejn rawta #linux #AllNiteCafe ghamorin *** No rule to make target `-lwrap' ftpd #AllNiteCafe #linux #linux dilbert2006915880202.gif
|
|