Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+2
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
~4K People Reached
Favorite Forums
Favorite Tags
c++ x 3
Member Avatar for ryandunn

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; …

Member Avatar for Zvjezdan23
0
105
Member Avatar for dileeps

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

Member Avatar for 5ophie2012
0
245
Member Avatar for 5ophie2012

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 …

Member Avatar for 5ophie2012
0
1K
Member Avatar for 5ophie2012

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 …

Member Avatar for 5ophie2012
0
178
Member Avatar for 5ophie2012

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 …

Member Avatar for 5ophie2012
0
259
Member Avatar for 5ophie2012

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.) …

Member Avatar for Ketsuekiame
0
2K
Member Avatar for 5ophie2012

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: …

Member Avatar for james6754
0
156
Member Avatar for 5ophie2012

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 …

Member Avatar for kvprajapati
0
102