-
August 13th, 2011, 08:35 AM
#1
Visual C++ power possibilities
Hey guys,
Been searching around about C++ possibilities. Now, what I want to know is are there possibilities to make some applications with C++? Applications like charts, databases, all that displayed with GUI coming nice along? If not, what is the best language for that? Thanks.
-
August 13th, 2011, 08:38 AM
#2
Re: Visual C++ power possibilities
The only limitation you have with C++ is yourself. You can make whatever you want with C++.
-
August 13th, 2011, 09:41 AM
#3
Re: Visual C++ power possibilities
you have to use MFC classes along with pure core C++ for the graphical user interface purpose.
-
August 13th, 2011, 09:43 AM
#4
Re: Visual C++ power possibilities
Originally Posted by vcdebugger
you have to use MFC classes along with pure core C++ for the graphical user interface purpose.
MFC isn't a must, it just makes it easier.
-
August 13th, 2011, 10:28 AM
#5
Re: Visual C++ power possibilities
If you're just starting, for what you described, I'd go for C# or Visual Basic. .Net has a lot of that functionality built in. You can certainly do it with C++ and the Windows API, but it's a lot more work. MFC makes it substantially easier, but .Net is easier still.
-
August 13th, 2011, 11:27 AM
#6
Re: Visual C++ power possibilities
Yeah, but I'm quite into C++ haven't worked in C# that's why I'm asking with C++. Anyway, have you heard about Qt? Has anyone worked with it?
http://qt.nokia.com/products/
-
August 13th, 2011, 12:02 PM
#7
Re: Visual C++ power possibilities
QT is my specialty. My boss 'ordered' me to learn QT a few years ago and I still haven't regretted it. QT and MFC are comparable, but personally I think the way QT works is more solid than what MFC does. It's worth installing it and giving it a try.
-
August 13th, 2011, 12:49 PM
#8
Re: Visual C++ power possibilities
I've been using Qt, MFC and win32.
Qt is easiest in use, but a big disadvantage is that when you create small projects, 100 kb. You will regret it since Qt makes 5 mb of it, because of the library. It's amazing in use, but how much is the huge file size worth?
MFC is harder and you need a fair knowledge of classes else it becomes a disaster. Disadventage for me was you can't start and trying. You've to read a lot before even attemting.
win32, amazing stuff, but its not in classes, so u've to do it yourself or code plain C. It's nice in use cause you control everything, but you need a lot of info about everyhitng. It's huge how many things for everything are.
Hope it helped you a bit. I would say -> MFC for an hobbyist. Like me.
-
August 13th, 2011, 07:41 PM
#9
Re: Visual C++ power possibilities
Well I guess it's worth trying but have to learn C++ much better then. Anyway, a little off topic - has anyone used SQL about databases? Can there be GUI imported? Thanks.
-
August 13th, 2011, 11:20 PM
#10
Re: Visual C++ power possibilities
has anyone used SQL about databases? Can there be GUI imported?
SQL and GUI are 2 totally different things and have nothing to do with each other. What are you looking for ?
-
August 14th, 2011, 05:09 AM
#11
Re: Visual C++ power possibilities
Actually I didn't explain well. I meant, is there like a console windows with SQL too. I meant like more GUI sophisticated not only a black console window.
-
August 14th, 2011, 05:39 AM
#12
Re: Visual C++ power possibilities
SQL is a database query language - it's a totally independent language, and can be used by any kind of application, with any programming language that has a supporting database communication API available. It can be a console application, a GUI application, it can be a computer game. Hell, it can be a PlayStation 3 game, at least in theory, probably in practice too. Or something even fancier, like, I don't know NASA's super-secret space exploration application that runs on a supercomputer.
SQL statements are passed to a (usually) remote DBMS as strings anyway, to be interpreted on the other end. And, yes, all of this is possible with C++.
Last edited by TheGreatCthulhu; August 14th, 2011 at 05:41 AM.
-
August 14th, 2011, 09:08 AM
#13
Re: Visual C++ power possibilities
Nice explanation. Thanks!
-
August 14th, 2011, 09:27 AM
#14
Re: Visual C++ power possibilities
Originally Posted by Skizmo
QT is my specialty. My boss 'ordered' me to learn QT a few years ago and I still haven't regretted it. QT and MFC are comparable, but personally I think the way QT works is more solid than what MFC does. It's worth installing it and giving it a try.
Hi Skizmo. I use GTK+ for cross-platform development although I've often considered Qt as an alternative. GTK+ is great except for one thing - it leaks memory when creating objects for the first time. Unfortunately, these "one-time leaks" aren't considered to be true leaks by the GTK+ developers so are unlikely to ever get fixed. But of course that makes it incredibly difficult to find leaks in my own code when there are hundreds already in GTK+. Is this something you've ever noticed with Qt? If not, what would you say are its weak points?
"A problem well stated is a problem half solved.” - Charles F. Kettering
-
August 14th, 2011, 09:40 AM
#15
Re: Visual C++ power possibilities
whats the full form of QT and GTK+ ?? Are they libraries provided by microsoft similar to MFC...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|