https://github.com/andrewrgarcia/c
C programming language
https://github.com/andrewrgarcia/c
Last synced: 3 months ago
JSON representation
C programming language
- Host: GitHub
- URL: https://github.com/andrewrgarcia/c
- Owner: andrewrgarcia
- Created: 2020-05-30T19:16:01.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-05-07T17:40:15.000Z (about 3 years ago)
- Last Synced: 2025-01-16T15:26:58.792Z (4 months ago)
- Language: C
- Size: 15.6 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Learning C from examples
#### Requirements:
* gcc#### How to compile and run:
compiling:
`gcc [program_name].c –o [executable_name]`deployment:
`./[executable_name]`### Dev: Andrew
#### args.c
A simple c code example which shows you how to pass inputs as arguments in terminal with a c program.compiling:
`gcc args.c -o args`deployment:
`./args [first_word] [second_word] [. . .] [infinite-1_word]`#### argsfunc.c
A c example which shows how to make a function call inside another function, convert char to int,
make a conditional statements AND use args input.deployment (try):
`./argsfunc 00uu12012f+ 10 16`