How to learn to write windows programs in C

Updated on technology 2024-03-16
8 answers
  1. Anonymous users2024-02-06

    Programming is also a technical job, especially when writing efficient programs, how can you learn it in three or five days.

    First of all, you need to learn the syntax of the C language and understand the concepts of object-oriented programming.

    Second, understand. .net's basic class library.

    Thirdly, learn data structures and algorithms, which are the basis for writing efficient programs. It is also necessary to learn other aspects of knowledge, as well as develop logical thinking skills.

    Read more excellent sample programs and practice a lot. As your name suggests, "Hackers are trained", so are programmers.

  2. Anonymous users2024-02-05

    Since you can write a program in 2 days with easy language, it means that LZ has strong logical thinking ability, and you can skip directly to the introductory tutorial to see the Winform chapter. The WinForm part is basically the same as Easy Language.

  3. Anonymous users2024-02-04

    That's a good book, it's a must-read.

    Then learn a little bit about VS, especially C and VC.

    Master a development tool.

  4. Anonymous users2024-02-03

    Let's start learning from C elementary programming, the language is mainly to write constantly, I am learning. net, Notepad has also done it, .

  5. Anonymous users2024-02-02

    If you're just trying to get your homework done, or want to see results as quickly as possible, look for a book on C Windows Form programming. There should be a lot of ready-made programs on it.

  6. Anonymous users2024-02-01

    If you need to learn to write programs in C language in the near future, then I suggest you first read the book C Advanced Programming, the most important thing is that you need to understand some of the most important concepts of object-oriented such as classes, inheritance, polymorphism, etc., and then look at its syntax, no language can be used proficiently immediately, only you can add your ideas to the grammar of the language in the process of writing a program to learn, you will definitely be able to get twice the result with half the effort, and there are many basic examples of the language on Microsoft, take a look, Practice more, test in practice, I wish you success.

  7. Anonymous users2024-01-31

    Method steps.

    In the Visual Studio 2017 development environment, select "File" "New" "Project" menu, and the "New Project" dialog box pops up, as shown in the following figure

    Please click Enter a description.

    Select Windows Forms Apps (.)..NET Framework), enter a name for the project, select a save path, and then click the OK button to create a Windows Forms application. Create the finished Windows Forms application, as shown in the following image:

    Please click Enter a description.

    Once you have created your project, you will have a default form in the VisualStudio 2017 development environment that you can use to design the form interface by adding various controls to it through the toolbox.

    To do this, press and hold the widget you want to add in the toolbox with your mouse, and then drag and drop it to a specified location in the form.

    In this example, two label controls, two textbox controls, and two button controls are added to the form, and the design effect is shown in the following figure

    Please click Enter a description.

    form, select the specified control, and set the corresponding properties of the control in the Properties window, as shown in the following figure

    Please click Enter a description.

    Double-click the two button controls, you can enter the **, and automatically trigger the click event of the button control, which can be written in the **, the default ** of the button control, as shown in the following figure:

    Please click Enter a description.

    You can save the current project by clicking the button in the VisualStudio 2017 development environment toolbar, or by selecting File Save All menu.

    Click the button in the toolbar of the VisualStudio 2017 development environment, or select Debug Start Debugging menu to run the current program, as shown in the following figure:

    Please click Enter a description.

  8. Anonymous users2024-01-30

    Hello, get ready.

    First of all, prepare a **document**, **as follows.

    using system;

    using ;

    class helloworld

    Find the path, C: Windows, and add this path to the environment variable, if you can't add the environment variable, please do it yourself.

    Open the cmd command and go to the current project directory from the command line.

    Start executing the program.

    Run the csc command to generate an executable file when the command is successfully executed.

    Double-click to run and there will be an enterable command line, where the program asks for input data, enter it casually and press Enter.

    After entering, two lines of data, that is, the function implemented by the program, echo the data entered by the user in the command line.

Related questions
7 answers2024-03-16

Look"Malloc", there is an article on the first page that is clearly written.

7 answers2024-03-16

It's called the [batch] program, in fact, don't think that the program you mentioned above to deal with garbage is really powerful, it's amazing, when you have learned DOS, that program can be said to be a very simple thing; >>>More

11 answers2024-03-16

It's all class names, functions, and members are given to you, just do it according to which idea!

9 answers2024-03-16

1. Application materials.

To study in a technical secondary school, you must first register, this is for sure, if you sign up, in addition to preparing money, you also have to prepare some necessary registration materials. Materials such as household registration booklet, ID card, one-inch **, junior high school graduation certificate or high school graduation certificate and its copy. If you are a student with financial difficulties, students who want to apply for financial assistance such as national grants should also prepare documents such as family poverty certificates. >>>More

4 answers2024-03-16

One night, the stationery in the bags had a "debate".

The pencil brother spoke first: "Hey! Don't underestimate me, I'm better than any of you! I can make the little master write. ” >>>More