| Joined: Oct 2003 Posts: 209 Member | Member Joined: Oct 2003 Posts: 209 | How do you make graphics in C++? I can make text-only programs, but at some point I'll need graphics. Any suggestions or tutorial links?
Those who say do not know. Those who know do not say.
| | |
▼ Sponsored Links ▼
▲ Sponsored Links ▲
| | | Joined: Aug 2003 Posts: 240 Member | Member Joined: Aug 2003 Posts: 240 | You dont need graphics.. and do you mean GUI (graphical user interface) or something like directx or open gl :p they are all totally different learn the basics b4 u even bother trying gfx
The wise make mistakes, the fools repeat them ---------------------------------------- When you have eliminated the impossible, that which remains, however improbable, must be the truth
| | | | Joined: Mar 2002 Posts: 1,273 DollarDNS Owner | DollarDNS Owner Joined: Mar 2002 Posts: 1,273 | He means a graphical user interface. Sorry, I don't know of any tutorials. just look for example code of simple GUI programs and learn from them. www.planetsourcecode.com | | | | Joined: Mar 2002 Posts: 93 Junior Member | Junior Member Joined: Mar 2002 Posts: 93 | *well... guess who's back? (for those of you who remember me, from the older days)*
Well... being quite experienced in C++ as I am *cough* Yes... there is a way to create graphics in C++ (DOS).
If you have a Borland Compiler at hand.. it's quite easy (although time-consuming) Just tell me if you want some examples from me... I'll be glad to help ya out...
- "It's not my code that's useless it's you loosers being unable to apprecitate it because of your lack of skills!" /zenon - C++ master Apprentice
| | | | Joined: Mar 2002 Posts: 1,273 DollarDNS Owner | DollarDNS Owner Joined: Mar 2002 Posts: 1,273 | I remember you. You were a noob. | | | | Joined: Mar 2002 Posts: 93 Junior Member | Junior Member Joined: Mar 2002 Posts: 93 | yes... .. right Wanted to get in with the big buys and play around the digital arena .. hehe... that was quite some time ago Then I got meself out of the n00b-camp and started getting serious.. actually learning something and studying... Well.. here I am,, after milllions of lines in C++ and Haskell (and other languages) and a lot of math and so... I'll do my best to share the knowledge I hold and gain new....
- "It's not my code that's useless it's you loosers being unable to apprecitate it because of your lack of skills!" /zenon - C++ master Apprentice
| | | | Joined: Aug 2003 Posts: 240 Member | Member Joined: Aug 2003 Posts: 240 | lol WHATEVER! #include <iostream>
int main(){
printf("I DONT WANT TO KNOW YOUR NAME\n");
return 0;
} .386
.model flat,stdcall
option casemap :none
include \masm32\include\windows.inc
include \masm32\include\kernel32.inc
includelib \masm32\lib\kernel32.lib
.data
testing db "Is this a message Box",0
testing1 db "Is this really a message box",0
.code
start:
push NULL
push offset testing
push offset testing1
push NULL
call MessageBoxA
push NULL
call ExitProcess
end start thats the extent of my coding.. i dont know what that even does can u help me out man!!
The wise make mistakes, the fools repeat them ---------------------------------------- When you have eliminated the impossible, that which remains, however improbable, must be the truth
| | | | Joined: Mar 2002 Posts: 93 Junior Member | Junior Member Joined: Mar 2002 Posts: 93 | Which of the codes do you mean? Looks like C/C++ on the upper hand, and some ASM language on the other.... Actually, it looks like some W32 implementation of ASM, uhhmm.. what's it called.... GOASM is one of those kinds... 
- "It's not my code that's useless it's you loosers being unable to apprecitate it because of your lack of skills!" /zenon - C++ master Apprentice
| | | | Joined: Aug 2003 Posts: 240 Member | Member Joined: Aug 2003 Posts: 240 | lol its called w32asm and im using masm32 if u look at the include ^^ duh Explain them to me.. coz i dont know what they do *snickers*
The wise make mistakes, the fools repeat them ---------------------------------------- When you have eliminated the impossible, that which remains, however improbable, must be the truth
| | | | Joined: Mar 2002 Posts: 93 Junior Member | Junior Member Joined: Mar 2002 Posts: 93 | well..... since you actually do NOT seem NOT to know what you are doing.... I just won't help you. So, plz. Don't waste my time with redicilous pranks.
- "It's not my code that's useless it's you loosers being unable to apprecitate it because of your lack of skills!" /zenon - C++ master Apprentice
| | | | Joined: Mar 2002 Posts: 1,273 DollarDNS Owner | DollarDNS Owner Joined: Mar 2002 Posts: 1,273 | BlackKnight is a cocky bish. And you're still a noob.
--Takes a moment to rephrase zenon's quote "It's not my code that's useless, it's your imagination that's nonexistant." | | | | Joined: Nov 2003 Posts: 37 Junior Member | Junior Member Joined: Nov 2003 Posts: 37 | black night do you know c++? because quote".386.model flat,stdcalloption casemap :noneinclude \masm32\include\windows.incinclude \masm32\include\kernel32.incincludelib \masm32\lib\kernel32.lib.datatesting db "Is this a message Box",0testing1 db "Is this really a message box",0.codestart:push NULLpush offset testingpush offset testing1push NULLcall MessageBoxApush NULLcall ExitProcessend start" makes no sence im new and even i can do better
Kill or be killed
| | | | Joined: Mar 2002 Posts: 93 Junior Member | Junior Member Joined: Mar 2002 Posts: 93 | To bad that you feel that way SilentRage..
- "It's not my code that's useless it's you loosers being unable to apprecitate it because of your lack of skills!" /zenon - C++ master Apprentice
| | | | Joined: Mar 2002 Posts: 1,136 UGN Elite Poster | UGN Elite Poster Joined: Mar 2002 Posts: 1,136 | Originally posted by zenon: To bad that you feel that way SilentRage.. b3c4u53 h3 Wi11 h4x0r j00!!!! pwn j00r b0x!!!!!!!! PH33R!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | | | | Joined: Aug 2003 Posts: 240 Member | Member Joined: Aug 2003 Posts: 240 | black night do you know c++? because quote " etc..." lmao my silly idiotic friend.. you negelect to see that this is asm which is a low level language and not c++ i dont care what forum im in coz im a cocky son of a [censored].. i like it ruff and i hope shes ruff back
The wise make mistakes, the fools repeat them ---------------------------------------- When you have eliminated the impossible, that which remains, however improbable, must be the truth
| | | | Joined: Aug 2003 Posts: 240 Member | Member Joined: Aug 2003 Posts: 240 | oh and btw http://serialcoders.sytes.net/bknight/ ^^ Thanks silentrage *snickers*
The wise make mistakes, the fools repeat them ---------------------------------------- When you have eliminated the impossible, that which remains, however improbable, must be the truth
| | | | Joined: Oct 2003 Posts: 209 Member | Member Joined: Oct 2003 Posts: 209 | Wow.. that got violent just for a bit of graphics code. What I was wondering was how to do graphics without having to make eat picture and pointing to them, because that would take a lot of disk space..
Those who say do not know. Those who know do not say.
| | | | Joined: Mar 2002 Posts: 93 Junior Member | Junior Member Joined: Mar 2002 Posts: 93 | Well... yeah, I think there are certain individuals that have atitude problems. Since that owner-change of the UnderGroundNews board (like 2 years ago)? the UGN.board lost a lot of reasonable and good-hearted members. There are far to many show-offs now.... To bad things go that way...
- "It's not my code that's useless it's you loosers being unable to apprecitate it because of your lack of skills!" /zenon - C++ master Apprentice
| | | | Joined: Mar 2002 Posts: 1,273 DollarDNS Owner | DollarDNS Owner Joined: Mar 2002 Posts: 1,273 | It is funny how people say things have worsened and some people say things have improved. I think such opinions are pointless and should be kept private. But if we're handing out opinions here's mine. People just see what they expect to see.
And btw. I just pretend to be a tough guy. Don't put any credit into comments like "you're a noob". | | | | Joined: Mar 2002 Posts: 93 Junior Member | Junior Member Joined: Mar 2002 Posts: 93 | whoooa .... hold your horses. You really had me there .... *yeah, right* Annyway....
So, what have you guys been coding since last time? (last time we met)
- "It's not my code that's useless it's you loosers being unable to apprecitate it because of your lack of skills!" /zenon - C++ master Apprentice
| | | | Joined: Mar 2002 Posts: 1,273 DollarDNS Owner | DollarDNS Owner Joined: Mar 2002 Posts: 1,273 | The zone manager script in perl for www.dollardns.org is my latest accomplishment in programming. | | | | Joined: Mar 2002 Posts: 93 Junior Member | Junior Member Joined: Mar 2002 Posts: 93 | sweet... seems okay to me A stupid question, (but hey, no question is stupid)... Annyone of you guys coming over to Dreamhack?
- "It's not my code that's useless it's you loosers being unable to apprecitate it because of your lack of skills!" /zenon - C++ master Apprentice
| | | | Joined: Aug 2003 Posts: 240 Member | Member Joined: Aug 2003 Posts: 240 | lol..zenon for someone who is so opioninative you sure have a weird perspective on [censored].. haven't been here that long so dont know about 2 years ago... Well... yeah, I think there are certain individuals that have atitude problems. Since that owner-change of the UnderGroundNews board (like 2 years ago)? the UGN.board lost a lot of reasonable and good-hearted members. There are far to many show-offs now.... To bad things go that way... probably reffering to me.. i don't care if you think im showing off bcoz im not really.. i'm just sick of people claiming they can do [censored] when they can't.. I guess it comes down to a luck of trust between new members of the board because they all seem like noobs.. and i don't know what they are on about but I can't pass judgement on you bcoz i don't know you , I stand but what i say i dont care how i sound :p
The wise make mistakes, the fools repeat them ---------------------------------------- When you have eliminated the impossible, that which remains, however improbable, must be the truth
| | | | Joined: Mar 2002 Posts: 93 Junior Member | Junior Member Joined: Mar 2002 Posts: 93 | well Knight... that's good... that's how everyone should be... honest about their thoughts, and really hang on to their beliefes... no matter how f*cked their beliefes are.... yeah! I like people with a strong personality... C'os they are the ones that people remember....
Like: -The rude mother**** at 7-11, the fuc***up old lady in the tram that just pushes herself infront of you like you never existed, the f***up store owner that won't give you a 1 cent credit when your'e 1 cent short, Adolf Hitler...
yeah Knight... I like your style! Keep going!!!
- "It's not my code that's useless it's you loosers being unable to apprecitate it because of your lack of skills!" /zenon - C++ master Apprentice
| | | | Joined: Mar 2002 Posts: 93 Junior Member | Junior Member Joined: Mar 2002 Posts: 93 | And by the way.. I am NOT claiming I can do something I cant. Just for the record!
- "It's not my code that's useless it's you loosers being unable to apprecitate it because of your lack of skills!" /zenon - C++ master Apprentice
| | | | Joined: Aug 2003 Posts: 240 Member | Member Joined: Aug 2003 Posts: 240 | you claimed you could help me you couldnt so yeah lol <img border="0" alt="  " title="" src="graemlins/devil.gif" /> and redmage there is an example of gui code in there.. using mfc i can also just use the win32api calls but i only do tht in asm ^^
The wise make mistakes, the fools repeat them ---------------------------------------- When you have eliminated the impossible, that which remains, however improbable, must be the truth
| | | | Joined: Mar 2002 Posts: 1,273 DollarDNS Owner | DollarDNS Owner Joined: Mar 2002 Posts: 1,273 | Ok that's enough. I personally have nothing bad to say about zenon. Stop picking him apart like you're an atheist who found somebody claiming to be jesus. Zenon probably knows C++. He never said anything about knowing ASM.
Sorry redmage for closing your post, but I feel it has been answered. Do your own searching now for answers to such a general question. | | |
Forums41 Topics33,840 Posts68,858 Members2,176 | Most Online3,253 Jan 13th, 2020 | | | |