Is it possible to draw graphics in Visual C++ 2010 Express? [closed] - c++

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Is it possible to write/draw graphics (3D & 2D) using Visual C++ 2010 Express? (I found a series of tutorials on youtube about game programming, but 'ttraps'-the guy who made them- never got to graphics. His last post was in 2010.)
If so, what project type should I build and what library headers do I need?
If this is impossible, please direct me to some other resources that I could use.
(I am using Windows 7.)

There are a whole range of libraries for drawing graphics using C/C++.
If you are on Windows and not afraid to use platform dependent code then you can use the Windows GDI API. GDI is usually used to build interactive GUI Widgets, such as custom drawn buttons and edit boxes.
If you are looking for 3D rendering you can use Microsoft's own DirectX API. There is also an OpenGL Windows implementation.

Related

Visual C++ Library for windows programing [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
which library is best for windows programing today in Visual C++, which one is most used today, etc
ATL, MFC, WTL and others.. and how many exist ?
Thanks
I'll start the answer "from the back": there are many libraries for doing UI on Windows :)
Having said that I do have a few recommendations for you:
If you want to do cross-platform UI development then I suggest you look into Qt framework
If your goal is to do modern Universal Windows Apps - look no further than the UWP technology
For creating COM components I would recommend ATL
If you choose MFC you will probably get outdated in the near future (definitely within the 10 years time frame)
But ultimately the technology stack you chose greatly depends on your language of choice and your expertise as a software engineer

Is there any cross-platform GUI library for C++ (with platform dependent UI and scripting based layout)? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Generally I seak for ASL analogs for not only Windows and Mac OS X but once that would work on Linux. Qt GUI is not an option for me. Some simple scripting language that does not require precompilation for GUI to work (like in ASL Adam and Eve even XML would do=)
What I need from such a library - possibility to position some subset of OS default UI controls, somehow make the C++ functions I want avaliable to UI. I need that library to be open source, and have same API for all platforms.
You could try wxWidgets, but to be honest, if Qt doesn't do it for you, I don't know why wxWidgets would be any better. You can do layout for the GUI with text files, and they aren't precompiled into C++ code (though I don't know why that's a plus).

Is there a good DirectX (3D) DirectWrite tutorial somewhere? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I'm refactoring some of my directx10 code to directx11 and trying to figure out DIrectWrite for my text functions. From MSDN, I hear that they're switching everything to this and that directwrite is now included with direct3d. But, eh - I can't find a tutorial that actually shows 3d Rendered text with directwrite. Anyone know an example?
Microsoft "Direct3D and Direct2D text overlay sample" should do the trick ! http://code.msdn.microsoft.com/windowsapps/Direct2D-Direct3D-Interop-ee641e46
You want to start with the code Samples that Microsoft provide:
http://archive.msdn.microsoft.com/DirectWrite
These are really good and I managed to implement DirectWrite quite easily following the samples. They are all documented pretty well. Check out the header file DWrite.h as well, this is fully documented (the same as the website).

What would be a good library to draw to the screen in c++? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
Improve this question
I am creating simulation that models how an gas behaves in a container. I have collision checking set up, however I would like to draw the data on screen to make sure it is working correctly
All I need is a simple way to draw simple shapes such as circles to the screen using c++. these shapes do not have to look great, just function.
I may want to move my simulation from 2D to 3D in the future as well - so a library that has 3D capabilities would be good.
Remember I will be looping through and drawing several hundred gas molecules, so fast would also be good.
I am fairly new to c++ as a language so go easy. My IDE/compiler is VS 2010 Professional.
I have already used google - but I can not find any good installation guide for installing the library. So an installation guide would be a big plus
Look at SDL with SDL_gfx. You can then switch to SDL/OpenGL to do 3D.
I would recommend OpenGL, it's easy to use for your task. Also it's cross-platform and you can easily switch to 3D.
OpenGL is one possibility, though there are also other libraries built on top of OpenGL that might be useful as well.
Edit: OpenGL itself is installed as part of the OS. Headers and libraries for OpenGL 1.1 are included with VS 2010, so if you don't need newer features, you're already set. If you want to use newer functions, you probably want to use GLEW or GLEE.

Is there a faster and object orientated alternative to SDL for C++? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
The current version of libsdl (1.2.x branch) is very, very slow with blending and per pixel alpha (as it uses software blending). Is there any other good alternative to it?
SFML is exactly what you need: http://sfml-dev.org/.
Skim through the tutorials, you'll see that it's way easier and more powerful than SDL.
There is SFML : http://www.sfml-dev.org/
Or... just use OpenGL on top of SDL.
GLFW. It only tries to do one thing (window creation/input handling). It is C based and pretty easy to use provides bindings for several languages.
SFML does all that and also provides an API for audio, fonts, and networking. It's nativity a C++ API but provides bindings for several languages.
There are other thousands of options: SDL (older), Unity and UDK if you want to create a game, ...