Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jul 31st, 2006, 9:01 PM   #21
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
First, you should learn that there isn't a C+ language (certainly of no appreciable notoriety). That reduces your options by 1/3. That gets you in coin-flip territory. Me, I'd go for the plusplus.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Jul 31st, 2006, 9:10 PM   #22
Scatman
Newbie
 
Scatman's Avatar
 
Join Date: Jul 2006
Posts: 11
Rep Power: 0 Scatman is on a distinguished road
My apoligies, as I said before, me=noob. While we are talking C, would you mind giving me a quick (sentence or so) overview or explanation of what C# is?
Scatman is offline   Reply With Quote
Old Jul 31st, 2006, 9:26 PM   #23
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Personal opinion? C# is MS's attempt to undercut Java and further tank Sun. The underlying philosopy is quite similar. The implementation is certainly functional, perhaps equivalent, maybe even better. The fact that I generally discourage MS bashing is somewhat irrelevant. I have a long history in which the likes of MS, Intel, and IBM have been objects of general professional scorn (and deservedly so). I just generally choose to discourage ignorant people when they express opinions they've found scattered around the floor by high priests, rather than expending the effort to form their own in some rational way. Syntactically speaking, you will find a lot of similarities in what we may call 'last generation' languages. The ability to solve problems with the programming languages available is the important quality. Some require that you discard some comfortable levels of abstraction, simply because the underlying machine (the solution space) does not match the problem space (the purview of the human mind). More modern (and complex) languages provide a somewhat better fit. It isn't perfect. It isn't always applicable.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Jul 31st, 2006, 9:36 PM   #24
Scatman
Newbie
 
Scatman's Avatar
 
Join Date: Jul 2006
Posts: 11
Rep Power: 0 Scatman is on a distinguished road
I see.....??????
Scatman is offline   Reply With Quote
Old Aug 1st, 2006, 12:46 AM   #25
melbolt
Hobbyist Programmer
 
melbolt's Avatar
 
Join Date: Feb 2005
Location: PA, USA
Posts: 229
Rep Power: 4 melbolt is on a distinguished road
Send a message via AIM to melbolt Send a message via Yahoo to melbolt
it would be much much much quicker to automate mouse and keypresses like this in a scripting program such as autoit. in fact, i've made a fishbot for someone before in ffxi similar to this, scans for specific pixel colors and does mouse movements/button pushes.

here's the program:
http://www.autoitscript.com/autoit3/

and a very nice little add-on to help build your script:
http://www.autoitscript.com/autoit3/...tro/au3spy.htm

pretty neat and easy to use if you have a minor programming background, there's stuff like if statements, loops, etc.

definately the way to go if you're going to do something like that, you could do it in a regular langauge but this could be created in about an hour or less using this tool once you get the syntax figured out.
__________________
I have never let my schooling interfere with my education. -Mark Twain-

Xbox live gamertag: melbolt
melbolt is offline   Reply With Quote
Old Aug 2nd, 2006, 6:04 PM   #26
Scatman
Newbie
 
Scatman's Avatar
 
Join Date: Jul 2006
Posts: 11
Rep Power: 0 Scatman is on a distinguished road
That's my current enemy: syntax, I have most of the commands but have little or no idea what syntax to use them in.
Scatman is offline   Reply With Quote
Old Aug 2nd, 2006, 6:37 PM   #27
Scatman
Newbie
 
Scatman's Avatar
 
