No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
when I run my program in GCC ,there are some problem apperes to me ,,I need help to make it run !!Plz #include<stdio.h> [CODE]#include<stdlib.h> #include<string.h> #include<math.h> // Declare a few variables char InputString[32], type; int NumValue, sum=0, Length, result; int main() //main function { printf("Type in a number:"); if(!gets(InputString)) printf("You … |
|
Re:
Hey guys, Just needing your help on this code. [code=c] #include <stdio.h> int main() { FILE *fin,*fout; char c; fin=fopen("input.img","rb"); fout=fopen("output.img","wb"); while ((c=fgetc(fin))!= EOF) { fputc(c, fout); } return 0; fclose(fin); fclose(fout); } [/code] I'm trying to unscramble a scrambled image and this just outputs nothing. Would you guys be … |