FILE*
File* ptr
file
$ git help
$ git help <command>
$ git reset --<file> /** remove ADD*/
$ git reset --soft/hard <commit> /** reset COMMIT: preserve changes/ dischard changes */
$ git checkout --<file> /** DISCARD changes */
$ git checkout <commit> /** Jump between commits */
$ git checkout <commit> -- <file> /** Revert file to previous commit */
$ git merge --abort /** cancel MERGE */
$ git reset --hard HEAD^ /** Git reset to choosedcommit **/
file
#include<stdio.h>
#include<conio.h>
void main(){
FILE * fp;
char ch;
char name[100];
fp = fopen("a.txt","a");
printf("y/n");
scanf("%c", &ch);
printf("%c", ch);
while(ch == 'y'){
printf("Enter name");
scanf("%s", name);
printf("%s", name);
if(name[0] == 'a')
fprintf(fp,"%s\n", name);
printf("add y/n");
ch = getche();
}
fclose(fp);
getch();
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us