-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.c
47 lines (46 loc) · 1.24 KB
/
main.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#include "reddit.h"
#include "utility.c"
#include "signup.c"
#include "signin.c"
#include "community.c"
#include "post.c"
#include "comment.c"
#include "display.c"
#include "ops.c"
int main()
{
// screen_reset();
init();
display_logo();
display_lr();
// print_all_posts();
// post_sort_old(all_communities->user_content->posts);
// print_sorted_posts();
// comment_mergeSort_top(all_communities->user_content->posts->next->next->next->child);
// search_posts("book");
// print_post_result();
// search_posts(" fires ");
// print_post_result();
// print_sorted_comments();
// display_post_by_id();
// // display_post_obo(all_communities->user_content->posts);
// display_loggedin();
// upvote_post(*post_by_id(15));
// downvote_post(*post_by_id(15));
// display_options();
// display_user_posts();
// print_all_users();
// sign_up();
// create_community();
// print_all_communities();
// while (status == 0)
// status = login_user();
// add_post();
// add_comment(15);
// while (status == 0)
// status = login_user();
// add_reply(22);
// print_all_users();
// printf("\n**************************************\n");
return 0;
}