Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~2K People Reached
Favorite Forums
Favorite Tags
c x 10
c++ x 2
Member Avatar for desertstorm

Hi: I had a question on how to use: int Read(char *buffer, int size, OpenFileId id); void Write(char *buffer, int size, OpenFileId id); This is for a client that is connected to a network host server and it is for a chatting program. If someone could direct me to a …

Member Avatar for jim mcnamara
0
128
Member Avatar for desertstorm

How's it going: How do you use fopen() to establish a stream to console I/O (keyboard)? What I needed to do is read in data from the console I/O and then send it elsewhere using fputs. I just don't know what the first argument for fopen("here", r) would be. Oh, …

Member Avatar for Ancient Dragon
0
304
Member Avatar for desertstorm

Does anybody know of any sites that give a good tutorial on how to implement a chat client (console client(allows you to type in messages on the command line) and network proxy client(allows programs to connect via network sockets)) for interactions with a blackboard. Like sockets, fgets, filedescriptors...etc. The blackboard …

Member Avatar for desertstorm
0
163
Member Avatar for desertstorm

I challenge anyone to code this in C language: function read_next_data(fd) data = read_async( fd ) if len(data) == 0 => Nothing to read, register to be called back when something is ready event_polling_register( fd, read_next_data ) => Go back to doing something else else => Data was available and …

Member Avatar for Ancient Dragon
0
112
Member Avatar for desertstorm

Hello: I have a question regarding struct when making hash buckets eg. typedef struct _hashNode { void *key; void *value; struct _hashNode *next; } hashNode; let's say when I create the table: hashNode *nodeList = (hashNode *)malloc(sizeof(hashNode) * 200); This is because I want a fixed list size and then …

Member Avatar for Ancient Dragon
0
725
Member Avatar for desertstorm

1. I am using strtok() and am storing the return value into a char array. eg. char word[]; word = strtok(file[][], " "); Do I need to initialize 'word' to a constant size before using it? The thing is I don't know how big the string from strtok is going …

Member Avatar for Narue
0
133
Member Avatar for desertstorm

Could someone help me with this. I need to know how to write this in code for C. "if hashValue(variable) has a non-zero bit in the 4 leftmost (highest) bits" It has to do with bitwise shifting and is basically just an if statement's condition. Thanks

Member Avatar for desertstorm
0
126