Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

how do i make an if activated when mouse clicked c++


  • Please log in to reply
4 replies to this topic

#1 i am not known

i am not known

  • Members
  • 113 posts
  • OFFLINE
  •  
  • Local time:08:37 PM

Posted 18 November 2008 - 10:42 PM

hi i am 13 so useing c++ is completely new to me i want to make a programme that counts mouse clicks so far im thinking it has somthing to do with

if mouse click returns = 1 is true y=y+1
if mouse click returns =1 is false y=y
but i don't know the command so if mouse click returns true
or how to get y to display it self top left corner


this is all guess woek i have never ever done any programmeing before
I hear a boy only has a certain amount of tears one day the pain and dissapointment happen so often the pain dissapers and the boy becomes a man

BC AdBot (Login to Remove)

 


#2 i am not known

i am not known
  • Topic Starter

  • Members
  • 113 posts
  • OFFLINE
  •  
  • Local time:08:37 PM

Posted 19 November 2008 - 05:19 AM

im starting to narrow it down

beginLoop


{if mouse clicked count = 1

return TRUE;

} y = y+1

endLoopif


{if esc key pressed count = 1

return TRUE;

}terminate mouse click counter.exe

still newby most of these comands are not real were can i find a list of these anything i missing other then whats auto generated by programme please help this so confusing

Edited by i am not known, 20 November 2008 - 03:36 AM.

I hear a boy only has a certain amount of tears one day the pain and dissapointment happen so often the pain dissapers and the boy becomes a man

#3 i am not known

i am not known
  • Topic Starter

  • Members
  • 113 posts
  • OFFLINE
  •  
  • Local time:08:37 PM

Posted 21 November 2008 - 05:53 AM

what i am doing is clearly wrong and i am starting to see that. i need help can you suggest some good websites for me to use.
I hear a boy only has a certain amount of tears one day the pain and dissapointment happen so often the pain dissapers and the boy becomes a man

#4 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:07:37 PM

Posted 21 November 2008 - 07:06 AM

C++ Tutorials
C++ Tutorials

#5 i am not known

i am not known
  • Topic Starter

  • Members
  • 113 posts
  • OFFLINE
  •  
  • Local time:08:37 PM

Posted 21 November 2008 - 06:46 PM

thankyou
I hear a boy only has a certain amount of tears one day the pain and dissapointment happen so often the pain dissapers and the boy becomes a man




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users