Sublight's Profile User Rating: -----

Reputation: 3 Apprentice
Group:
Members
Active Posts:
41 (0.02 per day)
Joined:
11-July 08
Profile Views:
2,814
Last Active:
User is offline Aug 15 2013 01:33 PM
Currently:
Offline

Previous Fields

Country:
US
OS Preference:
Who Cares
Favorite Browser:
Who Cares
Favorite Processor:
Who Cares
Favorite Gaming Platform:
Nintendo
Your Car:
Who Cares
Dream Kudos:
0

Latest Visitors

Icon   Sublight has not set their status

Posts I've Made

  1. In Topic: Win socket reset trouble. WSAEADDRINUSE error.

    Posted 17 Apr 2013

    Thank you.

    It turns out there were a few other quirks in the read/write code and client side activity, but everything is working now.
  2. In Topic: C Splitting data?

    Posted 16 Apr 2013

    All, or nearly all, C functions are part of C++.

    Anyway, strtok appears to be a c function from the string library.
    Both the c declaration
    #include "string.h"

    and the c++ style declaration
    #included <cstring>

    may be used as header declaration to use it.
  3. In Topic: C Splitting data?

    Posted 16 Apr 2013

    Easy, if you understand pointers.

    My personal favorite method is string tokenizer, strtok. I usually use it for parsing .csv files, but you can modify that to accept just about any data separator.

    Storing the data into an array isn't done automaticaly by strtok, but would only take a few extra lines of code.

My Information

Member Title:
New D.I.C Head
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:

Contact Information

E-mail:
Private
Website URL:
Website URL  http://

Friends

Sublight hasn't added any friends yet.

Comments

Sublight has no profile comments yet. Why not say hello?