Graphics

Posted by: Red Mage

Graphics - 10/30/03 10:06 AM

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?
Posted by: paradox

Re: Graphics - 10/30/03 11:56 AM

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
Posted by: SilentRage

Re: Graphics - 10/30/03 05:05 PM

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.

http://www.planetsourcecode.com
Posted by: zenon

Re: Graphics - 11/03/03 06:44 PM

*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...
Posted by: SilentRage

Re: Graphics - 11/03/03 11:53 PM

I remember you. You were a noob.
Posted by: zenon

Re: Graphics - 11/04/03 06:00 PM

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....
Posted by: paradox

Re: Graphics - 11/04/03 06:38 PM

lol WHATEVER!
Code:
#include <iostream>
int main(){
printf("I DONT WANT TO KNOW YOUR NAME\n");
return 0;
}
Code:
.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!!
Posted by: zenon

Re: Graphics - 11/04/03 06:59 PM

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...
Posted by: paradox

Re: Graphics - 11/04/03 07:45 PM

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*
Posted by: zenon

Re: Graphics - 11/04/03 08:16 PM

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.
Posted by: SilentRage

Re: Graphics - 11/05/03 12:31 AM

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."
Posted by: masterh4x0r89

Re: Graphics - 11/05/03 12:57 AM

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
Posted by: zenon

Re: Graphics - 11/05/03 02:46 PM

To bad that you feel that way SilentRage..
Posted by: pergesu

Re: Graphics - 11/05/03 05:09 PM

Quote:
Originally posted by zenon:
To bad that you feel that way SilentRage..
b3c4u53 h3 Wi11 h4x0r j00!!!! pwn j00r b0x!!!!!!!!

PH33R!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Posted by: paradox

Re: Graphics - 11/05/03 05:42 PM

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 bitch.. i like it ruff and i hope shes ruff back
Posted by: paradox

Re: Graphics - 11/05/03 05:44 PM

oh and btw http://serialcoders.sytes.net/bknight/

^^
Thanks silentrage *snickers*
Posted by: Red Mage

Re: Graphics - 11/06/03 07:45 AM

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..
Posted by: zenon

Re: Graphics - 11/06/03 02:46 PM

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...
Posted by: SilentRage

Re: Graphics - 11/06/03 03:40 PM

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".
Posted by: zenon

Re: Graphics - 11/08/03 07:31 AM

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)
Posted by: SilentRage

Re: Graphics - 11/08/03 07:46 AM

The zone manager script in perl for http://www.dollardns.org is my latest accomplishment in programming.
Posted by: zenon

Re: Graphics - 11/08/03 09:00 AM

sweet... seems okay to me

A stupid question, (but hey, no question is stupid)...
Annyone of you guys coming over to Dreamhack?
Posted by: paradox

Re: Graphics - 11/08/03 12:32 PM

lol..zenon for someone who is so opioninative you sure have a weird perspective on shit..
haven't been here that long so dont know about 2 years ago...
Quote:

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 shit 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
Posted by: zenon

Re: Graphics - 11/08/03 12:47 PM

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!!!
Posted by: zenon

Re: Graphics - 11/08/03 12:48 PM

And by the way.. I am NOT claiming I can do something I cant.
Just for the record!
Posted by: paradox

Re: Graphics - 11/08/03 07:43 PM

you claimed you could help me you couldnt so yeah lol <img src=" 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 ^^
Posted by: SilentRage

Re: Graphics - 11/09/03 03:53 AM

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.