-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmain.c
48 lines (35 loc) · 1.05 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
48
/*
Programmer : Shawn Grant
Date Created : 13, 09, 2020
Purpose : To show off/test ConsolePrettify functions
*/
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "ConsolePrettify.h"
int main()
{
char testString[25];
cp_textcolor (GREEN); //change color
cp_print("\b HELLO TO %s", "CONSOLE PRETTIFY");
cp_menu2("Select an option", 5,
"Buy bananas",
"Buy apple",
"Buy mango",
"Buy grapes",
"Buy Bananas");
cp_textcolor(BLUE);
printf (" Enter your username");
cp_textbox ("%s", testString);
printf (" Enter your password:");
cp_password (testString);
////////////////////////////////
/*float items[20] = {200, 10, 80, 900, 20, 10, 80, 900, 209, 50};
cp_flist("List of numbers", items, 10);
char chars[5] = "HELLO";
cp_clist("List of Chars", chars, 5);
char people[20][20] = {"Justin", "Kim", "Susan"};
cp_slist("List of People", people, 3);
cp_table("Table");*/
return 0;
}