Then should it have been:
string value(data, data, size);?
Type: Posts; User: TheBigOnion
Then should it have been:
string value(data, data, size);?
Everyone yelled at me when I put that. They are arguing over if I'm putting a pointer in the size section or a very large number.
Why not just put
string value(data, size)?
Thanks.
Hello all,
is there a way to pre-allocate memory for a string?
so if I want to do something like this:
char *data;
string value;
for (i=0; i<size; i++)
Hello all,
I am very new to c++, (but have been a developer for 15 years) and have a question.
I work with other c++ programmers. One loves chars the other says they could cause seg faults...
Hello and thank you all.
Why not use "using namespace std;"??? I've seen this before, but never known or heard why not to use it.
Thanks,
Michael
Hello all,
I am receiving this error when I try to compile.
Tags.h
#ifndef _TAGS_H
#define _TAGS_H
using namespace std;