Skip to content

Latest commit

 

History

History
62 lines (52 loc) · 1.79 KB

3.online_ides.md

File metadata and controls

62 lines (52 loc) · 1.79 KB

Online IDEs

A summary of yesterday's session and a list of the online IDEs I talked about. A recordiing of the workshop is available here on YouTube.

IDEs

A temporary environment for some simple coding.

An advanced environment for development and learning.

An online environment for developing applications.

An online IDE to test competitive programming code.

Coding Exercise

Follow the below steps to compile and run a simple C programme in any of the above IDEs:

  1. Follow the link and copy the source code of this C programme.
    #include <stdio.h>
    
    int main() {
    	printf("Hello, World!\n");
    	return 0;
    }
  2. Create a new file named hello.c in your online IDE and paste the code.
  3. Use any of the below-mentioned commands to compile and run your programme using GCC:
    1. Default compilation to a.out.
      • Compile:
        gcc hello.c
      • Run:
        ./a.out
    2. Customizing the name of the compiled executable.
      • Compile:
        gcc -o hello hello.c
      • Run:
        ./hello
    3. Using GNU Make to compile.
      • Compile:
        make hello
      • Run:
        ./hello

Now, try the same programme, but instead of Hello, World!, enter your name in the code. Happy learning!

Made with ❤ by Param.