Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Windows API & MFC

DantyDanty Member Posts: 322
is there any difference? which one should one learn?

Comments

  • DariusDarius Member Posts: 1,666
    : is there any difference?

    Umm... maybe you should do at least _some_ background research before posting...

    :which one should one learn?

    Uh, neither. Neither are portable. If you want something MFC-ish learn wxWindows instead, also you may want to check out Qt. Having a Win32 API reference is handy, and having a basic understanding of the underlying structure of a Windows program is useful as well, but you probably don't want to code at the Win32 API level.

    "We can't do nothing and think someone else will make it right."
    -Kyoto Now, Bad Religion

  • DantyDanty Member Posts: 322
    : but you probably don't want to code at the Win32 API level.

    OK, then at what level should one code?



    P.S.
    Hey, I'm just 1st year Comp. Sci. student, and trying to figure out which way to head! University is just teaching us OOP (Java). However, if I'm trying to land a job to help with my tuition, then again which way one should head?

    thanks,
  • DariusDarius Member Posts: 1,666
    : : but you probably don't want to code at the Win32 API level.
    :
    : OK, then at what level should one code?
    :
    Typically the highest level possible.

    "We can't do nothing and think someone else will make it right."
    -Kyoto Now, Bad Religion

  • DantyDanty Member Posts: 322
    : : : but you probably don't want to code at the Win32 API level.
    : :
    : : OK, then at what level should one code?
    : :
    : Typically the highest level possible.
    :


    What do you mean by that? Like program in C++ and do GUI in Visual Basic?
  • DariusDarius Member Posts: 1,666
    : : : : but you probably don't want to code at the Win32 API level.
    : : :
    : : : OK, then at what level should one code?
    : : :
    : : Typically the highest level possible.
    : :
    :
    :
    : What do you mean by that? Like program in C++ and do GUI in Visual Basic?
    :

    No, conceptual levels. Win32 API is the system call interface to the Windows Operating System. It is not a specific toolkit for making GUIs. Instead wxWindows, Qt,Gtkmm, VCL/CLX, or MFC are toolkits meant for making GUIs, they are built _on top of_ the Win32 API. You should use the proper tool for the problem. While using different languages can be a very good idea, I would have to say using VB with C++ isn't a good idea. While VB is a RAD (Rapid Application Development) tool for designing GUIs, when you get to binding it with C++ it will be annoying (though more than possible). Anyways, there are plenty of good GUI libraries that work over C++ that provide better performance, portability, size, and bindings. In parting, you should work at the highest conceptual level that lets you grapple with the _problem_ and NOT with the implementation details (hence other languages, e.g. PERL for string manipulation).

    (A good taste of a variety of languages and methodologies check out: LISP, PERL, C/C++, ASM. They are all practical languages with unique benefits. One or a couple may be better than the other at different times. The list is by no means exhaustive.)

    "We can't do nothing and think someone else will make it right."
    -Kyoto Now, Bad Religion

  • Chris BrownChris Brown USAMember Posts: 4,496 ✭✭

    || http://forcoder.org || free video tutorials and ebooks about { Visual Basic .NET C# Objective-C Scratch Ruby Assembly PHP C++ Go JavaScript Perl Java MATLAB R C Swift Visual Basic PL/SQL Python Delphi Transact-SQL Scala Erlang VBScript Dart SAS Clojure Crystal Hack ML Apex Prolog Rust Alice LabVIEW Fortran Bash Kotlin Ada FoxPro Lisp Lua Logo COBOL Awk F# ABAP Julia Scheme D } ________

Sign In or Register to comment.