OKay.. I understand now.. I was wondering why we get a whole value of character, and return only one at a time..it would require several getch() calls to return the whole buffer and after which only...
Type: Posts; User: aynzoya
OKay.. I understand now.. I was wondering why we get a whole value of character, and return only one at a time..it would require several getch() calls to return the whole buffer and after which only...
Below is a code snippet from Kerningham Ritchie book, chapter 8, section 8.2
#include "syscalls.h"
/* getchar: simple buffered version */
int getchar(void)
{
static char...
Is there anything else I need to do to use inet_addr() function?
Hi,
Thanks for the reply.. I just figured that out.. and my program is compiling.. I am not sure if its working though as my ip to int conversion is always returning 0 :( Guess I need to read some...
Is it that I need to use the winsock libraries instead of the unix libraries?
Hello,
I am using devcpp to compile my C programs.
I am including the file inet.h <arpa/inet.h> but the compiler is returning that the file not found. I tried installing few networking devcpp...