I'm having some trouble w/ the write() function and open() function.
here we go
BTW -> fd = file descriptor
int n_open_write(const char *pathname,unsigned int buffsize)
{
int fd;
Type: Posts; User: Landroid
I'm having some trouble w/ the write() function and open() function.
here we go
BTW -> fd = file descriptor
int n_open_write(const char *pathname,unsigned int buffsize)
{
int fd;
would any of you know the method call to convert an integer to an unsigned char??
I've been looking forever and I cant seem to find it.
Thanks everyone
Well, that is in a sense what i am doing. I'm just reading in the html line by line and then saving everything that is not a tag to one big char*.
problem is, that sometimes i skip an entire line...
Well i am building a search engine.
Hey everyone,
I am trying to writed a function that will remove all Tags from an HTML file so that only the actual text remains. I've got my code written but it just isnt working right, its...
the unix server i compile on compiles it in C++, so i can use C++ and C for my code. I write most of my code in C, but i do use an occasional C++ command if it seems easier.
RemoveTags runs fine,...
And just for future reference, scanf() can be very picky when taking data.
if you throw it something other than what it is expecting, u will usually cause some really wierd results. A good thing...
and BTW, this is a school project, not for production.
Hey everyone,
I've got a situation, I am building a search engine and i am trying to produce one big char pointer that points to all text that is not a tag in an html file.
I do this by...