Search

February 09, 2005
General »
...two)

char *p = s;
while (*p++);
int len = p - s;

Or just write in in...
February 09, 2005
Issues »
...size_t len = s.length;
#   size_t chars, i;
#   for( i = 0; i != len;)
#   {
#       char...
February 09, 2005
General »
...slice
    {
        size_t len;
        T        *ptr;
    };

but rather

    struct slice
    {
        size_t len;
        T        *ptr...
February 01, 2005
General »
...interface:
  void* malloc(size_t len) { return _gc.malloc(len); }
Ah, to have something so...
January 30, 2005
c++.stlsoft »
...ReclsFtpSearch_Win32.cpp(237) : error
C2664: 'str_len' : cannot convert parameter 1 from 'class
stlsoft...
January 21, 2005
General »
...in the comments. or just s/length/len/ first.

I'm not so sure that...
January 07, 2005
General »
...C]%^RWZJY7OD#*99S1\:DD=$QR;Y^F+#<"LEN[Y'L:,7L:JJW
M[I2L>N4...
January 07, 2005
General »
...N=^!Z!ZZ=X-H)KLOANARNB7!-
MA.LEN%Z"ZV"X#H;K/KCN@^M...
December 20, 2004
General »
...char[] fill_string(int len, char c) {
  char[] ret = new char[len];
  ret[] = c;
  return...
December 07, 2004
General »
...But the definition is something like { int len; void *data; }

Structs should be more or...
137 138 139 140 141 142 143 144 145 146 147
Next ›   Last »