| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Comments:
<0> I looked on the docs, and setCurrent is static .. <0> but i see no other static variable that the function should set .. <1> Might be a registry setting or a value in a file or something. <1> Oh <1> It says it sets the application's working directory. <1> I don't know how to do that offhand, but clearly it wouldn't require some tracking variable. <1> Ah <1> That's easy <1> http://msdn2.microsoft.com/en-us/library/bf7fwze1(VS.80).aspx <1> That's what your function does, ven. <1> Night <2> Pom popom <0> in the code I posted here -> http://www.noidea128.org/sourcefiles/16161~ , why is getside() called like this "CSquare::getSide();" and Area() is caled like this "Sqr.Area()" since they're both static members ? <2> Because it works both ways? <0> on first view that's hard for me to believe ... <2> What?
<2> Anyway I'm not sure why you make everything static <0> well , it's not my example, i found it on a site which was trying to explain static :) <2> It's probably a really bad example then <0> so when should I use static then ? , if that's a bad example ... <2> When you have a function that doesn't need an instance but is still related to that cl*** <2> Or when you want a variable to be shared by the instances of that cl*** <3> hello. i must find a way to get the cpu, chipset, etc temperature. how do i do this on winxp x86? <2> WMI <3> sorry ashe <3> you were saying wmi? <3> ashe? still here? <4> google: WMI <5> maybe he overheated <5> heheh <4> heh <6> hi all <6> does anybody know how to run form2 from form1? <6> ? <2> Depends, is form2 a string of a map<int,float>? <2> s/of/or <2> (even if you're probably not talking about C++) <7> does anyone know how can i check if handle is still valid ?(for example thread handle) ? <6> MrAshe could u write a piece of code to shoe how to do that? <2> dr3f: it's either valid of NULL, if it's something else you're doing something incorrectly <2> s/of/or <2> I can't type today <7> i have a varible <7> which store handle <7> i dont wanna overwrite it before the handle is invalid :/ <7> there is no any api like IsValidHandle() ? <7> or something like that <2> Why would it become invalid <7> lets say i started a thread <7> the thread quited itself <7> but its handle is still stored insaid a varible <7> that how its become invalid <2> That doesn't make it invalid <2> WaitForSingleObject to check for the thread's state <7> oh <2> GetThreadExitCode to get its return code <2> And CloseHandle() to release the handle <7> thanks <7> anyway,i got some idea <7> to check if the thread is working or not <7> using GetThreadPriority <8> is there a way to make an element of a long array equal a [0] [1] [2] [3] all pieced together from a char array? <2> What's in the char array? <8> long array[100]; char other[100]; ... array[0]=other[0]other[1]other[2]other[3] <2> Ah, like that <8> I'lltell you what I'm doing <4> ... <2> Well, depends of endianess I suppose, but you could do array[0] = * reinterpret_cast<long *>(array); <8> I'm recording audio then sending it over a network. when its recieved at the other end i want to play it. This is an AmigaOS app. <2> Or just a bunch of | and << <8> the recording and playback buffers here are of "long" type <8> and the send() recv() network functions use char I think <2> Ah, just that <2> long blah[..]; <8> when I playback my sound at the other end, it sounds like a dalek <2> send( s, &blah, .., 0 ); <2> (with a cast, I guess)
<8> I think because the long is 4 times larger than a char, I'm only getting a quarter of my sample frames per frame.. <2> Then recv( s, &blah, sizeof blah, 0 );, of course <2> I guess you need some basic C++ book <8> hmm ok <4> send( s, reinterpret_cast<char const*>( some_crappy_array ), sizeof_array_in_bytes, 0 ); <8> MrAshe: are you insulting me? <4> amiga? isn't that from the 80s? <4> or do people still use it/ <2> Nope, I'm telling you you don't know much about C++ <2> So a book would help <8> rdragon: theres still a small following. <4> what a waste <8> I'm on a PowerPC G4 based Amiga <2> ph34r <4> your computer can beat up my laptop, i get it <2> G4s are not fast, rdragon <8> I'm not saying its the best, I'm saying its a fair platform. <4> neither is my laptop <4> did you write that irc client too? <2> I could do the same and use an Athlon X2 with Windows 95 <8> yes. <4> [jahc VERSION reply]: WookieChat 2.1 beta 4 - 4-2006 James Carroll (AmigaOS 4.x binary) <8> http://wookiechat.amigarevolution.com <2> Now you know why IRC clients are buggy, when they don't even know how to send stuff over a network <4> heh <8> whats with the agression? <8> all i needed was help and you want to pick on me for no reason. <4> i would think with all of that network coding, you'd have figured out how to send and recv data <4> *shrug* <2> I'm not picking on you, it's just you could become our new Edrin <4> im just sitting here stressed out, so i'm taking it out on you a little ;) <8> well thanks for the advice guys. <4> heh <4> little too much star wars in his life <9> i hate endian **** <9> i hate bits <4> they hate you too <4> all of them <2> He prefers trits <2> I just prefer tits <9> hmm :) <9> my knee is totally fooked <9> they did a scan tody <2> When are you going to die? <9> they found a piece of knee floating somewhere <4> 'somewhere' ? <2> Sounds normal to me <2> Everyone has that <9> hehe <9> no it used to be part of my knee front, now its in the back <2> rdragon: it was behind his ear, could be an issue <9> floating in my knee space <2> I'm not going to make a bad CSS joke <4> amputate <2> No I will not <2> So Q`` <2> When do I pay you a visit tomorrow? ;) <9> you dont, im dead <2> Yes, I come for the funeral <9> I dont know why, but there is this curse thing <2> Yup, to make menus <9> pff <2> So, 1pm? <9> no, dont come, I wont be able to come down stairs <9> theres no point im a cripple <2> Don't worry, I'll have only one girl with me, no danger in your bed <2> However I'll abuse you <2> and take pictures <2> Har ahr ahr har <9> people meeting IRC people and getting abused? thats a first one :) <4> heh <9> honestly though, well find another time, im broken and I really dont want to meet people now <2> Nope, people meeting IRc people and abusing <2> You're the IRC people
Return to
#c++ or Go to some related
logs:
Mircuistii happier then you myspace when did guess inc buy essentus
jameskb winlinez linux #linux sunce moje my home page fblogo - slackware #skype javascript selected text innerhtml using css
|
|