Hello,

I used GetTickCount API and i found out that my two equal programs written on C++ and VB, had VB version was only 196 points slower than C++ and VB had window intilized while C++ was running in Console.

Is this realy true? I heard that C++ was much faster and efficient than VB :B

C Version (took 6783 points):
PHP Code:

#include "stdafx.h"
#include <iostream.h>
#include <windows.h>

int main(int argccharargv[])
{
    
int x;
    
int ticks;

    
8;
    
ticks GetTickCount() / 1000;
    
cout << ticks;
    
cin >> x;
    return 
0;

VB Version:

VB Code:
  1. Dim x As Integer
  2. Dim ticks As Integer
  3.  
  4. x = 5 * 8
  5. ticks = GetTickCount / 1000
  6. Me.Caption = ticks

made_of_asp,