Posting Source Code in WordPress Posts

Found this handy article on Posting Source Code in WordPress Posts today which I hope may enable me to start posting C++ codes via posts. It also says that for wordpress.org users (which I am) this the SyntaxHighlighter Evolved Plugin is required. I’ve decided to give it a try – to post the classic Hello World C++ Code in t his post and see what I get.


#include <iostream>

using namespace std;

int main()
{
cout << "Hello world!" << endl;
return 0;
}

Did it work?

 

My solutions to the book Accelerated C++ (A. Koenig and B. Moo)

C++ is one of the most popular programming languages used in the scientific programming area. So I’ve decided to have a go learning it.

I’ve been recommended to start with this book called Accelerated C++ by Andrew Koenig and Barbara E. Moo (Published in 2000 by Addison Wesley). The book is very compacted (~300 pages) and is said to be suitable for beginner. The tag line is “Practical Programming by Example” – teaching only the bits and pieces that are required to solve most of the problems.

The book contains 17 chapters. At the end of each chapter is a list of problems to solve. As part of my learning I shall have a go solving these and post my solutions and feedback via posts.

It’s just learning.