Coder's Guild Mailing List

Re:

Posted by Osipov Alexey on 2000-05-07

Hello.

If you use char smth[] then you suppose to check range then you access
array or to made it NULL terminated to use strcmp( ) and other standard
procedures.

>  cout << "Type Author of Book: ";
>  cin >> pBook->author;

I hope this will help to solve your problem. Bye.