@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9 10 11



Comments:

<0> which is why these "fights" (aruging over the internet is pretty stupid to begin with) start
<1> There's no fight
<2> then i better get going, coz i'm not veteran
<0> yeah, because i'm right
<1> And arguing is good if it helps you understand your own position and the positions of others better
<3> ya right
<1> For instance, I can confidently say that you = liberal because of our fights
<3> not when it comes to american politics
<1> Well, you have to know when to step away from an argument because there's no payoff
<1> That's why I didn't get into it with gribouille.
<2> i'm only a vegetarian
<1> Wtf would be the point
<3> I wish more people thought like that
<3> don't look at me, look at your society
<1> It'd be like beating up a drunk homeless guy
<4> JBlitzen, into what ?



<3> is khan drunk and homeless?
<1> No, but he does like boys
<3> ah, close enough
<0> only because i'm gay
<3> s/gay/gaey
<0> oh right
<2> Life is too short to accommodate petty bickerings
<1> 8 year olds think every fight is petty bickering
<2> may be you can void* bickerings it
<0> JBlitzen should know, he usually spars with 8 year olds, he finds them to be his intellectual equal
<2> some 8 year olds have more maturity then octogenarians
<1> That's not true, khan, I talk to you for totally different reasons
<3> zzzzing
<1> No, krg, they don't.
<2> it's mooooooo, not zing!
<2> what if the octogenarian is senile??
<2> sorry man
<0> ok, time to get some dinner
<5> Can Macro's have optional arguments?
<1> I note that if you're so emotionally uninvested in a discussion to not get riled, why are you even bothering with it in the first place?
<2> time p*** as we call it
<2> someone had better answer vlamer's question
<2> i don't know jack
<0> valmer, variadic macro?
<0> macros can't have default values, so your limited to defining multiple macros for each possible "overload" for the number of arguments, or a variadic macro (C99, C++0x; vc8 and gcc both support variadic macros in the C preprocessor)
<6> hmmmm
<6> has anyone heard of hotmail being blocked by routers?
<6> My mom tried to send an e-mail to her sister, my mom uses hotmail, her sister uses her ISP for e-mail
<6> and my mom's mail got bounced with a no relaying error
<2> bye bye
<6> I tried sending the sister an e-mail from my hotmail account, and got the same no relaying error.
<0> what's "hotmail"?
<6> I still think it's the ISP htat's at fault here.
<6> what do you use peterhu?
<6> I use my own domain for e-mail
<6> I hate webmail.
<0> i don't remember search engines before google, web based email systems before gmail, and communications technologies before cable
<6> oh well, I think it's the ISP
<6> not some router along the path filtering all traffic from hotmail
<6> that sounds like BS to me.
<7> c-bot exit
<7> no c-bot, ok
<8> good morning
<8> a friend is asking a question through me...
<8> can you declare a pointer in main, p*** the pointer to a function, allocate there, and then use the data when back in main again?
<9> of course.
<8> we're both getting runtime errors (segfault) when we try it, with separately-written code
<8> he tried with a list<char>, I tried it with the same and with a simple int
<9> well, paste your code on the paste site
<8> the segfault comes when accessing it
<8> k, I paste
<8> site's down, I'll use another paste
<9> well anyway, I guess is that you both did void func(int*p) { p = new int[n]; return; } and then used the pointer p***ed to...
<9> which is wrong
<8> yeah that was pretty much it
<8> what's "right"? :)
<9> well.. C++ p***es by value, not reference, so you were writing to "p", and not the pointer p***ed to
<9> there are several methods
<8> taking p by reference being the first that pops to my mind
<8> though I'm not sure what the syntax would be
<8> func(int*&p){} or similar



<8> or no, it'd be in the function call
<8> function as written above, but called with func(&p);
<8> ah, the first one worked
<9> http://rafb.net/paste/results/UBoJG918.html
<8> thanks for the tip... or, um... pointer
<9> haha
<9> yours works too, but it's rather ugly
<8> lemme inspect yours before I ask why mine's ugly :)
<8> yeah, f1 was the second-choice approach, but introduced changes elsewhere
<8> so how is mine (void func(int*&p){}) uglified from f2?
<8> seems like they do the exact same thing, but f2 has an extra level of indirection in the syntax
<9> f1 and f3 are most common
<8> f3 is when I start thinking "is there an STL approach that keeps its own damn track of sizes?" :)
<9> the reason f2 is slightly better because of compatibility with C
<8> mine doesn't work in C?
<9> no
<8> huh.
<8> why not?
<9> because it doesn't
<8> what specific feature of C++, lacking in C, allows that syntax?
<9> references
<8> if I may clarify my question :)
<8> really? C doesn't p*** by reference?
<9> neither does C++, hence the addition of & in the language
<8> that's what I meant
<8> "C doesn't allow p***ing by reference using ampersand?"
<8> guess I never tried to use it when I was in pure C
<9> better not talk too much about C in this channel
<8> whoop
<8> *zips lips(
<8> *
<8> anyway, thanks much
<10> anyone here wnat a laptop , 450$ and you get the laptop. message me if interested. its made by alienware.
<11> I want a laptop!
<10> anyone here wnat a laptop , 450$ and you get the laptop. message me if interested. its made by alienware.
<7> me too.. i bid $600 for it
<10> anyone here wnat a laptop , 450$ and you get the laptop. message me if interested. its made by alienware.
<11> He said it twice! It's spamming!
<11> Thrice!
<12> it's also an open proxy.
<13> that guy has been scamming alienware laptops that "must go today" for years now
<0> someone should send him a PPPPPP-Powerbook
<0> good lord, i get 1600 KB/s to sun's servers
<0> not to shabby
<0> too
<0> that pretty much maxes my connection
<0> downloaded the jre .bin in a few seconds
<0> me likes
<14> I hate chasing down bugs in MS code....they never pay me for it
<15> Can someone help me with graphical functions?
<16> Or can they point me in the right direction
<17> WHy don't you ask...
<16> Debugger can you help me?
<17> Ask the * question ;)
<16> What functions are there for making pixels in Dev-C++?
<16> Is there a function database to sort through?
<17> Learn to use windows GDI
<16> Where can I learn that?
<17> With that, you'll be able to draw simple things
<16> all I know is cout functions
<17> ishh..
<17> Then you should forget graphics for the moment and learn the language
<17> http://www.functionx.com/win32/
<17> TO give you an idea
<16> thanks for the link
<17> You're welcome
<16> I heard it is very easy to program in console mode
<16> with a pixel
<17> It was easy in real dos, i dunno for console
<18> Does anyone know a good cross-platform unicode to utf8 convertion helper function?
<18> I currently put togeather this function: http://pastebin.com/560711
<18> but it's probably flawed,..
<19> Why are you using new and then free() instead of delete?
<18> i used delete initially with malloc, but i got yelled at. :)


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #c++
or
Go to some related logs:

apache oracle could not bind to port 443
kwrite for windows
#MissKitten
9stone10
.add(north java
#teens
#linux
#AllNiteCafe
heaos define
mirc trivia malti



Home  |  disclaimer  |  contact  |  submit quotes