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



Comments:

<0> i'm obviously joking
<1> yeah i know =)
<0> Xeniaa, ask your question, correctly this time
<0> :)
<2> YUY0x7 ?????
<0> hehe
<2> YUY0x7 sometime you should read what the standard says about casting to void* then back to something else
<2> Xeniaa nobody here is really sure what you think you have to do
<1> standards? where we're going we don't need standards!
<1> hmm, my desktop keeps locking up
<1> fantastic
<1> 45C on CPU, 26C on motherboard
<1> seems fine
<1> fans are running slower, but i think i've got cool and quite enabled, let me check
<1> quiet
<0> char c = 5; cout << static_cast<int>(*reinterpret_cast<char*>(static_cast<void*>(&c))); there.. ;)



<3> arg
<3> i hate accents, especially on the phone
<1> indeed
<3> i *think* i was just interviewed for some kind of networking job
<3> but there's an equal chance that it was a 'general programming' job too
<1> heh
<2> peterhu what mb are you using?
<1> asus something or other (it's been 18 months, i'd have to check)
<2> what processor?
<1> amd64 3800+
<2> mine is a deluxe 8V or something like that
<2> but I only have a 3400+ i nit
<2> err, in it
<1> A8V deluxe sounds right
<3> i have a good ol P4 3.0GHz
<1> two promise SATA controllers in it?
<2> you running a 64bit OS ?
<1> i was, but not right now
<2> one promise one something else
<1> yeah one VIA
<1> everything worked great on xp64, except, at the time, CounterStrike: Source had a bad bug and valve didn't care
<1> since then they've actually released a x64 version
<1> i no longer play that game, so i may switch back sooner or later
<2> I guess I'll wait for Vista-64 before I switch
<1> vista 64 beta 1 ran fine for me (seemed to take the xp64 promise driver just fine), but there were no x64 LDDM drivers from nvidia at the time
<1> so i couldn't get any eyecandy going
<2> I think I've got an ATI 9800 in it (likely no 64bit drivers for it)
<4> i need some help...how can i write a std::string in a file stream ?
<2> filestream << yourstdstring
<1> <>< i made a fishy!
<4> ok
<4> thanx
<2> just like EVERYTHING ELSE
<1> now now, you can insert me into a stream
<1> can't, that is
<3> that would kill all the fishes
<1> but microsoft invented it!
<1> they also invented al gore
<2> thank the Lord for _large_ favors, that they didn't
<1> "preparing network connections" under a virtual machine takes roughly 10 years to complete before you can login
<1> so when my host OS locks, i lose about 10-15 minutes of time
<2> we timed it, it's only 9.713256 years
<1> good stuff
<3> hehe
<1> guess i've missed that deadline
<4> i need some more help...if i ***ign a std::string the value 'text', then i get this:
<4> warning C4305: 'argument' : truncation from 'const int' to 'char'
<4> warning C4309: 'argument' : truncation of constant value
<4> how can i fix this ?
<2> the0 you really need some books on C++
<4> i already bought one today
<2> I recommend the books at http://rudbek.com/books.html
<2> on that list, I trust
<2> and one uses " to delimit multiple character C-string constants, not '
<4> i live in romania, it's very difficult for me to order those books
<2> you should tell your government to get the **** out of the way of learning, then
<4> not the gouverment is the problem
<4> not at all
<1> conversion rates, probably
<4> the order itself is



<1> ah, retailers don't ship to romania?
<4> because if i buy a good book from here, it costs me $20
<4> yes, IF the ship
<2> it if ain't on that list, it's very unlikely it's a "good book"
<2> well, as far as C++ books go
<4> the worldwide shipping also costs arround $50 (from usa) as i know
<4> i have Bjarne Stroustrup - C++
<2> what edition?
<4> 3rd
<2> ok, you see how far down the list that book is? it's not because it's not a valuable book, it's that it's not the best tutorial
<2> it's a fine reference
<5> anyone know how i can actually put the variable content of x and y , and not the letter x and y in the macro: #define QSCOMMAND(x,y) (WORD('x' << 8) | 'y')
<6> hey
<2> huh? and why the hell do you want a macro?
<5> to use it in case in a switch statement (actually trying to)
<5> case (QSCOMMAND(s,m)):
<6> if i wanna make an irc bot using C++ what do i exactly need?
<2> a life
<7> Naked : you'll need to know c++
<6> my friend is an C++ engineer but he dont know mirc
<6> never joined
<6> he will help me
<6> but i need to get him what he needs
<6> any dlls?
<2> uX it's not clear what you want that to create?
<6> irc bot
<5> it would actually take 2 letters i hardcode in the code and would do a WORD with it so i can be used in a case in a switch
<5> something like that
<5> the only other way i found out is to use infinite if-else
<2> have you considered just 'sm' instead of your macro
<2> and it's not infinite anyhow
<5> i mean, very long
<5> how would i just use sm?
<2> I just showed you
<5> hmmm looks interesting
<5> i believe it actually does the same
<2> what are you writing that you apparently want to look at pairs of letters ?
<6> ?
<1> just talked to my old teammate at microsoft
<2> Naked what you've asked isn't answerable
<5> just decoding an old protocol for controlling variable message signs
<1> they're still working hard on the quality milestone
<5> and the commands are actually 2 letters
<1> i'm looking forward to that, personally
<6> oki
<8> vawjrwrk i must agree with your book list
<5> vawjr: does 'sm' create a char[2] ?
<8> Accelerated c++ is by far the best book to teach c++
<2> vatoloco you don't _have_ to, but I've read a helluva lot of books and those are the best (IMO)
<2> uX no, it creates an int
<2> which is good, because you can use an int in a case
<5> yep thatll do, thanks
<2> you MIGHT want to do some int const SadoMasochist = 'sm';
<5> i actually wouldve taken a WORD but int will do
<2> so that your switch statement isn't crowded w/ 2 letter codes that are hard to figure out for most readers
<5> yes but i believe that would take up more memory which i do not have
<2> it doesn't use ANY memory
<5> well if you create a variable for every 2 letters code?
<7> a constant, not a variable
<5> fair enough
<2> what memory limitations are you working with? what processor? what compiler are you using?
<9> what computer?
<5> dspic with 4Ko memory
<5> and using IAR something c++ compiler
<2> hmmm, maybe it will make a variable... I've not heard of that compiler
<2> who makes the chip?
<9> frito-lay
<5> microchips
<2> never heard of them either
<5> can i paste you something in private
<10> PIC is a pretty popular mcu these days..
<5> ya i heard this one is amazingly fast for maths purposes
<2> PIC ****s
<2> AVR are much better and the ARM is better yet


Name:

Comments:

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






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

#linux
PERLHOME windows
settlers were the forebears of the Boers of South Africa
#linux
#linuxhelp
#linuxhelp
#AllNiteCafe
#gentoo
#AllNiteCafe
strong dcc++



Home  |  disclaimer  |  contact  |  submit quotes