You can improve your program by seeing other sample codes
here is a simple example is discussed here hope it will be helpful.
Its function based and some restrictions to user not to enter wrong...
|CodeGuru Home||VC++ / MFC / C++||.NET / C#||Visual Basic||VB Forums||Developer.com|
Type: Posts; User: fahadmunir32
Search: Search took 0.01 seconds.
Results 1 to 4 of 5
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.