AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Programming c on mac4/17/2023 ![]() Typing in "vimtutor" on the Terminal will give you all the basics that you need.įor emacs, if not already installed, you can install it using "brew install emacs", or installing the DMG file for macOS (whichever is easier). If not, use "brew install vim" on the Terminal (the command line tool on macOS), and you're good to go. It's much easier to do it in a text editor, leaving XCode to your bigger projects.įor Vim, it comes installed. It's also a PITA when you have to create new projects/targets for your single file programs. So how much time do you want to invest, and how much do you want to learn?įor your purposes, XCode does seem like overkill. All that reading turns you into an expert on how the tools actually work. And if you have a mentor, it's even better - just ask questions when you get stuck.)īut the hard way is also the powerful way. (To be sure, there are a lot of tutorials scattered around the Internet, so you don't have to go straight to the primary documentation every time. How do you compile it? Read the compiler documentation. ![]() ![]() How do you create a source file? Read the vi documentation. ![]() So are lldb, make and several dozen other support tools. ![]() gcc (actually clang) and vi and emacs are installed. When you hit a bug, the debugger is already running. You can go from zero to "Hello, World" with just a few points and clicks. Xcode is actually the easy way, in spite of its apparent complexity. ![]()
0 Comments
Read More
Leave a Reply. |