How to protect program before incorrect input data?

Discussion in 'C++' started by piruk, Mar 31, 2007.

  1. piruk

    piruk Guest

    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
    piruk, Mar 31, 2007
    #1
    1. Advertising

  2. piruk

    Ian Collins Guest

    piruk wrote:
    > 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.

    --
    Ian Collins.
    Ian Collins, Apr 1, 2007
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Big E

    Input string incorrect format

    Big E, Jul 1, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    2,277
    Curt_C [MVP]
    Jul 1, 2004
  2. Andy
    Replies:
    4
    Views:
    299
    Andreas Andersen
    Feb 2, 2005
  3. benjamin
    Replies:
    3
    Views:
    375
    Max M
    Oct 21, 2004
  4. Replies:
    1
    Views:
    308
    bruce barker
    May 31, 2007
  5. Replies:
    2
    Views:
    406
    santosh
    Jan 20, 2008
Loading...

Share This Page