When writing an application using /clr, the arguments of the main() function cannot be of a managed type.
An example of a proper signature is:
В | Copy Code |
---|---|
// managed_types_and_main.cpp // compile with: /clr int main(int, char*[], char*[]) {} |
When writing an application using /clr, the arguments of the main() function cannot be of a managed type.
An example of a proper signature is:
В | Copy Code |
---|---|
// managed_types_and_main.cpp // compile with: /clr int main(int, char*[], char*[]) {} |