View Feed
Coffee Room
Discuss anything here - everything that you wish to discuss with fellow engineers.
12889 Members
Join this group to post and comment.

Source Code For Sign up and Sign in in C

May anyone tell me whats wrong with this code i am beginner






    char username[1000][2000];

    char password[1000][2000];

    int i;

    printf("Hello What You Want to do: \n 1.REGESRTER \n 2.LOG IN \n 3.Exit ");




     printf("Hello New User Enter Your password:");


     printf("Enter a password For your User name");






     else if(i==2)


                  printf("Enter Your User name:");


             printf("Enter Your Password:");



             else if (strcmp(username,username[0][1000])==0 && strcmp(password,password[0][1000])==0)


                  printf("Wellcome Back Master %s",username)





        printf("For Exit Hit ENTER button");



return 0;


Kaustubh Katdare
Kaustubh Katdare • Oct 24, 2018

What error message are you getting? 

else without if.. 

or it just run sometime but show file stop working. 

Hii may help pliz micro projects in drawing pliz brother.. 

i didn't  understand what are you saying  about??? 

Share this content on your social channels -