commit
This commit is contained in:
27
C_08/git/ex04/main.c
Normal file
27
C_08/git/ex04/main.c
Normal file
@@ -0,0 +1,27 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* main.c :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: gbaconni <gbaconni@42lausanne.ch> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2021/08/20 10:26:50 by gbaconni #+# #+# */
|
||||
/* Updated: 2021/08/20 10:34:14 by gbaconni ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#include "ft_point.h"
|
||||
|
||||
void set_point(t_point *point)
|
||||
{
|
||||
point->x = 42;
|
||||
point->y = 21;
|
||||
}
|
||||
|
||||
int main(void)
|
||||
{
|
||||
t_point point;
|
||||
|
||||
set_point(&point);
|
||||
return (0);
|
||||
}
|
||||
Reference in New Issue
Block a user