C++ quote mark and "read"
#5

Thanks for your reply!

1. I want to put qoute marks in this line. I mean I want to be able to print qoute marks, so I can see it when the program is running. (In a regular sentence)
But I don't know how.
Код:
cout << "SetDynamicObjectMaterial(" << objID << raknare3 << " , " << ind << " , " <<  << texture << " , " << modeltex << ");" << endl;
2. I'm creating a program for creating multiable varibles for pawn.

And I need a function so the user can enter his line of code (in this case SetDynamicObjectMaterial)
Like this:

pawn Код:
SetDynamicObjectMaterial(MiniGr, 0, 16202, "des_cen", "sandgrnd128");
SetDynamicObjectMaterial(MiniGr2, 0, 16202, "des_cen", "sandgrnd128");
And it comes out like this in my program:

pawn Код:
ObjectGround1 = SetDynamicObjectMaterial(MiniGr, 0, 16202, "des_cen", "sandgrnd128");
ObjectGround2 = SetDynamicObjectMaterial(MiniGr2, 0, 16202, "des_cen", "sandgrnd128");
The program have added "ObjectGround1 = " and "ObjectGround2 = "

And now the user can just copy the code.

But I don't know how to do.
I mean handle the pasted code/text that the user pasted.
And write some text infront of it.
Reply


Messages In This Thread
C++ quote mark and "read" - by davve95 - 01.05.2016, 16:23
Re: C++ quote mark and "read" - by ]Kurence[ - 01.05.2016, 16:29
Re: C++ quote mark and "read" - by davve95 - 01.05.2016, 16:32
Re: C++ quote mark and "read" - by iZN - 01.05.2016, 19:35
Re: C++ quote mark and "read" - by davve95 - 02.05.2016, 15:38
Re: C++ quote mark and "read" - by Spmn - 02.05.2016, 17:36
Re: C++ quote mark and "read" - by Vule. - 02.05.2016, 20:11
Re: C++ quote mark and "read" - by davve95 - 02.05.2016, 20:37
Re: C++ quote mark and "read" - by Private200 - 02.05.2016, 20:52
Re: C++ quote mark and "read" - by Spmn - 02.05.2016, 21:00
Re: C++ quote mark and "read" - by Private200 - 02.05.2016, 21:31
Re: C++ quote mark and "read" - by davve95 - 03.05.2016, 18:26
Re: C++ quote mark and "read" - by Private200 - 03.05.2016, 18:56

Forum Jump:


Users browsing this thread: 1 Guest(s)