corect pls

Posts 1–6 of 6 · Page 1 of 1
corect pls
 
Spoiler
/* Main Function */
[STAThread]
void Main(array <String> args)
{
/* Set Process to use (csgo.exe) */
Mem.Process("csgo.exe");



Can anyone help me?



 
Spoiler
Severity Code Description Project File Line Suppression
State Error C2976 'std::array': too few template arguments




>--- here is problem i think

Who can corect this code?
Code:
void Main(array<String^>^ args)
corect pls v2 xD
Hi guys.

Again me xD

i corect code like wrote "Wasser"

in this topic"corect pls"

and now i have 1 more problem

my code:
 
xD
/* Function Prototypes */void ReadData();
void GlowESP();
void NoFlash();
void Bunnyhop();
void Triggerbot();
void Radar();


/* Main Function */
[STAThread]
void Main(array<String^>^ args)
{
/* Set Process to use (csgo.exe) */
Mem.Process("csgo.exe");


/* Set Module and store it in Client */
Client = Mem.Module("client.dll");




Errors:
1.Error C2976 'std::array': too few template arguments

2.Error C3699 '^': cannot use this indirection on type 'std::array'
That's because of my horrible coding back then.

The error is caused because the compiler thinks the code wants to access std::array, even though you are supposed to use cli::array. This is caused because of the "using namespace std" in global scope. The compiler thinks you want to use std::array instead of cli::array.

Exchanging
Code:
array<String^>^
with
Code:
cli::array<String^>^
should fix the issue.

If you ever come to the point of using a function which is in a specific namespace, specify the namespace directly in the code via NamespaceHere::ObjectToAccess instead of using a "using namespace NamespaceHere" in global scope. You can also put the using part within a specifc function to scope it just for that function.
ohh...... thx <33333333 u
/Solved & closed.
Posts 1–6 of 6 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us