Hot answers tagged

5 votes

Performant but memory efficient C hash map

khash A few C hash table/map libraries exist but, based on your requirements, the only one that I know you could try is khash, by Attractive Chaos. It's part of klib, a standalone and lightweight C ...
mguassa's user avatar
  • 1,810
5 votes
Accepted

Ultra-lightweight editor (like Python's IDLE) for C

Sublime Text should be able to do all three of your tasks: Basic context coloring This generally happens automatically. Ability to collapse {} blocks You can do this by using the "gutter" (the ...
ahuff44's user avatar
  • 186
5 votes
Accepted

Cross-platform IDE alternative to MS Visual Studio - other than Eclipse CDT

I would suggest taking a look at Code::Blocks as a possible alternative that is Free, Open Source & Cross Platform. Your feature requests Find and replace works like Visual Studio on Windows - ...
Steve Barnes's user avatar
  • 31.4k
4 votes

A static analysis tool for C/C++

You can try CppDepend, it can report you what you want and you can customize its cqlinq queries to query as you want the codebase.
James from CppDepend Team's user avatar
4 votes
Accepted

Good IDE for C language with code-simplification-suggestions?

Eclipse CDT is a free C/C++ IDE which has a key combination (Ctrl+Shift+O, IIRC) which will remove unused #include and add those which are missing. Most modern compilers (such as GCC) will warn you ...
Mawg says reinstate Monica's user avatar
3 votes

Looking for a Go to C compiler for Linux

If you want the greatest cross platform support with least effort then Go is a great choice. While there may be some C compilers for a few platforms that Go does not support, C is actually not nearly ...
Joshua Kolden's user avatar
3 votes

Code clone detection software

I have used Simian, which identifies duplication in Java, C#, C, C++, COBOL, Ruby, JSP, ASP, HTML, XML, Visual Basic, Groovy source code and even plain text files It is a commercial software with ...
Thomas Weller's user avatar
3 votes
Accepted

Find dead code in a C program by runtime analysis

Given that @user2284570 is in the comfortable situation of covering 100% of use cases via tests dynamic code analysis will provide the answer. In other cases removal of functions, their calls and ...
Harri's user avatar
  • 239
3 votes

Cross-platform IDE alternative to MS Visual Studio - other than Eclipse CDT

It seems that JetBrains CLion may meet almost all of your requirements. It is often not gratis, though. You might also want to have a look at the C++ IDE comparison table on Wikipedia.
einpoklum's user avatar
  • 3,131
3 votes

Software for handling graphs in Python or C/C++

To handle graphs data structures in Python there is the popular networkx. Another simpler and effective library is Altgraph (that I use and contribute to)
Philippe Ombredanne's user avatar
3 votes
Accepted

I'm looking for a C programming app for Android

I have CppDroid on my mobile phone. It compiles C & C++: https://play.google.com/store/apps/details?id=name.antonsmirnov.android.cppdroid
Xatenev's user avatar
  • 168
3 votes

Is there a lightweight IDE for C with nice visual design?

CudaText (free, open source) is lite and allows it, but with some steps from user. user needs plugins: Config Toolbar, External Tools (all in Addon Manager) user needs to add a "tool" to compile code;...
RProgram's user avatar
  • 1,298
3 votes
Accepted

IDE for C, Ubuntu

I have been a profession embedded programmer for "a few" decades. Eclipse is what I have always used, in industry, when developing under Linux. There are probably others, some may even be "better" ...
Mawg says reinstate Monica's user avatar
3 votes

Free and Open Source C compilers for PIC10 family of Microchip microcontrollers?

I'm quite sure you're out of luck. For low-end PICs, Microchip use their proprietary compiler, xc8, which absolutely sucks (extremely bloaty code, virtually no optimization, not-quite standards ...
Lorraine's user avatar
  • 131
3 votes

What library/fitting algorithm for C++ do I need to fit an 1D function to experimental data?

scipy.optimize.curve_fit uses the lm method by default for unconstrained problems. The documentation for scipy.optimize.least_squares says that Method ‘lm’ (Levenberg-Marquardt) calls a wrapper over ...
paleonix's user avatar
  • 207
2 votes

Tool or library to copy OCRed text from a pdf to another

You mentioned wanting to use a library to implment this type of recognition in your own code. I would suggest using LEADTOOLS OCR, this is a commercial SDK for Optical Character Recognition. The ...
Berto10's user avatar
  • 256
2 votes

C/C++ ini file parser library

Modern and cross-platform library is also inicpp. It has pretty good test support, is easy to use and one of the greatest features is schema validation (with full type safety). It's not big, but it's ...
Semai's user avatar
  • 21
2 votes

Implementation of RFC 6951 "Encapsulation of SCTP inside UDP" as a C library

usrsctp will provide the functionality you are looking for. https://github.com/sctplab/usrsctp Description from the project: This is a userland SCTP stack supporting FreeBSD, Linux, Mac OS X and ...
John's user avatar
  • 131
2 votes

Code clone detection software

Let me recommend these 3 tools, that might solve your problem: http://www.solidsourceit.com/products/SolidSDD-code-duplication-cloning-analysis.html - best, but not free (in fact a bit expensive) ...
Tomasz Klim's user avatar
2 votes
Accepted

Find calls to typed functions which do not check the return value

In gcc you have the following options: -Wunused-result Warns if returned value is unused -Wunused warn about a number of unused cases and -Wall (my favorite) turns on a bunch of warnings including -...
Steve Barnes's user avatar
  • 31.4k
2 votes
Accepted

Mature and robust open source C library for audio file conversion

I would suggest using the FFMPEG libraries, specifically libavcodec: Can decode and encode most common audio & video codecs as well as several obscure ones - including those you mention above. ...
Steve Barnes's user avatar
  • 31.4k
2 votes
Accepted

Utility to strip parts of C header based on defines

I think you're remembering unifdef. It understands definitions passed on the command line, including arithmetic. It doesn't parse macro definitions inside the file, only conditionals. It can parse ...
Gilles 'SO- stop being evil''s user avatar
2 votes

A C code beautifier that does *nothing* by default?

I wish there was a tool that behaved like you describe. We gave up on using code formatting tools in our projects because the formatting changes they enforced annoyed developers far more than we ...
pavon's user avatar
  • 121
2 votes

C library that can detect when eyes blink from a video

That is a easy set of specifications: OpenCV should - with a little effort do the job nicely: Free - both Gratis & Open Source Things like face detection & blink detection are well within the ...
Steve Barnes's user avatar
  • 31.4k
2 votes
Accepted

Software to determine cluster speed

This kind of benchmark only can give you an approximation because whatever you compile might not be comparable because the same code might get more optimized on the one cluster than on the other. ...
Marged's user avatar
  • 337
2 votes
Accepted

GUI for LLDB (preferably most resembling xcode)

I suggest you try one of the GDB-frontend debuggers, and just tell it to use lldb in the backend. Personally, I use Eclipse CDT as an IDE, which has an inbuilt debugger frontend of course, and ...
einpoklum's user avatar
  • 3,131
2 votes
Accepted

Is there a code analysis tool that can reduce my conditional branching?

I’ve had some success using a tool called CppCheck via a Jenkins CI system. I don’t specifically track conditional branches, but, the amount of checks this tool provides is worth the look. In ...
rrirower's user avatar
  • 1,159
2 votes

Cross-platform IDE alternative to MS Visual Studio - other than Eclipse CDT

I believe MonoDevelop is suppose to be the "Visual Studio" of Mac and Linux. There is also Xamarin Studio. Xamarin was bought up by Microsoft within the past year, and is going to be Microsoft's cross ...
Chillie's user avatar
  • 341
2 votes

Cross-platform IDE alternative to MS Visual Studio - other than Eclipse CDT

Qt Creator Qt Creator is a very good (and portable) C/C++ IDE in my experience. Its code-completion and code navigation capabilities are on par with Visual Studio. I'm not sure how well it handles ...
d99kris's user avatar
  • 131
2 votes

Software for handling graphs in Python or C/C++

I code both Python & C++ (and a few others), and I eschew drag & drop, GUI based, tools in favour of those which take their input from a text file. That makes it easy for me to develop ...
Mawg says reinstate Monica's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible