this still isn't working for me and I am frustrated. eh, I shall learn soon enough to get out of stupid little problems. If u can improve the source... like making it so that it takes the whole file, rather than 255 bytes, that would be wonderful... but I just want it to work. thx.
/* should parse html files for tags, dumping them to stdout - my very first program... by p0wp0wpanda*/
#include <stdio.h>
char partoffile[255];
int a,b,c;
int main()
{
fgets(partoffile,255,stdin);
for (a = 0;a < 255;a++)
if (partoffile[a] == "<") {
for (b = a;a < 255;a++)
if (partoffile[b] == ">") {
for (c = a-b;c<b;c++)
putc(partoffile[c],stdout);
};};}



LinkBack URL
About LinkBacks



