mercredi 13 février 2013

In C++ How can I tell the difference between integers and characters?

I am currently learning C++ and I have been asked to make a program which will calculate the interest that would be paid on a deposit of a given size. One of the requirements is that we display an error message when non-integer data is entered.

I however cannot work out how to detect if non-integer data has been entered. If anyone could provide an example of how this problem is solved it would be much appreciated!

What is a VPN?


VPN is (Virtual Private Network) were first used by companies to enable their employees to securely access internal systems such as email remotely (e.g. from home or while on business trips). Today they are increasingly being used for personal use by individuals to protect their privacy while online in public places (e.g. when using the wi-fi connection in a cafe) or in a country where the internet is censored / blocked (e.g. China, Saudi Arabia…).

Aucun commentaire:

Enregistrer un commentaire

Remarque : Seul un membre de ce blog est autorisé à enregistrer un commentaire.