1>.\InstanceBaseEffect.cpp(683) : error C2440: 'initializing' : cannot convert from 'const char [15]' to 'char'
1> There is no context in which this conversion is possible
1>.\InstanceBaseEffect.cpp(683) : error C2078: too many initializers
1>.\InstanceBaseEffect.cpp(684) : error C2440: 'initializing' : cannot convert from 'const char [8]' to 'char'
1> There is no context in which this conversion is possible
1>.\InstanceBaseEffect.cpp(685) : error C2440: 'initializing' : cannot convert from 'const char [7]' to 'char'
1> There is no context in which this conversion is possible
1>.\InstanceBaseEffect.cpp(689) : error C2109: subscript requires array or pointer type
Ein char ist ein 1-Byte Character also z.B 'a', jedoch müsstest du hier ein char* (char pointer) machen oder viel besser mit einem vector und std::string
Siehe: error C2109: subscript requires array or pointer type
Ein char ist ein 1-Byte Character also z.B 'a', jedoch müsstest du hier ein char* (char pointer) machen oder viel besser mit einem vector und std::string
Siehe: error C2109: subscript requires array or pointer type
Code:
1>.\InstanceBaseEffect.cpp(683) : error C2552: 'titles' : non-aggregates cannot be initialized with initializer list
1> 'std::basic_string<_Elem,_Traits,_Ax>' : Types with a base are not aggregate
1> with
1> [
1> _Elem=char,
1> _Traits=std::char_traits<char>,
1> _Ax=std::allocator<char>
1> ]
1>.\InstanceBaseEffect.cpp(684) : error C2552: 'titles' : non-aggregates cannot be initialized with initializer list
1> 'std::basic_string<_Elem,_Traits,_Ax>' : Types with a base are not aggregate
1> with
1> [
1> _Elem=char,
1> _Traits=std::char_traits<char>,
1> _Ax=std::allocator<char>
1> ]
1>.\InstanceBaseEffect.cpp(685) : error C2552: 'titles' : non-aggregates cannot be initialized with initializer list
1> 'std::basic_string<_Elem,_Traits,_Ax>' : Types with a base are not aggregate
1> with
1> [
1> _Elem=char,
1> _Traits=std::char_traits<char>,
1> _Ax=std::allocator<char>
1> ]
std::string und std::vector wären natürlich schöner, aber das würde voraussetzen, dass man die Sprache kann bzw. sie lernen möchte. Hier geht es offensichtlich nur darum, einen kopierten Code zu kompilieren.
Und wenn man eine archaische IDE wie Visual Studio 2008 verwendet, funktionieren natürlich auch so tolle neue Sachen wie Initializer Lists nicht, weshalb deine Snippets natürlich nicht funktionieren können @asm.
Array 09/20/2014 - Web Development - 8 Replies ProtocolNode Object ( => message => Array ( => [email protected] => 1421333354-1233 => 0 => text => 1413364225 => Peter Pan ) => Array ( => ProtocolNode Object ( => body => Array ( ) => => Testlauf ) ) => )
Jemand eine Idee wie an die Array-Werte komme als Beispiel z.B an die Nachricht "Testlauf" oder den Namen "Peter Pan"?
Array Tabelle 09/15/2013 - AutoIt - 13 Replies Hiho, ich brauche Bitte wieder mal Hilfe bei ner Array Tabelle, ich komm net so richtig weiter. Er gibt mir immer nur 3 Zeilen aus. :-(
Und zwar möchte ich den Body aus einen JS Script in eine Tabelle einlesen.
Ich habe es so gemacht:
Local $oTable = _IETableGetCollection($oIE, 0)
$array = _IETableWriteToArray($oTable, True)
_ArrayDisplay($array)
Array ausgeben 02/24/2012 - AutoIt - 3 Replies Hey,
ich hab grad irwi ne denkblockade also:
Global $player = , , , , , , , ]
#include <ButtonConstants.au3>
#include <ComboConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
Array 06/18/2011 - AutoIt - 0 Replies Array Fehler
Ich habe hier mal wieder einen Fehler den ich nicht beheben kann
#include "WebTcp.au3"
#include <Array.au3>
#Include <File.au3>
TCPStartup()
_AutoITObject_Startup()