I got the solution.
memset function is creating this problem.
I removed the memset function. it works fine
More Related Contents:
- How to build Google’s protobuf in Windows using MinGW?
- Errors when linking to protobuf 3 on MS Visual C
- Undefined reference to google::protobuf::internal::empty_string_[abi:cxx11]
- C++ Serialization Performance
- Why does the expression 'a++ += b' give an error?
- reverse order of a string in C++
- Detecting endianness programmatically in a C++ program
- Algorithm to convert RGB to HSV and HSV to RGB in range 0-255 for both
- Why is std::map implemented as a red-black tree?
- c++ array – expression must have a constant value
- What are the correct link options to use std::thread in GCC under linux?
- Increasing accuracy of solution of transcendental equation
- What new capabilities do user-defined literals add to C++?
- What is the logic behind the “using” keyword in C++?
- C++11: Correct std::array initialization?
- #define NOMINMAX using std::min/max
- Measure execution time in C++ OpenMP code
- Temporary objects – when are they created, how do you recognise them in code?
- Blending does not remove seams in OpenCV
- Are there any better methods to do permutation of string?
- C++ Remove punctuation from String
- Easiest way to rotate by 90 degrees an image using OpenCV?
- Can I Allocate a specific memory address using pointers in c++?
- Why does Visual Studio 2013 issue a C4996 error?
- Is std::vector memory freed upon a clear?
- memset structure with std::string contained
- Does reinterpret_cast lead to undefined behavior?
- C/C++ Bit Array or Bit Vector
- How to read/write std::string values from/to binary files
- When can we omit the return type in a C++11 lambda?