There's one right above you post.
Search found 294 matches
- Fri Jun 01, 2012 12:34 pm
- Forum: Programming Discussion
- Topic: SDL tutorial.
- Replies: 4
- Views: 1954
- Thu May 24, 2012 6:40 pm
- Forum: Programming Discussion
- Topic: Compiler overhead ?
- Replies: 6
- Views: 1904
Re: Compiler overhead ?
A compiler translates your code to machine language code. That might seem simple, but it's not. You can argue that the job of the compiler (or, better, the compiler's programmers) in translating your code to machine code is comparable to your job in writing code. In this way, the code the compiler g...
- Tue May 22, 2012 10:06 pm
- Forum: Programming Discussion
- Topic: C++ to C
- Replies: 16
- Views: 3747
Re: C++ to C
Yeah, I don't know of any language that makes you understand how computers (and thus your programs) work better than C and assembly. And that's knowledge you ARE going to need, even if you use the highest language in the world.
- Tue May 22, 2012 7:00 pm
- Forum: Programming Discussion
- Topic: C++ to C
- Replies: 16
- Views: 3747
Re: C++ to C
Exactaly what I'd say, if I was giving a long answer. which means anything you can do in C, you can do in C++. Not 100% accurate. There are quite a few little nuances between the two. Novice C and C++ developers may not be aware of them, but more advanced users of both languages definitely need to b...
- Tue May 22, 2012 4:47 pm
- Forum: Programming Discussion
- Topic: C++ to C
- Replies: 16
- Views: 3747
Re: C++ to C
Well, C++ is a superset of C, which means anything you can do in C, you can do in C++. What C++ adds is two main programming paradigms: object-orientated programming and generic programming. Also, a standard library and a standard template library (a.k.a. STL). edit Just thought it'd be good to say ...
- Fri May 18, 2012 12:06 pm
- Forum: Programming Discussion
- Topic: Lua Binding Won't Compile with G++ --HELP!
- Replies: 15
- Views: 3669
Re: Lua Binding Won't Compile with G++ --HELP!
I said that because you can also use gcc to compile c++ files. It recognizes the file (by extension, if I'm not mistaken), but there's a difference in parameters (explained in the link).
I didn't mean to imply you're stupid, sorry.
I didn't mean to imply you're stupid, sorry.
- Fri May 18, 2012 12:01 pm
- Forum: Programming Discussion
- Topic: The Pragmatic Programmer
- Replies: 3
- Views: 1156
Re: The Pragmatic Programmer
Gonna take a look at those. Good to know a "Respected Programmer" agrees. This title doesn't appear much here. ;) Off-topic A naive google search for the cover of Essential C showed this . Programmers' protection, I guess. Also, you might want to check the link on your signature. It seems ...
- Thu May 17, 2012 10:08 pm
- Forum: Programming Discussion
- Topic: The Pragmatic Programmer
- Replies: 3
- Views: 1156
The Pragmatic Programmer
Hi. I just finished reading this book, and thought I'd share it here: http://pragprog.com/the-pragmatic-programmer It's a great book for programmers, though I wouldn't recommend it to begginers. They really go beyond programming books that say things like "Always use object orientation!", ...
- Wed May 16, 2012 5:12 pm
- Forum: Programming Discussion
- Topic: Scripting Language development
- Replies: 120
- Views: 27631
Re: Scripting Language development
Now, isn't that beatiful...
- Wed May 16, 2012 2:03 pm
- Forum: Programming Discussion
- Topic: OpenGL 3D + 2D [SOLVED]
- Replies: 6
- Views: 2013
Re: OpenGL 3D + 2D [SOLVED]
By the way, the great OpenGL book is freely available online: http://www.glprogramming.com/red On Chapter 3, it explains how projection transformations work, even with code examples. But basically, what you need to know is: model/view matrix is used to setup the scene. Put your objects is place, sca...
- Wed May 16, 2012 12:55 pm
- Forum: Programming Discussion
- Topic: Scripting Language development
- Replies: 120
- Views: 27631
Re: Scripting Language development
I think you've started a trendy trend. By the way, I like the black background better. But I'm just old fashioned. The first time I say the purple ( trendy ?) background of the Ubuntu terminal, I thought it was strange, but now I'm used to it, and other colors feel strange now, even the good old whi...
- Mon May 14, 2012 5:44 pm
- Forum: Programming Discussion
- Topic: Scripting Language development
- Replies: 120
- Views: 27631
Re: Scripting Language development
Auto completion?
- Mon May 14, 2012 2:38 pm
- Forum: Programming Discussion
- Topic: Lua Binding Won't Compile with G++ --HELP!
- Replies: 15
- Views: 3669
Re: Lua Binding Won't Compile with G++ --HELP!
Glad to help. The .hpp file works on c and c++. Actually, it's just a wrapper, like the c* file from the c++ standard library (cstring, stype, cstdio, etc). You can check its contents. On my system: bruno@bruno-notebook:~$ cat /usr/include/lua5.2/lua.hpp // lua.hpp // Lua header files for C++ // <<e...
- Sun May 13, 2012 8:17 pm
- Forum: Programming Discussion
- Topic: Lua Binding Won't Compile with G++ --HELP!
- Replies: 15
- Views: 3669
Re: Lua Binding Won't Compile with G++ --HELP!
Are you including lua.h instead of lua.hpp?
- Sat May 12, 2012 12:55 pm
- Forum: Programming Discussion
- Topic: Makefile Tutorial
- Replies: 1
- Views: 779
Re: Makefile Tutorial
Just two additions: make (at least GNU-make) automatically searches for files called GNUmakefile (only for GNU, obviously), makefile and Makefile (in that order) if you don't use the -f flag. QT has a really nice tool called qmake , which generates makefiles automatically. It can be used for non-QT ...