I believe you are passing a variable that hasn't been created.
Basically...
// MUSIC FILE READING FUNCTION CALL
ReadMusicData(info); //error here
Type: Posts; User: emeyer
I believe you are passing a variable that hasn't been created.
Basically...
// MUSIC FILE READING FUNCTION CALL
ReadMusicData(info); //error here
There still seems to be a problem with this script.
Webmaster... I think the concept of this script was a really good one. I hope it gets fixed in due course (when you have the time of course).
...
Hi all,
I was sent this recently and have been getting a good reaction from the people I have forwarded it to... so I thought I would share.
Enjoy...
Eddie
Yes, your entire code will be helpful for us to help you with this.
Well done on attempting the code yourself though. That is exactly what we want to see here.
Just a minor aside note... it...
I recommend Pelles C
http://www.smorgasbordet.com/pellesc/index.htm
Just my two sense... but yes... you should be able to use DevC++ ok.
Eddie
Hi cdalten
I agree with swgh. One of the most important things for a programmer in perserverence. If you've kept going this long, I think you are going to be just fine.
swgh offers good...
Hello again Malthazar
Once again, well done for getting your program up and running without errors.
Here's an interesting suggestion to make an improvement to your program.
How about adding...
Hi Malthazar
Great start in programming in C -- well done.
I just want to make sure you are aware that you have two variables that aren't used at all...
ra
Hi,
Re: your first point...
It is my understanding that you definately good print out the return value of a function straight away... e.g. if the function getAge() returns an integer, you...
I've tried running the program as posted by eerok.
It seems to be working as expected (as far as I understand it).
Just as an FYI, recursion is when a function calls itself as part of it's...
I presume you are asking about the following section...
If so, the 1 just evaluates to TRUE -- (0 is FALSE). Incidentally, I believe any positive value equates to TRUE).
Anyway, the...
FYI stands for 'For Your Information'
Good luck
Eddie
P.S. For some reason I can't get
Yes, I understand.
Thanks cwr.
Hi all.
Incidentally, my initial theory of using...
if (pointer)
{
printf("The pointer has had memory allocated.\n");
}
Thanks cwr.
Eddie
hmmm, I was hoping that it would be able to tell whether a pointer has been 'initialised' or not -- oh well.
Thank you for your responses.
Eddie
Hi all,
This is probably quite a newbie question.
I have a function that takes in a pointer as a paramter. How can I tell if the pointer has previously called malloc()?
In addition to this,...
Good luck Wizzard_IX
The only advice I can give you is to perservere. Programming can be very challenging at times... but it is also very rewarding :-)
Good luck.
Hope to see you around...
What exactly is meant by fixed point? How do you ensure fixed point calculations in programs?
Thanks
Eddie
About the use of...
char* last_name;
instead of...
Good point itsme86.
You guys are awesome with your responses. I will definately say that I have a lot to learn from all of you. I truly appreciate your responses.
I am trying to write for complete beginners...
Hmmmm.
As I mentioned, I was planning to add to my 'Learn C By Example' page on my website. I wanted to provide a very basic introduction to some of C's basic variable types.
Here is what I...
Hi all,
I'm working on the next piece of example code for my 'Learn C By Example Page' on my website.
How accurate is the following statement...
"The difference between a double and a float...
Well guys, I will do my best not to dissapoint. Feel free to offer constructive criticism as my site progresses. The more encouragement you can give me the better. I do want to do a good job...
...