Thread
:
C++ Questions
View Single Post
TheDS1337
Veteran Member
Join Date: Jun 2012
01-02-2016 , 12:51 Re: C++ Questions
#
17
Thank you both for your answers! and I have to say yes I'm trying to understand the using of pointers and in same time I'm trying to use dynamic memory (that's why I didnt use std::string and I pointed *pName and *pNickname), since we don't know the exact buffer it can be bigger than 32 who know, I'm trying to get them dynamically, can you show me how can I make all of: pName, pNickname, name, nickname dynamically ? without giving them a size since putting [] instead of [32] ain't gonna work.
Last edited by TheDS1337; 01-02-2016 at
13:36
.
TheDS1337
View Public Profile
Send a private message to TheDS1337
Visit TheDS1337's homepage!
Find More Posts by TheDS1337