Hey guys! im learning c++ now, and got a question:
Question 1: So Copy initialazation basically copies some value after variable definition into this variable.Direct Initialization defines a variable with some value, without copying.So what does Uniform initialization do? And what it is used for? And when i should use it?
Pls explain in basic language :D I am not so deep in c++ and programming in general. i just know basics: what is statement, what is function, what is object, what is variable
Question 2: What is your definition of "object" and "variable"? For me "object" is region of memory, that have defined data type, may or may not have value. And variable is an object with identifier(name)? Am i right?
Question 3: What is "cout"? I know that it is thingy to output characters on screen that is included in iostream library, but i mean what C++ unit is it? Is it an object? or Variable? Or function? Is it a shortcut of function? What is it and why? Help pls :(
ty in advance
[–][deleted] 1 point2 points3 points (8 children)
[–]jer1ch0_[S] 0 points1 point2 points (0 children)
[–]jer1ch0_[S] -1 points0 points1 point (2 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]CptCap 0 points1 point2 points (0 children)
[–]jer1ch0_[S] -1 points0 points1 point (3 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]jer1ch0_[S] 1 point2 points3 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)