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
~579 People Reached
About Me

student

Favorite Forums
Favorite Tags
c x 4
c++ x 1
Member Avatar for fiz hafiz

i've done all the coding, but it doesn't work, seem the if, cannot pass the information to the function.. [CODE]#include<stdio.h> #include <string.h> #include<ctype.h> #define FILENAME "ECE.txt" /*void proceed(struct registration com, int matric); void again(struct registration com,int);*/ struct registration { char code[10]; char subject[100]; int credit; }; int main() { int …

Member Avatar for Majestics
0
172
Member Avatar for fiz hafiz

what about this one?? thanx, but when i've compile the program, it does not work for the error, 'com' uses undefined struct 'registration' and lots more [CODE=c]#include<stdio.h> #include<ctype.h> #define FILENAME "computing" void proceed(struct registration com, int matric); void again(struct registration com); struct registration { char code[10]; char subject[100]; int credit; …

Member Avatar for WaltP
0
86
Member Avatar for fiz hafiz

[CODE=c]#include<stdio.h> #include<ctype.h> #define FILENAME "computing" //void proceed(struct registration com, int matric); //void again(struct registration com); struct registration { char code[10]; char subject[100]; int credit; }; int main() { int matric; char name; FILE *ECE; ECE = fopen(FILENAME, "r"); //struct registration com; puts("Welcome to pre-registration for sem 1 2008/2009\n"); puts("Enter your …

Member Avatar for abhikkumarbasu
0
106
Member Avatar for fiz hafiz

Title : Student Course Registration System Every semester you will use the university course registration system in the early weeks of new semester. Assuming that the pre-registration process has not been exercised. Now, you will try to create a similar system that will have somewhat the same function of the …

Member Avatar for Ancient Dragon
0
163
Member Avatar for fiz hafiz

[CODE]#include<stdio.h> #define FILENAME1 "all.txt" #define FILENAME2 "even.txt" #define FILENAME3 "odd.txt" int main() { int i=0; FILE *all; all = fopen(FILENAME1, "r"); while(fscanf(all,"%d")!=EOF) { printf("\n%d",i); i++; } FILE *even; even = fopen(FILENAME2, "w"); FILE *odd; odd = fopen(FILENAME3, "w"); for(i=0;i<=10;i++) { if(i%2==1) fprintf(odd,"%d",i); else fprintf(even, "%d",i); } return 0; }[/CODE]

Member Avatar for mitrmkar
0
52