【ドキュメント】Delphi8 for .NET 2【どこ?】
レス数が950を超えています。1000を超えると書き込みができなくなります。
0960デフォルトの名無しさん
NGNGclass Class1
{
[DllImport("kernel32.dll", CharSet = CharSet.Ansi, EntryPoint = "QueryPerformanceCounter")]
static extern bool QueryPerformanceCounter(out Int64 lpPerformanceCount);
[STAThread]
public static void Main()
{
Int64 l1,l2;
QueryPerformanceCounter(out l1);
int i = 0; int j = i; int k = j;
while (i < 10000)
{
k = ((i * 2) + 2);
i = k / 2;
i ++;
j = i;
j ++;
i = j;
}
QueryPerformanceCounter(out l2);
System.Windows.Forms.MessageBox.Show(Convert.ToString(l2 - l1));
}
}
レス数が950を超えています。1000を超えると書き込みができなくなります。