No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
4 Posted Topics
I've got some of my project finished. This is supposed to 1) check to see if each word in the input file is a palindrome using stacks 2) If the word is a palindrome, write the word to a separate output filr. 3) Count the number of words read and … | |
Re: cfPtr=fopen("d:\\output.txt","w"); What I found is that you should append like this if you want it to write to the output.txt file. cfPtr=fopen("d:\\output.txt","a"); | |
I am getting some errors. 4 are C2143 2 of which point to the function prototype void ArrayFunc(int, int, float, int[SIZE][2],float[SIZE],int &,int &); and the other 2 C2143 errors point to void ArrayFunc (int count, int hours, float total, int array1[][2], float array2[], int &row, int &column) (the function definition). … | |
I can't find the error and also C2182 error: illegal else without matching if. [code=c] #include <stdio.h> int main (void) { int count=0; //counter int hours; //hours char choice; //users choice for continuing float total=0; //total charge //print display printf ("%-15s %-10s %-10s","Customer","Hours","Total Charge"); //assinging customer number count++; //ask for … |
The End.