If you're using ProjectBuilder (Apple's IDE), you might want to try this: create a new project, and when it asks you what kind of project you want to create, scroll all the way down to the bottom of the list and choose "Standard Tool." When the ProjectBuilder window opens, you'll find a source called main.c. When you open main.c up in the ProjectBuilder window you'll discover that it has...guess what..."Hello World"! Already in there!
Saves typing, if nothing else. ProjectBuilder also has a syntax checker, which obviously vi and pico don't have, and building and running is an exercise in point-and-click. You can also compile and run C code from within ProjectBUilder, but I have found that interactive code works better if you execute the build from the command line.
There is something to be said for doing all your compiling and linking from the command line, at least so you know how to do it, but I find it quicker and more convenient to use ProjectBuilder. So long as you at least sort of know what ProjectBuilder is doing.
You can also create C++ code by creating a C++ tool, using the same method.