Join Date: Jul 2006
Posts: 11
Rep Power: 0 Scatman is on a distinguished road
Okay, I need some help with the first command, does anyone have any suggestions on a command that would scan the output data for the monitor so as to find a predesignated pixel color value (RGB, Dec, Hex, I don't care.)
Scatman is offline   Reply With Quote
Old Aug 2nd, 2006, 6:45 PM   #28
Scatman
Newbie
 
Scatman's Avatar
 
Join Date: Jul 2006
Posts: 11
Rep Power: 0 Scatman is on a distinguished road
Just testing my signature.
__________________
Finish the Fight
2007
Scatman is offline   Reply With Quote
Old Dec 15th, 2006, 5:19 PM   #29
bigguy
Professional Programmer
 
bigguy's Avatar
 
Join Date: Sep 2005
Location: Arkansas
Posts: 294
Rep Power: 0 bigguy is an unknown quantity at this point
Send a message via AIM to bigguy Send a message via MSN to bigguy Send a message via Yahoo to bigguy
You could ditch vb5 as there is a vb6, then a vb.net 03 and now a vb.net 06. I think there was a vb.net 02 also. But yes, I would goto to a biger language my first language was Pascal, and then vb6 and now I'm vb.net and C#. I'd use C or C++. Although, GUI programming is much harder, in C or C++. I think you would benefit from it more in the long-run.
__________________
Forgiveness is the fragrance that the violet sheds on the heal that has crushed it. - Mark Twain

We all make mistakes. If it doesn't kill us, it will make us stronger. If it does kill us, then it's to late, but it was a great ride while it lasted. - Seth Hall
bigguy is offline   Reply With Quote
Old Dec 15th, 2006, 11:34 PM   #30
lectricpharaoh
Caffeinated Neural Net
 
lectricpharaoh's Avatar
 
Join Date: Jun 2005
Location: Wet west coast of Canada
Posts: 895
Rep Power: 4 lectricpharaoh will become famous soon enough
[edit] Sorry. It's a little more than a 'sentence or so'. [/edit]
Quote:
Originally Posted by Scatman View Post
My apoligies, as I said before, me=noob. While we are talking C, would you mind giving me a quick (sentence or so) overview or explanation of what C# is?
DaWei's definition is sound; C# resulted when Microsoft tried adding extensions to Java, was sued by Sun, and settled the suit. This is the main reason MS doesn't offer their own Java VM any longer; one must now get it from Sun, which is as it should be.

That said, I myself prefer C# over Java. The syntax is virtually identical, but there are a few differences. In particular, there are some features that Java's designers opted not to implement (operator overloading, properties, and pointers, for example) in order to 'keep things simple' (at least, this is the rationale I most frequently encounter). However, at least in the case of operator overloading and properties, they can help a lot in making the code easier to work with. For example, look at the following code examples, and decide which is more clear to you:
// Java
objectA = objectB.add(objectC);
value = objectA.getValue();

// C#
objectA = objectB + objectC;
value = objectA.Value;
Another thing I like about C# is the runtime library seems a bit richer in terms of features, and more user-friendly in its design (though both of these are strictly my opinion). The fact that (at least on Windows) there is a very capable visual designer for making GUIs in C# doesn't hurt either (and yes, I know there are similar designers for Java, but I've never used them).

Java does have an edge in the web development market, both in server-side code (ie Java Server Pages) and client-side code (ie applets). Due to the cross-platform nature of java and its API, C# is hard-pressed to compete here. Even though the C# specification is open, and .NET has been (at least in part) ported to various platforms, Java is still the tool of choice here.

On the other hand, if you're wanting to write Windows applications, I would submit that C# is a much more suitable alternative. In my eyes, not only is it easier to work with, there seems to be less variance between versions of the .NET framework between versions than there is between versions of the Java SDK. I still remember how the Tetris clone I wrote in Java worked fine when I developed it, but upon 'upgrading' to a more recent Java SDK and building it again, it was exceedingly slow to respond (read: no longer playable). There also seem to be more deprecated classes and methods in the Java API than in the .NET framework.

One last issue is that, if using C#, you will be using the .NET framework. This means that you can take advantage of any language that uses the framework. For example, if you have two developers, and one is fluent in VB, and the other in C#, they could each write portions of the same application in their preferred language, and the two pieces could operate seamlessly together.
__________________
A man's knowledge is like an expanding sphere, the surface corresponding to the boundary between the known and the unknown. As the sphere grows, so does its surface; the more a man learns, the more he realizes how much he does not know. Hence, the most ignorant man thinks he knows it all. - L. Sprague de Camp
lectricpharaoh is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Language display in program Prm753 C++ 3 May 30th, 2006 5:45 PM
Creating a program to test a program sixstringartist C 8 Jan 21st, 2006 1:15 PM
move program console window back badbasser98 C++ 21 Oct 18th, 2005 2:02 PM
Nonsense Name generator program chillster13 C 14 Jun 17th, 2005 2:05 AM
airport Log program using 3D linked List : problem reading from file gemini_shooter C++ 0 Mar 2nd, 2005 4:12 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 1:43 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC