Diff
checker
Text
Text
Images
Documents
Excel
Folders
Legal
Enterprise
Desktop
Pricing
Sign in
Download Diffchecker Desktop
Compare text
Find the difference between two text files
Tools
History
Real-time editor
Hide whitespace changes
Hide unchanged lines
Disable line wrap
Layout
Split
Unified
Diff precision
Smart
Word
Char
Text styles
Change appearance
Syntax highlighting
Choose syntax
Ignore
Transform text
Go to first change
Edit input
Diffchecker Desktop
The most secure way to run Diffchecker. Get the Diffchecker Desktop app: your diffs never leave your computer!
Get Desktop
pwd
Created
5 years ago
Diff never expires
Clear
Export
Share
Explain
12 removals
Lines
Total
Removed
Characters
Total
Removed
To continue using this feature, upgrade to
Diff
checker
Pro
View Pricing
20 lines
Copy
12 additions
Lines
Total
Added
Characters
Total
Added
To continue using this feature, upgrade to
Diff
checker
Pro
View Pricing
20 lines
Copy
Copy
Copied
Copy
Copied
printf("
Inserire una
password
che contenga
4 numeri
: ");
printf("
Digitare la nuova
password
(
4 numeri
)
: ");
scanf("%d", &
val
Password
1
);
scanf("%d", &
new
Password
);
printf("
Inserire
nuovamente la
password: ");
printf("
Digitare
nuovamente la
nuova
password: ");
scanf("%d", &
valPassword
);
scanf("%d", &
newnewPassword
);
if(
valPassword==val
Password
1
)
if(
newnewPassword==new
Password
)
{
{
ptrPassword = fopen("filePassword", "wb");
ptrPassword = fopen("filePassword", "wb");
if(ptrPassword)
if(ptrPassword)
{
{
Copy
Copied
Copy
Copied
fwrite(&
newnewPassword
, sizeof(int), 1, ptrPassword);
fwrite(&
valPassword
, sizeof(int), 1, ptrPassword);
printf("\nPassword creata correttamente.\nRiavviare il programma per salvare le modifiche.\n\n");
}
}
else
else
{
{
printf("Errore di file");
printf("Errore di file");
}
}
Copy
Copied
Copy
Copied
fclose(ptrPassword);
}
}
Copy
Copied
Copy
Copied
Saved diffs
Original text
Open file
printf("Digitare la nuova password (4 numeri): "); scanf("%d", &newPassword); printf("Digitare nuovamente la nuova password: "); scanf("%d", &newnewPassword); if(newnewPassword==newPassword) { ptrPassword = fopen("filePassword", "wb"); if(ptrPassword) { fwrite(&newnewPassword, sizeof(int), 1, ptrPassword); } else { printf("Errore di file"); } }
Changed text
Open file
printf("Inserire una password che contenga 4 numeri: "); scanf("%d", &valPassword1); printf("Inserire nuovamente la password: "); scanf("%d", &valPassword); if(valPassword==valPassword1) { ptrPassword = fopen("filePassword", "wb"); if(ptrPassword) { fwrite(&valPassword, sizeof(int), 1, ptrPassword); printf("\nPassword creata correttamente.\nRiavviare il programma per salvare le modifiche.\n\n"); } else { printf("Errore di file"); } fclose(ptrPassword); }
Find difference