summaryrefslogtreecommitdiff
path: root/ws2a
diff options
context:
space:
mode:
authorAlexander Pickering <alexandermpickering@gmail.com>2016-05-10 17:23:17 -0400
committerAlexander Pickering <alexandermpickering@gmail.com>2016-05-10 17:23:17 -0400
commit2f020c64404b61a91172b1563c2da47619f397dc (patch)
tree1439d0acb87cb50246b264d04ffd91d170d72015 /ws2a
parentea0be5b3a4b2d453ae6962fa21d72fb5d7cb3012 (diff)
downloadwebpage-2f020c64404b61a91172b1563c2da47619f397dc.tar.gz
webpage-2f020c64404b61a91172b1563c2da47619f397dc.tar.bz2
webpage-2f020c64404b61a91172b1563c2da47619f397dc.zip
Simplified writetest
Diffstat (limited to 'ws2a')
-rw-r--r--ws2a/writetest.c21
1 files changed, 2 insertions, 19 deletions
diff --git a/ws2a/writetest.c b/ws2a/writetest.c
index 03294fb..ccb5a61 100644
--- a/ws2a/writetest.c
+++ b/ws2a/writetest.c
@@ -1,27 +1,10 @@
#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");
+ tofile = fopen("../test.txt","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");
+ printf("Completed without error!");
}