Thread View: be.comp.programming
4 messages
4 total messages
Started by Wouter Lievens
Mon, 23 Dec 2002 09:12
C++ machtsverheffing
Author: Wouter Lievens
Date: Mon, 23 Dec 2002 09:12
Date: Mon, 23 Dec 2002 09:12
4 lines
998 bytes
998 bytes
Welke functie doet de machtsverheffing in C++? Indien van toepassing, uit welke bibliotheek komt ie? (ik gebruik gcc)
Re: C++ machtsverheffing
Author: Tim A.
Date: Mon, 23 Dec 2002 09:20
Date: Mon, 23 Dec 2002 09:20
9 lines
1480 bytes
1480 bytes
"Wouter Lievens" <cyberdude@telefragged.com> schreef in bericht news:3e06d380$0$29646$ba620e4c@news.skynet.be... > Welke functie doet de machtsverheffing in C++? > Indien van toepassing, uit welke bibliotheek komt ie? > > (ik gebruik gcc) > > EXP uit math / math.h dacht ik
Re: C++ machtsverheffing
Author: Slayerke
Date: Mon, 23 Dec 2002 10:57
Date: Mon, 23 Dec 2002 10:57
12 lines
1409 bytes
1409 bytes
Wouter Lievens wrote: > Welke functie doet de machtsverheffing in C++? > Indien van toepassing, uit welke bibliotheek komt ie? > > (ik gebruik gcc) pow(double x, double y) uit <math.h> Als je functies uit math.h gebruikt moet je wel de libm meelinken (-lm op de commandline bij het linken) -- Groeten, Slayerke
Re: C++ machtsverheffing
Author: Tim A.
Date: Mon, 23 Dec 2002 11:37
Date: Mon, 23 Dec 2002 11:37
14 lines
1613 bytes
1613 bytes
"Slayerke" <slayerkenospammer@slayerke.co.uk> schreef in bericht news:X_BN9.66071$Ti2.9845@afrodite.telenet-ops.be... > Wouter Lievens wrote: > > > Welke functie doet de machtsverheffing in C++? > > Indien van toepassing, uit welke bibliotheek komt ie? > > > > (ik gebruik gcc) > pow(double x, double y) uit <math.h> > Als je functies uit math.h gebruikt moet je wel de libm meelinken (-lm op de > commandline bij het linken) > -- Inderdaad... exp is voor de verheffing van het getal 'e'
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads