Skip to content

Explore the fundamentals of programming with this C language-based project for your introductory programming lab. The repository includes practical exercises and code examples covering essential concepts. Ideal for beginners seeking hands-on experience in C programming. Happy coding!

Notifications You must be signed in to change notification settings

SangKengetan/Dasar-Bahasa-C

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Tools

  1. C Language
  2. Draw.io [https://github.com/jgraph/drawio-desktop/releases/tag/v22.0.0]
  3. Visual Studio Code [https://code.visualstudio.com/download]
  4. Git [https://git-scm.com/downloads]
  5. Github [https://github.com]
  6. MinGw [https://sourceforge.net/projects/mingw/files/latest/download]
  7. Code Runner (Visual Studio Code Extension)
  8. C/C++ (Visual Studio Code Extension)
  9. Terminal (Powershell, Iterm, Command Prompt (CMD), Bash, Zsh, Fish, etc)
  10. Windows Subsystem for Linux (optional for Windows user)

Basic Git

I assume you already installing git in your computer, then you can clone this repository by typing this command in your terminal:

$ git clone https://github.com/praktikum-alprog-unud-2023/Dasar-Bahasa-C.git

You should change your directory to this repository by typing this command:

$ cd Dasar-Bahasa-C

If you already have this repository in your computer, but you don't have the latest version (i.e. your teammate already push their own work), you can update it by typing this command:

$ git pull

If you want to add your own work to this repository, you can add your own file by typing this command:

$ git add .

Then you can commit your own work by typing this command:

$ git commit -m "your commit message"

Finally you can push your own work to this repository by typing this command:

$ git push

How to Run C Code

If you already have the gcc compiler (MinGw) installed on your computer, you can compile the C program by typing this command:

$ gcc main -o main.c

You can run your compiled program by typing this command:

$ ./main

Or you can compile and run it directly by typing this command:

$ gcc main -o main.c && ./main

Project Structure

The following is the project structure that must be used during the Practicum project.

.
├── README.md
├── modul-<1>
│   ├── <1>-<Kalkulator>
│   │   ├── question.md
│   │   ├── main.c
│   │   └── main.exe
│   ├── ...
│   ...
...

About

Explore the fundamentals of programming with this C language-based project for your introductory programming lab. The repository includes practical exercises and code examples covering essential concepts. Ideal for beginners seeking hands-on experience in C programming. Happy coding!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages