All pastes #342931 Raw Edit

Mine

public text v1 · immutable
·published 2007-02-06 17:35 UTC
rendered paste body
char* randoming(){
  unsigned int heure = time(NULL);
  std::cout<<heure<<"\n";
  srand(heure);
  float ale = (float)((rand()/10000)*100000);
  char* nbr;
  sprintf(nbr, "%i",ale);
  std::cout<<ale<<"   ale\n";
  return nbr;
}
 //Il med dit "erreur de segmentation" 0o
//Pourquoi ???