| |
| |
| |
|
Page: 1 2 3 4 5 6 7
Comments:
<0> little thing we like to call, the rounding problem of floating points <1> im guessing its pow <0> floating point precision and integer truncation leads to this <0> ok, gotta leave for dinner, free meal at clyde's, mmm <1> so how can i fix it? <2> Instead of casting to int, round <2> Or add a mulligan before casting, like .00005 <2> Just to tweak it over the .00000 threshold before truncation <2> Or stop using dev-c++ if you have vc++ <3> how can I make a new int array with the same size of another already defined and I get the pointer to ? <3> and hi <3> got: int *new; <3> and int *old; <3> do I use memcpy(new,old,sizeof(*old)); ? <3> but that gives segmentation fault <2> Gotta allocate memory for it, first
<3> ok <3> then I won't be needing memcpy after all <1> how do u know if a variable inside a function has a default value or not <4> KBM you give it one :P <4> if someone then explicitly sets that variable to the same default value, you have no way of knowing how it was set just by looking at the value <1> if(piErrChk != NULL) *piErrChk = -1; <1> piErrChk is a int * <1> this is its funtion - int StrToInt(string sSource, int *piErrChk = NULL) <5> What's that for a dumb function <1> nm <1> i got it <6> is there a way to look at the actualy binary of a float? <7> reinterpret_cast <7> get Thinking In C++, warez edition online, look up how this typecast <reinterpret_cast> works <8> !list <9> warez edition? <10> warez? I thought it was free <9> Why not get the author's edition online which is free? <10> i guess warez is their first stop before google <9> heh <5> union { unsigned int i; float f; }; <5> (***uming our ints are the same size) <5> +y <11> I am thinking of a web service which is calculation intensive (does optimization with some constrints). What do you think will it be more faster to use cgi with c++ or jsp <11> any recommendation? <11> it is said that jsp is more scallable . does it right? <10> said by who? <5> I certainly wouldn't use CGI <10> how 'calculation intensive' is it really? <11> it use ismplex methods and genetic algorithms for optimization <11> actually scalebale part is what I read from web <11> ashe:why wot you choose? <11> cgi <7> genetic algorithm, mmmm <12> Hey <12> What are you guys and gals working on today? <7> Hello <7> Need some real hacking, but i'm in bad mood, working alone is starting be stress me a bit :-| <13> trx, I know hwo you feel <7> utter a **** private and we can finish complete web-vulnerabilities detection tool (sql, includes, overflow, fmt....), or we can try hard to fool exec-shield....or we can audit some source code (working on webDAV module for apache....just sniffing for vulnerabilities) <7> :-) <7> if you wanna cooperate on cool project, choose me, please :-) <13> hehe <7> ;- <7> ) <13> you develop webDev? <13> webDav <13> even <11> trx: what do you recommend? <7> webDAV. it's protocol for web authoring and managing webs generally <7> blueman_x the sql/injection tool for detection of vuln in web application.... <11> cool <7> i think so, but this is C++ channel. I'll use python...eeek ;-) <11> I am thinking of making a optimization web service (you give some constraints and solves it) would you recommend c++ with cgi or jsp or another way which promises a good performance <7> i'll change variable content to server side scripts like PHP and let the server eat it....i'll look at the result, sniffing for anomalies (error messages, 50x server messages and so....) :-) <7> Ok. It's not a "platform" i know much about (JSP), no comment :-| <7> CGI is slower generally that apache modules for PHP, Python and so.... <14> yo! <7> But the speed isn't mostly an issue....though i have no idea what you want to program :-| <7> that/than <7> I think i'm ripe for sleeping :-|
<14> can anyone help me ? i need a some onformation <14> *info <11> trx:thanks anyway :-) <14> in american internet, where i can get a good freelance jobs ?! <7> blueman_x i'm so sorry........:- <14> pls help <7> ( <12> Hey, guys, I can't display the sourcodes from the site... <12> Is there a problem with the website right now or? <7> Xyppher maybe the server executes the source and send output to you....;-) <7> :-( <12> Heh <7> i'm so sorry..... <12> I don't think so... <7> :-(( <12> Error: window.parent.frames.main has no properties <12> Source File: http://www.noidea128.org/sourceinput/input2.php# <12> Line: 20 <12> That's the java script error I got. <7> No properties? I don't think it's an object....maybe it's ex-object or object which never existed in your program <7> sorry that i speak so vaguely <7> for me, no properties == it's not an object <7> :-| <7> or isn't it: window.parent.frame.main ? <7> window.parent.frames.main looks crazy for me :-| <12> well, trx, can you just test the site out and let me know if you're loading the codes <7> Or can anybody show me object with no properties? encapsulation of functions? looks like an wierd approach in so called "OOP" <7> Xyppher i'll try to help you... <11> trx: good luck with your project <12> Sure, trx... <11> I found a good site for solving optimization problems I will look at it http://neos.mcs.anl.gov/neos <7> Xyppher i think it works....inspection your input...sometimes i get: DECLARE ERROR! <7> Xyppher on some special username contents (on lookup) i get : DECLARE failed! <12> Heh... it's my browser... <12> not sure why firefox would choke on this... <7> Hey! It works here... <12> correction... now it's working <7> At least i think your scripts work...i mean, execution :-) <12> something must have been on a break... <7> I was looking at http://www.noidea128.org/sourceinput/input2.php?username=&comment= <15> Hi, I'm writing a little program that input a number (between 1 and 4) and increment the value in an array (it calculates the number of 1, 2, 3 ect. entered) until the input is 0. but I get a funny error when the loop stops... I've posted my code there http://www.noidea128.org/sourcefiles/15851.html <7> mast` huh, what is this? results[answers - 1]++; <7> seems like an semanthic bug... <15> bah, since I enter a number between 1 and 4, and the array goes like 0, 1, 2, 3 <15> I substract 1 from the number inputed to get the good array position.. <7> what about something like (*results[answers - 1])++; ? <15> what does (* ) do ? :/ <7> dereference <7> i'm not sure about the brackets () <7> it changes the priority....some C++ guru, advise us :-) <15> Let me try <10> i missed the question <7> i can try too.... <16> it means that you dereference before you incremenet <17> People! Please give me some links to good programming forums and freelance sites ? <16> in other words, you're incerementing the object it points to <16> whereis if you didn't have the () you wuld be incrementing the pointer <18> cn28h did you finish your education yet? <16> nope <15> it gives me an error, "invalid argument" <10> mr_killer try monster.com... this isn't a job resource <12> whose code is this? <12> mast` ? <16> if things go the way I hope, I won't be done for about 7.5 years <15> yes <10> cn28h what are you in school for? <19> hmmmm... <16> right now I'm in for CS and Math <12> you're talkinga bout the first look, I take, right, mast`j? <7> mast` dude, it works <16> but, I'd like to enroll in a PhD program <7> mast` your code works and i'm stoned <15> without the (*) thing ? <16> the one I'm shooting for takes an average of 6 years to complete
Return to
#c++ or Go to some related
logs:
IUBESTE/MA Hijacking ip_rcv it-teatru manuel
#AllNiteCafe #AllNiteCafe #AllNiteCafe #linux sadhero #linux #java
|
|