Hi, I don't know a lot about programming, but I was wondering if there is any way in C++. I can extract the result of a CMD command and then convert it to a string to later use it in c++.
I will use "curl ifconfig.me" since I don't know the equivalent in windows, I read it's curl/wget but anyway
Ex:
curl ifconfig.me
xx.xx.xx.xx
> ?
// How can I extract the numbers 'xx..', is possible to call a previous result, or just impossible ?
Aucun commentaire:
Enregistrer un commentaire