Seeking tool to graphically show (header) file dependancies in C/C++ [closed] - c++

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I know that header guards avoid (most) trouble; call me #n#l if you like, but I just don't like a sloppy header-file tree.
If I draw on paper a box for each header file and connect them by lines representing #include, I like to see a neat hierarchy. But what I usually see is a complex web.
Maybe I am #n#l, but to me that tangled web represents sloppy-thinking and I would like to induce order by reorganizing the #include hierarchy.
Does anyone know of a tool which will let me vizualize the #include hierarchy? Preferably a free tool.
(and, yes, I know that I "could probably do it with graphviz dot", but that is not an answer ;-)

Doxygen can do this for you if you use it along with the dot tool.
Here is an example: http://www.neuraladvance.com/json-c/html/json_8h.html

You could try cinclude2dot

Related

where can i find c++ std API's - for example api for std::list [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I'm doing some homework for school, and I would like to study the api for std::list, as i'm supposed to implement one of my own.
I'd like to implement a similar interface to that of std, so that i may use my own list comfortably later.
Thanks.
You will find the complete list of member functions and operators at cppreference.com (as also pointed out by #Rook)
But I also think this is not easy, and for sure not for a C++ beginner.
Another option is these offline man pages for STL.

plotting inside C++ [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Improve this question
I am trying to plot variables in C++ inside a for loop. In Matlab, it is very easy, just type plot(x,y), but I do not know how to use it in C++. Is it possible to do it with opencv? or if anybody has a better recommendation I really appreciate it.
If you want high quality plots take a look at gnuplot (can be used from C++ program) or asymptote (you can generate script and use this script for render your plot), but these tools are not for dynamic plotting.
Use the cvplot library, it will provide matlab style plotting function in opencv. You can also use this library.

creating include guard in vim [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Do you know an existing plugin in VIM to create automatically an include guard
#ifndef <FILENAME>_<HPP or H> // ..or similar
#define
... code
#endif
based on the file name. Something that is part of a bigger plugin that helps in writing C/C++ code.
An even better solution is something that creates a C/C++ header and body files altogether.
I found thee custom sulotion here but I am looking some plugin already used and widely accepted.
Try this one out:
https://github.com/drmikehenry/vim-headerguard/blob/master/plugin/headerguard.vim
I'm going to assume you know where to put your .vim files :p

Is there a (C/C++) library of for bit twiddling? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
There are many known bit twiddling hacks, e.g. the list here; as well as numerous questions here on SO.
Is there a standard-ish library, or even a single header file, implementing all of these? (I would get, as inline functions and/or as preprocessor macros.)
Edit: I'm not interested in implementations using specialized types, i.e. bit vectors or bit sets, but rather code which works directly on your ints/unsigneds/etc.
Well, there's std <bitset> or even bitmagic
Googling will find even more
These are 2 libraries named "Bitfile" library and "Bitarray" library. You can find it at:
http://michael.dipperstein.com/bitlibs/
There is also a single header file which you might find useful at:
http://www.catonmat.net/blog/bit-hacks-header-file/

Can anyone recommend a concurrent, real-time diagramming/flowchart collaboration tool? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I'm looking to work with others to quickly build a rather large class flow diagram that may or may not be strict UML. Can anyone recommend a networked, concurrent collaboration tool for such a task? Price is not an issue, but the target system must be Windows.
Surely someone must have done something like this in the past.
Any ideas?
DabbleBoard has an online diagramming tool that may do what you want. It should work on Windows, although it is a web-based and fairly low-level.
I don't know exactly how concurrent you need it, but Google Docs have just introduced a 'drawing' document type, which is basically a stencil based system like visio. It includes flowchart elements, and of course can be shared.