I'm sorry about my impatience. I will try to read the book. If i stuck, then i will ask for your help. Thx for the suggestion maven.
Type: Posts; User: suckss
I'm sorry about my impatience. I will try to read the book. If i stuck, then i will ask for your help. Thx for the suggestion maven.
Can i store the username entered by the user and the password to an array instead of storing it into a pointer? what's the code will looks like?
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#define salt "AAAAA"
#define name1 "Alice"
#define pass1 "Alice123"
#define name2 "Bob"
#define pass2 "Bob12345"
#define name3...
yeah what does argc and agrv means...coz im new to C. i prefer c++ rather than C. i never study c before and it's quite confusing for me to see the codes.
nah, i'm quite satisfied with it now. Coz i'm tryin to do bufferoverrun.
I might have a question again later regarding buffer overrun.
anyway thanx for you help SKeane
thanx a lot for the help.
My sample code:
#include <stdio.h>
#include <string.h>
#define name1 "denny"
#define pass1 "123"
int main(int argc, char *argv[])
{ char name[5];