@# 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> whats the problem yuor solving?
<1> hello, i need information. I want to call a function with the call of fram->Parent.. is it possible? im using borland
<0> I don't know if that question can be answered with said data.
<2> it's...
<2> the knapsack problem
<2> familiar with it?
<2> my only problem is implementing the selection method
<0> no, what is that?
<0> the selection part should be easy.
<0> all you do is count the plus bits
<0> and add a mutation percentage to grab a random result that is not 'best fit'
<0> so, if you have a vector of genetic info for instance, you move the best fit / selected ones to the end of the vector (ensuring you can choose a randome one reliably)
<0> I would probably choose a random one, then move the best fit ones to the end after the random one was already selected.
<2> O_o
<2> that sounds so very different from what i have been taught/read



<2> not that i fully understand all of that
<3> Heya dudes.
<4> Khan
<4> http://www.gamespot.com/pc/action/grandtheftautovicecity/review.html
<5> isn't that game very old?
<2> :|
<6> sigh
<6> I never could get into GTA ever since it went 3D :-/
<6> s/ever/''
<5> the game is actually pretty good IMO
<3> how to convert std::string to long int
<4> I dunno, 2003 or wo?
<4> so?
<5> only thing that bother me about it is that i'm 98% complete
<5> but i can't find the last 2 %
<4> Yeah, 2003
<4> But it's quite a game
<6> P-Brasil: use stringstreams, or boost::lexical_cast
<4> Cheat, wims
<4> Look up the maps online
<5> i've looked in walkthourghs
<5> but i still can't find the last 2 %s
<5> i have done eve33ry ission
<5> it's just that i wanted 100%
<5> every mission^
<5> or so i think anyway
<5> i probably haven't since i'm missing 2 %
<6> e.g. std::stringstream ss(mystring); if (ss >> mylong) { //yay! }
<4> I seem to recall a lot of the completion thing involved hidden packages and whatever
<4> San Andreas was fun, too
<4> Reason I'm thinking about them is that I just reinstalled GTA3 on a whim
<4> Thought I might have solved the problem of constant CD access that it had
<6> BUT YOU DIDN'T DID YOU
<5> no cd patch?
<4> Turns out that my plan was ****, but the 1.1 patch let you copy the audio files to the hard drive
<4> So I didn't have to
<7> why not, WimS?
<4> Works great now, no CD access after it starts
<4> And that's all I wanted
<8> oh man
<8> that feels weird.
<9> hi, I have a 2-d char array called board[4][4] and i'm trying to fill it with X's using 2 for loops but I get "cannot convert from 'char [2]' to 'char'" .. what could be the problem ?
<7> welcome
<4> mast, paste your code
<9> I modified it a little bit, but I get a very strange error... I'm trying to put the X character everywhere in my array and cout it has a table.. let me post the code
<9> http://pastebin.com/592036
<9> The table does appear correctly but it's empty, except the last line has a 4, - and B
<10> ugh, I hate it when things are broken.
<11> you're overstepping the array
<4> Try clearboard before you drawboard, mast
<4> Instead of after
<9> JBlitzen, better.. the 2 first colums are perfect
<9> the 2 others are still empty / fill with junk
<11> row goes to 2 * size + 1, and you're using theBoard[row][col] (when row is odd)
<11> in drawBoard
<9> right, so the last 2 array rows it reads is 7 or 9.. I think
<11> 7
<11> which is > 4
<11> > 3 even
<11> there's little reason to do it the way you're doing it, doing a loop iteration once to do the border, then once to do the board contents, back and forth
<9> I just need a variable that increases by 1 every time



<9> Any better way to do it?
<11> you may just want to draw a border, and then loop drawing board contents and then a border in the same iteration, without having to do any mod 2
<11> or loop drawing a border then contents, and then print a final border
<11> and you may want to handle the case where size = 0, if it's important
<10> that's never important peterhu
<3> 20 C:\faculdade\ATP\programa CNPJ.cpp integer constant is too large for "long" type
<10> users will ALWAYS input meaningful data to software
<3> i am using a long long int
<9> I will handle that in the main later
<3> it worked before
<3> why isn't working now
<3> g++ version ?
<10> because your integer constant is too large P-Brasil
<10> it's only a warning.
<11> int i = 2930192309120930192930123; <-- oops
<3> Yeah,but it isn't compiling.
<3> the number is 1234567890001
<10> that's clearly too big for an int
<10> an int is only 32bits
<10> 4billion something is its max value
<3> long long double so ?
<10> long long double?
<10> what?
<10> anyway, I'm outta here, later.
<11> long duck dong
<4> He's apparently speaking of my penis' length
<5> lmao
<10> too bad no women will ever see it, huh JB?
<11> Solamente appreciates it though
<4> Sorry, ni, I am not saving myself for you
<3> Using C++ Builder 6 at University , the long long int worked
<0> zeo case is handled isn't it
<0> zero too
<10> ULL at the end of the const
<9> it's for a connect4 game, so i'll always make sure it's always 4 or bigger (but a 4x4 connect 4 would be kind of boring...)
<10> 123456789001ULL;
<11> twister, i thought he might want to print out an empty border or some such, rather than nothing
<6> hey fools
<6> can I take a survey
<7> yo Cowmoo!
<0> it prints part of the border heh.
<11> yes, you appear gay, cow
<6> those of you fluent in C++, what other langugaes are you fluent in?
<6> if any
<7> wtf!
<6> peterhu: stfu n00b
<9> french
<9> ;)
<10> do you want to thank me before I leave P-Brasil?
<6> no
<11> ah twsiter, you're right, it prints out a single border
<7> please?
<3> Noidea128: Not working man
<3> really
<7> what's wrong now?
<10> ugh
<3> I thank your help
<3> Really
<7> weeee....
<10> you're not doing it right if that didn't help.
<3> THanks a lot for the attention.
<3> long long int cnpj.
<3> ops
<3> long long int cnpj;
<0> actually it looks liek it prints out a single '+'
<11> yeah
<3> i'm using Dev C++
<10> long long int cnpj; gives an error?
<10> or 12346789001ULL does?
<10> or do both?
<3> Noidea128: My program do not compiles.
<7> why not, P-Brasil?


Name:

Comments:

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






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

xmlhttprequest onreadystatechange has no properties
#chatzone
#london
sagetzel
#java
#php
lutefisk linux
#mirc
haifa wahby
bnc boti



Home  |  disclaimer  |  contact  |  submit quotes