C++

Learning C Programming – Why and How

C might sound like the language of programming wizards. Normally, the current generation of programming beginners have an array of high level languages like Ruby, Python and PHP to work with. Working with Java+(Some GUI Library) or .NET seems more intuitive. So, why learn C? And if you’re convinced that it’s a good language to [...]

Taking User Input Containing Spaces

In c++, many a times, you’d want to take a string as an input. But the default cin statement cannot accept spaces, i.e. it terminates the input when it encounters a space. For eg, if you input ‘Hello World’, only ‘Hello’ would be stored and rest all discarded. To overcome this, we have a function [...]