Комментарии:
Thank you ! great explanation
ОтветитьVery clear explaination ,thank you for doing this.
ОтветитьThanks
Ответитьreally crisp explanation.
I've got a project working in the manor you outline, extern in C, def in H and access from main. I have several other classes I'd also like to have access to that extern object. But when I try to include it with any of the other files, the compiler doesn't like it. anyone got any ideas?
The advantage is no allocation?
ОтветитьThank you for the great explanation, the funtions dont need extern deckaration right?
ОтветитьThank a lot for your videos!!
if you or someone have tip to my case , i will be grateful
what can i do if i get the error "multiple definition" while i need to get two char[] from the user amd compare them (strcmp function)
You've made fricking awesome c example playlist enjoying a lot
Thanks :)
Thanks! your video helped me a lot with my project :)
ОтветитьThank you so much this was helpful!
Is there a way to change the value of the variable inside the library.c file through the c file in which we included library.c file?
Thank you.
Man i like your videos!
Keep it up...
I have a states.h header file that has no C source file because the states.h only contains an enum of states. I want this enum to be global; how can I make it global and accessible across all the files that include states.h.
//states.h
typedef enum {state1, state2, state3} STATES;
extern STATES state;
I want the state to be global.
No trash talk....just to the point with crystal clear explanation... thanks mate!!
ОтветитьVery clear explaination ,thank you for doing this.
Ответить