blob: 03294fb9ddeea106efb26676061495de0a50ff7f (
plain)
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
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
//convert label.png -virtual-pixel White -distort Arc 60 arctest.png
//convert -background gray -fill cyan -pointsize 72 label:Alex label.png
//convert label.png -virtual-pixel white -distort Barrel "0.2 0.0 0.0 1.0" barrel.png
#define ADJNUM 200
#define NOUNUM 1524
#define AVGADJ 7
#define AVGNOU 7
#define LONGADJ 14
#define LONGNOU 15
int main(){
FILE* tofile;
char tofilepath[100];
sprintf(tofilepath,"../ws2a/%s.txt","test");
tofile = fopen(tofilepath,"w");
fprintf(tofile,"This is some text");
fclose(tofile);
printf("%s%c%c\n","Content-Type:text/html;charset=iso-8859-1",13,10);
printf("%s","test");
}
|