43 gets you started fast, straight to the execution of your code and the editing of your files thanks to its simple and elegant embedded command line.
- Example :
git clone git@vogsphere-v2.42lyon.fr:vogsphere/intra-uuid-some-numbers correction
- Clone this repo IN the folder where all the exercises are
cd correction
git clone https://github.com/43app/43corr.git 43corr
- Launch the program
43corr.sh
from the folder you imported, with a valid subject (see-h
option for more info)
cd 43corr
./43corr.sh c03
- Type your commands in the embedded command line (type
h
for a list of commands)
Note that you are prompted by default on the first exercise (ex00 for example) To see a detailed version of the features of this program, see Features
See the open issues for a list of proposed features (and known issues).
c
or compile
:
Compiles your .c file with gcc -Wall -Werror -Wextra
ef
or edit_file
:
Opens a vim
window on your ft_some_funtion.c
file to edit it
You may then close the window with :wq
to go back to the prompt of the program
e
or edit_main
:
Opens a vim
window on the main.c
file to edit it
You may then close the window with :wq
to go back to the prompt of the program
h
or help
:
Prints the complete set of available commands in the prompt area
l
or log_compile
:
Opens a vim
window on the main.c
file to edit it
You may then close the window with :wq
to go back to the prompt of the program
n
or next
:
Next exercise become the current one
You can see the file you are working on before the prompt (ex01 >>
for example)
p
or prev
:
Previous exercise become the current one
You can see the file you are working on before the prompt (ex01 >>
for example)
q
or quit
:
Quit the program
r
or run
:
Runs your program
This command still only works for files compiled with the c
command, and do not take arguments yet (working on it...)
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the GNU General Public License v3.0 License. See LICENSE
for more information.
Project Link: https://github.com/43app/43corr