i started programming in c++. I wrote one line code in c++ and i got an error which i cant solve.
In order to fix this problem i searched some internet pages but i cant find the solution to this problem. Here is the Code:
#include <iostream>
#include <cmath>
#include <stdio.h>
using namespace std;
int main()
{
cout <<remainder(10 % 3.25) << endl;`
}
I cant execute this code. The failurelog says that the function remainder and fmod cant be found. I also tried it out to include the math.h lib.
Can someone help me to fix my problem?
Many thanks Pat