I'm down with this:
int TXTDATA_Read_Rates(DATATYPE_Rates *STRUCT_Rates) {
char FloatVal[99];
int i;
FILE *STREAM_Rates;
Type: Posts; User: Jyqft
I'm down with this:
int TXTDATA_Read_Rates(DATATYPE_Rates *STRUCT_Rates) {
char FloatVal[99];
int i;
FILE *STREAM_Rates;
@claudiu: Fair enough.
@oogabooga:
1. Regarding handling of the file's existence: I'm not sure how to interrupt normal processing. What do you think should I do?
2. Regarding EOF checking: How...
@oogabooga: Regarding the files. I plan on closing them in another function (which I've not yet written). So that's why I want to have them in int main();, so I can pass the FILE*s and close them.
Alright, so I have to put the following outside of main: typedef structs, and function prototypes. What about lines 16-17?
1. But I thought creating objects on a global scale is usually a bad idea? Or does that not apply to structures? Is there a way to still have the structures exclusively inside main() and still be...
Hi. I'm having a problem with passing structures as function arguments. Pay particular attention to the definitions of the functions (lines 29 and 56). Upon compilation I always get these kinds of...