Im not ignoring what you said, I just found my problem in specific line. No need to get triggered, sir... Ofcourse, I fixed all the problems which you pointed out.
Anyways, I appreciate your help :)
Type: Posts; User: Raismans
Im not ignoring what you said, I just found my problem in specific line. No need to get triggered, sir... Ofcourse, I fixed all the problems which you pointed out.
Anyways, I appreciate your help :)
Thank you, I will look at this in a moment. However, my compiler doesnt give me any errors (we are learning with codeblocks).
In the meantime I found out that 75th line should be
FILE...
End of the year is coming close and my final exam is coming too :(
Now Im working on my own task. I have a program that asks for multiply entries on student information (for structure). My next step...
What do you mean? I included my code in the previous post.
Wont make a new thread- will ask here instead. I have a new task. This time about structures and accesing them. So my task was to write a small database of students (program asks how many students...
Yep, that was that. Big thanks for your help, again! :cool:
int main(){
char *s1, *s2, *s3;
input(s1);
... }
...
void input(char **in){
*in = (char*)malloc(256);
Still gives memory error.
Thank you all so much for your help, I start to understand this "C" thing a bit better. I had another task: Write a program which concatenates two strings entered by user, printsconcatenated string,...
I see your point. But then- what input function should return. I am really confused about what functions should/should not return.
Hey! I am super new to C programming- just started it. I have a task:
"Write a program which calculates length of a string entered by user, up to 10symbols, calculation and user input should be...