Skip to content
Loading
char* myCharList[5]; how i can initializ this pointer?
  • std::string x = "Dd"; std::string yx = "xx"; char* strPointer[2]; Can i add x and yx variable to strPointer ? char *yxstr = yx.c_str();
  • Rajanikant Hawaldar
    you don't just add std::string to an array of pointers to char
  • good, and now i want to add std::string to array
  • yes, how i can add pointer to this array ?
  • Rajanikant Hawaldar
    array of pointers?