This might sound silly but it's a question I don't know the answer to I'm learning C and I've written several basic math program's, I've learned to compile them using GCC
I type GCC myapp.c -o myapp and it compiles it and creates the program for me. If I want to share my app with friends to test is it the file it creates I send? Does it matter if they are MAC or PC users or does it not matter? I know on a mac terminal opens the program so if it works on a PC what runs it?
As a mac user will all my apps I write in C only open in terminal or will I be able to create an independent app that runs outside of terminal? Something when opened say will open a window with my app running?
I hope I've explained this ok lol I know what I'm trying to ask for but not sure I've worded it well enough for you to understand hehehehe Fingers crossed I have.
I type GCC myapp.c -o myapp and it compiles it and creates the program for me. If I want to share my app with friends to test is it the file it creates I send? Does it matter if they are MAC or PC users or does it not matter? I know on a mac terminal opens the program so if it works on a PC what runs it?
As a mac user will all my apps I write in C only open in terminal or will I be able to create an independent app that runs outside of terminal? Something when opened say will open a window with my app running?
I hope I've explained this ok lol I know what I'm trying to ask for but not sure I've worded it well enough for you to understand hehehehe Fingers crossed I have.