+ 3
¿ Como detectar palabras/frases/caracteres en c++ ? ¿ How to detect a word/char in c++ ?
ESP: Quiero detectar en un texto el simbolo $ y que imprima algo si lo detecta a travez de una lectura de usuario (cin) ENG: Print "Hello" if the text contains the $ symbol through a user input (CIN).
3 Respuestas
0
Please interpret it in English.
0
What is the source in ?
Are you looking for find_first_of ?
https://www.cplusplus.com/reference/string/string/find_first_of/
Please explain more, what do you want to achieve ?
0
I don't speak Spanish (I speak portuguese), but for detect a character on C++, just use " ", I guess
Also, if you can, use English for talking here :)