Search:

Type: Posts; User: sagitt13

Search: Search took 0.00 seconds.

  1. Replies
    7
    Views
    3,183

    Oh DUH.... I feel stupid now... It works now!...

    Oh DUH....
    I feel stupid now...

    It works now! Thanks...haha..
  2. Replies
    7
    Views
    3,183

    Thanks for the input, I tried dividing by...

    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...
  3. Replies
    7
    Views
    3,183

    weird checksum function

    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...
  4. Replies
    2
    Views
    12,340

    syntax error: enum and typedef struct

    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...
  5. Replies
    4
    Views
    1,008

    Question about memory address

    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...
  6. Thanks people! You're right, I haven't learned...

    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...
  7. Problem with assigning value to array elements

    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...
Results 1 to 7 of 8