Aktywne Wpisy
WielkiNos +225
Jeśli taki sztuczny wygląd i zmiana z naturalnej, atrakcyjnej kobiety w instagramowy, wytatuowany klon z brwiami odrysowanymi od szablonu i napompowanymi ustami to dla współczesnych kobiet wzór do naśladowania i prawdziwe piękno to nie mam pytań. Mi się przykro na to patrzy.
#fagata #sztucznapani #logikarozowychpaskow
#fagata #sztucznapani #logikarozowychpaskow
FrauWolf +122
5 godzin gotowania sosu bolońskiego, żeby moja rodzina zjadła go w 10 minut xD Ale było warto ( ͡º ͜ʖ͡º)
#gotujzwykopem #jedzenie
#gotujzwykopem #jedzenie
Mam mały problem z użyciem standardu C++11 w kompilatorze MinGW.
Znalazłęm jego rozwiązanie tutaj:
http://stackoverflow.com/questions/8542221/stdstoi-doesnt-exist-in-g-4-6-1-on-mingw
,,This is a result of a non-standard declaration of vswprintf on Windows. The GNU Standard Library defines GLIBCXXHAVEBROKENVSWPRINTF on this platform, which in turn disables the conversion functions you're attempting to use. You can read more about this issue and macro here: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37522.
If you're willing to modify the header files distributed with MinGW, you may be able to work around this by removing the !defined(GLIBCXXHAVEBROKENVSWPRINTF) macro on line 2754 of .../lib/gcc/mingw32/4.6.1/include/c++/bits/basicstring.h, and adding it back around lines 2905 to 2965 (the lines that reference std::vswprintf). You won't be able to use the std::towstring functions, but many of the other conversion functions should be available."
Usunąłem już
,,!defined(GLIBCXXHAVEBROKENVSWPRINTF)"
i teraz nie mam pojęcia gdzie mam wstawić ten fragment
Prawdopobnie gdzieś tutaj: (Tylko gdzie?)
// DR 1261.
inline wstring
towstring(int val)
{ return gnucxx::_toxstring(&!defined(GLIBCXXHAVEBROKENVSWPRINTF), 4 * sizeof(int),
L"%d", _val); }
inline wstring
towstring(unsigned _val)
{ return gnucxx::_toxstring(&std::vswprintf,
4 * sizeof(unsigned),
L"%u", _val); }
inline wstring
towstring(long _val)
{ return gnucxx::_toxstring(&std::vswprintf, 4 * sizeof(long),
L"%ld", _val); }
inline wstring
towstring(unsigned long _val)
{ return gnucxx::_toxstring(&std::vswprintf,
4 * sizeof(unsigned long),
L"%lu", _val); }
inline wstring
towstring(long long _val)
{ return gnucxx::_toxstring(&std::vswprintf,
4 * sizeof(long long),
L"%lld", _val); }
inline wstring
towstring(unsigned long long _val)
{ return gnucxx::_toxstring(&std::vswprintf,
4 * sizeof(unsigned long long),
L"%llu", _val); }
inline wstring
towstring(float _val)
{
const int n =
gnucxx::_numerictraits::_maxexponent10 + 20;
return _gnucxx::_toxstring(&std::vswprintf, _n,
L"%f", val);
}
inline wstring
towstring(double _val)
{
const int n =
gnucxx::_numerictraits::_maxexponent10 + 20;
return _gnucxx::_toxstring(&std::vswprintf, _n,
L"%f", val);
}
inline wstring
towstring(long double _val)
{
const int n =
gnucxx::_numerictraits::_maxexponent10 + 20;
return _gnucxx::_toxstring(&std::vswprintf, _n,
L"%Lf", _val);
}
#endif
@kubaczka: Dzięki za info
(plusik za wrzutke na to co formatuje i koloruje składnie, niby nic ale czytelność wzrasta)
@Erk700: Jak chcesz robić w nowym C++ to zupgraduj się chociaż do 5.3, jak nie 6.2.