Search:

Type: Posts; User: 2112

Search: Search took 0.00 seconds.

  1. Replies
    15
    Views
    3,582

    TDM-MINGW: http://tdragon.net/recentgcc/ with...

    TDM-MINGW:
    http://tdragon.net/recentgcc/
    with Codeblocks
    http://www.codeblocks.org/

    or LCC or PellesC.
  2. Thread: QT and C

    by 2112
    Replies
    20
    Views
    5,222

    other than GTK there's IUP...

    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...
  3. Thread: Gaming in c

    by 2112
    Replies
    18
    Views
    11,011

    Quake 3 Arena seems all in C to me, not C++. If...

    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...
  4. Thread: Compiler for C

    by 2112
    Replies
    23
    Views
    2,802

    Ok, just tried with GCC 4.2.3 and using those...

    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...
  5. Thread: Compiler for C

    by 2112
    Replies
    23
    Views
    2,802

    GCC has lots of options like Wall -pedantic...and...

    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,...
  6. Thread: Compiler for C

    by 2112
    Replies
    23
    Views
    2,802

    Code::Blocks + MINGW for me. But I like...

    Code::Blocks + MINGW for me.

    But I like Pelles C as well.
  7. Replies
    50
    Views
    5,237

    I'm just a noob at C, but usually the compiler...

    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
  8. Replies
    2
    Views
    1,155

    "Programming in C" by S.Kochan, I'm learning from...

    "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. ...
  9. Replies
    2
    Views
    23,102

    maybe you mean the type "_Bool" and "bool"? ...

    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...
  10. Replies
    14
    Views
    10,726

    Can't keep up with the nightly builds...

    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. :)
  11. Replies
    14
    Views
    10,726

    Why bother with Dev C++ when Code Blocks is...

    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...
  12. Code::Blocks (nightly build!) is pretty nice,...

    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...
  13. Replies
    16
    Views
    10,626

    It's as he says, checked the book. I could've...

    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. ...
  14. Replies
    16
    Views
    10,626

    ahhh yea but it's fine for now, i'm only learning...

    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 :)
  15. Replies
    16
    Views
    10,626

    locked in GCC? not really :D In GCC i get...

    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...
  16. Replies
    16
    Views
    10,626

    On a side note, with that corrected, it seems to...

    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 =...
  17. Replies
    16
    Views
    10,626

    Ah damn how could I forget that, that's a basic...

    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!
  18. Replies
    16
    Views
    10,626

    Thanks for the answer Mats. Although if i use...

    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...
  19. Replies
    16
    Views
    10,626

    Transposing matrix

    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...
Results 1 to 19 of 19