generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

C# vs C++ for automation?

Previous Thread :: Next Thread 
L2000 is not online. L2000
Joined: 03 Apr 2008
Total Posts: 77448
30 Dec 2012 10:51 PM
I want to make some automation programs for small tasks (If I make a program, I usually need to test a lot with it; it would be easier to just automate that). However, I'm not sure which would be better for this, in terms of having more features (That is, being able to do more without having to make large programs to do it).

Which would be better for this? I know C# only works on Windows whereas C++ works on all of them, but I only use Windows for the automation so this won't affect it. Can C# do more than C++, or can C++ do more than C#? Or are they basically the same (Given the Windows library for C++)?

Thanks,
~L2
Report Abuse
myrkos is not online. myrkos
Joined: 06 Sep 2010
Total Posts: 8072
30 Dec 2012 10:54 PM
What sort of 'small tasks' do you want them to do?
Report Abuse
DannyCore is not online. DannyCore
Joined: 25 Apr 2012
Total Posts: 990
30 Dec 2012 10:54 PM
they're basically the same

except for some things c# has that are more efficient than what c++ has, and the other way around
Report Abuse
k9rosie is not online. k9rosie
Joined: 05 Jul 2008
Total Posts: 14339
30 Dec 2012 10:54 PM
What exactly are you planning to do?
Report Abuse
L2000 is not online. L2000
Joined: 03 Apr 2008
Total Posts: 77448
30 Dec 2012 10:56 PM
@K9 and myrkros
I mostly want to send keys to a window (So, keyboard automation), check the result to see if it's correct, and do the same with mouse clicking. I'd probably need a way to take a screenshot -- is that possible in C# or C++?
Report Abuse
myrkos is not online. myrkos
Joined: 06 Sep 2010
Total Posts: 8072
30 Dec 2012 10:58 PM
Yeah, it's possible, though perhaps a bit hard to do. I guess C# would have a nicer API for this.
Report Abuse
L2000 is not online. L2000
Joined: 03 Apr 2008
Total Posts: 77448
30 Dec 2012 10:58 PM
@Myr
Okay, thank you.
Report Abuse
thek00lkid is not online. thek00lkid
Joined: 18 Jun 2011
Total Posts: 2778
30 Dec 2012 11:01 PM
Use Assembly. :3

○ Existence does not define reality.
Report Abuse
k9rosie is not online. k9rosie
Joined: 05 Jul 2008
Total Posts: 14339
30 Dec 2012 11:03 PM
Why can't you use AutoHotKey? You think you're too cool for that or something?
Report Abuse
L2000 is not online. L2000
Joined: 03 Apr 2008
Total Posts: 77448
30 Dec 2012 11:26 PM
@K9
I tried that before, but I found that it couldn't do some of the things I wanted in it.. I could probably use that for most of it, though.
Report Abuse
Aerideyn is not online. Aerideyn
Joined: 16 Jan 2010
Total Posts: 1882
30 Dec 2012 11:28 PM
c# (XNA) will get it done far far faster. You don't need then ~20% performance benefit for something like that by using c++
Report Abuse
stravant is not online. stravant
Forum Moderator
Joined: 22 Oct 2007
Total Posts: 2893
30 Dec 2012 11:58 PM
It would be stupid to not use C#.

That is not the task for C++.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image