@# 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 13



Comments:

<0> not surprising, it IS on a computer.
<0> well, it's good to see Quicken is dead on on my account balances as usual.
<0> $50 in my checking, yeah, that sounds about right.
<0> I guess I shouldn't have had dinner yesterday
<0> ****.
<1> Heh
<0> Quicken always amazes me with it's ability to adjust balances too
<0> it does the opposite of what it should
<0> it says my current balance on my CC is a couple 100
<0> it somehow says it's off by like $5000
<0> so rather than adjusting it to the online balance
<0> it just says I owe what it's off by + what I actually owe.
<0> ok, well, it's close to figured out.
<0> ugh, pool.
<0> I don't feel like playing pool today.
<2> Is there a way to spy on a file and having a message sent when file has changed



<3> RoG I think that depends on the OS
<3> certainly C++ doesn't have any such mechanism
<2> any win32 api you know of?
<3> nope, what are you wanting to do? write the equivalent of a tail -f program?
<2> yes
<2> exactly
<3> there are some free ones out there
<3> http://www.baremetalsoft.com/wintail/
<3> for example, I'm evaluating baretale, and we'll probably buy it for teh office
<4> the api you're looking for is FindFirstChangeNotification and friends, btw
<4> you can wait on the handle
<2> looks good!
<3> I hope they're working better that they were 5 years ago, I was having problems w/ it in FL
<5> bonne nuit tout le monde doux reve :)
<3> the API, not baretail
<2> Ill try and let you know!
<1> How are Papa John's chicken tenders?
<6> probably repulsive
<1> But but
<1> That couldn't be
<7> i'm tyring to transfer data from one array to another, if a condtion is met
<7> http://www.noidea128.org/sourcefiles/16151.html
<7> that's what i have so far, and it's not working
<7> basically, if a[i] < 0, i want to add it to the array n[i]
<7> any ideas?
<8> papa john makes chicken tenders?
<8> do they have honey mustard sauce?
<1> Yes!
<1> And hot sauce!
<1> I'll try them this week
<1> At least, according to their nutritional information
<1> You have to register for online ordering to see a menu
<8> that's stupid.
<9> What, banning on nickXX? Indeed.
<2> how do i link .libs in vs2005?
<2> cant find the property
<10> anyone knows how overlapped mode works for readfile ?
<10> i cant understand
<10> i dont wanna asyncronous operation, just set the offset
<9> If I knew what readfile was, I might try to help.
<10> The lpOverlapped parameter of the ReadFile() and WriteFile() function is used for what is known as overlapped I/O or asynchronous I/O operations. Normally, if the file was opened without the FILE_FLAG_OVERLAPPED flag, then the ReadFile() or WriteFile() functions do not return until the operation is complete.
<10> i think i musnt use overlapped mode :S
<10> yet
<10> to get the best performance maybe you must do all asyncronous
<10> have you ever programmed in windows?
<9> Yeah, but apart from GUI-specific stuff and the like, I tend to stay away from non-portable constructs unless there's a really, really compelling reason not to.
<10> my prog ll run only in winxp >
<9> Mine will generally run on anything with a C++ compiler.
<10> your program dont do all the specific thing of mine like get some windows info
<10> doesnt do, like
<11> hi
<11> why can't i use " g++ -Wall -o %1.exe -c -DHAVE_INLINE %1.c" in gcc whereas " g++ -Wall -o %1.exe -DHAVE_INLINE %1.c" is ok
<11> why can't i use "-o" with "-c" ?
<9> g++ -o test.o -c test.cc works here.
<12> why would you want the output file to end in .exe with -c ?
<11> doesn't that force it to build an exe?
<12> uh, no
<11> and i just discovered something totally weird..
<12> -c means 'compile only'
<9> No, it builds an object module, then simply names it with a .exe



