29 lines
1.1 KiB
C
29 lines
1.1 KiB
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* main.c :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: jhalford <marvin@42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2016/08/08 14:49:37 by jhalford #+# #+# */
|
|
/* Updated: 2016/08/11 11:23:06 by jhalford ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#include "ft_point.h"
|
|
#include <stdio.h>
|
|
|
|
void set_point(t_point *point)
|
|
{
|
|
point->x = 42;
|
|
point->y = 21;
|
|
}
|
|
|
|
int main(void)
|
|
{
|
|
t_point point;
|
|
|
|
set_point(&point);
|
|
printf("%i, %i\n", point.x, point.y);
|
|
return (0);
|
|
}
|