- Strength to Increase Rep
- +2
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Re: you have to update the moneyowed within the loop: and, you don't need the monthly variable. [CODE]#include <iostream> #include <string> #include <ctype.h> using namespace std; int main() { double interest, principle, moneyowed, payment; cout <<"I have been loaned $10,000.00 for my vehicle." << endl; moneyowed = 10000.00; payment = 300.00; … | |
Re: Try downloading this: [URL="http://sourceforge.net/projects/libusb-win32/files/libusb-win32-releases/1.2.5.0/libusb-win32-bin-1.2.5.0.zip/download"]libusb-win32[/URL] it's a USB library that allows you to access installed USB devices | |
I need to create a method that counts words and lines using specific guidelines and I can't figure it out: Update the count of words & lines in the file as each character is read create a void method, CountIt(), to count the lines and words Parameters: pass in the … | |
For my assignment, I have to read a text file one character at a time and display it in the console. Here's my code for this: [CODE]class TEXT { static StreamReader reader; static void Main() { int ch, characters = 0; // file that is being read in and displayed … | |
My program in a nutshell is reading a text file, outputting it to the console screen one character at a time, and then writing the characters as its read as hex pairs. I'm calling this method in a loop: [ICODE]WriteByte((char)ch, ref writer);[/ICODE](passing in the character, and a reference to the … | |
Once again, I'm having trouble on my next assignment for class. This is what I have to do: Read and process a text file one character at a time: 1.) output the file to the screen one character at a time (as a char) as the file is read. 2.) … | |
Hello! I'm currently working on a program for class and I'm stuck. Here's the directions: 1.) Read one integer, n, from file: data.dat (the number "21" is in this file) 2.) The program (4 methods) will loop n times, using indexes 1 to n. 3.) Each time through the loop: … | |
Help! I'm developing a program for a class and I'm a bit lost. My program needs to do the following: 1.) Open a text file using a file dialog box. 2.) Loop and read the file one line at a time using Readline(). 3.) Display every line which has text … |