0
A
回答
2
沒有這樣的Linux類相當於。 MFC在Linux上不存在。 (我以爲它已經在Windows btw上消失了)。
最好的辦法是儘可能地接近Linux上的MFC類,等價於使用wxWidgets。它有一個例如wxFFile
緩衝I/O類。
否則,請使用C++類std::iostream
。雖然界面與CFile
真的不同。
相關問題
- 1. 什麼是Linux相當於GetProcessIoCounters?
- 2. 什麼是Linux相當於使用system()
- 3. 什麼是Linux相當於LPTSTR和LPCSTR?
- 4. Linux中的WSAEvent相當於什麼?
- 5. 什麼是ZSH在Linux bash中的「compadd」相當於什麼?
- 6. SYSTEMTIME相當於linux
- 7. 什麼是BindingFlags.Default相當於?
- 8. 這是什麼linux命令的相當於PowerShell的
- 9. Linux相當於Solaris walkcontext
- 10. Linux相當於solaris的fork1
- 11. Linux相當於windows的EnterCriticalSection
- 12. Linux/OSX相當於Windows PlaySound
- 13. pathconf()linux相當於windows API
- 14. 相當於在Linux上
- 15. Linux相當於Windows掛鉤
- 16. 在Linux中相當於unix2dos
- 17. 在Linux上相當於SetPriorityClass
- 18. jquery中的.Max()相當於什麼
- 19. Codename中的`Graphics2d.getFontMetrics()`相當於什麼?
- 20. dojo相當於$('body')的是什麼?
- 21. 在C11中獲得什麼()相當於?
- 22. 什麼是WPF中的「OnIdle」相當於
- 23. 什麼是DBMS_OUTPUT的MySQL相當於
- 24. Python:相當於PHP的什麼「==」
- 25. 什麼是在PHP中相當於top.location?
- 26. UWP中的System.Drawing.Drawing2D相當於什麼
- 27. git的Mercurial相當於什麼?
- 28. 什麼是Android中的OnInputListener相當於
- 29. Swift 3中的「dispatch_apply」相當於什麼?
- 30. moxy:什麼是RuntimeTypeInfoSet相當於
在Windows世界中,「桌面」被集成到操作系統中。在Linux世界中,情況並非如此,有多種桌面/ GUI:KDE,Gnome,Xfce等等 - 許多Linux機器根本沒有GUI。因此,「我將一些課程移植到Linux」這句話沒有什麼意義。對於創建跨平臺軟件,我絕對同意迪迪埃關於使用wxWidgets的建議。 –