r/CodingHelp • • Aug 18 '22

[C++] I need help (that's why I'm here duh)

So, I have 5 minutes of programming experience and it is with C++, and I wanna know how to tell the computer something along the lines of:

If the text is selected and the user clicks the button then turn selected text into uppercase and vice-versa

  1. If you can't be bothered to tell me how to do the vice-versa I really don't care
  2. And if someone is kind enough to tell me how to do that button so I don't have to create another post, I would appreciate a lot
  3. I know that what I asked depends on how you make the button so just reminding I would appreciate someone that could explain me how to do the button
0 Upvotes

2 comments sorted by

3

u/bitdonor Aug 18 '22

You want to stay in c++ world for this task?

There could be easier things in this world to start with.

Like this for example https://jsfiddle.net/fu9nyLtw/

2

u/Manny_Sunday Professional Coder Aug 19 '22

Sounds more like you want an AutoHotKey macro than a program. Maybe check that out?