Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 10-17-2006, 05:42 AM   #1 (permalink)
krisl100
krisl100
 
Join Date: Oct 2006
Location: Montreal
Posts: 34
krisl100 is on a distinguished road
Validation

Now I am very stuck as well, my book is very basic, & does not cover validation, so in my previous excercise about calculating the student marks, if someone enters any invalid data, say instead of entering 89 as a mark, they enter a letter, or an invalid name, etc. How to I put validation into my program? If someone could please show me how, that would be great, since right now it is expected that the user will enter correct values (which I know is not good since I have worked in Software QA)

Thanks.
krisl100 is offline   Reply With Quote
Old 10-18-2006, 01:31 PM   #2 (permalink)
Valmont
[code][/code] enforcer
 
Valmont's Avatar
 
Join Date: Mar 2003
Location: Netherlands
Posts: 1,544
Valmont is on a distinguished road
Good question.
Search this forum everything related to sstream and stringstream.

Study, play with it. You'll become good. You'll become awesome .
__________________
Valmont is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
sql server 2000 validation problems cmartin2 MS Technologies ( ASP, VB, C#, .NET ) 0 12-11-2004 11:55 AM


All times are GMT -8. The time now is 12:58 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting