lol... thank you all!! I knew it was going to be something stupid... I must have got things mixed around when I was copying my code from the original program.
It worked great! Thanks a bunch! :)
Type: Posts; User: GrlNewB
lol... thank you all!! I knew it was going to be something stupid... I must have got things mixed around when I was copying my code from the original program.
It worked great! Thanks a bunch! :)
Hey there... been a while since I have posted here : ) I was just wondering if someone could skim over my code for me. I apparently have a problem somewhere that I just can't seem to find. I have...
Wow... you are awesome! Thanks for all your help!! :)
cool... I will make the changes! Thanks!
[edit]
ok... made the change to the array like you mentioned and am now getting this error in addition to my previous "local function" error
error...
I hope this works... thanks for the help!!
Much Appreciated!
I keep getting this error
error C2601: 'find_ave_bal' : local function definitions are illegal
that is pointing to this code
lol... this is the code right before it and I cant see any problems. Of course, I have been staring at this program for a couple of hours now and am probably just oblivious to it now :)
can you...
Wow... that really helped my program!! Lol... only one error remains...
error C2601: 'find_ave_bal' : local function definitions are illegal
and it is pointing to my function:
...
oh duh... I cant believe I left out that very VITAL piece of info... thanks again Codeplug :)
hey... thanks for the help. I am sorry about my subject... I am getting kinda freaked out about the whole thing. I posted an earlier topic called "array functions" but it went dead really fast. Wont...
I dont know how to use arrays... that is a given... but I am trying. I keep getting errors in my program when I refer to an Array for some reason... mostly with errors like:
error C2040: '<' :...
lol... you are going to get tired of me by the time I actually get this program to work :)
This error:
error C2040: '<' : 'int [100]' differs in levels of indirection from 'const int'
...
amazing... so adding those little brackets around the "0" fixed all that... go figure!! Thanks again!
Ok, this is my variable declaration at the very beginning of my program. When I try to compile it, it tells me:
: error C2440: 'initializing' : cannot convert from 'const int' to 'int [100]'
I...
ah, thank you! I am currently working on the rest of the program so I am not able to test it at this time... but I will ASAP and post back whether or not it fixed my problems(s).
Thanks again :)
Hi... I am trying to write a function that, in short, uses info from an ID array and info from a Balance array and computes the average balance for for the Balance array. That average will be...
Awesome... I tried both your suggestions and was able to make it work! Only one more question... I am supposed to use a void function to output to the user the statement "This program will determine...
Wow... thank you both for your relpy's! I am going to take both your suggestions and test them out to see if it fixes/helps my problems. Thanks again!
Hello... this is only my second time posting on these boards and yet I am asking for help again. :( I have an assignment I am working on that is supposed to be getting us used to writing functions....
Awesome! It worked!! Thank you all for your help! I changed it to the way you mentioned
pow(R, double (2)/3)
Cool! I tried them both,
aww bummer... that didnt do it either, got the same output as before. Thanks for the help though
GrlNewB ;)
Thank you PJYelton... I will try that too. I noticed the parenthesis didn't change anything from the last post. Going to see if this works :)
GrlNewB
Thank you for the help! So making that one change with the parenthesis will change it so my output is correct? That's cool, I didnt know it would be so easy. Thank you!
Oh, and I noticed the code...
Hi... I am new to the forums and new to C++. I have an assignment I have been working on and can't find where my error is in the program. I was just wondering if someone could take a glance at it and...