IRCTC App for Windows 8 and Windows Phone goes live

Please download the IRCTC (Indian Railways Catering and Tourism Corporation Limited) app from the following locations… Windows Phone IRCTC app can be downloaded from here Windows 8 IRCTC app can be downloaded from here The IRCTC is an amazing organization. To share a few statistics of IRCTC… 20% of the monthly Internet traffic in India […]
Continue reading…

 

Turn on/off buffering for streams in c++

Use io manipulator ‘unitbuf’ to turn off stream buffering and ‘nounitbuf’ to turn on stream buffering. If ‘unitbuf’ is on the stream object is flushed after every insertion else the stream is not force flushed. For e.g. endl triggers a flush in cases of ‘nounitbuf’. Sample code: fstream fstr( “c://Hello.txt” ); [sourcecode language=”cpp”]cout << unitbuf […]
Continue reading…

 

Technical Interview question: Stack growth direction

This one is a brain teaser for my native programmers. Prove via code the direction of a threads’ stack growth i.e is it upwards or downwards. Post your answer as a comment. I’ll post mine in a while.
Continue reading…