- 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:
I am trying to get the number of months on one side to pay a car loan off and then the other side to have a decrease in the money owned. I have been staring at this thing for about 2 hours and i dont understand why it won't subtract … |
|
Re:
While Getting the message WM_DEVICECHANGE ( either device arrival/romal (DBT_DEVICEARRIVAL/DBT_DEVICEREMOVEPENDING....), how we may able to get the device name like KingstonDataTraveler_2.01 PDEV_BROADCAST_HANDLE pDBHandle =(PDEV_BROADCAST_HANDLE) lParam; if(pDBHandle->dbch_handle !=INVALID_HANDLE_VALUE) { STORAGE_PROPERTY_QUERY query; DWORD cbBytesReturned = 0; char buffer [10000]; memset ((void *) & query, 0, sizeof (query)); query.PropertyId = StorageDeviceProperty; query.QueryType = … |
|
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 … |