Best Practice

December 29, 2014

It's funny how I do everything except the work I set out to do.  Time to leech some knowledge from random pro people online.

Today I found this tutorial platform. Reading it now. Hmm "16 years of experience in the software development industry" sounds exciting already.


All about C++

December 10, 2014

What do signed and unsigned means in C++ ?

Answers: 
- Signed integer can be negative, unsigned integer cannot.
- Signed integer has undefined behaviour if overflow while unsigned integer wrap around using
   modulo.

E.g signed char has size 1byte = 8bit =  28 = range of values from -128 to +127

What is C++ used for in 2014?
- still the most widely used programming language
- still drive much of technology of small devices
- best compatibility with C of any language
- not just client side development, also widely used for server side applications
- used to develop system software, application software, high-performance server, video games, client applications

say this and that.

How to pronounce Bjarne Stroustrup?
'Be-ar-neh Strov-stroop' according to him. 
Check him out here. He is still ALIVE. 


Interview Questions

Found a lot of boring questions. I going to build and learn instead.

Illustration : Animal stickers

December 4, 2014

Today I made some animal stickers! :) 






How to compile C++ on Mac

Create a C++ Project on Mac

1. Open XCode
2. Choose Command Line Tool under OX S Application
3. Choose type c++

Voila.

Video tutorial here.
Found an awesome C++ cheat-sheet here.
Another good tutorial to kickstart C++;

That's all.



What are Linux and UNIX?

December 2, 2014

What is UNIX?
- not free
- complete operating system developed in 1960s
- has different types: Sun solaris / Linux, MacOS X
- has 3 parts : kernel, shell [ e.g. bash, cmd], programs
- everything in UNIX is a file or process
- UNIX commands : cd | ls | pwd | mkdir




What is Linux?
- free
- not complete operating system developed in 1991
- only a kernel
- an open-source UNIX clone
- e.g. Ubuntu





Say bye bye to GUI and hello to terminal












See more difference between Linux and UNIX over here.

Resources: http://www.ee.surrey.ac.uk/Teaching/Unix/unixintro.html