Skip to content

Instantly share code, notes, and snippets.

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