Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • 1
    Your char will each have undefined value. Commented May 12, 2014 at 10:08
  • @Jarod42 - hi, thanks - but how do i initialize those then? Commented May 12, 2014 at 10:09
  • @user3155478, to what value do you want to initialize them? Commented May 12, 2014 at 10:11
  • 2
    Is there a reason you are trying to use pointers when you don't seem to understand them? Why not use a vector? This is C++ after all Commented May 12, 2014 at 10:19
  • 1
    To set to 0 just put () after the ]. Commented May 12, 2014 at 10:48