You'll need to Initialize a Font, and then Proceed to your a Draw Text Function,
And Make sure you Reset your Font to Stop Crashes related to Fonts & Make sure the Font is on your Computer,
Remember to draw it within a Direct3D Method, (Present/End scene/Other).
Hopefully that has Helped, This is VERY BASIC, Knowledge in C++.
I'd Advise you to Learn the Basic - Intermediate of C++.
You'll need to Initialize a Font, and then Proceed to your a Draw Text Function,
And Make sure you Reset your Font to Stop Crashes related to Fonts & Make sure the Font is on your Computer,
Remember to draw it within a Direct3D Method, (Present/End scene/Other).
Hopefully that has Helped, This is VERY BASIC, Knowledge in C++.
I'd Advise you to Learn the Basic - Intermediate of C++.
Cheers,
kJNR
He never said D3D T_T maybe he just wanted a simple:
Code:
cout<<"text is printed in console xD"
xD
Originally Posted by sasue111
He never said D3D T_T maybe he just wanted a simple:
Code:
cout<<"text"<<endl;
xD
Can you code, or make multi tools
Originally Posted by TF.Hacks
Can you code, or make multi tools
hmm?Don't be mad bro.I am not trying to start a war with ya.And yes I do know how to code.
PS:
hi guys if i post the source here can you tell me what to add for printing text
look at what he said.He never said D3D.For all you know he is a beginner and is making a simple console hack.
I Dont understand Changing your Post a Few times is Gonna change Ur Message Across.
I Understand you Side, about he May want it in a Console, but you Learn that in your First Hello World / Simple MSDN Search Program, im Sure it's not What his After (At least, i dam Hope-so)
No need to Reinstate I'm Correct, Either in a Edited + Edited, and one more Edit with That.
I Dont understand Changing your Post a Few times is Gonna change Ur Message Across.
I Understand you Side, about he May want it in a Console, but you Learn that in your First Hello World / Simple MSDN Search Program, im Sure it's not What his After (At least, i dam Hope-so)
No need to Reinstate I'm Correct, Either in a Edited + Edited, and one more Edit with That.
Cheers,
kJNR
Well I messed up and misunderstood so I edited it.Then I noticed that it was inperfect and I edited it.Then I didn't know why the fuck I was doing this and edited it again just for more effect.
edits in total:
3
Ha, All good Lad, Seems like an MPGH Trend their got Going,
Haha, we'll This guy Doesn't look to can to get an Answer.
Oh We'll xD
Cheers,
kJNR
XD you hit the nail on the head Robin
In conclusion: @R3Dx666†
Do you want to DrawText via Directx or do you want to just print some text in a Console application?
Directx : Search for DrawText function or Font class by Hans. Hans is just microsofts but lighter (some things removed)
Console app : cout << " Not very hard :| "; <- Not very hard btw
yes i want to have on screen so it is visable
@R3Dx666†
Both are visible . Answer this question:
Directx or Console?
question not clear.
i want console
Originally Posted by R3Dx666†
i want console
first include required header by using #include <iostream>
then use using namespace std to easily access std methods without std::
and when u need to show some text use cout.
example:
Code:
#include <iostream>
using namespace std;
int main()
{
cout << "hello world!" << endl;
return 0;
}