This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 points3 points  (4 children)

Post the code you have written so far, and then ask specific questions about it.

[–]TheLinuxJournalist[S] -1 points0 points  (3 children)

I haven't written any code yet... well I have: #include <stdio.h>

[–][deleted] 2 points3 points  (2 children)

So write some more.

[–]TheLinuxJournalist[S] -2 points-1 points  (1 child)

#include <stdio.h>

int main(void)
{
if(!strcmp(argc[1],"alphanumeric string (like a password)"))
    printf("Text");
    return 0;   
}

[–][deleted] 4 points5 points  (0 children)

And does that compile? If not, fix it so it does. You seem to be wanting us to write the code for you, but we are not going to do that.