Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
It's always hard to understand new code,
especially if it is spread over many files with
hundreds of functions - like most linux kernel parts.
I think it is easier to understand the big picture if it is
visualized and if you can follow the links "with your eyes".
I am therefore looking for a tool to visualize C code,
which function is calling which one, where is the entry
and so on.
I would prefer a vscode plugin but it doesn't really matter.
Thank you in advance!
You might want to try these tools:
https://github.com/johnyf/pycflow2dot
Layout C call graphs from cflow using GraphViz dot
https://marketplace.visualstudio.com/items?itemName=joaompinto.vscode-graphviz
vscode extension for Graphviz
http://www.gson.org/egypt
egypt - a tool for making call graphs
https://kcachegrind.github.io
KCachegrind profiling tool Callgrind and the profile data visualization
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I program mostly in C while studying at university. I was wondering if there is some simple open-source library that would let me make a GUI for a program in C.
Things to concider by priority:
Simple
Nice-looking
Features
I don't know how to program in C++ and would prefer to stay in pure C.
i would highly recommend Glade + GTK.
i use it in combination with python, and it works quite well.
it's also very simple to use.
here is an example:
http://people.gnome.org/~newren/tutorials/developing-with-gnome/html/apc.html#libglade-example-1
hope that helps!
EDIT:
here is a more extensive tutorial:
http://www.micahcarrick.com/gtk-glade-tutorial-part-1.html
However, notice that it might be difficult to write GUI code in C which runs on many different systems (e.g. on Linux, MacOSX, Android, and Windows). Gtk claim to have such a goal, but I don't know if it fully reached.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I want to create a console "shell" for an embedded device.
anyone knows about an open-source implementation of such a thing in c ?
I need basic line parsing to commands & arguments.
Something similar to uboot - console shell will be great.
You may find usefull piece of codes in this shell a friend of mine is writting.
His aim is to learn issues regarding the shell coding, so this project should keep small and easily readable.
There is/was the book "Linux application development"
It implements a Shell as example. I found this quite convincing.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I am relatively new to programming, but I enjoy it a lot. I was told that contributing to opensource projects is a good way to learn a lot more. Anywyas, I was wondering if anybody knew what projects I could contribute to--even if I play a small role any experience would be appreciated.
My background is C and Java. I prefer working with C though.
Thanks!
Joey
Well, probably you should contribute to a project you already use.
Go to sourceforge and look for a project you like. You'll be no use to anyone unless you have a personal interest in the software. Pick a project you use in your daily work and play and make it better. Start with a smaller project as you'll likely get a better reception than trying to work on Firefox or the Linux kernel.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I need to know whether there is any BGI library for graphics in Linux.
Please do not suggest any library other than BGI because I want to use it using C and I am comfortable with it.
I want to use it using C and I am comfortable with it
Is that a reason to shun other, perhaps more suitable C accessible libraries that are fit-for-purpose?
A quick search online showed that:
BGI is abandoned
There is BOSS
I quote:
BOSS
This is the BGI Over SDL Subsystem
that consists of a rewrite of old DOS
header file/libraries: Borland's
graphics.h, conio.h, bios.h. Also
includes some support for sound and
for mouse. I started this project to
support a couple DOS game projects a
friend and I were working on many
years ago. Here's the page on which I
had charted my original progress.
Which you can find here
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Are there any Binary Decision Diagram (BDD) libraries for C, or other languages that are tested and have good documentation?
Check the BDD library from CMU.
Also, for basic reference purposes, Pre-Fascicle 1b of The Art of Computer Programming is all about BDDs. Here's a gzipped postscript of it. Knuth has posted a number of the programs he wrote while preparing for it on his Programs to Read page.
Check out CUDD.
For some info on how to set it up in Windows environments try this..
Binary decision diagram Wikipedia entry, in External links section, as a quite complete list of packages.
BDDBDDB is a BDD-based system for resolving logical inferences a la Prolog. It's been used in program analysis, general game playing, and many other domains. It might not be exactly what you're looking for, but it's well-known and well-maintained.