About 11,200,000 results
Open links in new tab
  1. How to initialize a struct in accordance with C programming …

    Is this the way to declare and initialize a local variable of MY_TYPE in accordance with C programming language standards (C89, C90, C99, C11, etc.)? Or is there anything better or at …

  2. How can I initialize all members of an array to the same value?

    How would you use memset to initialize a int array to some value larger than 255? memset only works if the array is byte sized.

  3. How to directly initialize a HashMap (in a literal way)?

    How to directly initialize a HashMap (in a literal way)? Asked 14 years, 3 months ago Modified 3 months ago Viewed 2.1m times

  4. MySQL 5.7 how to choose root password after mysqld --initialize

    Mar 10, 2018 · The menu data-directory-initialization-mysqld indicates that "Regardless of platform, use --initialize for “secure by default” installation (that is, including generation of a …

  5. How do I initialize a const data member? - Stack Overflow

    How do I initialize a const data member? Asked 12 years, 9 months ago Modified 1 year, 7 months ago Viewed 430k times

  6. Declaring vs Initializing a variable? - Stack Overflow

    Jul 30, 2015 · The only difference is that the var statement will initialize any declared variables without a value to undefined. In both examples, you are declaring a variable. If you assign a …

  7. What's the Initialize method used for and do I really need one?

    Dec 13, 2011 · I am a bit confused about what the Initialize method is typically used for in a constructor. Why can't I just put everything in the constructor and why does the sample below …

  8. initialize a vector to zeros C++/C++11 - Stack Overflow

    Oct 28, 2012 · As well as being dangerous for anything except trivial types, what you wrote is pointless: constructing the vector with size length already default-initialises all of the new …

  9. java - Difference between initializing a class and instantiating an ...

    Feb 25, 2013 · I tried searching for this question through the search engine but could find a topic that explained the difference between initializing a class and instantiating an object. Could …

  10. "Initializing" variables in python? - Stack Overflow

    Jun 16, 2015 · Even though initializing variables in python is not necessary, my professor still wants us to do it for practice. I wrote my program and it worked fine, but after I tried to initialize …