hey im new to mac, just got it yesterday. but ive been learning c++ on windows and i used visual c++. so for my mac i downloaded xcode but it seemed really complex for my menial programs and i didnt like how you couldnt compile a file-only projects.
so i downloaded textwrangler and i wrote a c++ program (copied from book) and i dont know how to compile it in terminal.
on windows i use the code: cl/EHsc filename.cpp but obviously this is not windows
so if anyone can tell me the coding to compile and execute a c++ program, please do so. thank you very much in advance
so i downloaded textwrangler and i wrote a c++ program (copied from book) and i dont know how to compile it in terminal.
on windows i use the code: cl/EHsc filename.cpp but obviously this is not windows
so if anyone can tell me the coding to compile and execute a c++ program, please do so. thank you very much in advance