Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Programming Talk / C++ / C# - Simple Click and Add

Author
Message
OneMoreLevel
16
Years of Service
User Offline
Joined: 1st Sep 2009
Location:
Posted: 2nd Sep 2009 22:14
I want to make a simple application that counts how many times you can click. I want a textbox, and when you click on the screen, it adds one to that. Is there any way to do this? Im a real newb to C++ So any help is appreciated.
AutoBot
16
Years of Service
User Offline
Joined: 25th Sep 2009
Location: Everywhere
Posted: 26th Sep 2009 18:32
There might be a member function in cin that will help you out. Maybe you could try something like 'cin.rdbuf()'. I'm a newb too but I hope this helps.

By the way, you will need the 'iostream' header file to make the cin functions work. Using the std namespace always helps too.

AutoBot

Login to post a reply

Server time is: 2026-06-10 03:29:13
Your offset time is: 2026-06-10 03:29:13