| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9
Comments:
<0> large companies might have diverse enough groups to want separate flavors <1> ****! <1> random_shuffle is shuffling, but the exact same way every time. <1> WTF is that? <1> the srand call is right above it too <1> srand(time(NULL)); <1> and, I'm doing a rand() call in there too and printing those results, and it changes from run to run <1> but the shuffle doesn't. <2> Eh, if you aren't providing a RandomNumberGenerator as ana rgument, I can'T see how that could be. o_O <1> I don't either. <1> I have to specify it myself <1> ****s <2> Well, are you doing anything unconventional that might ahve changed what default number generator random_shuffle uses? <1> who knows <1> these people rewrote parts of the STL on their own
<1> you never know what you're getting when you use something vaguely standard. <0> NoideaWRK why did they re-write standard stuff? <0> NoideaWRK you're the only person talented enough where you work to **** w/ the standard library <1> they did this in like the mid 90s <1> when the STL kept changing <1> or, that's their excuse anyway <1> they wrote their own vector, list, string <1> and who knows what else. <3> these idiots from #Teenchat are beginning to get on my nerves <3> #TeensChat whatever <4> even worse, a rip off of the former <5> a rift in the angst <3> heh <0> anyone know how to capture mouse events when over a "web browser control" ??? One of the front-end guys just came in and asked <3> doesn't it have OnMouseDown/Up/Move events? <6> arent those #teenchat things just bots? really ****ing annoying bots <0> YUY0x7 apparently not <6> you mean capture as in hook? <0> it's handling the mouse so you can hilight, scroll, etc <0> not sure what Paul's trying to "see" but he needs it for something <1> Message hooks :) <1> http://www.slate.com/id/2134007/ <1> heh <1> there's that <1> ummm <1> **** <1> I forget what it's called <1> that little app that will show you all the messages to a particular window <1> there's an example of how to do that somewhere. <1> I don't believe that's just hooks. <7> Right. I'm having some problems with my code located here: <http://www.demodulated.net/fuzzers/cabfuzz.c> <7> I am receiving a SIGBUS bus error in fwrite(3). <7> My fwrite calls generally look like: fwrite((char *)&header, 1, sizeof(header), fp); <8> Regarding the Compiling Options "Use of MFC" Is it preferable to use Standard Windows Library? <7> where fp is a FILE pointer, and header is an instance of a structure. <0> shaun_ that sounds like C <7> vawjrwrk: true. <0> is it C ? <7> vawjrwrk: yeap, it is. <4> the char * cast is pointless <0> the parens around (header) after sizeof are also <4> SIGBUS, probably means that you are trying to access a word sized quantity from a non word aligned address <9> really? <9> you don't need parens after sizeof? <9> anyway, whatever to that. <9> everything gets parens in my world <9> including returns <9> I hate returns without () <10> you = freak <11> haha <11> I always use it with sizeof, but not with returns <10> Hotel Rwanda is a very good film <11> it's probably silly to still use it with sizeof tho <11> it used to be good when I was using a plain text editor... <11> but now with keyword highlighting it's not really necessary to use the parens <12> damn... <12> guys do you usualy go for using namespace std; or for std::anything? :) <9> if it's so good, why haven't I ever seen it? <12> cuz I got used with std:: thing and I don't know if it's ok for the long run <0> if what's ok? <11> I think he's asking if "using namespace std;" as a shortcut is evil or not
<10> NoideaLT, cause j00 ****? <11> personally, I don't like to polute my namespace with the std namespace <12> I'm using std:: because I'm afraid I may use an already taken identifier. on the other hand it's preatty borring to specify the namespace everytime I have to use something from the STL <0> read Sutter on the topic <11> but in small files it doesn't usually matter <0> sk8ing don't use it in header files <10> i "using namespace std;" wherever i can <11> vaw, does he give an affirmative one way or another? or conditional based on things like header files :D <10> in fact, its the first line in every file <11> stroustrup uses "using namespace std;" quite a bit in his book <0> he says in a source file it's just fine <11> cool <0> that's what it's in the language for <10> i mean *every* file <12> :) <10> .rc, .cpp, .h, .vcproj <0> peterhu surely not header files <0> geezus NOT .he files <10> hehe <11> peterhu, do you also sprinkle breadcrumbs on your bread? :) <10> you know it <10> wife didn't want to watch hotel rwanda with me <11> full of korean store sushi <11> heh <10> she says she doesn't know how to get into a genocide mood <12> ok, but what's the point on not using it in header files if you use it in the .cpp? <11> tell her about how you'd like to start salting the beef jerky and breading the slices of bread from now on <11> that'll put her in the right mood :) <0> sk8ing because if you use it in a header file it can affect what comes after <0> and rarely is there only one cpp <0> and it will affect the header files that come AFTER <0> heading home <6> anyone know why this wouldnt be working llhandle = LoadLibraryEx((LPCWSTR)"G:\\WINDOWS\\mickey32.dll", NULL, <6> LOAD_LIBRARY_AS_DATAFILE) <6> left out a bracket but ignore that <6> stupid dial up <10> nnp, you're casting a "narrow" (ASCII) string to wide <10> prefix the string literal with L to make it a wide literal <10> L"foo" <10> and then you don't need the cast <6> ah <6> odd, i dont remember having that problem before <10> you likely weren't building UNICODE before <10> LoadLibraryEx doesn't exist, it is a preprocessor define for LoadLibraryExA and LoadLibraryExW depending on the UNICODE preprocessor define <10> in 2005, new projects default to UNICODE <6> ah <6> nuts <6> i was not aware of that <10> LPCTSTR (or TCHAR for that matter) follow this convention <10> ok, time for a little gaming <10> be aware that if you're using GetProcAddress, it always takes a narrow string <10> as export symbols can't contain UNICODE characters <10> just fyi, starting bf2 =) <6> danke <6> oh, before you go.... <6> they havent got rid of GetModuleHandleEx have they..... <6> i wonder why its telling me that ... 'GetModuleHandleEx': identifier not found <13> probably because it can't find that identifier <6> ok, have you any idea why it wouldnt be able to find it? I have #include <windows.h> so i dont know why it would say that <14> hey, can anyone help me with really simple C++? <13> maybe it can't find windows.h either <13> Psyc - you must ask your question first <6> i use loadlibrary 2 lines before it so i dont think its that <15> No, Psyc -- you only get one question and you used it. <14> It's a long story. I'm in an online course and the teacher doesn't know C++ so she made us read out of a book that made no sense. <13> nnp - then maybe you screwed up some syntax earlier... why don't you paste the code somewhere instead of playing this guessing game? <14> Now it's exam time and we have to code a program. <15> Psyc, that ****s -- shouldnt' you report her to the virtual dean? <13> int main(){} <14> and all I understand is cin and cout <15> And ask for your money back? <14> well, it's paid by the school board <15> I think it's time for you to go get Accelerated C++ and then read it all in one night and hope for the best.
Return to
#c++ or Go to some related
logs:
header parent iframe php insert twice php mysql 4chan teens rules Quake Demo CD inspeak linux #networking #AllNiteCafe petuxlar
urdu bairam #MissKitten
|
|