Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/justxuewei/pointers-on-c
https://github.com/justxuewei/pointers-on-c
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/justxuewei/pointers-on-c
- Owner: justxuewei
- Created: 2022-09-20T12:07:04.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-09-22T09:28:35.000Z (over 2 years ago)
- Last Synced: 2024-11-09T05:33:31.642Z (2 months ago)
- Language: C
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pointers on C
The code in this repository is from *Pointers on C*, which is a great material to learn C and its pointers.
## Compiling and Running
I write a makefile to make compiling and running the code easier, you just need to type the following command in your terminal to run the example program of `1.1-rearrange-string`.
```bash
$ make 1.1
```## Creating a Project
The `new.sh` is used for creating a project by typing the following command.
```bash
$ ./new.sh 1.1-rearrange-string
```The shell will create a `1.1-rearrange-string` directory in the root of project, and create a `main.c` file at the project directory with a built-in template. To simplify process of building the code, the shell will append a couple of lines into `Makefile` that following the rules mentioned at "Compiling and Running".