Posted By: First
My first algorithm with using C. - 01/02/19 19:04
Can someone show me how to write this? I figure if I can see it wrttien first, then I can back into the coding and learn form it that way. Note: I have done the 8 tutorial workshhops.
Posted By: AndrewAMD
Re: My first algorithm with using C. - 01/02/19 21:35
1) I see only 39 lines of code. Anyways, I believe Zorro starts counting lines from zero, whereas Notepad++ counts from one, so it's always the adjacent line.
2) For true/false variables, you should use bool instead of string.
Posted By: First
Re: My first algorithm with using C. - 01/02/19 22:36
I copied to another file the code I pasted here and it compiles fine now. Not sure why. Weird.
I changed the string to bool.
It compiles fine now as well and plots when tested.
Alls good...thanks!