View Single Post
  #6  
Old 05-09-2004, 07:41 PM
Quake_UHS
Fire Beetle
 
Join Date: May 2004
Posts: 9
Default

Hello, i'm on first year of Informatic Career. My knoweledge of C its normal, programming and this well, but not applications of internet. In C++ i just begin 2 months ago and i'm too newbie, but if you really need help tell me.

Level Programming: Newbie

Quake_UHS

quake_dh@hotmail.com


EXEMPLE of a program created 5 months ago, in C. (a bit part of the program). Is in spanoish the comments, because i'm I.

int *Crea_Check_Taulell(int files, int columna)
{
int *taulerauxiliar;
int i;

taulerauxiliar=(int*)malloc(files*columna*sizeof(i nt*));
if(taulerauxiliar==NULL)
{
printf("Error: la memoria no es pot reservar\n");
getche();
return (NULL);
}


for(i=0; i<(files*columna); i++)
{
taulerauxiliar[i]=0;
}

printf("\n%d\n", taulerauxiliar[0]);
return(taulerauxiliar);
}
__________________
The best magician ever passed through norrath...

Visit http://vg2.por5.com

Grillete