#include <stdio.h>char* create(char* email, char* docroot, char* domain){ char* out; char* def; /*def = "<VirtualHost *:80>\n ServerAdmin "; out = email + "\n DocumentRoot /home/shrinks/public_html\n ServerName shrinksoffice.org\n ServerAlias www.shrinksoffice.org\n ErrorLog /home/shrinks/logs/error.log\n CustomLog /home/shrinks/logs/access.log common\n</VirtualHost>";*/ return email;}int main(){ char* email; char* docroot; char* domain; char* out; printf("Welcome to the Itrebal Creations Virtual Host Automater.\n"); printf("Please enter the email of the administrator: "); scanf("%s", &email); printf("Now enter the document root of the website. (DON'T INCLUDE THE WEB-DIRECTORY):"); scanf("%s", &docroot); printf("Now enter the domain name. (Do not add the www, this will be automaticly added."); scanf("%s", &domain); out = create(email, docroot, domain); printf("%s", out); return 0;}