Hello !
I’ve used Sublime Text 2 for writing some scripts. This is an awesome app, but I have two questions.
- How to run the C code like TextMate ?
Once I wrote the C code like below, I executed build command (Command + B on Mac), but I couldn’t run this code.
#include <stdio.h>
int main(int argc, char *argv]) {
printf("Hello, World \n");
}
Do I need to write Make file ?
I wouldn’t like to write Make file for a little script like this . I can run this C code if I use TextMate.
- How to run the Ruby code with arguments ?
I could run the Ruby code with Sublime Text 2.
However, I couldn’t understand how to run the Ruby code with arguments.
Please teach me how to solve these problems.