From d13b235f1fbeccfa414de2b0c6d1cc150c8c4df9 Mon Sep 17 00:00:00 2001 From: Loic Nageleisen Date: Fri, 1 Feb 2013 10:56:18 +0100 Subject: [PATCH] some content --- main.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/main.c b/main.c index 6fb1b3d..0a77557 100644 --- a/main.c +++ b/main.c @@ -1,4 +1,5 @@ #include +#include #include #include @@ -46,7 +47,12 @@ Post *Post_alloc() { int main(void) { Post *post = Post_alloc(); post->init(); + + strcpy(post->author, "Foo Bar"); + strcpy(post->body, "Lorem ipsum dolor sit amet"); post->printf(); + post->dealloc(); + return 0; }