| | |
The Jump from C++ Programming to Graphics?
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
>I am talking about the programming interface ArkM, it is drag and drop just like VB
>I'm out of this thread, tired of being treated like a dumbass.
I hope now you will have a time to read Qt documentation: Qt Creator (probably it's that damned drag and drop interface) is an optional tool in Qt SDK. You (and me) can create Qt GUI applications without any visual add-ons...
>I'm out of this thread, tired of being treated like a dumbass.
I hope now you will have a time to read Qt documentation: Qt Creator (probably it's that damned drag and drop interface) is an optional tool in Qt SDK. You (and me) can create Qt GUI applications without any visual add-ons...
QT Creator, as ArkM said, is optional. Just like GLADE for GTK+. And it is no-where VB-like. When we say a thing X is Y-like, usually Y is the pioneer and X has inherited from it. This is not the case with VB.
>I have every single source code file of the windows API, provided by Dev-Cpp
>under the Open Source lisence.
The file you posted is the definition my dear, not the implementation file. Implementation file comes compiled from the OS provider(M$) and thus you won't find its source code.
BloodShed Dev- Has provided you with the definition file so that you can see what all interface is available to you.
>What if everybody didn't know how to hard code, and always used QT?
>Nobody would actually know how to use C++ in its native form, only being
>able to code with help from a program that provides indirect functionality.
Fine, then stop using the STL. Stop using the windows.h and program everything yourself. Stop using the compiler, hard code yourself. Stop using your OS, hard code yourself. Would you?
Look, if your with hard coding, open-source toolkit will provide better control.
I used GTK+ in which I usually had to hard-code( Though, I never felt I was hard coding) while I was making a C app. Here is a Hello World:
[I realized that posting the code would make the thread bloated so here is the link for the same http://library.gnome.org/devel/gtk-t...SEC-HELLOWORLD ]
>People should learn multiple APIs and kits.
Very Bad advice. Cross platform toolkit are invented so that you can stick with the famous Unix philosophy " Do one thing; and do it well."
There is no point in learning every other native library for different platforms. Rather Master one cross-platform library ( like wxWidget, QT or GTK) and stay happy.
>If you dont know what is inside, then it is more difficult to utilise its full potential.
Many great programmer don't know whats inside STL, yet they utilize its full potential. This is the key to abstraction.
>All I am saying is if you are ACTUALLY serious about programming then use
>something that doesn't do everything for you.
Fine. So, do you know what is running behind the WInAPI. You cannot, since it is not open source. But our programs are open-source. Hence, you cannot apply your principle to your software as better as you can apply it to ours.
This is the Power of open-source.
WinAPI has a serious issue: It doesn't run on anything other than Windows
.
>I have every single source code file of the windows API, provided by Dev-Cpp
>under the Open Source lisence.
The file you posted is the definition my dear, not the implementation file. Implementation file comes compiled from the OS provider(M$) and thus you won't find its source code.
BloodShed Dev- Has provided you with the definition file so that you can see what all interface is available to you.
>What if everybody didn't know how to hard code, and always used QT?
>Nobody would actually know how to use C++ in its native form, only being
>able to code with help from a program that provides indirect functionality.
Fine, then stop using the STL. Stop using the windows.h and program everything yourself. Stop using the compiler, hard code yourself. Stop using your OS, hard code yourself. Would you?
Look, if your with hard coding, open-source toolkit will provide better control.
I used GTK+ in which I usually had to hard-code( Though, I never felt I was hard coding) while I was making a C app. Here is a Hello World:
[I realized that posting the code would make the thread bloated so here is the link for the same http://library.gnome.org/devel/gtk-t...SEC-HELLOWORLD ]
>People should learn multiple APIs and kits.
Very Bad advice. Cross platform toolkit are invented so that you can stick with the famous Unix philosophy " Do one thing; and do it well."
There is no point in learning every other native library for different platforms. Rather Master one cross-platform library ( like wxWidget, QT or GTK) and stay happy.
>If you dont know what is inside, then it is more difficult to utilise its full potential.
Many great programmer don't know whats inside STL, yet they utilize its full potential. This is the key to abstraction.
>All I am saying is if you are ACTUALLY serious about programming then use
>something that doesn't do everything for you.
Fine. So, do you know what is running behind the WInAPI. You cannot, since it is not open source. But our programs are open-source. Hence, you cannot apply your principle to your software as better as you can apply it to ours.
This is the Power of open-source.
WinAPI has a serious issue: It doesn't run on anything other than Windows
. Siddhant Sanyam
(Not posting much)
Migrate to Standard C++ :When to tell your C++ Code is Non-Standard.
Please Read before posting: How To Ask Questions The Smart Way
(Not posting much)
Migrate to Standard C++ :When to tell your C++ Code is Non-Standard.
Please Read before posting: How To Ask Questions The Smart Way
•
•
Join Date: Jul 2008
Posts: 45
Reputation:
Solved Threads: 1
I wasn't going to continue this debate, but I am now since I am fed up with this passive aggressive bullshit. Also, I have nothing better to do at the moment.
Just shut up, you don't have to be an ass just because you don't like my oppinion. I treated your oppinion, like an oppinion. Not some type of objective to seek out and destroy. I was trying to be mature, but if you aren't willing then I am not either.
"Fine, then stop using the STL. Stop using the windows.h and program everything yourself. Stop using the compiler, hard code yourself. Stop using your OS, hard code yourself."
Stop doing that, YOU ****ING KNOW WHAT I MEANT, you are just making an invalid point that doesnt even apply to what I was saying.
>you cannot apply your principle to your software as better
I never once said that it was better, try actually reading my post rather that making it up. They all have flaws, they all have overcomings.
I am just saying that if you are running on windows then learning the WinAPI might be worth your while. Then in the long run you
>WinAPI has a serious issue: It doesn't run on anything other than Windows
No shit sherlock, that is why it is called "WinAPI", Not "LinuxUnixMacWinAPI".
I am sorry for my outburst, but I don't like passive aggressive atittudes like the one from the following quote:
>Very Bad advice.
and
>The file you posted is the definition my dear
Just shut up, you don't have to be an ass just because you don't like my oppinion. I treated your oppinion, like an oppinion. Not some type of objective to seek out and destroy. I was trying to be mature, but if you aren't willing then I am not either.
"Fine, then stop using the STL. Stop using the windows.h and program everything yourself. Stop using the compiler, hard code yourself. Stop using your OS, hard code yourself."
Stop doing that, YOU ****ING KNOW WHAT I MEANT, you are just making an invalid point that doesnt even apply to what I was saying.
>you cannot apply your principle to your software as better
I never once said that it was better, try actually reading my post rather that making it up. They all have flaws, they all have overcomings.
I am just saying that if you are running on windows then learning the WinAPI might be worth your while. Then in the long run you
>WinAPI has a serious issue: It doesn't run on anything other than Windows
No shit sherlock, that is why it is called "WinAPI", Not "LinuxUnixMacWinAPI".
I am sorry for my outburst, but I don't like passive aggressive atittudes like the one from the following quote:
>Very Bad advice.
and
>The file you posted is the definition my dear
Last edited by killdude69; Jun 1st, 2009 at 6:05 am.
IMO (= In my opinion) (yea killdude, it's an opinion) you shouldn't use WinAPI for Graphics Programming, it's unportable (as already said by siddhant3s), and there are a lot of better and easier to learn Graphic/GUI Libraries available for cross-platform development, if you write your program, making use of such a library, then you can easily port your application to a wide range of operating systems (And in case of wxWidgets it still uses the OS' native API by default) 
killdude>The files were not created by MS, they are created by BloodShed developers, see this code from <windows.h>
Wrong, this file was created by the developers of MinGW, the compiler where the Dev-C++ IDE relies on.

killdude>The files were not created by MS, they are created by BloodShed developers, see this code from <windows.h>
Wrong, this file was created by the developers of MinGW, the compiler where the Dev-C++ IDE relies on.
"Never argue with idiots, they just drag you down to their level and then beat you with experience."
killdude69, the only way you could hold on to your argument is to talk on situations in which portability has no value. Say, while developing vertical solutions to a non IT based company which uses windows environment, there is no point in providing portability as a feature cause it means nothing to your customer(the customer uses only windows and wouldn't like the distribution of the software to other companies, as in the licence agreement)
In such cases, it is better to exploit tools provided by Microsoft, even if its exactly what Microsoft wants.
In the end its your choice. Be a slave to microsoft or not.
But, I much prefer programs that run on Linux than on windows cause I am a linux lover. Linux is a life saver to people like me who cannot afford to buy windows and who do not want to pirate
And you can't deny the fact that you were wrong when you said that you know the source code of win32 api.
To be ignorant is not a big problem, but not to be able admit mistake and learn from it is a problem.
Cheers
In such cases, it is better to exploit tools provided by Microsoft, even if its exactly what Microsoft wants.
In the end its your choice. Be a slave to microsoft or not.
But, I much prefer programs that run on Linux than on windows cause I am a linux lover. Linux is a life saver to people like me who cannot afford to buy windows and who do not want to pirate
And you can't deny the fact that you were wrong when you said that you know the source code of win32 api.
To be ignorant is not a big problem, but not to be able admit mistake and learn from it is a problem.
Cheers
Last edited by Prabakar; Jun 3rd, 2009 at 11:07 am.
![]() |
Similar Threads
- Programming Resources (Updated 21-July-05 ) (Computer Science)
- which language ? (Computer Science)
- games programming!! in C++ (C++)
- MMORPG Developers Needed (Programming / Graphics / Etc) (Software Development Job Offers)
- Programming Resources (Computer Science)
- Switching from CS to being a Statistician? (IT Professionals' Lounge)
- Greetings (Community Introductions)
- Forum lurkers, introduce yourself ... !! (Community Introductions)
Other Threads in the C++ Forum
- Previous Thread: function to convert from arabic to roman numbers
- Next Thread: CS201_4
| Thread Tools | Search this Thread |
api array based beginner binary bitmap c++ c/c++ calculator char char* class code coding compile compiler console conversion count data database delete deploy developer dll download dynamic dynamiccharacterarray email encryption error file forms fstream function functions game getline givemetehcodez graph gui homeworkhelp homeworkhelper iamthwee ifstream input int integer java lib linker list loop looping loops map math matrix memory multiple news node number numbertoword output parameter pointer problem program programming project proxy python random read recursion recursive reference rpg sorting string strings struct temperature template text text-file tree url variable vector video visual visualstudio win32 windows winsock word wordfrequency wxwidgets






