Search:

Type: Posts; User: pixie_laluna

Search: Search took 0.00 seconds.

  1. hey , you reply to me again. thanks a lot for the...

    hey , you reply to me again. thanks a lot for the suggestion ! Also, again for a few times now.. what a kind supportive word. I'm doing my best at school. wish me luck
  2. How to get Extern struct to work properly ?

    Apparently I failed to Call my struct. I have header file (header.h) where i defined my struct .
    Header.h

    struct theVar {
    float x1, y1;
    };
    extern struct theVar global;


    ...
  3. You're too kind. Even I understand the structure...

    You're too kind. Even I understand the structure of if condition. Thanks again
  4. Thank for correction ! English isn't my main...

    Thank for correction ! English isn't my main language. We usually call function / scope with other name in our language so I wasn't aware. Also, the function that call a function with return value...
  5. Thank you for your suggestion and advice on...

    Thank you for your suggestion and advice on naming variable, I'll work on it. Also, if I don't return the value first, how am I supposed to use it as an input for a struct inside the same condition....
  6. Advice on how to call a struct function inside another struct function

    Hi, I have a struct function (struct 1) and I want to call another struct function (struct 2) from struct 1 using input of struct 1 itself. Basically :


    Inside Struct Age, I need to calculate...
  7. I'm going with the first way to call them, since...

    I'm going with the first way to call them, since it's easier for me to understand. Thank you, it's working now.
  8. Hi, thanks ! I was aware I can use pointer as...

    Hi, thanks !
    I was aware I can use pointer as well. But to be honest I think I still don't fully understand pointer. For pointer, I passed the written exam but failed at coding exam. That's why I...
  9. How to correctly call struct return as input for other struct functions ?

    Hi, I want to pass the return value of function A to function B, and pass the return value of function B to function C. I'm using struct. I can pass from struct to function and then main, but turn...
  10. it's been a few hours and unfortunately I still...

    it's been a few hours and unfortunately I still don't understand this blocking / non-blocking.
    I did try to put short sleep function as Salem suggested. But still confused about this blocking.
  11. Hi, thanks ! I'm aware that while(1) loop here in...

    Hi, thanks ! I'm aware that while(1) loop here in an endless loop. But that's my purpose, this loop will be executed all the time when the program is running. And I just need different condition to...
  12. Problem with while and if-else loop, not responding ?

    Following my previous question How to execute Time Loop in C without clock() and timer ?
    I have a while loop, which calculates elapsed time and time when I hit key to display different output.

    ...
  13. Thanks ! Right now I'm doing exactly that....

    Thanks ! Right now I'm doing exactly that. Subtracting elapsed time with the time when I hit the key and compute if it bigger or less than my frequency that I defined in my keyEvent.
  14. How to execute Time Loop in C without clock() and timer ?

    I want to execute 2 different output at a certain time in seconds. And change the swap time using keyEvent. Here's the idea.

    15505

    I've been looking for some advice online and I only find...
Results 1 to 14 of 14