| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11
Comments:
<0> i did a project entirely drunk once in college <0> i think i managed to still get an A <0> i was actually in this channel at the time too <0> good times <1> heh <1> I obtained and HND in SOftware Engineering and I don't think I was ever sober lol <1> Higher National Diploma <2> Getting drunk is lame. <1> Well you normally end up that way, I agree. <2> I can't stand drunk people <1> Well, sitting at home spending 10 hrs a day on the computer a person gets thirsty. <2> Drink tea, or milk, or water, or jus d'orange. <1> I feel you are taking me to literally my friend. A few relaxing beers whilst getting my brain melted with 1's and 0's. <3> I like kool-aid, actually <3> Whereas khan likes the DNC kool-aid <2> A porn spam from a 10 y/o
<2> a/A/Ah/ <4> But then, I also see no point in desktop icons, so I guess it follows. <5> kool-aid isn't good for you <5> wine and beer are <5> you should start getting your daily alcohol <3> lies <5> to help prevent heart disease <5> and cancer <3> lies <5> lies? <5> that's always in the health news <3> lies! <5> 1-2 gl***es of wine a day is healthy <3> Well <3> It thins the blood a wee bit <5> it's part of the thinking behind the French paradox <3> And that does help prevent certain medical problems <3> It's not entirely clear what it might contribute to <5> what with their diets, but relatively low incidence of heart disease. <3> But anyway, I'm not concerned about either at the moment <5> red wine is very high in anti-oxidants too. <3> That can wait until I'm 50 years old <5> it'll be too late by then <5> the damage will be done already. <3> Sure, sure <3> You worry too much <3> Stop living near hippies <5> I'm the one who skis <5> and rock climbs <3> Hippies ski and climb rocks <5> anyway <5> dinner time. <3> Same here <6> If I have enum in public part of cl*** I can access this from other cl***. Let say I make a dll using managed c++, what should I do to make this enum accessible to dll consumer <7> A real enum or a managed one? <7> err.. managed c++, nevermind then <6> tough luck <6> no one is interested to open mc++? <6> i mean a chanel with that name <4> #c++/cli <4> I quit using the old one. <6> thanks <6> managed c++ is the old one? C++/Cli is the new one? is it? <4> Yes <7> NoobsGeek: mc++ died the day of it's birth <6> I feel that too <6> but I'm stuck with vs.net 2003 ide <6> hard to convice management to upgrade to 2005 <4> At least they're letting you use C++ rather than C#. <4> As ugly as the 1.0 and 1.1 Managed C++ extensions were, I preferred them over C#. <6> C++ is just for component ... I have to do apps using C#, so I'm just half lucky :D <3> vawjr, sol, noidea <3> http://www.usatoday.com/news/education/2006-03-01-dropouts-expectations_x.htm <4> Different set of circumstances. <4> From my experience, anyway. <3> From what <3> Oh <3> Well, I just thought it was interesting that the kids didn't feel challenged <4> I'm suspicious of the findings of a study that recommends, as a remedy, raising the required school-attendance age.
<3> Well <3> It didn't look to me like the recommendations had anything to do with the study results <3> Which is not in any way atypical for liberal studies <3> Haha <3> Hahaha <3> Ever watch My Name is Earl? <3> They're trapped hanging from ropes inside an empty water tower <3> After a few hours, Randy yells out "ricola" <3> Nice writing, haha <3> Sounded spot on, too <0> holy **** <0> JBlitzen ****s <8> startkeylogger <8> wohoo! <9> is there any reason why an object with a constructor that initalizes variables would only init. some of the vars and not all of them? <10> may be they are initialized, but without the values you want to <11> Klindel: All of an object's members (default) constructor are called, Klindel. <10> unless an exception is thrown (but this is unlikely your problem) <11> But some constructors initialize value, while others don't, for example, native data types like integers, pointers, etc. <9> ya, the default constructor for my object sets a variable called "count" to 0, yet valgrind is saying the variable is unitialized <11> valgrind? <10> DrkMatter native data types are initialized to 0 by constructor <10> but you have to call it manually :p <11> -_- <9> valgrind is a memory tool in linux that I use to debug my programs <11> Well, I can't tell much without seeing code, but either valgrind is making a mistake, or you are not understanding your code. <9> ya something is weird, I'd paste my code but its a lot to look at >< for some reason something at the top of a loop is running once while something at the bottom of th eloop is running 4 times, I don't understand it <12> :P how to iterate vector using for <9> http://www.rafb.net/paste/results/CLVJfZ77.html Thats my main function, the for loop on line 31 only runs once, yet line 146 prints 4 times and its the end of the outter for loop <11> GeekNoobness: What? <11> for(vector<T>::iterator iter i=yourVector.begin(); i!=yourVector.end(); ++i) { /* Use i */ } <9> iterator iter i? <12> i is of type? <11> Errr, take that "iter" out. <11> i is of type vector<T>::iterator. <9> ya I'm doing that on line 31 of my code <11> Sorry, I wasn'T paying full attention to what I was typing. =P <12> should it be i<=yourVector.end() ? <9> hrm, not sure, would that make a big difference? <9> ya it doesn't like <= <12> I just started with vector so i'm not sure, but if using i!=yourVector.end() doesnt that means the last element in the vector is not professed <11> No <11> It's != <12> *processed <13> .end() does not represent a valid element <13> it represents one-past the last valid element <11> <= would return true when it's == yourVector.end(), and that's iterator points PAST the end of the vector,. <11> ... Like rdragon said. I need to learn to type faster. <13> ;p <12> that clear it for me... <12> thanks <13> you could use i < end(), but not all iterators support operator<, so != is better <9> ya I still don't understand why it runs one thing in the loop only once and something else 4 times <13> *shrug* I've only just sat down, only read the end of this conversation <9> np <12> Just curious... is there a shorcut to vector that let say a method that take element and return back inde of the element <13> no - use std::find <14> or std::lower_bound if it's sorted <12> I just found that i cant do yourVector.at(i) becuase i is iterator, method at expect something like integer ... what is the correct way of doing this... <12> I already miss foreach :( <4> First of all, don't use .at() unless you really need checked access. <4> yourVector[element] <4> Where element is an integer indicating which element you want. <4> Starting with 0 <12> i try yourVector[i] and it gave me no operator found <4> Of course, if i isn't an integer. <12> in that case since i'm using vector<T>::iterator i inside a for loop, how should i use this i iterator to get the element of the vector <12> can i cast this i to integer? <4> That doesn't make any sense. <4> No, you don't cast it. <12> should i just doa normal for loop with int i <4> If you have an iterator, it's already a value. <4> I mean, points to a value.
Return to
#c++ or Go to some related
logs:
campulung mold #chatzone #c++ #linux #chatzone javascript roadblock #linux bare-foot girls dancing in the moonlight #windows #php
|
|