Hello,
i am trying to take data entered via the command line and assign it to a variable,
The affected values/fields:
Before main
#define KEY_BYTES 24
After main
unsigned char keyData[KEY_BYTES];
keyData = argv[2];
The compiler is complaing that keyData must be a modifiable...
I have a program that takes data entered from a keyboard and uses it as a random seed value, is there anyway to generate a string of up to 80 characters that could be used in place of data entered from a keyboard?
am a new to this board and came here out of desparation....
I need to modifiy a C program to allow the workareas (there could be up to 30) it uses to be defined externally and passed to the C program, also I need to pass the lengths of the work areas.
I have exhausted my limited knowledge of C...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.