I was able to figure out how to collect the data for Total conversions by type for each user and total conversions for each user. But i can't figure out how to get the total conversion by type for...
Type: Posts; User: duty11694
I was able to figure out how to collect the data for Total conversions by type for each user and total conversions for each user. But i can't figure out how to get the total conversion by type for...
I'm trying to collect the following data to be written to a file:
total conversions by type for each user
total conversion for each user
total conversion by type for all users
total conversion...
Theres the error
my bad
I decided to try it with the fgets but it still gives an error window when it runs:
[\code]
#include <stdio.h>
#define MAXLINE 100
int main (void)
{
Yeah it compiles but it an error message pops up?
How about this code
#include <stdio.h>
int main (void)
{
FILE *filePtr;
int lineCounter = 0;
Can anyone tell me why this code won't run.
I'm trying to write a code that reads the number of lines in a text file.
\code
#include <stdio.h>
int main (void)
{
what should it be then
I know this isn't a function i was just testing out the code;
and it doesn't seem to work it compiles but it won't print out the number of lines in the text file. any ideas?
[\code]
#include...
I need to write a function that counts the number of lines in an ordinary text file. How would i go about doing this?
I s there anyway i can display the output in my program like
Alice's conversions
99.9 degrees Fahrenheit = 88.8 kelvins
99.9 degrees celsius = 88.8 degrees fahrenheit
instead of having the...
What do you mean when you said when you do option 7? Is that where i put the counters. If i put the counters there how would it collect the stats fot he conversions.
would it be possible if i put the counters in the switch statement that it would be sufficient to collect the data need to put into the file. another question how would i store the counter in the...
There its all fixed
#include <stdio.h>
#include <string.h>
#define MAX 20
void Greetings(void);
void getchoice(void);
Sorry about that;
I had already fixed the code on my computer I just failed to update the code. And i'm not asking for the same thing its just that i didn't think anyone noticed my problem...
Here is my source code i wrote up
i have no clue as to how to collect the data in the paragraph above to write to the file? Can anyone help me with how to collect the data? I know were suppose to...
I am suppose to write a program that presents a main menu to a user. The main menu should present the user with two option. 1) convert a temperature or 2) quit the program. If the user selects the...
I am suppose to write a program that presents a main menu to a user. The main menu should present the user with two option. 1) convert a temperature or 2) quit the program. If the user selects the...