Code compiles successfully, yet previous day is blankOk, nevermind guys. fixed the stupid error [code]int dayType::prev_day(int day) { prevday=presday-d...
Code compiles successfully, yet previous day is blank[code] //#include "stdafx.h" #include<iostream> #include<cmath> using namespace std; //c...
Compiles successfully but calculations give wrong answerThanks for all the help guys, much appreciated!!!
Compiles successfully but calculations give wrong answerI'm not exactly sure what compiler you're using. But in microsoft visual c++ everything works perfec...
Compiles successfully but calculations give wrong answerThanks for your advice. I edit the code and restarted from start and i agree the whole switches was ...