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
Type: Posts; User: pixie_laluna
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
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;
...
You're too kind. Even I understand the structure of if condition. Thanks again
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...
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....
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...
I'm going with the first way to call them, since it's easier for me to understand. Thank you, it's working now.
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...
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...
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.
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...
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.
...
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.
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...