Quote:
Originally Posted by X.Oden
Hi all, I'm currently reading a book called Beginning C. It is a great book with excellent explanations. I have zero C programming experience, but just wrote my first Hello World program.
Should I continue learning C to help me become more familiar with MQL4 or should I delve right into MQL4?
I don't want to waste time, but since looking at the C book, going back to MQL4 codes seem more readable.
I tried understanding the dictionary to certain functions, commands etc in MQL4, but that stuff is so cryptic.
I figure I learn C to get the basics of coding and familiarity of some of the rules in C which I seem to find familiarities with in MQL4.
Not sure what the difference is, but I figure C will offer alot more options, whereas MQL4 is a scaled down version of C, so I should be ready to program in MQL4 with little learning curve after I'm done with C.
Is this a correct assessment? Any input for those of you who have crossed over I would sincerely appreciate it. Thanks again.
|
Hi good approach!.
MQL4 is based on C programming language as you already found out
ofcourse just because you need to work with the specific API functions in MQL4 that is why it looks different to some people starting out , but that is only in the beginning so this is a good news. I would say even ( personal opinion) to start with .Net programming language the newer C that is
C#.net ( Csharp )
This is what i think you should do
Learn Variables.
Learn Decision making and Looping
Learn Arrays
Learn to Create your own functions ( this is the most important thing ) if you can work with functions and divide and conquer your programs. you are done with it.
C#.net is closer to MQL4 but you can't create classes in MQL4 though you can come close to the look and feel. What you will learn from an Object Oriented Programming Language will benefit you alot since MQL4 works alot of with Objects for e.g what is Color? what is a Trendline? they are all objects so if you can learn how to manupilate the Objects that would be great. ( just my opinion to start with C#.net instead of C Language )
-----------------------------------------------------
Guyver.