Oh DUH....
I feel stupid now...
It works now! Thanks...haha..
Type: Posts; User: sagitt13
Oh DUH....
I feel stupid now...
It works now! Thanks...haha..
Thanks for the input, I tried dividing by sizeof(uint16_t) but it still doesn't work... Here's a little test program I used to test the function:
#include "saw.h"
uint16_t checksum(uint16_t...
Hi,
I'm taking a networking class and my current project is to implement a "reliable data transfer protocol". So we're given a checksum function to both create a checksum for our packets and to...
Hi,
I'm trying to compile a project using gcc and I got the following error message:
saw.h:52: error: syntax error before "conn_state"
saw.h:52: warning: no semicolon at end of struct or...
Hi I have another question. I was reading my tutorial and there's a sample program to count the number of characters an user entered with a pointer array.
// Ex3_10.cpp
// Counting string...
Thanks people! You're right, I haven't learned new operator or dynamic memory or whatever (they come after the current chapter in my tutorial). I guess I should read them before I try making my own...
Hi, I'm new to this site and programming as a whole, but since I'll be starting college this fall as comp sci major I thought I'll start to learn c++ by myself. I have MS Visual C++ 6 and I was...