I am stuck with my program and I am a complete newbie to programming.
Consider I have a function func1 that takes 2 parameters alpha and filename
I have the problem with filename - a bit description about the file:
1) Consists of integers with spaces within every pair like: 1 2 5 ....
2) The first integer says how much integers there will be in the file.
Now, I need to read the integers into integer array, but firstly I should assign memory - say beta*int where beta is the first integer in my txt file.
Please try to help me with code - I think it's not going to be very long.
I need your help as quick as possible.