hımm I understood it now.
printf("usernameLoginP=%p\n",usernameLoginP); //0040,,,,
printf("username=%p\n",username); //0022cc...
if( strcmp(username, usernameLoginP ) == 0...
Type: Posts; User: plodos
hımm I understood it now.
printf("usernameLoginP=%p\n",usernameLoginP); //0040,,,,
printf("username=%p\n",username); //0022cc...
if( strcmp(username, usernameLoginP ) == 0...
Elysia you know what are you doing but im not :)
If you did similar things, just give me an idea or hint! ( ex: can I do it without using pointers )
in my humble opinion, pointer is not for me...
but the outputs are same and decimal
printf("usernameLoginP=%s\n",usernameLoginP); // usernameLoginP=20009874
printf("username=%s\n",username); //...
thank you :) but :s
usernameLoginP = usernameLogin;
passwordLoginP = passwordLogin;
printf("usernameLoginP=%s\n",usernameLoginP); // usernameLoginP=20009874
...
char usernameLogin[10];
char passwordLogin[10];
char *usernameLoginP;
char *passwordLoginP;
//same code
printf("type username :"); scanf("%s",&usernameLogin); printf("\n");
...
thnx for urgent reply but the another problem is
i dont know how to apply
is it possible go get values from the file without using pointers?
than I can compare only the strings ( i will change...
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <ctype.h>
#include <time.h>
#include <sys/types.h>
char *password;
char *username;
Thnx for urgent reply
I will change the algortihm
#include <stdio.h>
#include <stdlib.h>
int main()
{
FILE *dg;
int No1,No2;
int username,password;
if( (dg=fopen("ogr.txt","r")) == NULL )
Application of stack structures:
1. Checker of Parentheses
2. Calculation of Arithmetic Expressions
3. Recursion
I search the relationships between stack structures and first (Checker of...