Giter Site home page Giter Site logo

c_mini_challenges's Introduction

c_mini_challenges

Tests to teach C basics

Prerequisites:

- Install Windows Subshell Linux if learning on Windows

- Install Visual Studio Code

- Install C/C++ extension for VS Code

- Install Makefile tools extension for VS Code

- Learn some Shell basics

[- Learn some Git basics]

How to work with C:

  1. Create a file ending by ".c" (Example: example.c)
  2. Write your code inside
  3. When it's ready, compile it using the command gcc -Wall -Wextra -Werror example.c
  4. This will create an executable. By default, it will be named "a.out". You can then run your code with the command ./a.out if you are in the same directory
  5. Note: to test your code you will need a main function. If the exercice is asking for a program, include the main function in your code. If the exercice is asking for a function, do not include the main function in your code. (You can leave it commented)

First steps:

  1. Read the code in intro.c file
  2. Download it to your computer
  3. Compile it and run the executable
  4. Try to play with the code. Change the values, add lines of code, understand every line of code
September October November December January
1) ft_square 20) ft_descriptive_hundred 38) ft_write_backwards 51) ft_files 57) ft_strdup
2) ft_mushka 21) ft_descriptive_int 39) ft_write_one_in_two_chars 52) ft_read_n_chars 58) ft_strjoin
3) ft_first_n_chars 22) ft_descriptive_sum 40) ft_strcpy 53) ft_heap_string 59) ft_digit_split
4) ft_to_print_or_not_to_print 23) ft_functions 41) ft_write_last_word 54) ft_str_sep 60) ft_macros_header
5) ft_sign 24) ft_decrements 42) ft_mini_atoi 55) ft_heap_int_array 61) ft_point_in_rectangle
6) ft_sign_char 25) ft_call_the_president 43) ft_real_atoi 56) ft_binary_to_char 62) makefile
7) ft_sign_char_print 26) ft_bank 44) ft_count_main_arguments 63) ft_draw
8) ft_sign_string_print 27) ft_calculator_fct 45) ft_print_program_name
9) ft_n_chars_d 28) ft_uppercase 46) ft_print_args_backwards
10) ft_n_chars 29) ft_strcmp 47) ft_easy_putnbr
11) ft_ifs 30) ft_strchr 48) ft_putnbr
12) ft_if_zeroes 31) ft_ptr 49) ft_random_n
13) ft_if_threes 32) ft_got_meme_generator 50) ft_atoi_base
14) ft_if_str_has_D_char 33) ft_equals
15) ft_whiles 34) ft_comp_ptr
16) ft_descending 35) ft_isspace
17) ft_until_zero 36) ft_write_first_word
18) ft_odd_numbers 37) ft_write_after_char
19) ft_calculator

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.