|
GUI Libraies Windows API GTK Qt wxWidgets
|
# ¿ Feb 16, 2008 02:14 |
|
|
# ¿ May 6, 2024 08:25 |
|
It's very easy to hang yourself in C, but it will all be because of accidents and the all of the problems you cause will have the same fundamental cause (a bad pointer). It's very easy to hang yourself in C++, except it will be because you used some language feature (actually, it'll be more like "you used some huge set of language features") that you didn't fully understand and now you've dug an inescapable hole. I really never got into the whole template thing or anything like that--I see the point, but I've never really seen a huge benefit in what I've worked on. So, I code in C++, but I use it as C with a few things that make it a lot more convenient (some OO, operator overloading, references, the STL, etc.).
|
# ¿ Feb 16, 2008 10:13 |
|
fret logic posted:Is the Ansi C Programming Language a good book to learn C from if you're familiar with the basics of programming, or are there better books to start with?
|
# ¿ Feb 20, 2008 07:04 |
|
fret logic posted:Yes, but is the one I'm talking about the right one? I know the K&R "style" is supposed to come from the first edition, and that the second one is the ansi style. Should I be using the first or second edition?
|
# ¿ Feb 20, 2008 07:14 |
|
fret logic posted:Heh, because I can't stop myself from wanting to mess with one or the other. So far it hasn't really been a big deal, but if it gets to the point where I can't separate the two, I'll stick with one.
|
# ¿ Feb 26, 2008 17:56 |
|
What the gently caress, Qt 4.4 supports futures? Holy poo poo.
|
# ¿ May 7, 2008 04:48 |
|
JoeNotCharles posted:Wow, the whole QConcurrent framework looks fantastic.
|
# ¿ May 8, 2008 21:00 |
|
if (c == ' ') wouldn't work?
|
# ¿ May 9, 2008 02:07 |
|
Mikey-San posted:I know you're learning C++, and not straight C, but have you considered getting a copy of K&R? (It covers this kind of stuff very well.) It might be a huge help to you. (plus you can beat the poo poo out of people with it)
|
# ¿ May 13, 2008 12:57 |
|
Plastic Jesus posted:Learning to program by reading K&R is like learning French by reading Rimbaud. It can be done, but you're going to be confused, frustrated and it'll take you 3 times longer than necessary.
|
# ¿ May 13, 2008 21:57 |
|
Mustach posted:Unless you're on Plan 9, this is how every compiler does things by default. The C and C++ runtimes (msvcrt.dll on Windows and libc.so, etc. on Linux) are dynamically linked to your program unless you tell the compiler otherwise.
|
# ¿ Sep 22, 2008 06:41 |
|
|
# ¿ May 6, 2024 08:25 |
|
shrughes posted:Could you give a concrete example? fmod(12.0, 3.0) == 0.0 for me. I would expect examples modulo some integer to work fine.
|
# ¿ Jun 23, 2010 05:32 |