<11> ah
<9> One should not try to force a compiler to do things one is not entirely clear on. :)
<12> heh
<12> "discovered something totally weird" = "I didn't read the docs good"
<9> Or I did, but they're not entirely in accordance with reality. Happens far too often. :)
<11> i compiled 2 programs.. one from the GSL eigensolver examples.. and another hello world that uses std::cout.. how come the compiled exe for hello world is 407 kb whereas the eigensolver is 16 kb?
<12> does it really matter?
<11> just curious
<12> probably because more code is needed to accomplish everything the 407k executable needs to do, as opposed to the other
<13> probably static vs dynamic linking
<12> or maybe you linked the runtime static instead of dynamic
<11> can i control that?
<13> yes
<13> talk to your linker
<9> Or ponder how much it matters once you start dealing with apps ranging to several million lines of code.
<11> thank goodness they don't kick me for appending a digit behind my nick
<11> i love gcc
<11> it rox0rz my s0xorz
<11> i wish i could learn more about makefiles and boost.. but i'm too lazy to read anything i won't use in the near future
<11> any1 used GTK here before?
<11> mostly cuz i'm too lazy. that's why stuck with vc6 and my voodoo3 card forever
<12> you're still using vc6?
<11> yeah is there anyway i can configure VC6 to compile using gcc?
<11> i really prefer a nice IDE over this command line environment..
<12> why don't you use dev-c++ ?
<12> it uses mingw
<11> or.. Eclipse maybe.. does eclipse compile anything other than java?
<12> yes
<11> eclipse is the best ide
<12> eclipse is pretty ****ty compared to VS
<11> serious
<12> VS's debugger is unmatched, at least
<11> alright. i'll go with that
<11> i'm not familiar with the new toys
<11> but i think i want to learn to be hardcore and use the commandline for awhile
<11> what's a makefile? it's like a project file, but with batch capabilities right?
<11> i know this sounds silly, but i get scared when ppl distribute source code without "dsw" project files
<11> makefiles are so hard to learn
<9> Makefiles are actually pretty easy.
<11> hi, is there a point to invoking -O switch in gcc for linking?
<13> -O is for setting the optimiser
<11> yeah, but can it optimizing linking?
<11> optimize
<11> any1 use gsl here?
<13> RPC.cc:232: error: invalid static_cast from type 'void* ()(RPCServer*)' to type 'void* ()(void*)'
<13> why does this not work?
<13> static_cast<void* (void*)>(threadServer) is what I'm using
<13> even reinterpret_cast<> doesn't like it
<14> cn28h: it's the wrong way to do that, anyway. Provide the signature that is needed by the threading API. Cast the void * to RPCServer * inside the function.
<13> RPC.cc:232: error: invalid conversion from 'void* (*)(RPCServer*)' to 'void* (*)(void*)' is what I get without a cast
<13> hm
<13> ok, good idea
<13> wait
<13> ok
<13> no that wroks
<13> thanks :)
<14> In case of the threading API it probably does not matter much, since you're already living outside the C++ standard. But in other cases you will needlessly create unportable code by casting the function pointer.
<14> A void* doesn't need to be of the same size as a RPCServer*.
<13> true
<14> (even though a difference in the size should be very rare)
<13> I'm actually using the Solaris thread library, so it's pretty localized
<11> anyone know why GetProcAddress can't find the entrypoint to DLLs built using g++? whereas the same exact DLL built using gcc is ok?
<15> name mangling...turn it off for g++
<12> probably because win32 is a C api
<15> anyway this was explained to you before
<11> oh yeah. i remember now
<11> it was really late last night
<11> how do i turn off name mangling?
<15> extern "C" { //functions here }
<15> and maybe some other mechanisms specific to your compiler
<11> i'm using gcc
<15> so rtfm
<11> that's some funky syntax


Name:

Comments:

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






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

country was the most heavily bombed in the Vietnam war
cheekita
#linux
gentoo cryptsetup blocking cryptsetup-luks
what architecture is my pc
#php
#php
#php
ubuntu LD_LIBRARY e17
#skype



Home  |  disclaimer  |  contact  |  submit quotes