thanks for the response. the members are declared in my spec file. How do I perform the referencing you speak of?
Type: Posts; User: ceddsoboss
thanks for the response. the members are declared in my spec file. How do I perform the referencing you speak of?
I'm having a problem with converting a string to a char. ; Also I keep getting errors in regards to storing info in a object that will be stored in a class data member. Can anyone help?
...
thanks anduril, I appreciate it
Here is the revised code
//Function Prototype
void printHeading ();
void input_temps( int temp_array[], int n );
void display_temps( int temps[], int num, float avg);
@anduril462 I see what you're saying about the first part but I chose to do that so when I print out my input it will show 1 first, not 0. Secondly, I tried passing "return avg;" from calculate_avg...
@commontater I tried returning avg and passing it as a parameter but it didn't work -- I'll try something else.
Hello guys -- I have problem. There is specific function within my code that I'm having a hard time reconfiguring. In the "display_temps" function, I want to print a "+" beside the temp if it is...
Great, thanks commontater
Ok, I want to just say that this dice rolling program has been a pain in the .......... from the beginning, ok -- moving on.
I want to know if anyone at all could give me a hint as to how to find...
Ok, so the problem was with the redundancy of my relational operators and the ampersand before the total1-4 variables. Here is the revised code...
#include <stdio.h>
int main ()
{
If you can help, fine; if not dont worry about it.
I have been trying to figure out why the assignment operator for my total1-4 variables are not working. can anyone help?
#include <stdio.h>
int main ()
{
Ok, great! Thanks guys...
I am trying to figure out exactly how to return a function to its very beginning after it ends (for any reason at all).
I will use pseudo code to exemplify:
printf please enter your age;
...