Thanks @christop for enlighting me on function prototypes, i guest i did not quit unerstand function prototype very well. Thanks man.
Type: Posts; User: Kanga
Thanks @christop for enlighting me on function prototypes, i guest i did not quit unerstand function prototype very well. Thanks man.
Thanks @Fiskker and @vart for enlighting me on that, my code now works :cool:
Hello, I have written this programme to calculate the average of a series of numbers. It works when I do not use functions but doesn't when I use functions. Could someone help me find out why using...
Your suggestions have all worked. I'm very gratefull :cool:
Hello guys, I have tried to use your " [^\n] and fgets" suggestions but non of them is working for me.I seem to receive more error messages. Here is the modified code and the terminal result
...
Hello, the aim of my programme is to ask the user to enter their first and last names separately.The programme then concatenates both names and outputs the fullname. The problem I am having is this:...
Thanks very much for your tips. They have been very helpful.
Hello, I am having error messages when using the above functions in linux mint 17. Here is my code and the terminal message.
#include<stdio.h>
main()
{
char name[16];