-
August 26th, 2016, 03:30 PM
#1
[RESOLVED] char [] or char [large size] question
Hello
I have a very simple question yet can't find answer. I need to store key from user input in a char but don't know how to set correct size without causing buffer errors.
if user enter more than 50 characters then exe will crash. I would like to use like a string where no size initialize is required. Any idea ?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|