How to protect program before incorrect input data?

P

piruk

I have to write a program in c++, which write lots of data. I use int,
double and string. How to protect the program before incorrect input
data? What is the best way?

piruk
 
I

Ian Collins

piruk said:
I have to write a program in c++, which write lots of data. I use int,
double and string. How to protect the program before incorrect input
data? What is the best way?
Please don't multi-post on Usenet, cross-post if you must, but don't
multi-post.

See alt.comp.lang.learn.c-c++ for a good answer.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top