Jump to content

  • Log In with Google      Sign In   
  • Create Account


chris_01

Member Since 15 Nov 2008
Offline Last Active Sep 01 2013 04:01 PM

Posts I've Made

In Topic: Replace char* with std::vector

01 September 2013 - 04:02 PM

Thanks for your advises. Now it works with memcopy also with std::copy.


In Topic: Replace char* with std::vector

01 September 2013 - 01:22 PM

Thanks for the hint with the missing vector position. But this solves not the issue. Now memcopy returns an invalid value with 1819213991.

But the buffer contains the correct value of 167.  When I cast the value to unsigned int and return it, the correct value is streamed out,

but not when I use memcopy following your instructions ...

 unsigned int v = m_vec[0];
 std::cout << "Vec value: " << v << std::endl;              // returns correct value of 167

 unsigned int v2 = 0;
 memcpy(&v2, &blop.vec[0], sizeof(unsigned int));
  std::cout << "Vec value 2 " << v2 << std::endl;  // returns invalid value
 
 

In Topic: std::string operations (i.e. stol, stoi) not found NDK8d

22 March 2013 - 12:11 AM

Thanks for the hint with the STL. I've also tried STLPort, but this is not an option, too many c++11 features are not supported yet.

 

Boost is also not an option for me, I've removed boost a few weeks ago, while the core boost features I've used until yet are now

elements of the new c++11 standard. I don't want to have boost dependencies anymore...

 

Meanwhile I've figured out that the visibility appears to be guarded inside "basic_string.h", quite possibly due to

"_GLIBCXX_HAVE_BROKEN_VSWPRINTF".


In Topic: Application crashes using DXElements

23 November 2010 - 09:16 AM

Thanks undbird, your hint with the wrong color value declaration has solved the issue.

In Topic: How to realize engine exhaust?

16 November 2008 - 07:44 PM

Thx for the hint, i will try it out.

PARTNERS