Quantcast
Channel: c – The Random Engineer
Browsing latest articles
Browse All 12 View Live

Image may be NSFW.
Clik here to view.

Compiling your C/C++ and Obj C/C++ Code with “clang” (LLVM)

clang is a recent addition to the landscape of development within the C family. Though GCC is a household name (well, in my household), clang is built on LLVM, a modular and versatile compiler...

View Article


Image may be NSFW.
Clik here to view.

Displaying C++ vtables

A vtable is a mapping that allows your C++ application properly reconcile the function pointers for the base classes that have virtual methods and the child classes that override those methods (or do...

View Article

Image may be NSFW.
Clik here to view.

OCR a Document with C++

There is an OCR library developed by HP and maintained by Google called Tesseract. It works immediately, and does not require training. Building it is trivial. What’s more trivial is just installing it...

View Article

Image may be NSFW.
Clik here to view.

OCR a Document by Section

A previous post described how to use Tesseract to OCR a document to a single string. This post will describe how to take advantage of Tesseract’s internal layout processing to iterate through the...

View Article

Image may be NSFW.
Clik here to view.

Use TightOCR for Easy OCR from Python

When it comes to recognizing documents from images in Python, there are precious few options, and a couple of good reasons why. Tesseract is the world’s best OCR solution, and is currently maintained...

View Article


Image may be NSFW.
Clik here to view.

Scriptable C++

What if C++ were a scripting language that you could eval from your native C++? ChaiScript: http://chaiscript.com Example (from the homepage): #include <chaiscript/chaiscript.hpp> std::string...

View Article

Image may be NSFW.
Clik here to view.

Embedded SQL

A nostalgic visit from the past: Embedded SQL, where you can inject live SQL directly into your C code. EMBEDDED SQL IN C Introduction to Pro*C The second refers to such development using Oracle....

View Article

Image may be NSFW.
Clik here to view.

Best Argument-Processing for .NET/C#

After trying NDesk.Options and Fluent, I am nothing but impressed with CLAP (“Command-Line Auto-Parser”). It completely relies on reflection and parameter attributes (usually just one or two) to...

View Article


Image may be NSFW.
Clik here to view.

C#: Parsing a CSPROJ (Project) File Using XPath

Using XPath in C# can be done several different ways through a several built-in libraries, and none of them work unless you are a lot more familiar with the file than would be required in many other...

View Article


Image may be NSFW.
Clik here to view.

MSBuild/C#: How to Manage the Application Version Using a Text-File

Overview C# applications have an “AssemblyInfo.cs” file that describe the assembly and executable versions of a project. Unfortunately, sometimes it is not possible to access this from the code. Other...

View Article
Browsing latest articles
Browse All 12 View Live