Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~885 People Reached
Favorite Forums
Favorite Tags
c x 3
Member Avatar for feroz121

[code=c]#include<stdio.h> #include<stdlib.h> #include<conio.h> #include<string.h> void main() { FILE *fp,*ft; char another,choice; struct emp; { char name[40]; int age; float bs; }; struct emp e; char empname[40]; long int recsize; fp=fopen("EMP.DAT","rb+"); if(fp==NULL) { fp=fopen("EMP.DAT","wb+"); if(fp==NULL) { puts("cannot open file"); exit(1); } } recsize=sizeof(&e); while(1) { clrscr(); gotoxy(30,10); printf("1.Add records"); gotoxy(30,12); printf("2.List …

Member Avatar for Kakooty
0
176
Member Avatar for feroz121

[code]include<stdio.h> #include<conio.h> void main() { char u,pp; printf("\n\n\t\t enter the username and password"); scanf("%c%c",&u,&pp); getch(); }[/code] what was wrong in this code, Its taking the username but its not properly taking the input of password. And my another doubt is how can i use string for this program instead of …

Member Avatar for Tom Gunn
0
709