https://github.com/simpson-computer-technologies-research/cdockerenv
Docker environment and files for C program
https://github.com/simpson-computer-technologies-research/cdockerenv
c cis1300 docker dockerfile
Last synced: 11 months ago
JSON representation
Docker environment and files for C program
- Host: GitHub
- URL: https://github.com/simpson-computer-technologies-research/cdockerenv
- Owner: Simpson-Computer-Technologies-Research
- License: mit
- Created: 2023-09-14T14:25:32.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-09-20T20:32:57.000Z (over 2 years ago)
- Last Synced: 2023-09-21T00:47:43.884Z (over 2 years ago)
- Topics: c, cis1300, docker, dockerfile
- Language: C
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cdockerenv
Docker environment and files for C program
### main.c
```c
#include
#include "../utils/string.h"
/**
* Name: Program Name
* Author: Your Name
* Function: What does this program do?
* Compilation and Execution: make
*/
int main(int argc, char *argv[])
{
// Declare all constants here.
// Declare all variables here.
string text = "Hello, world!\n";
printf("%s", text);
return 0;
}
/**
* Notes:
* - Use camelCase for variable names.
* - We're importing the string.h header file from utils. This is not necessary
* unless you're using the string type. Remove it if need be.
*/
```