I have written the code for splitwise, and I am getting the above error on compilation. The code is running fine on online compilers.
I have used c++11 flag to compile the code. The exact command that I used is
g++ -std=c++11 source.cpp -o cashFlowMinimizer.exe
I have also tried using
g++ -std=c++0x source.cpp -o cashFlowMinimizer.exe
Error: to_string() not declared in this scope
Hey @Ishitagambhir
This is working fine on my system.
So there must be some issue with your system .
@Kartikkhariwal1 can you suggest any alternative? i need screenshots of the output but online compilers show input and output separately
Yeah sure I will send u the exe file over mail, just drop ur email Id here
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.