- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
I was told to use bubble sort to sort the arrays. what i need to do is read in one array and have to sort into the other array but i haven't been able to figure it out here's the code i have so far. i've been trying to manuplate … |
|
i need help finding the low value in an array after reading file with numbers. With my program I am to assume that the size an array is 100 even if only 10, 31, 50 spaces are taken up. The problem im running in to is when i iniztialize the … |
|
By using an if statement how could i get a character to detect end-of-file. i was thinking something like this: [CODE] char a = '\0'; int count = 0; if(a == EOF) { count++; }//endif [/CODE] but it doesn't seem to detect the end-of-file. Any idea would be appreciated. Thanks … |
|
I need help figuring out how to count sentences from a .txt file. The following guild lines are what is considered to be a sentence: 1. A TERMINATOR followed by two spaces 2. A TERMINATOR followed by one space and end-of-line 3. A TERMINATOR followed by end-of-line 4. A TERMINATOR … |
|
I'm current trying to write codes that will read a .txt file and count the words and sentences. Right now im currently just trying to count words. So far my code is counting all multi-letter words but not single letter words. I know i can hard code in 'a' and … |