Quantcast
Channel: My Byte of Code
Browsing latest articles
Browse All 8 View Live

About My Byte of Code Blog

Blog about developing beautiful, cool and functional software. Posts will mostly deal with Objective-C, Cocoa, C/C++, possibly some Python and other languages, frameworks and technologies that one may...

View Article



Markdown and Pygments to syntax highlight code in Blogger

I wanted to use Markdown for posting on Blogger. As I am planning to post source code examples I wanted to be able to do syntax highlighting of the code. I've found python-markdown which is Markdown...

View Article

Use vim to generate and execute bash commands

I have been using vim almost exclusively for file editing on any operating system that I use, whether Mac OS X, Linux or Windows. Here is an example how to use vim to build and execute bash commands...

View Article

Representing bidirectional relationship with boost::bimap

In C++, std maps and hash-maps are perfect choice for storing key-value pairs of elements. We use key to lookup related value(s). Quite often I manipulate key-value relationships where both keys and...

View Article

My FizzBuzz Solution In C++

If you are not sure if I can write simple code here is my FizzBuzz c++ solution: #include using namespace std; int main() { for (int i = 1; i

View Article


Parse CSV File With Boost Tokenizer In C++

Often data required by application are available in CSV formatted files. In c++ it is easy to read file line by line. All that is left is to extract fields from each line and insert them into...

View Article

Parse CSV File with Embedded New Lines Using Boost Tokenizer and C++

In my previous post, Parse CSV File With Boost Tokenizer in C++, I have shown how to use Boost Tokenizer to parse CSV files. The algorithm expected that the file contains one record per line. However,...

View Article

Build Xcode project from within Vim

To be able to compile Xcode project from Vim with :mak I set makeprg option to use xcodebuild instead of Makefile.I set makeprg for objective-c files in local ftplugin for objective-c...

View Article

Browsing latest articles
Browse All 8 View Live




Latest Images