| | |
NOOB question , graphical tiles
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Jun 2004
Posts: 4
Reputation:
Solved Threads: 0
hello.
thanks to all of you for taking time to answer questions.
i just started learning c++ and i'm confused as to how graphics are added to a program.
does c++ have graphical capabilities on it's own or does it need another program like Direct-x?
the graphics i make are tiles,32x32 BMP or Jpeg.
can i get an example of how to place one in a program, or , further information.
thanks.
thanks to all of you for taking time to answer questions.
i just started learning c++ and i'm confused as to how graphics are added to a program.
does c++ have graphical capabilities on it's own or does it need another program like Direct-x?
the graphics i make are tiles,32x32 BMP or Jpeg.
can i get an example of how to place one in a program, or , further information.
thanks.
•
•
•
•
Originally Posted by wolfstrike
hello.
thanks to all of you for taking time to answer questions.
i just started learning c++ and i'm confused as to how graphics are added to a program.
does c++ have graphical capabilities on it's own or does it need another program like Direct-x?
the graphics i make are tiles,32x32 BMP or Jpeg.
can i get an example of how to place one in a program, or , further information.
thanks.
Actually C++ has it's own way of showing graphics through the operating system but at a very low level by drawing pixel by pixel.Actually everyting on screen drawn that way.
Now it would be boring to do that,so people made funtions to draw lines,then to draw boxes ,then to display text,and progress on to draw windows and all the stuff you see.
Now DirectX is not a program.It is just a library which helps you to draw and C++ version of it is available.At you current level you wont even be able to set it up on you compiler,sorry you reaching for the moon.
Good news you can learn more C++ and then go on to graphic within no time if you advance well.I just started 4-5 five months ago in game programming but I have 3 games aready done.Just because I know C++ well.
You will have to learn about using the C++ data types,structures,classes,file i/o and should be able to use them well.
By then you will be able to go into graphics programming.Even if you manage to copy someone elses code and get it to do something you want you will still be wasting your time as there are a lot more efficent way using the power C++ provides to do what you did.
So learn C++ first well.
It will depend on you how fast you can pick up stuff.Dont even think you can make a mini-version of Quake as even the simplest games require a lot of work.Take it from a guy who has real experiance there.
Ah,some links to C++ tuts
-------------------------
http://www.google.com/ you can search there and should
http://www.cplusplus.com/
http://www.cprogramming.com/
Hey check out the tut fourm here at daniweb too.And post any question you have
.Will be glad to help. Oh,I din't give more links since I want you to search.
(Give a man bread today, he will be hungry tommorow.Teach him to fish and he will survive for a lifetime) or so the saying goes.
That way you will have your own questions and you will find you own answers and you will really progress.Best of luck
(Give a man bread today, he will be hungry tommorow.Teach him to fish and he will survive for a lifetime) or so the saying goes.
That way you will have your own questions and you will find you own answers and you will really progress.Best of luck
Sure thing wolf, go ahead and learn C++ and maybe in a few months you can get into graphics programming.It's not tough (hey, if you get a pencil and know how to draw lines you can draw houses) but unless you know a good bit of the basics you will not understand many things.Unless you understand what you are doing you will not progress.
![]() |
Similar Threads
- WinAPI noob question (C++)
- Question (Networking Hardware Configuration)
- noob question (C)
- Noob question about Defining and Declaring. (C++)
Other Threads in the C++ Forum
- Previous Thread: Uber-N00B question
- Next Thread: Using time in programs
| Thread Tools | Search this Thread |
api array based beginner binary c++ c/c++ calculator char char* class classes code compile compiler console conversion count delete deploy desktop directshow dll download dynamic dynamiccharacterarray email encryption error file forms fstream function functions game givemetehcodez google graph gui homeworkhelp homeworkhelper iamthwee ifstream input int integer java lib linkedlist linker linux list loop looping loops map math matrix memory news node numbertoword output parameter pointer problem program programming project python random read recursion recursive reference return rpg sorting string strings struct temperature template templates test text text-file tree unix url variable vector video visualstudio win32 windows winsock word wordfrequency wxwidgets





