C++ Compiling error.

Posts 1–4 of 4 · Page 1 of 1
C++ Compiling error.
I'm using Visual Studio 2015 and I'm getting these errors, I might be just stupid.

http://gyazo.com/059b308067b66200d3c0e5f95c3cfba3
Code:
void Main (array <String^>^ args)
Any suggestions? I'm kind of rusty with C++
Quote Originally Posted by Skips View Post
I'm using Visual Studio 2015 and I'm getting these errors, I might be just stupid.

http://gyazo.com/059b308067b66200d3c0e5f95c3cfba3
Code:
void Main (array <String^>^ args)
Any suggestions? I'm kind of rusty with C++
Delete the "array <String^>^ args" inside the brackets. I've tested it now and it works fine.
Quote Originally Posted by phoenix8383 View Post
Delete the "array <String^>^ args" inside the brackets. I've tested it now and it works fine.
Thanks man!
Code:
int main(int argc,char *argv[])
Those are the actual arguments for main, which are optional.
Posts 1–4 of 4 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us