본문 바로가기

Study Meeting/빡공단 30기

[Day 1] Print "Hello C World" for confirming the IDE settings

In this class, I learned about the basic steps to start language "C".
To this end, the "Dev C++" program was first installed to comply with the integrated development environment (IDE).

To verify that the installation was completed normally, I tried to output the text "Hello C World".

#include <stdio.h>
#include <stdlib.h>

/* run this program using the console pauser or add your own getch, system("pause") or input loop */

int main(int argc, char *argv[]) {
	
	printf("Hello C World");
	
	return 0;
}

 

In order to print out the letter "Hello C World", it must be printed with a "printf" output function inside the main() function. And the result showed as below.

 

 

 

This code can be saved first and then compiled to see the execution results.
As a result, it can be seen that the IDE environment setting was successfully complete.