How Can I Make A Frame Or Boarder ?

Pages: 123
Hello CplusPlus,
I Have Recently Published A Post Where I Needed Help Starting To Program, I've Had That Help And Started Doing Stuff...

I Did 2 programs, one of them is were u have to guess a number between 1 and 15... and u have 5 tries to guess the right number... and the number is chosen randomly

the 2nd one is where u insert 3 numbers and the computer gets the average of it, i guess thats good for a beginner ? O.O

well anyways :D im wondering how i can make like any page other than cmd that it opens with.. instead of opening the .exe file and finding my program in cmd.. i want to change that.. i just want it to open in a simple box or something.. and how to add a background picture too it.. then i can go on from there :) also.. i was wondering how u guys choose what to start with like #include <isotream> when do i use that and when do i use the others ?

Thanks Alot :D


==================================
Ace
Last edited on
You'll need to use different libraries for this. Which to use depends on what kind of program you want to make.

If you want a game, I recommend getting SFML:

http://www.sfml-dev.org


If you want more of a widget style program (with push buttons, drop down menus, and other controls), then there are widget libs like Qt, wxWidgets, etc. Although writing programs with widgets is one of the more difficult things in C++ as those libs are typically much more complicated.
mmm... well ill use SFML :) Thanks Bro.. What About The Border Tho.. like graphics ? O.o how do i inject the photo. i mean like.. i know i get a picture call it background.something.. was is this something and what do i write in the c++ ? sorry im kind of disturbing you :)
See the introductory tutorials on SFML's site.

drawing graphics is as simple as loading the image file and telling it the coords you want it drawn. 2 or 3 lines of code.
i saw it.. well i downloaded it to.. version 1.6 thing is.. does it work with Dev C++ ?
If it doesn't, you should switch compilers. Dev C++ is criminally old and outdated.

See this:
http://www.cplusplus.com/forum/articles/7263/
Thanks Bro :D You Really Helped Thing Is.. Dev C++ is easy for me to use and stuff..
Oh Btw, Which One Do You Recommend For Me ?
Hehe. Dev C++ may be easy, but Disch.lastPost++. That thing is ancient and gathering dust, and that combination is rarely good in computing.

I recommend NetBeans, some will recommend Code::Blocks, others Microsoft Visual Studio Express 2010.

EDIT: And others wxDev C++.

-Albatross
Last edited on
Hey :D Thanks Bro :D Well.. Idk Really... Im Not Really Good At Programming Right Now... So i need both good and easy to use program ... and later on i can switch to something better or even buy something xD
if you dont mind can i have any1's email please ? :)
Wait What About Microsoft Visual C++ Studio 2010 ? O.o
I'm a big fan of Visual Studio and I recommend it.
sorry. i have Visiual C++ Express 2010.. Not Studio Express.. is that good ?
yeah that's like a mini Visual Studio. I've never actually used it myself, but I'm sure it's a big step up from Dev C++
Alright Then Bro :)
You Helped Me Alot Disch :D Thanks I Appreciate It
Can i have your email ? :D
Just your questions here. It's better that way for many reasons:

1) I check the boards way more often than I check my email. I dont' think I've checked my email in months.
2) if I can't answer a question, someone else can.
3) if I slip up and give bad advise someone else can catch it and correct me
4) other people can learn from your problems by viewing your post and seeing the responses to it.
Yep True xD But i just thought im exhausting you by all these questions :S
would answering them by email be any less exhausting? ;P
xD well idk Lawl :P uhm... btw.. i have searched all over the internet.. google/youtube.. everywhere.. i can find Microsoft Visual Studio Express 2010.. i have found a KeyGen tho... what now tho LOL xD
Pages: 123