Archive

Archive for the ‘fedora’ Category

Some C++ programs

July 31st, 2008

Update:
As requested by Sajith Karingat (comment #29), I worked on a Phone Billing System in C++, as per his requirements. You can download it here.

I have entered my final year in my B.Tech course, and with it, it’s placement time. Companies for the computer science stream (my stream) will start visiting my college beginning from 11th August. The first to come will be TCS (Tata Consultancy Services) which is considered as a good IT firm in India with global fame.

As part of my prep for the placements, obviously, I am revising my concepts (technical ones). Today, as it was raining heavily in the college, we sat in our central canteen, waiting for the rain to stop. During that time, we held a heated discussion on C++ programs that were most likely to be asked in interviews for placements.

Amongst those programs, one was to swap the values of two variables “a” and “b” without using the “temp” variable. Another interested one we discussed was that would generate a pattern like:

1
2 3
4 5 6
7 8 9 10
11 12 13 14
…… and so on.

When I got back home, I decided to have a go on these programs. And so, here are my answers to above problems.

Read more…

Anurag Bhandari Review, c++, fedora, interview, programming, python , , , , , , ,

Fedora 9 – The first impression

May 20th, 2008

It took me about 8 hours to download the Fedora 9 i386 DVD image from their server. I did that even when I had my final exams going on, but then Fedora has always had a special place in my heart. I had an existing installation of Fedora 8 on my PC (which I could have just “upgraded”, still I went to make a fresh install. I’ll format the F8 partition later, once I have backed up my stuff from there.

The Fedora 9 download got over in the morning, after which I had my paper. So, I decided to install it after returning home from college. And I did exactly that. ;)

It didn’t take much time in burning the image onto a DVD. As soon as it was done, I popped in the DVD in my DVD drive and rebooted. After a few seconds, I was able to see all the installation options, like perform a fresh install, upgrade an existing installation, boot from the first hard disk, etc. I chose the first option.

Read more…

Anurag Bhandari Review, fedora, linux , , ,