| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10
Comments:
<0> i'd doubt it atleast <1> the current implementation im using is crap...it wont let me switch the client into character at a time mode <0> http://www.telnet.org/htm/dev.htm <1> any others you know of? i examined this one yesterday and it's buggy <1> thanks for ur ***istance <2> morning <3> yep <4> why is my queue<string> temp; gives me alot of warnings? 50+ <4> anyone? <5> What kind of warning? <4> http://rafb.net/paste/results/bd1CjZ57.html <5> Ah, that one heheh <4> got a fix? <5> You can ignore it, but you might want to upgrade to VC++ 2005 <5> There's no fix, it's just that the name is so long and VC++ limits those names to 255 characters when debugging <4> awh.. tnx
<5> (VC++ 2k5 is free, btw) <4> i have one.. but i've had problems with enums <5> What kind of problem? <4> huh? I can't seem to remake the error.. be right back.. i'll try port my code to vs2k5.. tnx <5> Funny trying to find a song when the title is "gay dad" <5> It's amazing gay porn websites there are <5> +how many <5> Why do I always forget the most important words <6> without those words it sounds like you're talking about the amazing gay porn sites you found ;) <5> Exactly :( <7> How can SomeCl*** *somecl*** = new SomeCl***(); generate the following error? mov eax,dword ptr [ecx] ; read 4 bytes <5> What error? <7> mov eax,dword ptr [ecx] ; read 4 bytes <7> in strlen.asm, main_loop <5> Looks like asm to me, not an error <5> You mean it crashes in strlen.asm? <7> it crashes, yes <7> asm?? whats that? <5> Does SomeCl***::SomeCl***() use strlen()? <7> see http://www.noidea128.org/sourcefiles/16172.html <5> asm == ***embler <5> That URL doesn't give any information <7> its a huge cl*** <5> I just need the constructor <5> And whatever it calls <7> ok, here you go <7> http://www.noidea128.org/sourcefiles/16173.html <7> again, its very large <7> and while debugging, the error was generated BEFORE entering the constructo <7> r <5> Does the cl*** have a parent? <5> And I have no idea what slnInit(); contains <5> [12:10.25] <5> And whatever it calls <7> its comming <5> What do you call very large <5> If it's < 500 lines it's not large, you can put it all there <7> http://www.noidea128.org/sourcefiles/16174.html <7> 1162 lines.. <5> Fine, post it <5> And the constructor call too, cause if you p*** null's it's not going to work <5> (you'd better use references) <7> Done http://www.noidea128.org/sourcefiles/16175.html <7> what is happening at a later stage, is that a variable is changed... and filled with rubbish <7> after calling Move1, I don't know why, eventList[12] = 3277208 <5> You're probably going out of bound somewhere <7> ok... go on <5> ? <5> I mean if you have an array int[12] you do something like arr[15] = 0; => out of bound <5> And you're overwriting other stuff <7> but Move1, and the functions it calls, do not reference eventList <7> ok... that something I have to check, thx <5> It's probably close to the stuff you manipulate <5> (in memory) <7> but what about the first problem? <5> int *eventList = (int *) malloc(data->n_of_events); <7> asm <5> It should be data->n_of_events * sizeof(int) <7> where? <5> asm is not a problem, your code is compiled to asm <5> 626 <5> 1071: //int *busy = (int *) malloc( data->n_of_rooms * sizeof(int *)); ///FaSM... since #rooms is unknown at the beginning... it seems this is creating memory problems... put it back again
<5> That one should be sizeof(int) too, not int* <5> But it's probably the same size on your machine anyway <7> think you <5> You'd better use vector<int> or at least new[] <7> int *eventList = data->n_of_events * sizeof(int), right? <5> int * eventList = new int[data->n_of_events]; then delete [] eventList; <5> or <5> int * eventList = (int *)malloc( data->n_of_events * sizeof(int) ); then free( eventList ); <5> Otherwise you'll allocate n_of_events bytes <5> And an int usually is 4 bytes <5> So instead of say 16 * 4 bytes you'll have only 16 bytes <5> brb <7> Ok, Thx, what about Line 627 <7> I tried after trial and error "Solution *dummySolution = new Solution( data, rg );" When writing this statement, it didn't show the asm error (or maybe it reappeared later randomly in another form) <5> I just told you what to do about line 627 <5> If you keep it as it is, eventList[12] is out of bound <7> ow, so that was my problem.... <7> and if I fix this, everything will go fine? <5> Should at least help <7> ok, thx a lot <7> any other comment before I disconnecT? <5> I'm kind of too lazy to read through the whole thing, but the code is ugly ;) <7> :) <7> again, thx a lot <8> i wrote this chat program especialy for a lan that experiences a dhcp server failure at least once every day, so it supports udp/tcp and ipx/spx for obvious reasons. the problem is this: most people have win2k/xp but they don't know how to install the ipx protocol. how can i install the ipx protocol programaticaly on win2k/xp so i'll not have to explain how to install it to every user? <9> why install ipx in the first place? <10> yeah, forget ipx <9> ipx is only for Novell stuff <10> and doom ;p <11> c&c red alart <11> alert <9> very important stuff alright <5> You forgot starcraft, even if a patch allowed tcp/ip lan ;) <8> jesus christ <8> i told you why <9> no you didnt <8> that admin is a friend of mine <8> but he's also an idiot <8> his server fails on a daily basis <10> when you hang around idiots, you become one too <9> "obvious reasons" isnt good enough <5> Set your IP manually <8> LOL <8> they can't set do that mrashe <5> Why not? <9> and how will ipx resolve this "crash" ? <8> cause they change the ip of every machine almost once a week <8> well ipx does not depend on that dhcp server <5> Maybe it's cause they reinstall the DHCP server once a week <9> ipx is deprecated...get over it <8> no, they don't do that, i have no idea why it crashes that often <8> come on, this is not important <5> Did you write the dhcpd, Deathmaster? <8> of course ipx is old <8> no <5> Then I have no idea why it'd crash <8> i have no bussiness with that server <8> my only bussiness is with this chat program i wrote for them <9> ipx is no longer installed by default get over it <8> for the network <10> why did you write a chat program? <10> use msn messenger or something <9> wins is how names get resolved too <12> omg... i feel your pain Deathmaster.... i think everyone should just stop asking questions and start providing answers... <10> i hope that's sarcasm <8> they wanted some stupid chat for their lan, big deal <8> i just wrote it <10> Deathmaster so why not use msn messenger? <8> i don't care about their server and so on <9> at least you could have a basic understanding if tcp first <8> because the dhcp & the internet connection crash at the same time <8> the entire server crashes
Return to
#c++ or Go to some related
logs:
#javascript anneteak emerge fslint
sa dau limbi #teens #gentoo #teens #MissKitten #AllNiteCafe #teens
|
|