这里的新手,需要编写读取图形界面和程序交互的程序 [英] Newbie here, need to code program that reads graphic interface and interact with program

查看:57
本文介绍了这里的新手,需要编写读取图形界面和程序交互的程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

14岁的老人在这里想要。我想通过创建一个运行另一个或多个程序的程序来启动我的第一个项目。假设我有一个程序,当互联网熄灭时做了smth。我希望能够重新启动它,点击它上面的一些按钮,然后启动另一个程序,并在那里也执行某些操作?



你能告诉我什么编程语言我应该先开始学习,这可以用1种编程语言完成,或者我需要一次使用几种才能制作这个应用程序吗?



理论上我将截取一个需要处理的程序状态应该在断开连接之后的截图,然后运行它的主程序比较图像按钮是否与图片相同并执行某些任务。 />


Thx提前,我希望我从你们那里学到很多东西:D



我是什么尝试过:



没什么大气,只是一个新人:D

解决方案

Don T。我之所以这么说是因为尝试通过做项目来学习就像试图通过在F1比赛中获得杆位来学习驾驶一样!很可能你可以完成一圈,但更有可能的是你会在第一个弯道失速或撞车。

选择一种语言,拿一本书(或者更好的一门课程:一个人可以改写一下你不明白,一本书不能)并且从头到尾跟着它,做所有的练习。

这样,一切都将按逻辑顺序介绍,不会遗漏任何东西出。试图通过做一个复杂的项目来开始学习任何现代系统是一种令人沮丧的方法,并错过了可以真正帮助你的巨大块。

完成后,你会有一个好的想法如何开始你的项目,以及陷阱的位置。



至于语言,我建议你从C#开始 - 工具是免费的(寻找Visual Studio社区版)并且有很多好书:Adison Wesley和Wrox一样。只需避免带有多个感叹号的任何内容,在xx天内或标题中的for dummies,你应该没问题。


C#和.NET的一个很好的起点是< a Charles Petzold的.NET Book Zero [ ^ ],可以免费下载。


项目很好,但首先,你需要正确学习如何做程序。



没有知识的捷径,没有人可以为你学习,你是唯一可以做到的人。成为优秀程序员的方式很长,并不是每个人都能实现这一目标。优秀的程序员需要一种特殊的心态,要么你拥有它,要么你没有。



为了成为一名优秀的开发人员。您需要掌握一组作为工作基础的技术,而不是与语言相关联。



我的短名单:

- 从简单/安全的语言开始:VB,Java,C#,而不是C

- 阅读文档/关注教程(很多)

- 从微小开始/无用的项目,目的是学习编程,而不是做一些有用的事情。

- 从控制台模式程序开始(没有花哨的图形,没有鼠标)

- 学习调试器< a href =http://www.codeproject.com/Articles/79508/Mastering-Debugging-in-Visual-Studio-A-Beginn>在Visual Studio 2010中掌握调试 - 初学者指南 [ ^ ]

调试器 - 维基百科,免费的百科全书 [ ^ ]

- 有问题吗?谷歌是你的朋友。

- 学习布尔代数

- 掌握一些分析方法, Dijkstra自上而下方法是一个好的开始。

https://en.wikipedia.org/wiki/Top -down_and_bottom-up_design [ ^ ]

https://en.wikipedia.org/wiki/Structured_programming [ ^ ]

https://en.wikipedia.org/wiki/Edsger_W._Dijkstra [ ^ ]

https://www.cs.utexas.edu/users/EWD/ewd03xx/EWD316.PD F [ ^ ]



记住练习和小项目不是为了让你有用,他们在这里教你编程。


14y old wannabe here. I wanted to start my first project by creating a program that runs another program or several. Say i got one program that does smth when internet goes off. I want to be able to restart it, click some buttons on it and then start another program and also perform certain actions there as well?

Can you pls tell me what programming language should i start learning first, and can this be done in 1 programming language or i need to use several at once in order to make this application ?

In theory i would take screenshot of how the state of a program that need to be worked on should look like after a disconnect, then the main program that runs it compares if the image button is the same as from a picture and performs certain tasks.

Thx in advance and i hope i learn a lot from you guys :D

What I have tried:

nothing atm, just a new guy :D

解决方案

Don't. The reason I say that is that trying to learn by doing a project is like trying to learn to drive by starting in pole position in an F1 race! It's vaguely possible you might complete a lap, but more likely that you will stall or crash on the first corner.
Pick a language, get a book (or better a course: a human can rephrase things when you don;t understand, a book can't) and follow it from start to end, doing all the exercises.
That way, everything will be introduced in a logical sequence, and nothing will be missed out. Trying to start learning any modern system by doing a complicated project is a recipe for frustration and missing out huge chunks that could really, really help you.
When you've finished that, you will have a good idea how to get started with your project, and where the pitfalls are.

As for language, I'd suggest that you start with C# - the tools are free (look for Visual Studio Community Edition) and there are a huge number of good books out there: Adison Wesley do loads, as do Wrox. Just avoid anything with multiple exclamation marks, "in xx days", or "for dummies" in the title and you should be fine.


A good starting point for C# and .NET is .NET Book Zero by Charles Petzold[^], which is free to download.


Having projects is nice, but first, you need to properly learn how to do programs.

There is no shortcut to knowledge, no one can learn for you, you are the only one that can do it. The way to become a good programmer is long and not everybody can achieve that goal. Good programmer need a special state of mind, either you have it or you don't.

In order to become a good developer. You need to master a set of techniques that are the basis of the job and are not linked to a language.

My short list:
- Start with an easy/safe language: VB, Java, C#, not C
- Read documentation / Follow tutorials (a lot of them)
- Start with tiny/useless projects, the purpose is to learn programming, not doing something useful.
- Start with console mode programs (no fancy graphics, no mouse)
- Learn debugger Mastering Debugging in Visual Studio 2010 - A Beginner's Guide[^]
Debugger - Wikipedia, the free encyclopedia[^]
- A problem ? Google is your friend.
- Learn Boole algebra
- Master some analyze methods, Dijkstra Top-Down method is a good start.
https://en.wikipedia.org/wiki/Top-down_and_bottom-up_design[^]
https://en.wikipedia.org/wiki/Structured_programming[^]
https://en.wikipedia.org/wiki/Edsger_W._Dijkstra[^]
https://www.cs.utexas.edu/users/EWD/ewd03xx/EWD316.PDF[^]

Remember the exercises and little projects are not here to make something useful, they are here to teach you programming.


这篇关于这里的新手,需要编写读取图形界面和程序交互的程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