vS 2008 contains header vector issues

Updated on technology 2024-04-12
7 answers
  1. Anonymous users2024-02-07

    C++ header C, traditional C++ include < set insertion point include < character handling include < define error codes include < floating-point number processing include < file input output include <

  2. Anonymous users2024-02-06

    Just look at the function definition, the returned value is the iterator type! I did a test and found that the ERASE operation does not change the value of the iter, whether the parameter is passed in the past or returned! In fact, the erase operation of the vector is to delete the element itself, and then reorganize the data to generate a new vector!

    vs may have protected the iter dereference operation after deletion, so cout << iter will have an error! This is not the case in Dev C++! Post the test** and the results and everyone will know the results.

  3. Anonymous users2024-02-05

    Under include include.

    Add contains: using namespace std; Add a standard namespace, as vector is defined under the std namespace.

  4. Anonymous users2024-02-04

    Haha, the upstairs laughed at me, but it's also a way!

    The functions of the vector container are very powerful, and it is not possible to implement them all casually, if you can easily implement them, then those engineers at Microsoft are too shameless! It can only be said that some of its functions can be simulated by means of structure, overload, etc.!

  5. Anonymous users2024-02-03

    If you learn data structures, this is very easy, because there are more personal designs, so I won't write it, and the landlord will find some books on data structures to read.

  6. Anonymous users2024-02-02

    No, even if there is, it makes no difference.

  7. Anonymous users2024-02-01

    C++ header C, traditional C++

    include < sets the insertion point.

    include < character processing.

    include < defines the error code.

    include < floating-point processing.

    Includer < file input and outputIncklude < parameterized input and outputIncklude < data flow input and outputIncklude < define the maximum value constant of various data typesInclude < define localization functionsInclude < define mathematical functionsInclude < define input and output functionsIncklud < define miscellaneous functions and memory allocation functionsInklude < string processing.

    Inklude < array-based input and output, Inklude < defines functions about time, Inklude < wide character processing, and input and output Inklude

Related questions
3 answers2024-04-12

19: a tool returned an error code

You can find such a post: >>>More

4 answers2024-04-12

It's the Io stream control header file, just like the formatted output inside C. >>>More

14 answers2024-04-12

About OpenGL

at the end of the add. >>>More

6 answers2024-04-12

Since January 3, 2008, there have been widespread natural disasters such as low temperatures, rain, snow, and freezing in China. China's 20 provinces (autonomous regions and municipalities), including Shanghai, Jiangsu, Zhejiang, Anhui, Jiangxi, Henan, Hubei, Hunan, Guangdong, Guangxi, Chongqing, Sichuan, Guizhou, Yunnan, Shaanxi, Gansu, Qinghai, Ningxia and Xinjiang, have been affected by low temperature, rain and snow and freezing disasters to varying degrees. >>>More

28 answers2024-04-12

Jazz's Kyle Korver.