I had been working on my assignment to create a C program, I wrote out the whole things which about more than 200 lines and the coding words look like a pile of cluster spilled everywhere. I had found some error but it's quite confusing and time consuming on making it work.
So yeah, anyone had a very effective ways or steps to test out only a part or segments of the code easily? Like copy paste into new C file and run it?
Also, I would like to ask about passing the structure value to other function.
Can I do this if I only want 1 structure to store all and change the values from function() and function2()?
//assumed I had typedef structure with tag "Test"
So yeah, that's is my question.
any answer, tips or helps is appreciated.