ખીલો ખોદતા ખાણ જો મળે ઝવેરાતની, તો નિરાંતે તારી ભક્તિ કરું શામળા | ભલું થયું ભાંગી જંજાળ, નવી નક્કોર દેશે શ્રીગોપાળ | જે તુજથી ના થઈ શકે એ જ કરાવ પ્રભુ પાસે, પાણિયારું પ્રભુ ભરશે નહિ ભરશે નદી તળાવ

Kiran Chauhan

Cogito, ergo sum // I think, therefore I am.

Emacs Minipost Pt. 3

—

Go ahead and create a new file with name main.c. Right-click the file and open with Emacs. It should looks like this:

Now, type the following code.

#include <stdio.h>

int main(int argc, char** argv) {
  printf("hello, world\n");

  return 0;
}

After you typed this code, it should look like this.

We need to save the file with this code. To do so, we need to type ctrl+x and then ctrl+s meaning that pressing ctrl and then x and then s while keep pressing ctrl. After successful save, you should see a message at the end of the editor in single line as follows:

Congratulation on modifying and saving the file using Emacs. Go ahead practice now!

Summary: Now you know how to save the file in Emacs - ctrl+x ctrl+s.


સાહિત્યિક કાર્યક્રમો

  • તા. ૦૨-૧૮ ઓક્ટોબર ૨૦૨૬ - ગાંધી પુસ્તક મહોત્સવ, ગુજરાત વિદ્યાપીઠ, અમદાવાદ
  • તા. ૨૧-૨૫ ઓક્ટોબર ૨૦૨૬ - સંસ્કૃત વાગ્માધુરી 2026, રા. વિ. પાઠક સભાગૃહ, ગુજરાતી સાહિત્ય પરિસદ, આશ્રમ રોડ, અમદાવાદ.
  • તા. ૨૪–૨૫ ઓક્ટોબર ૨૦૨૬ - અમદાવાદ ઇન્ટરનેશનલ લિટરેચર ફેસ્ટિવલ
  • વધુ માહિતી માટે...

વર્ગીકૃત

કડીઓ

સૂચિત લેખો

ચોપડીઓ

જોયેલ