@# 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



Comments:

<0> Yah
<1> or 40k jr bacon cheeseburgers
<0> Good company?
<0> Heh
<1> not really sure
<1> they do console games
<1> http://www.backboneentertainment.com/
<0> Heh, thought you meant command prompt for a minute
<0> Zork 8!
<1> oh, lol
<1> yes, i'll be writing BBS Doors ;)
<0> :D
<1> LORD eat your heart out
<0> Actually, I have command prompt games installed, sort of
<1> hehe
<0> Blue Sky



<0> Speaking of games, did Brokeback Khan download the BF2 patch
<1> his wife didn't mention it tonight
<0> Heh
<1> mmm, i almost feel like ordering pizza
<1> papa johns has garlic breadsticks now
<0> Whee
<0> Pizza hut
<0> Online ordering
<1> pizza hut = garbage
<1> papa johns has online ordering too
<0> Personal pan pizza + cheese breadsticks + garlic dipping sauce = $9 delivered
<1> personal pan = for sissies
<0> Yeah, I'm not fond of their stuff any more either
<0> Anyway, time to try out that BF2 patch
<0> bbl
<1> seeya
<2> bleh
<2> who wants to move in with me
<3> my current windows installation is reaching it's end... everything is crashing around.
<4> rdragon why pizza hut = garbage ??
<3> they spit on it
<4> pff bull****
<4> haha :)
<3> a friend who worked there told me he did that :D
<3> he worked at kfc too, same storry, it may be just him (maybe he likes to spit in stuff), but I'm sure he's not the only one
<1> pizza hut has always been garbage
<1> even papa johns doesn't compare to -real- pizza
<1> but pizza hut is about the farthest you can get
<1> the crust is like... chalky, the cheese is crap
<3> it's because of the spit :))
<3> anyhow, I like it
<3> in my town is one of the best pizza you can get
<1> what are the other choices?
<3> sherrifs, il calcio (better, but too expensive) and the rest really ****s
<1> so buy some dough and make it
<3> I barely can make fries
<1> hehe
<4> hahaha
<4> welcome to my boat
<3> that's why ppl are working, if they won't afford to eat outside, they'll be forced to get married :P
<3> a wife is lika a "2 in 1" products
<3> she cooks and she does other things also
<3> I'll get one myself, someday
<3> how can I get rid of this sintax: *((struct in_addr*)&addr)
<3> ?
<5> mmm, $125 dinner for two people
<5> freakin' valentines day
<6> sk8ing, what type is addr?
<3> in_addr, it's a structure 4 bytes long
<3> addr is 4 bytes long too
<6> then why are you doing that? &addr is equivalent
<3> I don't need a pointer
<6> well, actually, you're dereferencing at the end, so addr is sufficient
<3> it tells me it can't convert it
<6> actual message?
<3> cannot convert DWORD to in_addr
<3> :)
<6> that doesn't make sense if what you say is true.. maybe you should post the real code
<3> in a minute
<3> error C2664: 'inet_ntoa' : cannot convert parameter 1 from 'DWORD' to 'in_addr'
<3> for inet_ntoa(addr);



<6> can you post the relevant code?
<3> there's nothing relevant :)
<3> DWORD addr;
<3> that's it :)
<6> so addr is DWORD, not an in_addr :P
<3> yes :)
<6> why is it DWORD?
<3> that's what I get as value from an ip address control
<6> oh, and are you certain that the cast works correctly?
<3> yeap
<3> it gets the ip in reverse order
<3> but I'll fix that
<6> doesn't in_addr have a member which you can set?
<3> it has... but I wannet to do it on a single line :)
<3> *wanted
<6> why? it makes it unreadable
<6> btw, you don't need "struct " in the cast
<3> I tryed at first with (struct in_addr)addr
<3> that's why it's still there
<6> no need for struct there either
<3> it wasn't working, I had to try :)
<6> yeah, (in_addr)addr will probably not compile if addr is a DWORD, though i'm not totally sure on that one, i don't usually use C-style casts
<3> i tryed with static_cast too
<6> yep, static_cast will absolutely fail there, correctly
<6> *static_cast<in_addr*>(&addr) would do what you want, though i'd recommend to stay away from such approaches
<3> it's the same thing :)
<3> well... noone will see it :P
<6> yeah well, your choice
<6> oh my bad, static_cast fails there, i was thinking of reinterpret_cast
<3> why is static_cast failing?
<6> sk8ing, because static_cast checks if a conversion from one type to another is possible
<3> as in copying data?
<3> or trough the objects methods?
<3> like static_cast<string>("Sadfs"); will be the same as string x="sadfs";
<3> x being the temporary object :P
<6> DWORD* to in_addr* is not possible because they're incompatible types
<6> sk8ing, yeah, afaik, static_cast<string>("Sadfs"); would do the same as string("Sadfs");
<3> so, it tryes to do it trough the constructor?
<3> I should play a lil with it to see wich are it's limits
<7> Hi guys
<6> static_cast can convert from Base* to Derived* and vice versa, but practically no other T* to Y* conversion, iirc
<6> well, Y != void
<7> i got 2 questions about this : typedef struct { .... } mystruct; mystruct myvar[10]; <--- first of all, what is the exact role of "typedef" i don't understand what MSDN means by "The typedef keyword defines a synonym for the specified type-declaration."
<6> StaZ[home], you don't need typedef there in C++
<6> struct mystruct { .... };
<7> lol, some other guys just told me that c++ REQUIRES typedef... that's very fun, but what its role?
<6> but basically, typedef defines a new name for a type
<6> typedef int MyInt; MyInt x = 10; // same as saying int x = 10;
<3> it's role is from letting you write less
<7> okay i understand now...
<3> instead of std::vector<MyCl***LongName>::siz_type
<7> why would my tutorial use it in the form i specified above , any idea?
<7> the tuto doesn'T specify, and i really wanna understand :P
<8> typedef struct {...} mystruct; is a carryover from C.
<7> oh now that's a good explanation!
<7> thanks yy2bggggs!
<3> tho, it's a good thing it's specifyed in your book, in this way you won't mistake the typename with the variable
<3> probably it's there just to make sure you get it
<7> that's a nice point of view
<7> thanks for the nice data guys :)
<9> can anyone tell me the meaning, use, examples, etc for __stdcall in c++
<9> Justin_T, :D
<9> did you ask in here?
<10> :)
<11> __stdcall is actually not part of C++
<11> its a MS Windows calling convention
<10> The __stdcall calling convention is used to call Win32 API functions
<11> you use it when you need to call a function that uses that particular calling conventino
<2> whatever's not __cdecl
<2> is good
<5> holy bejesus Solamente ****s
<12> hi
<12> I know this is C++, but I am looking for people who can code f77
<12> anyone?


Name:

Comments:

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






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

#mysql
#teens
#london
IE7 DOMParser parseFromString
#AllNiteCafe
mahha lele
tia carrera miff
HOW OLD IS LEANN RHIMES
DKreator
soso el amora



Home  |  disclaimer  |  contact  |  submit quotes