IDEs and editors of different kind

This is a discussion on IDEs and editors of different kind within the C Programming forums, part of the General Programming Boards category; I am writting a big C program with lots of plain *.c and *.h files. It starts to grows a ...

  1. #1
    Registered User
    Join Date
    Feb 2008
    Posts
    145

    IDEs and editors of different kind

    I am writting a big C program with lots of plain *.c and *.h files. It starts to grows a lot and the organization of the files is becoming caotic, as different functions has interrelations between them. Sometime the choice of where to store a certain function is a dificult task.
    The design of my program is more like a kind of tree, or even a graph, more than modular.
    Does anybody knows of any IDE or source editor that can organize the functions in other ways that traditional ones?
    thx for the help

  2. #2
    Registered User
    Join Date
    Apr 2006
    Posts
    2,053
    Most IDEs allow you to use system folders to organize your files.
    It is too clear and so it is hard to see.
    A dunce once searched for fire with a lighted lantern.
    Had he known what fire was,
    He could have cooked his rice much sooner.

  3. #3
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    A lot of people are using Codeblocks these days, though I tend to use Visual C++ or KDevelop (though even at that, there are "better" IDEs for Linux. I just happen to like KDevelop).

  4. #4
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Well, IDE's may help or hinder here, but ultimately, if you have MANY interrelations between different source files, it sounds like you haven't thought through the design very well.

    With a good design, it should be fairly clear what function belongs where, and how it interacts with other components in the system.

    The IDE can help a little bit, but generally, it's a case of good design that makes it easy to follow the code.

    It may also be that you are splitting your modules TOO MUCH - it isn't better to have more source files if related things are spread out through several small files.

    Small module files are fine if they are well-defined and do not interact too much with other components. But if you have to jump between six differnet source files to understand how one particular funciton works and interacts with other components, then there's something wrong, at most times.

    I'm sorry if this wasn't exactly the answer you were looking for.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. IDEs and Resource Editors
    By wierdbeard65 in forum Windows Programming
    Replies: 14
    Last Post: 06-07-2007, 11:27 AM

Tags for this Thread


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21