| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12
Comments:
<0> I did see a movie about a guy who could shoot equally well with his left as with his right hand though... <0> </random thought> <1> =) <0> The only thing that I can do equally well with both is catch things. <0> I think that is because I catch on reflex.. and I use the hand that is most near. <2> My left balled and right balled <2> I can use both balls for everything <0> jsaacmk: That doesn't seem harder than playing a piano with both hands, does it? <3> I've always wanted to write with my right hand <4> maybe... I don't play much piano (none at all actually), but like fretting a guitar with my right hand is hard as hell <3> but I don't see how people do it <0> I started to write with my right hand as a kid. Later I learned to write left when I broke my right hand after -heh- a fight. <5> Kniht: you could practise <5> my brother's left handed and kept practising till he got it, haha <0> Sometimes I have to put my signature, pick up the pencil with my left hand because I'm holding something with my right and then realize that won't work, heheh <2> I can play piano with both hands, yet I cannot even hold a cup with my right hand
<3> I write left handed but play sports right handed <0> I think it's for a large part how much you train something. If you do things left-handed your whole life, then logically you can't do a lot of things right-handed. How much of that is really an inability to learn things? <3> something that did always confuse me is people that use a fork in their right hands, then put the fork in their left hand when they use both a fork and a knife <2> I always have my fork in my left hand <3> me too <0> Hmm, I do that too :) Kniht <0> swap that is <6> I'm also a swapper. <4> they don't want to cut their right hand off while eating a steak. it's too important to them <3> I don't think I even noticed it until HS <0> I don't like to poke with a fork left-handed in my face I guess. <3> but it was like "*wow* that works?" <6> But then ... I could use a knife with my left hand, too. <2> Can't use anything with my right hand <2> I bet I couldn't even *********e <2> :'( <5> lol <3> when I'm cooking I can cut with either hand <4> Ashe is that guy from Scary Movie 2 <0> I can't *********e left <3> but something about eating with a fork in my left has never changed <0> But I'm very left handed in playing chess ;) <0> So... I can ... play chess while ... <3> play blitz, use both hands :P <3> I like blitz irl, online it just ****s <0> Oh, I can play chess right handed very well too - it's just a strong preference. <3> ever heard of bughouse? <0> It's fun when I play with left, say, and my opponent having black, puts the clock on the other side with an evil grin... then I just smile back and start playing right handed, heheh <3> hah <3> I wonder if they still have tournaments wed. at the mall <3> Run: the other day you mentioned something about an online tournament, where do you play? <0> icc <2> Intel C Compiler? <0> internet chess club <3> chessclub.com? <0> I guess so <0> you have to pay :p <3> first google hit for icc chess <7> chessmaster not supporting direct ip game ? <8> Greetings, <0> I don't do direct ip anyway <8> Is it okay for a function to return 0 ? <8> or you do that only in main ? <2> 0 is just a number <3> if the return type is compatible, sure <2> Who cares if it's 0 or 15 <8> Yes, i want it for the shell exit code <7> whitewabbit it differs in differents compilers. <8> So, what do i do to the function so it returns the normal exit code to the shell ? <7> exit(); <2> meyrn: shhhh <3> whitewabbit: structure your code so that main returns the value <8> Okay, thanks <7> heh <2> Never use exit() <3> std::exit is usually wrong <0> I have a design problem for my C++ code analyzer: I want to make a link between cl***es/namespaces and projects... now NORMALLY there should only be a single project per cl*** or namespace... but I guess some morons define functions and/or cl***es in a namespace that really belongs to another project (ie, library). Shall I support that or not? And if, how do I store the project pointers then? In a vector? :/ <8> so the following is correct ? : <8> #include <iostream> <8> void show_message(void) <3> whitewabbit: http://rafb.net/paste
<8> (forgot using std::cout / std::endl ) <2> Run: like a db, struct { project * ; cl*** * ; }; <2> :p <8> okay <0> // Random comment here: read the topic <8> brb <7> Kniht why is that ? <3> meyrn: it doesn't free resources <0> Ashe: How does that allow me to store more than one project per cl***? <6> Run: There are libraries that require specializations to be done inside the library's namespace. IIRC, Boost.Serialization is one of them. <7> free res. ? <6> (template specializations that is) <3> yes, free resources. <2> Run: I guess you never used a db <7> it depends on if you free or not <9> there're should be only one entry and exit point (if you'd like to do favor for those who will read your code after you write it) <0> _m_: Ah ok ... then I need to put effort in figuring out which project a namespace REALLY belongs too :( <7> he/her not specifiy something. <3> meyrn: there are more resources than memory <3> meyrn: what if standard output doesn't get flushed? or a database handle doesn't get released? <2> Or if the rocket crashes <0> I suppose that if namespace N belongs to both, project P1 and P2, but no function that belongs to P2 ever calls a functions in P1, then the namespace belongs to P2. Something like that. <7> he/she didn't specify if free or not just asked to exit nevermind <0> Ok, that means I need to start with a project graph. <8> http://rafb.net/paste/results/EdG8sf24.html <8> there you go <7> whitewabbit for what ? :) <3> whitewabbit: in code that simply you don't need the using declarations, but it's fine <3> simple* <8> all i wanna know is what do i do so the shell variable keeps normal exit <7> oh <8> that would be : echo $? <3> whitewabbit: 0 is the value on most systems, if you want to be extremely pedantic, you can use EXIT_SUCCESS (from <cstddef> iirc) <8> Okay, give me an example of that in my code please ? <7> exit_success. <8> where do i type that ? <8> modify my code if you don't mind <4> Ashe, you said you had some G++ options that will hardcore test my code? <3> whitewabbit: your code already returns 0 from main, it's fine <2> I pasted it <2> [20:22.50] <@Ashe> FLGS_COM_CL = -x c++ -fabi-version=0 -ffor-scope -fno-gnu-keywords -fno-operator-names -fno-rtti -pedantic -pedantic-errors -Wall -Wcomments -Wtrigraphs -Wimport -Wundef -Wunused-macros -Wendif-labels -Werror -Wno-long-long -Wctor-dtor-privacy -Wnon-virtual-dtor -Wreorder -Weffc++ <2> -Wold-style-cast -Woverloaded-virtual -Wsign-promo -Winit-self -Wmissing-braces -Wparentheses -Wswitch -Wswitch-default -Wswitch-enum -Wunused-parameter -Wunused-variable -Wunused-value -Wuninitialized -Wunknown-pragmas -Wextra -Wfloat-equal -Wshadow -Wsign-compare <4> I didn't even see that <8> Okay, one last thing, what arg do you use w/ gcc <2> Guess it didn't work cause it was too long <8> so it includes the debug stuff ? <2> I just pasted it whitewabbit hehe <2> Ah, -g <2> iirc <8> Okay, <2> I'm too lazy to open the makefile again <7> not lazy even to lick the cpu however :) <8> I thank you guys. <2> Can't lick the CPU here, I only have my laptop <7> however you can reach even a laptop cpu with necessary tools... <7> :| <2> No such tools in this hotel <7> can throw to hotel door :) <4> no warnings anymore <3> is licking cpus some new psychadelic? mushrooms p***e? <2> It's just to go lower level than machine language <7> hehe <2> Damn, I'm out of dinosaurus <2> No more food <7> low level working with cpu heh <10> uhmmm <8> Anyone knows what's this about ? : symbol=_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c; lookup in file=/usr/lib/libstdc++.so.6 <2> Looks like a mangled name <8> code is : http://rafb.net/paste/results/jPr0R644.html <4> maybe install libstdc++ <8> Let me check. <4> and char *letter; cin >> letter; is horrid <4> char letter; cin >> letter; if (letter == 'y' || letter == 'Y') <4> that's better
Return to
#c++ or Go to some related
logs:
#MissKitten #c++ #AllNiteCafe loveboat mpeg4 set_ini maximum execution #skype #AllNiteCafe #c++ #MissKitten #php
|
|