@# 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> Nice one m8
<0> i didnt realise its case sensitive like linux
<0> appreciated
<1> argh, broke a drill bit
<1> and whomever designed the gate under my deck needs to be shot
<1> the only way you can attach a latch is on the lattice work, and it has to bolt into lattice
<1> so you basically have to use the puniest of screws so it won't split open the lattice, or you split it a little and hope it won't tear off eventually
<2> heh. I can imagine a breeze ripping the lattice off.
<1> the previous latch held for some time, until the weight of the gate misaligned the bolt (and it completely rusted through)
<1> we'll see how it does
<3> hello
<3> Tantric Wesley, Addison - Accelerated C++ pdf.rar is this Red Book from list?
<4> anyone :)?
<5> rm -rf ZiRa
<5> /ban ZiRa
<5> BUY THE BOOK



<4> allready ordered
<4> delivery few days so i wanna chk pdf before i recive it
<5> And we're all retards, right ?
<4> :S ?
<4> something is wrong with you?
<6> fdasf
<6> don't kick me
<5> Why not =)
<7> after including windows.h and winuser.h I still get undefined error for TrackMouseEvent
<6> holospoof: have you defined _WIN32_WINNT?
<7> no what do i have to set it to
<5> < 0x0400 iirc.
<7> lol i would give anything to see an entire computerlab struck by a virus that goes Beep(rand(), 1)
<4> lol
<4> visual basic can be decompiled , what about c++ ? cant?
<8> can't
<7> why cant?
<8> there's nothing in the executable to hint at what the source is
<8> and I've never seen a decompiled visual basic source, so I have no idea of how well it's done
<7> you can decompile any executable into asm though, right?
<9> i got a question
<8> holobyted asm is simply human readable flavor of the actual instructions the computer is executing
<9> I have a sum of numbers. Why it returns me 0255 , instead of only 255 ? Anyone knows a reason ?
<8> P-Brasil you've been around long enough to have read the topic
<8> how do you know it's returning you 0255 ?
<9> cout
<8> and what does your output statement look like?
<9> can i post only this part of the code ? Because it is too big
<8> sure
<9> http://www.noidea128.org/sourcefiles/16006.html
<9> I added a comment. Try with the sequence "123456789" , because this result i have right(in the notepad) to test my program.,
<10> what do std::cout; and std::cin; do?
<10> why are you #including conio?
<8> and what is the program SUPPOSED to do?
<9> conio,because i am having problems with getchar()
<10> getchar is in stdio
<9> in U.S. , there's a social security number right ?
<10> yes
<9> here,we have something like this called CPF...composed by 9 numbers,and after then two digits to verify if the sequence is valid, understood?
<10> ok
<8> check digits
<9> Yeah
<9> check digits,nice way to resume.
<9> But can u see the problem ? The result of the sum is allright , but i can't understand why it returns me 0255.
<9> Instead of 255 only.
<8> no, I have NO idea what it's doing
<10> man I'm bored
<10> I feel very tired too
<8> maybe d10 is 0
<9> From line 15 to 25 i extract the numbers from the variable cpf,as u can see right
<8> P-Brasil did you see my comment
<8> you output d10 then soma2
<8> on the same line
<9> lemme see
<8> with no spaces
<9> From 30 to 34 i define what is d10
<8> who cares
<8> you OUTPUT it, then you output your sum
<8> if d10 is 0 and the sum is 255 then you will see 0255



<9> ohhh i seeee
<9> now i see
<9> vawjr
<9> for "remembering" reasons,i decided to do not use loops,arrays,etc...
<9> thats why the code looks ugly
<8> your calculation of the digits is silly
<9> yeah...no parenthesis,nothing
<9> i will make things nice l8r...there's something i learned
<9> first, put the engine working...l8r , you make optional adjusts :)
<8> most peole do the divide 1st, then the modulus
<8> because then all the modulus are the same..... 10
<9> Well...the way i did those operations , is the way i think when solving a equation , a derivate...i prefer to go directly to the point. I know what result i will need,then i solve only one thing and get my result.
<10> parens won't matter
<9> I am sure that in the future i will see that this idea is wrong. But , for now is working.
<10> order of operations doesn't matter in that situation
<10> anyway, shower time.
<9> well...still getting the zero.
<10> ugh
<10> change your cout soma2 line to
<10> cout << endl << endl << endl << "\"" << soma2 << "\"" << endl << endl << endl;
<10> there
<10> no mistaking that.
<10> actually add
<10> cout << endl << endl << endl << "soma2 = \"" << soma2 << "\"" << endl << endl << endl;
<10> there
<9> Noide
<9> the cout << soma2 was only to see the result
<9> it isn't needed :)
<9> thx for the attention.
<10> what are you talking about then?
<10> if you're still getting the 0
<10> where are yous eeing it?
<9> i found that the problem is in d11
<10> you only print it 1 place.
<9> i will poste the whole mess :P
<9> *post
<10> ugh, go ahead, I'm going to shower and get dinner.
<10> later.
<9> http://www.noidea128.org/sourcefiles/16007.html
<9> the whole mess is there
<9> hahahahahahahha
<9> hahahaha
<9> solved...
<9> man i'm so dumb
<9> i'm retard
<9> really
<9> i was using the same modulus result at soma2
<9> and vawjr...maybe u can help me in a question
<9> how about if the number starts with zero ? it will not store the zero. could u give me a clue about what i can do to byp*** this ?
<8> P-Brasil what you have is _so_ far from how i'd solve it, I'm having difficulty figuring out what you want to do
<8> and I don't know what you mean "will not store the 0"
<11> Vawjr you know anything about network programming. If you or anyone does I'd really like a few minutes to discuss some stuff with someone about it.
<11> btw, the C++ Express with the vc8 *thumbs up on that one* thanks a lot.
<9> Well vawjr
<9> just suppose i have one int variable , and the number 012345
<9> No,sorry
<9> Lemme make the question again,i am sorry.
<9> int number; cin >> number; [you typed the number 012345]
<9> you know that the "0",won't be stored,it will store only 12345
<11> So store it in a string and pick it apart if you want the 0, right?
<8> what is "number"
<8> and why do you care if it's "stored" ?
<8> a larger problem is that if you type 012345 that ti will think it is octal
<12> anyone able to suggest an idea how to handle linear permutations? i.e. {1,2} {3, 4, 5} vs {1 , 2, 3} {4, 5}? Can't seem to solve this one
<8> no clue what you're referring to
<9> vawjr
<0> l8rs people
<9> why do i care ? because as u saw the CPF code, i will use the number l8r
<8> so?
<8> it's a NUMBER
<8> leading 0s are irrelevant
<12> hard to describe Vawjr. I recenve N 2-d points. And I have to put them into K groups. However the groups have to be sequential, no randomness, i.e. {1,2} {3, 4, 5} vs {1 , 2, 3} {4, 5} where 1 - 5 are a set of points in 2d space. I'm not sure how to code something that can test all linear permutations
<9> yeah,looking by this point its right.


Name:

Comments:

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






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

MX records are in the format of PRI:ADDRESS
#MissKitten
slick_chic
charyston
#chatzone
#AllNiteCafe
#london
#linux
#AllNiteCafe
Fabiola bullz



Home  |  disclaimer  |  contact  |  submit quotes