first program in C :3
This commit is contained in:
parent
1944084876
commit
546f93fc6e
4 changed files with 26 additions and 0 deletions
8
.idea/.gitignore
generated
vendored
Normal file
8
.idea/.gitignore
generated
vendored
Normal 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
7
CMakeLists.txt
Normal 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
BIN
main
Executable file
Binary file not shown.
11
main.c
Normal file
11
main.c
Normal 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;
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue