diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2016-05-10 17:13:33 -0400 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2016-05-10 17:13:33 -0400 |
| commit | b9feccc70f1d364ac721a18d750d1a289c98caf4 (patch) | |
| tree | 1b3def60ceff9a89914598402f1f18c2727b57e8 /ws2a/writetest.c | |
| parent | cc7e38d81b190ea6160cd5dee544ab2f0bfb8b51 (diff) | |
| download | webpage-b9feccc70f1d364ac721a18d750d1a289c98caf4.tar.gz webpage-b9feccc70f1d364ac721a18d750d1a289c98caf4.tar.bz2 webpage-b9feccc70f1d364ac721a18d750d1a289c98caf4.zip | |
created a test to see what is the problem
Diffstat (limited to 'ws2a/writetest.c')
| -rw-r--r-- | ws2a/writetest.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/ws2a/writetest.c b/ws2a/writetest.c new file mode 100644 index 0000000..ea23b0f --- /dev/null +++ b/ws2a/writetest.c @@ -0,0 +1,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,"/home/git/wswebpage/ws2a/%s.txt","test"); + tofile = fopen(tofilepath,"wb"); + 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"); +} |
