I
Ioannis Vranos
OK, I just installed the tools refresh in VC++ 2005 Express Beta1, and
now it can indeed be called a Beta.
I decided to check the ref types on stack thing, and after some seconds
of effort I came to this:
int main()
{
using namespace System;
String s="Hello world";
Console::WriteLine(%s);
}
C:\c>cl /clr:safe temp.cpp
Microsoft (R) C/C++ Optimizing Compiler Version 14.00.40809
for Microsoft (R) .NET Framework version 2.00.40607.16
Copyright (C) Microsoft Corporation. All rights reserved.
temp.cpp
Microsoft (R) Incremental Linker Version 8.00.40809
Copyright (C) Microsoft Corporation. All rights reserved.
/out:temp.exe
temp.obj
C:\c>temp
C:\c>
==> It doesn't print "Hello world".
Questions on the above:
The String object created above is equivalent to new String("Hello World")?
Why it doesn't print anything?
Best regards,
Ioannis Vranos
now it can indeed be called a Beta.
I decided to check the ref types on stack thing, and after some seconds
of effort I came to this:
int main()
{
using namespace System;
String s="Hello world";
Console::WriteLine(%s);
}
C:\c>cl /clr:safe temp.cpp
Microsoft (R) C/C++ Optimizing Compiler Version 14.00.40809
for Microsoft (R) .NET Framework version 2.00.40607.16
Copyright (C) Microsoft Corporation. All rights reserved.
temp.cpp
Microsoft (R) Incremental Linker Version 8.00.40809
Copyright (C) Microsoft Corporation. All rights reserved.
/out:temp.exe
temp.obj
C:\c>temp
C:\c>
==> It doesn't print "Hello world".
Questions on the above:
The String object created above is equivalent to new String("Hello World")?
Why it doesn't print anything?
Best regards,
Ioannis Vranos