I've heard of pointers but haven't learned about them yet. If I understand your code though the main difference seems to be the asterisk in front of x and y when you "declare" (is that even what...
Type: Posts; User: demuro1
I've heard of pointers but haven't learned about them yet. If I understand your code though the main difference seems to be the asterisk in front of x and y when you "declare" (is that even what...
ok so I have another question now on returning numbers.
I have gotten this little program to run as I'd like it to but now I'm trying to do more with the code. basically I'm trying to make...
Elysia-I know this may be beneath you explaining but, while I think I understand the idea of local module and global how am I supposed to make my program work if my variable don't work throughout...
because I don't know any better, this is really like my first attempt at a program all on my own.
The biggest problem I am having is variables act differently depending on how you save them with...
do I need to cast x and y as float type to get the decimal place?
I'm trying to learn by doing. I have written some code below and it's not outputting the way I expected it to. Once I get this piece working I'd like to add code to round the numbers so that there...
awesome. I really appreciate the help. I'm at the stage where I can kind of make basic math functions just to get my feet wet but run into problems in that I sometimes try to do things that the...
I hope this isn't too off topic but I didn't really want to start a new topic when there were so many that are somewhat similar.
I understand that in the function you need to define a return type,...
yeah but I'm going to use that z variable later when I expand on the code and start using logical operators. to try and do cooler stuff
I know this is a little off topic but I read your void...
so can you always pull the return data out of a function later then. can the return value be changed like a variable or will you need functions with return values set in stone and call the functions...
I'll do that with the code from now on. I haven't been on a board of any kind in ages so my board etiquette probably could use some work as well.
implicit main, if I read your link properly...
so because I have no idea about this and I'm really new I have to ask for clarity on this.
Are saying that return causes a function to end. Am I u derstanding that properly?
And what does the...
ok first thanks for helping.
I'm new to programming in general and I decided I'd start with C. I found a pretty sweet tutorial and I'm plugging along but I have a question.
I see in the...