@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5



Comments:

<0> while xp installs without a problem
<0> i need a text mode installer, ubutnu; not a pretty gnome installation enivornment
<1> peterhu: there is a text mode installer
<0> for the desktop iso or the serveR?
<2> can somebody explain me this: const char * const &
<2> ?
<2> I really don't know how to read it
<3> no variable?
<4> char const* const&
<4> now read right to left:
<4> reference to const pointer to const char
<4> the variable is a reference
<4> it references a pointer, that's const
<4> and the pointer points to a const char
<3> ah like const char * const *var
<4> not at all



<3> k
<3> :D
<2> rdragon: thanks
<5> anyone one know how to stop shutdown before it close anything?? I know WM_QUERYENDSESSION but its only for my own application...
<5> or where can I find help about it...
<6> hello
<7> hiya
<8> (1~ Immortal GFx || Searching for a good PHP coder || Pm me if interrested to earn money ! 1~)
<9> That resembled a malfunctioning electric chair, didn't it?
<10> Indeed.
<11> hi
<12> You don't have to be, but it probably helps
<11> I just started learning c++, and went across some cl***. I learned the basics, how it works but i want to actually use it. However i can't understand 'where' it should be used.
<11> Anyone knows some good 'exercices' to practice and at the same time understand the use of cl***es in c++ ?
<7> how are you learning
<7> Accelerated C++ is currently the best book to learn from
<11> i read online tutorials
<7> yeah, you're better off buying that book
<13> can an entry point for a thread be a member function of some cl***?
<11> :|
<14> xation that depends on the OS
<13> win32
<14> not readily, not a regular member anyhow
<13> why not?
<14> because it needs an extra parameter
<13> yeah but if you correctly format the member function
<14> and the thread start will only p*** one void*
<14> go ahead, try it
<14> this is NEVER a void*
<13> ok
<13> anyone know why i have an ugly *** default font when creating a win32 c++ with unicode?
<13> in vs2005
<14> no clue
<14> don't even know what you're talking about
<13> i have the damn windows 3.1 font
<14> I still don't know what you're talking about and I use vs2005 daily (not unicode though)
<13> but didnt you say you didnt do gui programming?
<14> what does GUI have to do with unicode??
<14> or using vs2005:
<13> default font on the forms
<13> on static labels and buttons
<14> oh, forms, have no idea
<14> or labels or buttons
<13> i have some ugly *** font on everything i create
<14> doesn't have much to do with C++
<13> yes remind me of the name of the cannel and point me to #win32
<13> why when I open an "save file dialog" box the memory usage of my program goes up 4mb but when I close it it doesn't go back down
<15> hi all
<16> Lalala
<17> how do I convert an integer to a cstring or a char array?
<7> why char array?
<7> what's wrong with std::string
<3> sprintf?
<7> but yea, otherwise sprintf
<17> the TextOut fuction only supports those two, to my knowledge
<16> stringstream ss; ss << integer; ss >> string;
<16> TextOut( hdc, x, y, string.c_Str() );
<16> ~ on the S
<3> and i think for cstring it was like str1=str2.format(" printf style")



<18> i can't remember how to call a base cl*** constructor from its derived cl***. can someone refresh me?
<18> never mind I got it. http://www.devx.com/tips/Tip/5552
<19> i have
<19> virtual void copy(_cBiVector<T> &_bivector)
<19> virtual _cBiVector<T>& operator=(const _cBiVector<T>& _bivector){copy((_cBiVector<T>& )_bivector);
<19> and that gives me conversion error
<19> can anybody help
<16> Ew, a C cast
<16> Anyway why doesn't your copy take a const
<16> (and you'd need a const_cast if you want it that way, even if it's ugly)
<19> ok
<19> can i catch the runtime errors
<19> with try catch ...
<16> That's the only ones you can catch
<19> can somebody tell me why does this not work http://cpp.sourceforge.net/?show=16437
<20> c is uninitialized.
<20> line 6 tries to write to an undefined (and unallocated) location.
<20> That's a programming error and does not lead to an exception. (at least not portably)
<19> but i want to catch that error
<20> You can't.
<21> well, not in general
<20> Not at all.
<21> windows SEH will allow you to
<20> Even on a system with SEH, the given code will not always result in an exception.
<21> true - c could be valid
<19> SEH ??
<20> so called "structured exception handling"
<20> I fail to see what is "structured", though.
<20> SEH attempts to convert certain error conditions into exceptions.
<19> from where i get to use that ?
<19> in ggoogle
<19> ?
<19> its a .Net stuff ?
<20> No idea. SEH exists on Windows, so try msdn.
<21> Guns|n|r0s3s - But as _m_ says, it won't always fire
<21> c is uninitialised, which means it contains random (or system defined) data
<21> c *might* point to a locaton that's technically acceptable (but certainly not what you want)
<21> in which case, that line won't do anything wrong (though your program will probably fail later)
<19> mmm
<19> ok
<19> i cant beleave i cant handle such a stupid error
<21> the only way to handle it is not to create it
<19> :)
<19> well less coding for me
<19> it doesn t catch division per zero too ?
<19> and then what is the use of those catch try stuff then ?
<22> so you can generate errors, and then handle them
<22> for example you want to parse some html and return the number of tags in it
<22> if it's invalid, you throw an exception
<22> and you catch it in the piece of code that calls the parser
<19> so its kinda messaging throgh the programm ?
<22> yup
<22> if you don't catch it
<19> but i can do that alone too
<22> it will terminate the program
<19> i mean why should somebody use it, what advantages ?
<22> well there are cases when you have to terminate the program if something goes wrong
<20> exception cause stack unwinding, which will automatically destroy all the automatic variables between the throw point and the catch point.
<20> Given well implemented cl***es, you get error-free resource management from that.
<20> (google about RAII)
<21> it also eliminates the "Forgot to handle return code" problem
<21> if your exception bubbles up to the top of the stack, your program ends
<21> so if an error occurs, further execution is prevented rather than risk carrying on after an unhandled error
<21> of course, it's brutally misused (cough *Java*)
<21> it's not suitable for every sort of error - only exceptional conditions, as the name suggests
<19> aham
<21> stuff that might happen in the course of normal execution should *not* be an exception
<21> i.e. a user selecting cancel in a "OK/Cancel" dialog box would be a bad exception to throw
<19> ok
<19> thx
<18> Is there a better free C++ IDE for windows than dev-c++? it keeps crashing and I strongly suspect its bugs are leading to incorrect code compilation.
<23> aldr0n: dev-c++ is working fine in my machine
<23> your code is buggy not dev-c++
<18> lol


Name:

Comments:

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






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

#gentoo
scorpaen
#mirc
#linux
#linuxhelp
docfu
running irc as root
#AllNiteCafe
#c
turkey parsley sage rosemary tyme



Home  |  disclaimer  |  contact  |  submit quotes