Friday, July 31, 2009

How do I make graphics in C++?

Hi ...


I just started learning C++ today, so I'm a complete n00b , but I got up to making while, do while, for loops and input/output statements/ variables/data classes / break statements








My question is I don't understand how you have graphics/games ...it looks like it's all text based ... I know this sounds retarded because I don't know anything yet, but


can somebody tell me how I could make a very basic graphic game or something





and I also wanted to make a chat room bot -





I know there must be some kind of link between the internet and c++ compiler, but where would I have to search to get this information / where should I start looking








thanks.

How do I make graphics in C++?
Your a long ways away from making a game in C++. If your using an SDK like VS2005 then you can easily make pre-fabbed forms using the form wizards. Otherwise you have to construct what you want from basically the ground up. If you want a window you have to create a window giving it the styles and depth that you want. That's just your main window. You then need to do the same for every button, edit control, and everything else that you want inside of the parrent control. If you just want to make graphics maybee C++ isn't what you are looking for. Although you could take a deeper look into Direct X and some game design books.
Reply:OpenGL for 3D junk.


For basic 2D use Qt, WxWindows etc.

imperial

Looking for a free windows C C++ compiler with IDE that supports DBT_DEVICEQUERYREMOVE?

I'm currently using lcc-win32, but it doesn't seem to support the ability to allow a device to be ejected such as an ipod. more details on DBT_DEVICEQUERYREMOVE here


http://msdn.microsoft.com/library/defaul...





thanks jc

Looking for a free windows C C++ compiler with IDE that supports DBT_DEVICEQUERYREMOVE?
You can't beat Visual Studio for an IDE and the Express version is free.
Reply:Visual C++ Express is just AWSOME. You may download it and register for FREE for a limited time, and the license DOES allow for creating commercial applications, etc.


Check out you don't actually have to use any of the .NET features, and use it just as a great compiler/IDE.


Those who use c++, from where can I download freely c++ tutorials and also a good c++ compiler?

This site is a great start with lots of support:


http://www.cplusplus.com/


And this is the best free compiler for starters:


http://www.bloodshed.net/devcpp.html


Best luck!

Those who use c++, from where can I download freely c++ tutorials and also a good c++ compiler?
vbobchoinfdhfd


I need a free C++ compiler which isn't huge?

I need to download it using a dial-up connection.

I need a free C++ compiler which isn't huge?
GCC





depending on what you mean by 'huge'
Reply:borland c++ 5.5 is avilable for download for free
Reply:google search for delphi c++ n c if it works ...dont know if its free tho...(plz help me bump my points up)
Reply:I have used visual studio for years. It works good. Try the free version, is just as good.





http://msdn.microsoft.com/vstudio/expres...





I guess is pretty big. If it doesnt work, try this one





http://www.bloodshed.net/dev/devcpp.html


Where can i download c compiler for free?

can any1 send me a link


some where u can easily download it

Where can i download c compiler for free?
www.sourceforge.net
Reply:hi please check this out :





http://www.thefreecountry.com/compilers/...
Reply:They are ten a penny, try any of the following places:


...bleepingcomputer.com


...codeitbetter.com


...sourceforge.com


or simply Google 'free C compilers'





So what you waitin' for, download one and get working on a Vista replacement ;-)
Reply:the best site is


gcc.gnu.org

elephant ear

Where can i download C compiler for mac?

Apple developer forums


http://www.apple.com/downloads/macosx/de...


What is GCC ( GNU C++ Compiler ) ? what does it do ?

I need full explanation of GNU .. i mean what it is acyually for ..

What is GCC ( GNU C++ Compiler ) ? what does it do ?
yes, gcc works on windoze. You can even cross-compile linux programs using gcc on windoze (i.e., run a gcc on windoze on a program source to generate a linux (or any other supported architecture for that matter) executable). So, yes, you can do all the same stuff with it you can on a normal OS.


Also, gcc is not just a "C/C++" compiler. The abbreviation "gcc" stands for "GNU compiler collection". It compiles C, C++, Fortran, Java, Ada, Objective-C, and some other languages.


Finally, linux and BSD aren't really "GNU operating systems", although, a large portion of their software (such as most shell file manipulation utilities and programming tools - awk,make,tar,gzip,grep,gdb etc) has indeed been developed by GNU project, but kernels (that actually define the "OS" for all practical purposes - that's what essetially makes, say, linux different from BSD, while both are running gnu software on top of their respective kernels. MAC OS btw, is a BSD too)are independent developments.


The X servers, used by various *nix flavours are also created by an project, separate from GNU, called "X concortium"
Reply:It all started in 1983, when the ideea of creating a Unix-like operating system came to life. GNU comes from "GNU's not UNIX".


All software that have been developed under GNU project were absolutely free, and this included not only entire operating systems (like Linux, BSD, ReactOS and so on) but other applications as well (X server, system kernels, boot managers, office applications...)


GCC is GNU C/C++ compiler, so a compiler for C language that will run on GNU compatible operating systems. Not only that it's absolutely free to use and modify, but it's also one of the best C compilers out there.


As I already said it works only on Linux, BSD and other compatible OS, but it was also ported to windows as well (of course it had to be adapted to windows structure so doesn't mean that everything you can do with gcc on Linux ofr example you can do in windows and vice vers).


For a list of compilers adapted after gcc look here:
Reply:You are not going to get it here for 2 points. Find google.





A compiler is a special program which takes a program which someone has written and converts it into a final executable program. All executable programs of any size are compiled, whether in Windows or Unix or Linux.