Visual C++ .NET/Data Type/Octal
An Octal
#include "stdafx.h"
using namespace System;
void main()
{
Console::WriteLine ( 010 ); // An Octal 10 is a base-10 8
Console::WriteLine ( -010 ); // Negative Octal 10 is a base-10 -8
}
#include "stdafx.h"
using namespace System;
void main()
{
Console::WriteLine ( 010 ); // An Octal 10 is a base-10 8
Console::WriteLine ( -010 ); // Negative Octal 10 is a base-10 -8
}