Search:

Type: Posts; User: Jyqft

Search: Search took 0.00 seconds.

  1. Replies
    13
    Views
    5,551

    I'm down with this: int...

    I'm down with this:



    int TXTDATA_Read_Rates(DATATYPE_Rates *STRUCT_Rates) {

    char FloatVal[99];
    int i;

    FILE *STREAM_Rates;
  2. Replies
    13
    Views
    5,551

    @claudiu: Fair enough. @oogabooga: 1....

    @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...
  3. Replies
    13
    Views
    5,551

    @oogabooga: Regarding the files. I plan on...

    @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.
  4. Replies
    13
    Views
    5,551

    Alright, so I have to put the following outside...

    Alright, so I have to put the following outside of main: typedef structs, and function prototypes. What about lines 16-17?
  5. Replies
    13
    Views
    5,551

    1. But I thought creating objects on a global...

    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...
  6. Replies
    13
    Views
    5,551

    Passing Structures as Function Arguments

    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...
Results 1 to 6 of 6