I just beginner in computer programming- not very far from the 'Hello world'. OS is linux and I use it through 'putty' in a pc (Windows XP). My problem is that the following little piece of code compiles(c++) but gives an error message "Segmentation Fault". Any help with explanation? Thanks.