I have studied C, I want to learn some simple C to make GUI, what book do I recommend?

Updated on culture 2024-02-27
25 answers
  1. Anonymous users2024-02-06

    To learn MFC, first of all, you must learn C++, MFC is just a library written in C++, C++ is not understood, it is impossible to learn MFC, you can find some books to read, this is more classic: "VC++ in-depth explanation" Sun Xin When creating MFC engineering, the selection wizard can automatically generate a program framework C++ programming language (The C++ programming language) Author:Bjarne Stroustrup( Updated to C++11) Classic C++ books written by the father of C++.

    The content covers everything C++, from the language kernel to standard libraries, programming paradigms, and philosophy of language (which makes the latest edition over 1,000 pages). The fourth edition, published in May 2013, covers C++11.

  2. Anonymous users2024-02-05

    The C++ Programming Language by Bjarne Stroustrup (updated to C++11) A classic C++ book written by the father of C++. The content covers everything C++, from the language kernel to standard libraries, programming paradigms, and philosophy of language (which makes the latest edition over 1,000 pages).

    The fourth edition, published in May 2013, covers C++11.

  3. Anonymous users2024-02-04

    When creating an MFC project, the selection wizard can automatically generate a program framework.

    You can find some books to read, this one is more classic: "VC++ In-depth Explanation" by Sun Xin.

    To learn MFC, you must first learn C++, MFC is just a library written in C++, C++ is not understood, it is impossible to learn MFC

  4. Anonymous users2024-02-03

    Trouble with C, let's use some visual programming!

  5. Anonymous users2024-02-02

    If you want to use C as a GUI, you have to learn C++, and then visualize C++, which is VC or MFC

    You can also learn QT without learning MFC, which is also a cross-platform C++ graphical user interface application framework, but QT has less material and it may not be easy to learn it.

    If you don't even want to learn C++, you can learn OpenGL, which is a graphics library that will increase your interest in learning.

  6. Anonymous users2024-02-01

    Listen to your introduction, you should still be learning the syntax of C++, of course you can only write some**, as for you to figure out the GUI interface, you still have to learn the basics of C++.

    I'm the same as you, I used to learn the syntax of C++, it's very boring, it's boring, I learned VB, the biggest advantage of VB is that you can quickly develop application software, so in contrast, learning C++ is much more boring, but then after I learned the syntax of C++, I began to involve VC++ (Visual C++), which is similar to the way VB is developed, you can use C++ to implement the ** writing of the boxes and buttons you said, but this is a process, you don't have to rush In addition, you can't fiddle with VC++ after learning C++, you also have to learn how to operate the VC++ development platform, you also have to remember the usage of various classes and functions, and especially important is to learn the MFC in VC++, which will be covered in the book when you start learning, and after you learn it, you can develop some small and medium-sized finished software with your own creativity.

    I'm currently studying VC++ At first, I encountered a lot of difficulties, such as studying MFC, but I survived, and it was no problem to write what you said, but I still have to continue to work hard, come on, take one step at a time, you will get the results you want, let's work together.

    Let me tell me how I learned MFC Because MFC is an integration of classes, so there are so many classes that many people can't scratch their heads I summarized the classes mentioned by MFC in the process of learning, and classified and memorized their useful functions, so that slowly in the process of learning, many things have been straightened out, and I think it is necessary to choose a good book I use to learn VC++ The book I use to learn VC++ is "Zero Start", because it has a special introduction to the use of each control, which naturally involves the use of MFC It's a lot easier to learn, and of course, there are a lot of good books, and my experience is to choose books that are specific to how to use controls, and that will make your learning more effective.

  7. Anonymous users2024-01-31

    Take a look at the web page creation book, which introduces windows that can be made with C.

  8. Anonymous users2024-01-30

    Recommend the QTGUI design, its design idea is the best of the existing C++ package, beautiful UI style, good interface layout, and very easy to get started.

    Related books include "Zero-based QT4 Programming", C++ GUI QT4 Programming (2nd Edition) (this is an official textbook, from shallow to deep, step by step, is a book with a good reputation).

    It is recommended not to learn MFC, because it is not well packaged, and for beginners, they often don't even know where the program is running. And its interface style is ugly, and there is no interface layout. The lack of good interface design ideas makes the interface unreusable.

  9. Anonymous users2024-01-29

    What field was developed? Win's school MFC,It's pretty much the same anyway.。

    Personally, do you think QT is faster?

    Just look for one and learn it, it's all good.

  10. Anonymous users2024-01-28

    Qt is quick to use, but with the decline of Nokia, the development of Qt has slowed down a lot, but Qt is really a good thing to use and easy to use.

  11. Anonymous users2024-01-27

    Just buy a book about programming.

  12. Anonymous users2024-01-26

    Mathematics majors definitely recommend that you learn MATLAB, but I personally feel that MATLAB's ** seems to be messy, not easy to read, and mainly focuses on numerical calculations, not suitable for the release of professional software, and generally speaking, learning mathematics visual C++ should be a better course, and it will be used in many aspects in the future, so you can study it carefully, and you can also call MATLAB functions in C++, so you can use C++ in drawing and interface control, MATLAB is used for numerical calculations

  13. Anonymous users2024-01-25

    C++ is not very suitable for GUI, or you have to learn Windows programming, MFC, QT, etc.

    MATLAB is too unprofessional, even if it is used for mathematical analysis.

    C is very suitable for GUI, and it is much simpler than C++, and it is more convenient to do GUI. In the case of "you have learned C language and read C++", you should find a book and read it for two days to make a good GUI.

    But remember that this is just scratching the surface, and if you are interested, you need to learn more.

  14. Anonymous users2024-01-24

    If you just speak these two languages, there are more tools for C++, QT, MFC, WPF are all things to consider.

    MATLAB is rarely used as a GUI program.

    MATLAB is mainly used for analysis, generally used to embed functions in programs, etc., and many people prefer QT because it is open source, it is recommended that you read QT Advanced Programming, which is a very good textbook, and it is recommended to read the original English version.

  15. Anonymous users2024-01-23

    Who said it wasn't suitable???

    Upstairs nonsense, landlord, you learn C++, you can go and see that QT is a GUI, and it is the best development tool for GUI in C++.

    Remember to give me points.

  16. Anonymous users2024-01-22

    C++ Direction of Study You should ask your teachers.

    Ask your teacher one day:"Comrade teacher, you teach us software development, what kind of software is it developing? "

    First of all, you need to learn a programming language, data structure algorithms, and a database, and be able to operate it in your language, network programming basics, but also Windows programming, and so on.

    Once you've learned the basics, it's time to choose which aspect of software development you want to work on.

    Is database software development? Game development? **Exploitation?

    Embedded development? Network product development? Multi-** software development?

    System program development? AI software development? Or is it developed specifically for one industry.

    Which type of software development do you choose?

    You will not let the teacher teach you one by one, and the teacher may not either.

    All of the above development directions are in accordance with"years"If you come to study, you are just a rookie in the first year, you are a rookie in the second year, and you are a novice in the third year, and then you go to work, and then slowly intern.

  17. Anonymous users2024-01-21

    I'm also a beginner in C++, and I also feel a little confused The content of C++ is so huge and profound, and what we are in contact with now is too small and too small I think it is a long and patient process to lay a good foundation I think that if we are just getting started now or may not have started at all to set the direction, we may not be able to see the situation clearly, and we do not understand which direction we have an advantage in, it is better to bury our heads in the API, MFC to learn well Stand tall and naturally see farther, This foundation is useful no matter where it goes, and it's not a bad thing to decide the direction to go when the horizon is bigger I just came into contact with the API, and I understand a little bit and I'm learning MFC now, in fact, I don't know anything Haha Just say it with your own feelings If the idea is too superficial, I hope you don't be surprised Ha In fact, I think everyone is like-minded, why not work together and work together

  18. Anonymous users2024-01-20

    Which direction do you want to go in the future? Is a Windows program or a Linux program an application design or a programming that goes deep into the kernel, drivers, etc.? or 3D Game Direction These are all different.

    If it's not clear which direction you want to go. I suggest that after you have a certain C++ foundation, look at Windows programming, because this is more basic and general, you can exercise your programming ability, and you can change the direction later. When looking at Windows programming, it is natural to use VC and MFC

    When you're done with that, you'll have to work on a few more development projects. Then you'll know what you're supposed to learn.

    I'm here to get a share. Because I'm going to ask questions too, I don't have a point. But what I'm talking about is empirical. I'm also learning programming.

  19. Anonymous users2024-01-19

    If you only read Tan Haoqiang's book and understand all the basics, it proves that your ideas are too simple.

    C can't give up, and C++ thinking must also be mastered.

    You feel like you've reached a certain level of C++ and you can progress in the direction of MFC.

    Or continue to improve your C level and then learn embedded, both directions are good.

    When you feel that your foundation is good and you don't know what to learn, it often proves that you have not yet touched the fundamentals of that language.

    Solidity is the last word.

  20. Anonymous users2024-01-18

    C++ Primer is talking about it after reading it.

    Although you said that you are annoyed to see the C++ foundation, but you must not have a solid foundation and can't find the direction, just do something small to practice--- or learn the standard C++ with peace of mind, remember the standard C++

    To develop to game 3D, at least you must be proficient in C C++, the data structure + algorithm must have a solid foundation, and Windows programming + Windows core programming should be seen.

    Don't say repetitive, C++ is fully compatible with C

  21. Anonymous users2024-01-17

    In C++, please learn the MFC principle in VC, which is equivalent to VB, which can facilitate the drawing of the interface.

    Before you do this, please take a little look at Windows Programming to teach you how to draw an interface with the API.

    Just take a look at it, after all, no one uses APIs for interfaces these days.

  22. Anonymous users2024-01-16

    This needs to understand the Windows API function, which is provided by the operating system, and C++ is just a compilation environment, which implements the function of the GUI, which is basically implemented by calling the API function.

    So you're going to learn Visual C++ and Windows API functions.

  23. Anonymous users2024-01-15

    You can use Borland's C++Builder to develop a graphical interface.

  24. Anonymous users2024-01-14

    Need to learn C++. It is easier to learn MFC, MFC is relatively mature, and there are more online learning materials.

  25. Anonymous users2024-01-13

    It is recommended to study Windows Programming (5th Edition).

    If you want to write applications, then everything is inseparable from the operating system. It is inseparable from the application programming interface provided by the system (even if it is assembly language), as long as you open Windows, you can never directly operate the graphics card, the operating system automatically controls the graphics card, even if you use 32-bit or 64-bit assembly language, it is just calling the functions of the operating system.

    If you want to operate the graphics card yourself, there are two paths:

    First: Avoid the operating system completely, learn assembly language first, then refer to Intel's three-volume CPU principles, then learn operating system principles, then refer to the Linux kernel**, and then write your own operating system.

    Second: I also learn assembly language first, then learn how to write drivers under Windows (or other platforms), and then refer to the driver writing manual of the graphics card company. Then you write a driver that you know yourself.

    Because, you don't necessarily understand how to use the graphics card driver written by others), and then after the graphics card driver you write is loaded by the system, you must simulate the direct call function (or you can't call it directly), and then you can simulate the direct call. (It's too much trouble).

    That's all there is to it.

    Therefore, the C C++ graphics library is based on a certain platform. They also can't operate the graphics card directly, they all call the functions or classes provided by the system to operate the graphics card through the system. If you want to know how to do this, please follow the second rule above.

    If you think about it, a C++ library, such as MFC, can only run under Windows, why? Because they are all calling the functions of the system, you can't use MFC under LinuxGraphics libraries are also available, and some popular cross-platform libraries, such as qt, wxwidgets, etc., are in source form, which contains a lot of compilation controls, and they have to be recompiled when used on different platforms.

    So, if you want to learn to write graphics libraries, please first learn the programming methods of the platform (such as Windows platform, or Linux platform), and then be familiar with direct GUI programming, and then you can write your own libraries. The library is not sophisticated, it just encapsulates the functions provided by the system. Add your own ** to make it easier to call than to use the API directly.

Related questions
4 answers2024-02-27

It's not very hard that the tail node next points to null. >>>More

8 answers2024-02-27

It's nonsense to say so much above. Landlord please see: pay attention to your program: printf("%d,%d",(a,b),(b,a); >>>More

23 answers2024-02-27

With Optimizer, it's easy to get it done, and then organize your disk.

11 answers2024-02-27

1 When you can't access the Internet, you can choose to ping your own IP, if it is through, it means that the network card is fine; Ping the external network, if it is not connected, it means that there is a problem between the NIC and the external network, please check >>>More

13 answers2024-02-27

1) The concept of natural numbers is that they are integers greater than 0, so why is the set of natural numbers equal to the set of non-negative integers and all denoted as n? >>>More