Skip to content

Instantly share code, notes, and snippets.

@ammarfaizi2
Created July 14, 2018 10:24
Show Gist options
  • Save ammarfaizi2/5554e45e5cfb00f34206743fc6fdee00 to your computer and use it in GitHub Desktop.
Save ammarfaizi2/5554e45e5cfb00f34206743fc6fdee00 to your computer and use it in GitHub Desktop.
#include <stdio.h>
#include <string.h>
struct icetea_streama {
char *file;
char *content_type;
};
int login_page()
{
struct icetea_streama ic;
strcpy(ic.file, "views/");
strcat(ic.file, "login");
strcat(ic.file, ".ice");
printf("%s\n", ic.file);
return 0;
}
int main () {
login_page();
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment