Answered step by step
Verified Expert Solution
Question
1 Approved Answer
need help in c++. Can someone tell me why its showing errors. Last login: Fri Feb 10 17:15:38 2023 from 76.112.112.169 Server built with Ansible
need help in c++. Can someone tell me why its showing errors.
Last login: Fri Feb 10 17:15:38 2023 from 76.112.112.169 Server built with Ansible playbooks: BareMetal Version: 1.0.10 2021-04-26 [anesinelogin:2 ] 5 ed /home/a/anasim/ [anasinelogin:2 ] 1 s Client.cpp Private Public Server.cpp [anasinelogin:2 2 ] gec =0 client Client. cpp Client.cpp: In function 'int main(int, char**)': Client. Cpp:62:72: error: 'to_string' was not declared in this scope request = cmd + " + +stock_symbol + " " +to_string(stock_amount) + " " + to_string(price) + "=+ user_id + "ln"; C1ient.cpp:84:72: error: 'to_string' was not declared in this scope std: : cout & "Balance for user " + name + "i $+ to_string(balance +=1n"; C1ient. cpp:95:3: error: expected ' } ' at end of input 3 [anasinelogin:2 ]s cat Client. cpp *include isys/types. h Mdefine SERVER_PORT 12345// Replace this with the last 4 digits of your UM-ID idefine MAX_BUFFER_LENGTH 1024 using namespace std; isual Studio Code Fisual Stucio Code Al Situdio Code Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started