| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Comments:
<0> wow you're smart <1> I get compliments all the time. Especially when I get my name on the first attempt. <2> c++ round robin? <1> I don't think that qualifies as a generic programming term <3> ok, I finaly understood what indent means <1> Maybe if you would quit flooding the channel, explain yourself, or use a paste site, one would be abliged to help <3> Run: no :) <4> I think the docs of boost are bad :/ <4> They don't even have a doxygen like overview of the whole API, no index, no cl*** listing, nothing. <1> doxygen is quality, although I find it overly verbose at times. <4> I'm using boost::serialization right? Can't find if (and which) header I need to serialize iterators. <4> /usr/include/boost/serialization/access.hpp:106: error: struct std::_Rb_tree_const_iterator<ShortName<Project> > has no member named serialize <1> serializing an iterator is an interesting concept... <5> what would serializing an iterator mean? <5> or do you want to serialize the thing it points to? <1> I don't think I have ever stored an interator as a member variable either.
<6> Drive by hi <4> It supports serializing pointers, so clearly it will support serializing iterators. <5> iterators aren't pointers <1> well, serializing pointers is a different concept though <7> Hey Solamente <7> Why would you want to rserialize a pointer? <7> *serialize <1> I dunno... lots of issues to address in such an idea <4> because I want to serialize a cl*** that has a pointer/iterator as member of course. <8> DrkMatter: eg. because you're serializing a graph. <1> well, what happens when the pointer points to a portion of a global array for instance. <7> Well, usually, you serialize to send over a network or store on a permanent medium... The pointers won't mean anything anymore once you unserialize them. <1> or somehting else weird like that <1> serialization of pointers would have to be an intelligent process and not a generic one in my head anyhow <8> DrkMatter: Boost.Serialization creates meaningful pointers when unserializing. <1> that goes for iterators too <8> (and it handles aliases properly) <1> well, if the pointer / iterator refer to something inside the object being serialized it makes sense <1> or something inside a group of things getting serialized I guess. <4> The docs don't even mention iterators :/ <1> but you know it supports it? or just ***ume it supports it? <1> I could see converting the iterator to an index like value, then converting back <4> It supports pointers and STL containers.... <4> So I ***ume it supports iterators <9> i think my compiler is playing up. coz i see nothing's wrong of this line of code <9> int x = 5; int p = &x; <1> basically, increase an integer untill start == current. then reverse the process at the other end <9> but an error occur <1> int *p = &x; <1> I think the use is playing up, not the compiler. <1> user too <9> Twister: tnx <1> hmm, I think there is an alternate way to acheive a similar thing too... but it alludes me atm <1> int &p = x; <1> I think is the other alternative for a true alias. <4> int& p = x; <1> ya... I knew it would come to me heh <9> Twister: won't work man <1> will too... whats your malfunction. <9> is * a dereference or a pointer? <1> either one, depending on context <9> coz in the book here it says * is a derefence and a pointer <1> well, it would be correct. <1> and a multiplication operator too <1> err well not necessarily multiplication... but usually... <1> all you got to know is that in initialization or in a parameter declaration, * means the object is a pointer. In most other contexts it dereferences a pointer object. <1> on the left hand side of an initialization rather. <9> why the commented block of codes won't work. http://pastebin.com/593748 <10> because they're commented. <9> coz i'm thinking it should work <1> *x <1> not ralph[x] <1> and vice versa for the other <9> Twister: so * will not work in size_type? <1> no. <1> size_type for vector is an unsigned int iirc <1> or some integer type of some sort... <1> and your still using != <9> k <1> do you pay any attention? <1> for index based loops you use <
<1> for iterators you use != or in some rare cases < <9> Twister: what's the difference ? <9> i think it yeilds the same result <1> good coding practice is the difference <11>, !amsg <11>, !quit <11>, !mode <text>, !switch-my-mouse-buttons <9> ahh k <1> I could right you hundreds of lines of the same code that 'work'... <1> but 95 of em would **** goat nads. <1> != and < are NOT equivalent. <1> so don't use them as if they are. Say what you mean, not what you think works. <9> k thanks <12> holy **** it is so nice out <12> it's like 60 <10> I beat you <10> it's 65 <10> (though in the negative) <12> going to be in the 70's this weekend too <12> spring is here with a vengence <12> !ame wtf <12> heh <1> char a[] = { /*256 charachters here*/ }; char b; cin >> b; cout << a[b]; <==== what do you think is wrong with that code javaq_? even though it will work 'most of the time'... <12> is that for not registering your IRC client or something? <1> lol <12> !switch-my-mouse-buttons is probably good for a laugh <1> ya haha <11>, !amsg <11>, !quit <11>, !mode <text>, !switch-my-mouse-buttons <12> !quit enough <1> lol <1> the author of that client should get a small pat on the back... but coulda made it slightly less anoying at the same time . <12> indeed <12> should have CTCP VERSION'd him <1> yeah <1> I was curious. <1> I wonder what 'secret' commands the autho left himself heh <12> it's probably a trojan going around appearing like a crack to some program <1> !do_not_p***_go_do_not_collect_200_dollars <1> possibly <1> although it would result in their zombies being kicked offline by random people <1> which would not be their goal <12> unless the point of the trojan is to teach an "*** clown" a lesson <1> haha <1> yes indeed. The world needs some more 'good willed' hackers around. <1> if the term 'hacker' can even be interpreted any standard way... <13> or it could be nothing related to a crack and just be seeking sympathy from the public and getting the last laugh above all <14> im getting "fstream unknown identifier" even after #include <fstream> <1> std::fstream <14> duh lol <12> heh, i love that <12> folded, and the next two cards would have given me a runner runner inside straight flush, with a possible with a fullhouse draw to top or middle pair, hah <12> would have quite easily doubled up <12> but with 56c, calling at this blind level with 10d9c10s on the board would have been stupid <12> beat 4600 players thus far, and 100 more to go before i'm in the payout structure: $.35 w00t <12> what a valuable usage of my time <15> What's that about 35 cents, khan <13> how long before you're on espn? <12> 10 years <12> it's a daily freeroll, so no buy-in, but the prize is peanuts <12> top price is only $100 <12> in a the few hours it would have took me to win first place, i would have made more than that, had this been my job, heh <13> cool <12> definitely the best i've done in one of these freerolls <12> as it's free, people play like crazy folk <13> haha <13> explain driving then <15> He can't, he's stuck in 1995 <12> driving? <12> 16 away from payout heh <12> blinds about to eat into me though <16> question about strings: " a string with many spaces " need it to be "a+string+with+many+spaces" using stl and boost, but the best I came up with is Trim() and replace() which replaces each space with a "+" and I need only one "+" between 2 words. <16> problem is strings don't allow to parse characters? <1> why not? <16> I tried it with vector and it worked, but why can't I parse a string one character at a time without using a character array <1> um, since when?
Return to
#c++ or Go to some related
logs:
12WHO SANG ABOUT DESMOND AND MOLLY JONES?
ciwawwa undernet rock trivia #MissKitten spog boo
#linux dupa hack Art of C Schildt uninstall plesk suse #linuxhelp
|
|