About 11,800,000 results
Open links in new tab
  1. Proper way to initialize C++ structs - Stack Overflow

    Jan 21, 2017 · Our code involves a POD (Plain Old Datastructure) struct (it is a basic c++ struct that has other structs and POD variables in it that needs to get initialized in the beginning.) …

  2. What is the difference between "instantiated" and "initialized"?

    Feb 25, 2010 · To initialize means assigning an initial state to the object before it is used. This initialization can be part of the instantiation process, in that case values are explicitly assigned …

  3. 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.

  4. Java: define terms initialization, declaration and assignment

    Declaration, Initialization, and Assignment are all included in The Java Tutorials Trail: Learning the Java Language.

  5. 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 …

  6. How to initialize array to 0 in C? - Stack Overflow

    How to initialize array to 0 in C? Asked 15 years, 3 months ago Modified 3 years, 8 months ago Viewed 527k times

  7. Java: how to initialize String []? - Stack Overflow

    Java: how to initialize String []? Asked 15 years, 3 months ago Modified 6 years, 1 month ago Viewed 1.0m times

  8. Creating an empty Pandas DataFrame, and then filling it

    I'd like to iteratively fill the DataFrame with values in a time series kind of calculation. I'd like to initialize the DataFrame with columns A, B, and timestamp rows, all 0 or all NaN. I'd then add …

  9. java - How to declare an ArrayList with values? - Stack Overflow

    ArrayList or List declaration in Java has questioned and answered how to declare an empty ArrayList but how do I declare an ArrayList with values? I've tried the following but it returns a …

  10. python - initialize a numpy array - Stack Overflow

    Is there way to initialize a numpy array of a shape and add to it? I will explain what I need with a list example. If I want to create a list of objects generated in a loop, I can do: a = [] for i...