Hot answers tagged

10 votes

Cross-platform C GUI

It is worth taking a look at wxWidgets - it is a cross platform GUI library written in C++ but it can be used from C and also has bindings for python, ruby, perl and others. Cross Platform - Yes ...
user avatar
  • 31.1k
8 votes

C/C++ library to parse SVG files?

New SVG++ library is a good choice for SVG reading in C++, except that it is not lightweight and requires Boost library. But as it is header-only library and uses only header-only libraries from Boost,...
user avatar
  • 181
6 votes

C/C++ library to parse SVG files?

You have a few options: librsvg from the Cairo Graphics project extend libsvgtiny to meet your needs extract the SVG layer from Amaya use an xml parser and then parse properties as needed for C++ and ...
user avatar
6 votes

C/C++ library to parse SVG files?

The QT Framework includes QT SVG, a module able to generate and render SVG files.
user avatar
  • 211
5 votes
Accepted

C and C++ portable IDE with up-to-date compiler

The easiest free GCC based IDE for Windows is Code::Blocks, which can be portable. But, alas, it doesn't currently have 4.9 - perhaps you could ask on the forums? Or, would you consider using 4.7 or 4....
user avatar
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 ...
user avatar
  • 1,770
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 ...
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 - ...
user avatar
  • 31.1k
4 votes

Free C/C++ IDE for Windows supporting static libraries, with good documentation

I regularly do c++ Development work on Windows and my choice over the years has been Eclipse CDT ( C++ Development Tools ). Key Highlights of Eclipse CDT are: Free Very Stable Supports Cross ...
user avatar
  • 141
4 votes

API for creating/uncompressing zip files, ANSI C compatible and used in Windows applications

You can use LZMA SDK. cross platform ANSI C compatible public domain license You must tell your compiler where to look for headers or copy the headers to standard directories (see this).
user avatar
  • 4,720
4 votes

Find dead code in a C program by runtime analysis

You can use splint with the alluse flag to check for unused functions but personally I would use doxygen to produce a call map - any functions that have no parents are probably unused - just look out ...
user avatar
  • 31.1k
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.
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 ...
user avatar
3 votes

C IDE for Debian Embedded Development

You can use Code::Blocks on a wide variety platforms - it works with a variety of compilers, including cross compilers, and you can configure for remote debugging - usually important on developing ...
user avatar
  • 31.1k
3 votes
Accepted

C IDE for Debian Embedded Development

emacs will work, although I prefer geany which has status, compiler, messages, scribble, and terminal windows along with all the code/file windows. It has a compiler, a linker, ability to set all ...
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 ...
user avatar
  • 239
3 votes

API for creating/uncompressing zip files, ANSI C compatible and used in Windows applications

Perhaps libarchive is the answer, but I'm not sure if it's ANSI C. Though it's portable and works on most POSIX-like systems (including FreeBSD, Linux, Solaris, etc.) and supports Windows, including ...
user avatar
3 votes

Is there a lightweight library that can perform RSA-2048 encryption for an embedded application?

Yes, LibTomCrypt. LibTomCrypt implements most common cryptographic primitives (and many uncommon ones), including RSA (PKCS#1 v1.5, PSS and OAEP modes). The code is clean and portable C, so you can ...
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 ...
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 ...
user avatar
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.
user avatar
  • 2,942
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
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;...
user avatar
  • 1,288
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" ...
user avatar
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 ...
user avatar
  • 256
2 votes

C# parser for parsing incomplete C code

Our DMS Software Reengineering Toolkit with its C Front End can parse "incomplete code". In particular, given a DMS-based parser, DMS provides both nonterminal pattern parsers (that is, DMS will ...
user avatar
  • 1,140
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 ...
user avatar
  • 131
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 ...
user avatar
  • 21
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) ...
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 -...
user avatar
  • 31.1k

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