Nooby question
Ok ok ok, Really noobish here. I'm in the process of learning C++ right now, and recently i've heard alot of people asking/talking about C#. What I understand C++ and C are good for handling data and programming features there selves, while C# is good for making GUI's. Is it possible to make a program in C++ and have it used by a C# GUI? I'm wondering because I hear C# is a bit simpler than C++, but at the same time it would be great starting ground for C++, and if I learned # first, it would make it simpler when i'm actually ready to create a program because i'd be able to make a GUI.
im guessing your talking about
extern 'C'
__declspec(naked)
{ ..
}
correct me if im wrong.
C# is a full-fledged language. Don't underestimate it. You can do nearly anything in C++ with C#, and it would be less error prone too, due to things like strings and garbage collecting. The problem is C# is slower since it runs on a VM, and might not be able to do everything C++ can, but if I could choose I would definitely opt to code in a language like C# or Java instead of C++, because it is easier to work with... but with all that ease of use comes a lack of flexibility...
Also you should know that MFC(Microsoft Foundation Classes) are a wrapper for the Windows API, which I suppose makes it easier... if you still want to do it in C++. And correct me if I'm wrong, but isn't there a form creator in VSC++?
Well see My general goal here is to be able to create a program, and a pretty little GUI to go along with it. I just want to know, if say I learn C++ is it possible to make a GUI for the program in C#? As in use the C++ coded program, with a C# coded GUI. Or would it just be simpler to use C++ and learn to write GUI's?
EDIT! Fall of 2010 I start classes at IvyTech for an associates in Programmer/Analyst. It Consists of quite a few different programming languages, so i'm just wanting to get a few idea's down for when I actually take the classes to make programs that will meet requirement.