how can I input brackets with numbers and commas using pair? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

how can I input brackets with numbers and commas using pair?

13th Oct 2020, 3:54 PM
Faezeh Alinejad
Faezeh Alinejad - avatar
2 Antworten
+ 1
Does use pair,use std::complex. The STL already has operator >> overloaded for std::complex that does exactly what you want to do.
13th Oct 2020, 5:02 PM
Anthony Maina
Anthony Maina - avatar
0
Anthony Maina Thanks but I have to solve this question without using classes. Do you no way have?
13th Oct 2020, 5:09 PM
Faezeh Alinejad
Faezeh Alinejad - avatar