No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
6 Posted Topics
Hi, I need to read all the records in a file till the end and print it to an outputfile. So I used feof() - while(feof(fp_infile) !=0) { fread(xxxx); fread(xxxx); fprintf(fp_outfile, XXXXX); } But this is not giving me any output i.e, the output file is empty. Can anyone help??? … | |
Hi, I have to write a Dump Tool for a file on UNIX. I have never written a dump tool before. Can anyone please guide me how to proceed?? jazz | |
Can anyone tell wat does this do?? - [CODE]_FOpen(Time_File,"r",fp_time); _Fread(&st_Time,sizeof(TimeHead),1,fp_time,TimeFile);[/CODE] Thankx jazz | |
Hi, The below is a program which uses quick sort to sort numbers in 3 columns LayerCode, SubCode and BrandCode. It sorts first by LayerCode, then by SubCode and then by BrandCode. The program seems has no errors. but it is not working(i.e., not sorting the numbers). Can anyone have … | |
I need to sort a list of numbers Here is the sample input: code -> subcode -> brandcode ( each code has a subcode and each subcode has a brandcode) [code] 7366->65535->65535 7379->65535->65535 7379->65535->65535 7379->65535->65535 7366->65535->65535 7366->65535->65535 7379->65535->65535 7366->65535->65535 9113->65535->65535 7379->65535->65535 7315->5->65535 7314->65535->65535 7315->5->65535 7314->65535->65535 7379->65535->65535 7314->65535->65535 7314->65535->65535 7314->65535->65535 7311->65535->8 … ![]() | |
Hi, Iam new to programming. Can anyone explain the following program? [CODE]#include "stdafx.h" FILE *fp_dump; /*----- Layer -----*/ /* layer Record*/ typedef struct { USHORT usCode; /*LayerCode*/ USHORT usSubCode; /*SubCode*/ USHORT usBrandCode; /*BrandCode*/ USHORT usStartY; /*Latitude*/ USHORT usStartX; /*Longitude*/ UINT uiAR_DA; /*Offset*/ USHORT usCellSize; /*Cell Size*/ USHORT usDS; /*Relative offset*/ … |
The End.