first program in C :3

This commit is contained in:
Martin Dvořák 2026-05-21 22:00:18 +02:00
commit 546f93fc6e
4 changed files with 26 additions and 0 deletions

8
.idea/.gitignore generated vendored Normal file
View file

@ -0,0 +1,8 @@
# Default ignored files
/shelf/
/workspace.xml
# Editor-based HTTP Client requests
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml

7
CMakeLists.txt Normal file
View file

@ -0,0 +1,7 @@
# cmake_minimum_required(VERSION <specify CMake version here>)
project(my_own_study_c_repo C)
set(CMAKE_C_STANDARD 11)
add_executable(my_own_study_c_repo
main.c)

BIN
main Executable file

Binary file not shown.

11
main.c Normal file
View file

@ -0,0 +1,11 @@
//
// Created by martin on 5/21/26.
//
#include <stdio.h>
int main() {
char first[] = "Hello";
char second[] = "World";
printf("%s %s", first, second);
return 0;
}