Author Archives: GauZ

My name is Gaurav Pandey. I graduated from Columbia University (Dept. of Computer Science) and have been working as a Software Developer on a variety of technologies in the beautiful city of New York :)

Printing hex values using cout()

I wanted to display hex numbers and came across setf() & unsetf() functions which are quite useful to know of! There are different kinds of flags & masks you can use as well. Please refer http://www.cplusplus.com/reference/iostream/ios_base/setf/ for more information. #include <iostream> using namespace std; int main() { int num = 255; cout.setf(ios::hex, ios::basefield); cout << […]

0  

How does a compiler tie an error message back to the source code?

Usually we see (C++/.NET) programs throwing exception messages which are not very informative. But at-least they direct me to the line from where the problem originated. How does the compiler do that? Compilers have two modes when building a program – DEBUG & RELEASE. By default, compiler builds the program in the debug mode & […]

0  

Back after a while …

A lot has changed around me in the last one year or so 🙂 I’ll start posting new items on my blog on a regular basis going forward.

0  

Semantic Test Plan – KFrog Language

This post is an extract from one of my earlier project under Prof. Alfred Aho for the course – Programming Language & Translators, where I implemented a Test Suite for validating the KFrog Language interpreter. Report: http://docs.google.com/viewer?url=http://gauravpandey.webs.com/KFrog_FinalProjectReport.pdf Technical details: https://docs.google.com/View?id=d8gtx9j_164g2gz7k5x Originally, the idea was to test the graphical output generated by the interpreter. Since, it […]

0  

Technical Certifications are like a TAX!

Just like many other Software Developers and Network Administrators, I was wondering whether Certifications in a particular technical domain will be advantageous in a way. Microsoft, Cisco, Oracle, Red-Hat and countless others have their own set of certifications to assess, evaluate & justify a candidate’s skill set. But to be honest, ‘Certifications are like TAX […]

0