SA-MP Forums Archive
C++ and Pawn - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: C++ and Pawn (/showthread.php?tid=456821)



C++ and Pawn - Rayco - 07.08.2013

A user of this comunity told me that knowing the basics of C++ I can play my role as pawn scripter with as it is the same syntax, it's true?. The basic that he said me is; arrays, if, switch, operators, datatypes and bit more.

Thank you.


Re: C++ and Pawn - 2KY - 07.08.2013

If you're capable of learning C++, you're definitely capable of learning PAWN. I can't make heads or tails out of anything but cout, but I know PAWN quite well - it's MUCH easier.


Re: C++ and Pawn - Ada32 - 07.08.2013

The design goals and purpose of both languages are TOTALLY different. If you wish to understand Pawn, you must take time to read the documentation.


Re: C++ and Pawn - Bakr - 07.08.2013

Why would you learn C++ in order to take part as a scripter with the Pawn...?


Re: C++ and Pawn - [XST]O_x - 07.08.2013

Quote:
Originally Posted by Bakr
Посмотреть сообщение
Why would you learn C++ in order to take part as a scripter with the Pawn...?
I guess he already knows C++, and he wants to know if he has to learn a whole new language, or just get used to the new function names.

Anyway, pawn is actually a version of Small C, which is a subset of the C language, which is kinda like C++.


Re: C++ and Pawn - dominik523 - 07.08.2013

I tried to learn pawn before, couldnt do it. Then I learnt C++ in school, now lot of things are so much clearer to me in pawn


Re: C++ and Pawn - Rayco - 07.08.2013

Thank you, thread closed.


Re: C++ and Pawn - CaveDweller - 08.08.2013

Most C-derived languages are very similar, but no, you won't be able to just pick up Pawn from C++ knowledge.