Inspiration
We were inspired to do this project based on our own individual difficulties with excelling academically in school and connecting with corporations to score possible internships, co-ops, and job opportunities.
What it does
The app allows Engineering college students to network with both college students and corporations across the United States to excel academically in school and obtain mentorship and internship opportunities.
How we built it
The app was constructed from the ground up through C Basic. Only the structure of the app is coded, but Publisher visual drafts of our app are available on our Weebly website.
Challenges we ran into
Challenges we ran into were trying to use code to create an application from scratch. And then we ran into typical syntax and function errors as we were coding in C Basic.
Accomplishments that we're proud of
We are proud of our teamwork and drive to work hard to an end goal. We are happy that we chose to incorporate visuals into our project in order to give our project better clarity and representation.
What we learned
We learned that skills and coding were not all that was needed for this project. Every member was able to contribute to this project whether it was technical, logical, or visual.
What's next for UCF Codineers - PLEXUS
We did our best on this app and we hope that the app can one day be of use to students, or at least inspire the creation of a new useful application for the success of college students.
Run code on repl.it Code (In C Basic):
include
include
include
include
define DEBUG 0
typedef struct user { char *fname; char *lname; char *email; char *password; char *major; char *school; struct user *matches[3];
} user;
typedef struct company { char *name; char *wantedMajors; char *location; }company;
void createUser(void); void majorMenu(user *u); void schoolMenu(user *u); void printhome(user *u); void schoolmenu(user *u); void homePage(user *u); void myPlexus(user *u); void editProfile(user *u); void options(user *u); user *default2(user *user2); user *default3(user *user3); void discover(user *u1, user *u2, user *u3); void myplexus(void);
void createUser(void) { user *user1 = malloc(sizeof(user));
char first[20], last[20], email[50];
printf("First name: ");
scanf("%s", first);
printf("\nLast name: ");
scanf("%s", last);
user1->fname = malloc(sizeof(char) * (strlen(first) + 1));
strcpy(user1->fname, first);
user1->lname = malloc(sizeof(char) * (strlen(last) +1));
strcpy(user1->lname, last);
system("cls");
printf("Enter your email address: ");
scanf("%s", email);
user1->email = malloc(sizeof(char) * (strlen(email) +1));
strcpy(user1->email, email);
majorMenu(user1);
schoolMenu(user1);
if(DEBUG)
{
printf("\n\nUser name: %s %s\nMajor and school: %s, %s", user1->fname, user1->lname, user1->major, user1->school);
}
homePage(user1);
}
void editProfile(user *u) { char first[20], last[20], email[50]; int option;
system("cls");
printf("\n\n\n\n ________________________________________________");
printf("\n| What would you like to edit?");
printf("\n|\n|------------------------------------------------");
printf("\n| 1- First Name");
printf("\n| 2- Last name");
printf("\n| 3- Major");
printf("\n| 4- School");
printf("\n|________________________________________________");
printf("\n|1: Edit | 2: Discover |3: My Plexus | 4: Logout |");
printf("\n ------------------------------------------------");
scanf("%d", &option);
switch(option)
{
case 1:
free(u->fname);
printf("First name: ");
scanf("%s", first);
u->fname = malloc(sizeof(char) * (strlen(first) + 1));
strcpy(u->fname, first);
break;
case 2:
free(u->lname);
printf("\nLast name: ");
scanf("%s", last);
u->lname = malloc(sizeof(char) * (strlen(last) +1));
strcpy(u->lname, last);
break;
case 3:
free(u->major);
majorMenu(u);
break;
case 4:
free(u->school);
schoolMenu(u);
break;
case 5:
break;
default:
printf("Sorry, that was not an option.\n");
}
}
void homePage(user *u) { system("cls");
printf("\n\n\n\n ________________________________________________");
printf("\n| Name: name is %s %s", u->fname, u->lname);
printf("\n|\n|------------------------------------------------");
printf("\n| Major: %s", u->major);
printf("\n|------------------------------------------------");
printf("\n| School: %s", u->school);
printf("\n|\n|\n|\n|\n|\n|\n|\n|\n|\n|\n|\n|\n|\n|");
printf("\n|________________________________________________");
printf("\n|1: Edit | 2: Discover |3: My Plexus | 4: Logout |");
printf("\n ------------------------------------------------");
options(u);
}
void options(user *u) { int optionnum,editnum; user *u2 = NULL, *u3 = NULL; company *company1 = NULL, *company2 = NULL, *company3 = NULL;
while(1)
{
printf("\nSelect an option with corresponding number");
scanf("%d", &optionnum);
switch(optionnum)
{
case 1:
{
printf("\nedit profile func called");
editProfile(u);
homePage(u);
break;
}
case 2:
{
printf("\ndiscover called here");
u2 = default2(u2);
u3 = default3(u3);
discover(u, u2, u3);
homePage(u);
break;
}
case 3:
{
myplexus();
//homePage(u);
break;
}
case 4:
{
system("cls");
printf("Successfully Logged out.\n");
printf("We'll connect with you later!\n\n");
exit(0);
}
default:
{
printf("\n Not a valid option please try again. . . \n");
continue;
}
}
}
}
// User will choose from a list of majors and void majorMenu(user *u) { system("cls"); int majorchoice; printf("\n|------------------------"); printf("\n| What is your major? \n| Please enter corresponding number:\n| "); printf("\n| 1- computer science"); printf("\n| 2- computer engineering"); printf("\n| 3- Information Technology"); printf("\n|------------------------\n");
while(1) { scanf("%d", &majorchoice); switch(majorchoice) { case 1: { u->major=malloc(sizeof(char) * (strlen("computer science") + 1)); strcpy(u->major,"computer science"); printf("major is %s", u->major); break; } case 2: { u->major=malloc(sizeof(char) * (strlen("computer engineering") + 1)); strcpy(u->major,"computer engineering"); printf("major is %s", u->major); break; } case 3: { u->major=malloc(sizeof(char) * (strlen("Information Technology") + 1)); strcpy(u->major,"Information Technology"); printf("major is %s", u->major); break; } default: { printf("Option not valid . . . Please enter a valid number:\n"); continue; } } break; }
}
void discover(user *u1, user *u2, user *u3) { char answer; int i = 0, j= 0;
printf("\n\n\n\n ________________________________________________");
printf("\n| DISCOVER");
printf("\n|\n|------------------------------------------------");
printf("\n| %s %s, %s\t%s", u2->fname, u2->lname, u2->major, u2->school);
printf("\n|------------------------------------------------");
printf("\n| %s %s, %s\t%s", u3->fname, u3->lname, u3->major, u3->school);
printf("\n|------------------------------------------------");
printf("\n|\n|\n|\n|\n|\n|\n|\n|\n|\n|\n|\n|\n|\n|");
printf("\n|________________________________________________");
printf("\n|1: Edit | 2: Discover |3: My Plexus | 4: Logout |");
printf("\n ------------------------------------------------");
printf("\n\nDo you want to connect with %s %s? Enter y or n\n", u2->fname, u2->lname);
scanf("%s", &answer);
printf("\n\nDo you want to connect with %s %s? Enter y or n\n", u3->fname, u3->lname); scanf("%s", &answer);
printf("All out of matches for the day.");
system("cls");
}
void myplexus() {
int i = 0, j = 0;
char answer;
printf("\n\n\n\n ________________________________________________");
printf("\n| MY PLEXUS");
printf("\n|\n|------------------------------------------------");
printf("\n| John Doe");
printf("\n|------------------------------------------------");
printf("\n| Jane Austen");
printf("\n|------------------------------------------------");
printf("\n| Raytheon, Computer Science\tWaltham, MA");
printf("\n|------------------------------------------------");
printf("\n| Google, Information Technology Mountain View, CA");
printf("\n|------------------------------------------------");
printf("\n| Intel, Computer Engineering, \tSanta Clara, CA");
printf("\n|\n|\n|\n|\n|\n|\n|\n|\n|\n|\n|\n|\n|\n|");
printf("\n|________________________________________________");
printf("\n|1: Edit | 2: Discover |3: My Plexus | 4: Logout |");
printf("\n ------------------------------------------------");
// system("cls"); }
void schoolMenu(user *u) { system("cls");
int schoolchoice;
printf("\n|------------------------");
printf("\n| What is your school? \n| Please enter corresponding number:\n| ");
printf("\n| 1- University of Florida");
printf("\n| 2- Florida State University");
printf("\n| 3- University of Central Florida");
printf("\n| 4- University of South Florida");
printf("\n| 5- Georgia Tech");
printf("\n|------------------------\n");
while(1) { scanf("%d", &schoolchoice); switch(schoolchoice) { case 1: { u->school=malloc(sizeof(char) * (strlen("University of Florida") + 1)); strcpy(u->school,"University of Florida"); printf("school is %s", u->school); break; } case 2: { u->school=malloc(sizeof(char) * (strlen("Florida State University") + 1)); strcpy(u->school,"Florida State University"); printf("school is %s", u->school); break; } case 3: { u->school=malloc(sizeof(char) * (strlen("University of Central Florida") + 1)); strcpy(u->school,"University of Central Florida"); printf("school is %s", u->school); break; } case 4: { u->school=malloc(sizeof(char) * (strlen("University of South Florida") + 1)); strcpy(u->school,"University of South Florida"); printf("school is %s\n", u->school); break; }
case 5:
u->school=malloc(sizeof(char) * (strlen("Gerogia Tech") + 1));
strcpy(u->school,"Georgia Tech");
printf("school is %s\n", u->school);
break;
default:
{
printf("Option not valid . . . Please enter a valid number:\n");
continue;
}
}
break;
}
}
void printMenu(){
int menuChoice;
printf("What would you like to do? Please enter corresponding number\n\n");
printf("1. Create new account\n");
printf("2. Login to account\n");
printf("3. Quit\n");
scanf("%d", &menuChoice);
if(menuChoice == 1 || menuChoice == 2)
{
switch(menuChoice)
{
case 1:
createUser();
break;
case 2:
printf("This feature is currently under construction\n");
break;
default:
printf("Sorry that was not an option.\n");
break;
}
}
printf("\nSuccessfully Logged off.\n");
printf("\n\nWe will connect with you later!\n\n");
}
int main(void) {
printf("Welcome to App name\n\n");
printMenu();
return 0;
}
// hard coded profiles so we can show the example of matching user *default2(user *user2) {
user2 = malloc(sizeof(user));
// hard coded information for user2
user2->fname = malloc(sizeof(char) * (strlen("j") + 1));
strcpy(user2->fname, "John");
user2->lname = malloc(sizeof(char) * (strlen("Doe") + 1));
strcpy(user2->lname, "Doe");
user2->major = malloc(sizeof(char) * (strlen("Computer Science") + 1));
strcpy(user2->major, "Computer Science");
user2->school = malloc(sizeof(char) * (strlen("Georgia Tech") + 1));
strcpy(user2->school, "Georgia Tech");
return user2;
}
user *default3(user *user3) {
user3 = malloc(sizeof(user));
// user3 hard coded
user3->fname = malloc(sizeof(char) * (strlen("Jane") + 1));
strcpy(user3->fname, "Austen");
user3->lname = malloc(sizeof(char) * (strlen("Jane") + 1));
strcpy(user3->lname, "Doe");
user3->major = malloc(sizeof(char) * (strlen("Computer Science") + 1));
strcpy(user3->major, "Computer Science");
user3->school = malloc(sizeof(char) * (strlen("University of Central Florida") + 1));
strcpy(user3->school, "University of Central Florida");
return user3;
}
Log in or sign up for Devpost to join the conversation.