Include <vector>
in your Hero.h header and consider removing it from your Hero.cpp file as mentioned in the comments below.
Related Posts:
- What is a lambda expression in C++11?
- ld: symbol(s) not found for architecture x86_64 error
- How do I print out the contents of a vector?
- Unresolved external symbol in object files
- What is the ‘override’ keyword in C++ used for? [duplicate]
- Unresolved external symbol in object files
- What is a smart pointer and when should I use one?
- Meaning of = delete after function declaration
- C++ std::priority_queue uses the lambda expression
- Usage and Syntax of std::function
- What exactly is nullptr?
- Difference between `constexpr` and `const`
- Split a string using C++11
- How to create timer events using C++ 11?
- Remove secure warnings (_CRT_SECURE_NO_WARNINGS) from projects by default in Visual Studio
- Efficient way to return a std::vector in c++
- Windows 7 exception code: 0xc0000409
- What does T&& (double ampersand) mean in C++11?
- Segmentation fault error 11 C++
- Why doesn’t C++ have a garbage collector?
- wntdll.pdb not loaded – Can’t see the exception
- wntdll.pdb not loaded – Can’t see the exception
- Compiling C++11 with g++
- terminate called after throwing an instance of ‘std::invalid_argument’ what(): stoi
- What exactly is std::atomic?
- Issue with std::stol – ‘std::invalid_argument’ what(): stol
- terminate called after throwing an instance of ‘std::out_of_range’
- VC++ fatal error LNK1168: cannot open filename.exe for writing
- Cannot open include file: ‘stdio.h’ – Visual Studio Community 2017 – C++ Error
- Cleanest way to copy a constant size array in c++11
- push_back vs emplace_back
- Missing vc_runtimeminimum_x86.msi and installation won’t work
- undefined reference to ‘std::cout’
- What is move semantics?
- expression preceding parentheses of apparent call must have (pointer-to-) function type
- C++ error: Undefined symbols for architecture x86_64
- C++ terminate called without an active exception
- The #include
exists, but I get an error: identifier “cout” is undefined. Why? - Thread pooling in C++11
- How does std::forward work? [duplicate]
- Difference in make_shared and normal shared_ptr in C++
- What is std::move(), and when should it be used?
- VC++ fatal error LNK1168: cannot open filename.exe for writing
- C++: std does not have member “string”
- push_back vs emplace_back
- error: use of deleted function
- How to shuffle a std::vector?
- LINK : fatal error LNK1561: entry point must be defined ERROR IN VC++
- Call to implicitly deleted copy constructor in LLVM
- CMake error at CMakeLists.txt:30 (project): No CMAKE_C_COMPILER could be found
- Error C1083: Cannot open include file: ‘stdafx.h’
- cc1plus: error: unrecognized command line option “-std=c++11” with g++
- “The system cannot find the file specified” when running C++ program
- error C2679: binary ‘<<' : no operator found which takes a right-hand operand of type 'std::string' (or there is no acceptable conversion)
- Cannot open Windows.h in Microsoft Visual Studio
- Correct way to work with vector of arrays
- no match for ‘operator<<’ in ‘std::operator
- android,
android-layout,
android-linearlayout,
gradient, - LINK : fatal error LNK1561: entry point must be defined ERROR IN VC++
- Win32 Console Application
- Warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11?
- Use the auto keyword in C++ STL
- Call to non-static member function without an object argument compiler error
- Does C++11 have C#-style properties?
- LINK : fatal error LNK1561: entry point must be defined ERROR IN VC++
- Iterator Loop vs index loop
- initialize a vector to zeros C++/C++11
- When is it safe to call this-> in constructor and destructor
- How to memset char array with null terminating character?
- How well is Unicode supported in C++11?
- How to automatically convert strongly typed enum into int?
- Difference between
and - Why should I use a pointer rather than the object itself?
- too many initializers for ‘int [0]’ c++
- overloaded function with no contextual type information
- Creating folders in C++
- How to install Visual Studio Build Tools 2010 on Visual Studio 2015 Community?
- convert string to size_t
- Does WPF Work with C++?
- How to fix the error “Windows SDK version 8.1” was not found?
- Compiling C++11 with g++
- error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup
- Download c++ in existing visual studio 2017
- Does static constexpr variable inside a function make sense?
- c++ vector bubble sort
- module unsafe for SAFESEH image C++
- How to use bitmask?
- Differences between unique_ptr and shared_ptr
- Class name does not name a type in C++
- Identifier not found error on function call
- I’m getting an error “invalid use of incomplete type ‘class map’
- “Error: expression must have a pointer type” when using the “this” keyword
- This declaration has no storage class or type specifier in C++
- error: expected unqualified-id before ‘if’
- Understanding “corrupted size vs. prev_size” glibc error
- C++ String Variable Declaration
- How to fix ‘std::logic_error’ what(): basic_string::_M_construct null not valid error?
- expected constructor, destructor, or type conversion before ‘(’ token
- How to print a string in C++
- Negative RGB Values