cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Lounge
Possible mistake in the website
Possible mistake in the website
Dec 29, 2015 at 10:54am UTC
FallingStar
(10)
http://www.cplusplus.com/reference/vector/vector/operator=/
In the example of the above article, the output says "Size of bar: 3" with bar being (3,0). Is that a typo?
Dec 29, 2015 at 11:27am UTC
TarikNeaj
(2580)
I dont understand what the typo is?
(3,0) means 3 ints with the value 0.
http://www.cplusplus.com/reference/vector/vector/vector/
Dec 29, 2015 at 11:35am UTC
FallingStar
(10)
Oh, my mistake. I though it was 3 and 0.
Topic archived. No new replies allowed.