La puissance c++

Résolu
Bonjour,
est ce que quelqun peut me dire comment on ecrit x à la puissance y?
j ai essayé le chapeau ca marche pas
Configuration: Windows XP
Internet Explorer 7.0

4 réponses

  1. la bibliothèque math.h
    ça march tro cool
    1. Contributeur
      Si tu fais du C++ (et non du C), utilise plutôt std::pow(x,y) avec le header cmath (et non math.h).