TDM-MINGW:
http://tdragon.net/recentgcc/
with Codeblocks
http://www.codeblocks.org/
or LCC or PellesC.
Type: Posts; User: 2112
TDM-MINGW:
http://tdragon.net/recentgcc/
with Codeblocks
http://www.codeblocks.org/
or LCC or PellesC.
other than GTK there's IUP which looks nice and can be used in Lua too but there's no real tutorial about it, just the reference. GTK's got books on it instead and lots of tuts. It doesn't look very...
Quake 3 Arena seems all in C to me, not C++. If they could make such a successful game just using C means it's possible.
Use C since you know it already, there are articles and ebooks on how to use...
Ok, just tried with GCC 4.2.3 and using those options and it doesn't warn either.
Maybe there's some other option but I don't know...
GCC has lots of options like Wall -pedantic...and many others I cant remember, gives you all the warnings you want eheh. With CodeBlocks you can simply set it under settings/compiler and debugger,...
Code::Blocks + MINGW for me.
But I like Pelles C as well.
I'm just a noob at C, but usually the compiler output gives a good insight of the mistakes you made, and where you did. Or not?
I have to learn how to debug yet :D
"Programming in C" by S.Kochan, I'm learning from it and I think it's great for beginners. It's a pretty old book, the second book ever on C after the K&R. Now at the 3rd edition. I really like it. ...
maybe you mean the type "_Bool" and "bool"?
_Bool can only have value 0 and 1. 0 = neg and 1 = positive.
bool needs you include the <stdbool.h> and a variable of type bool can have the value...
Can't keep up with the nightly builds myself...it's going on for some time now, looks stable enough for a release to me.
I like CE, my favorite editor. :)
Why bother with Dev C++ when Code Blocks is superior and regularly updated, guys?
Or is there something I'm not aware of that makes Dev C++ worthy?
Just asking.
Tried both, I don't see the...
Code::Blocks (nightly build!) is pretty nice, lots of features and very customizable. On Linux I like Geany.
If you want just an editor, I use Crimson Editor, you can just create user tools to do...
It's as he says, checked the book. I could've written:
void transposeMatrix (int M1[][5], int M2[][4])
or
void transposeMatrix (int y, int M1[][y], int z, int M2[][z])
and it would be valid. ...
ahhh yea but it's fine for now, i'm only learning so i need also to test out features like variable size arrays,
When i will make my first real project, then ill take that into account for sure :)
locked in GCC? not really :D
In GCC i get "internal compiler error: in put_pending_sizes, at stor-layout.c:140"
Well that surely doesn't make me wanna swap from Pelles to GCC...although in newer...
On a side note, with that corrected, it seems to work also using variable length arrays:
#include <stdio.h>
void displayMatrix (int x, int y, int M3[x][y])
{
int a = 0, b = 0;
for ( a =...
Ah damn how could I forget that, that's a basic of arrays...whoops it's that i studied arrays and functions all in a few days and I have yet to get used to it. Thanks!
Thanks for the answer Mats.
Although if i use normal declaration not only i get funny results but i get "application error" and this is a first for me eheheh. I dont know there's still something...
Hi all,
I'm learning C by myself and, as exercise, I was trying to make a program able to transpose a matrix[a][b] to matrix[b][a]. I can't really understand what's wrong and sadly this exercise has...