hi every one this is my first time on Visual studio & this message "Note: C++ does not support default-int" keep showing pleas someone tell me what wrong with my C code
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
void remplire (int t[] , int n ) ;
void afficher (int t[] , int n ) ;
void main ()
{
const long_tab = 2000 ;
int t[long_tab] ;
srand (time(NULL));
remplire ( t , long_tab );
afficher ( t , long_tab );
}
void remplire (int t[] , int n )
{
int i ;
for (i=0 ; i<= n ; i++)
{
t[i] = rand () ;
}
}
void afficher (int t[] , int n )
{
int i ;
for (i=0 ; i<= n ; i++)
{
printf ("%d \t" , t[i]);
if( i%10 == 0 )
printf ("\n");
}
}