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

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 …

Member Avatar for Zvjezdan23
0
105
Member Avatar for dileeps

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

Member Avatar for 5ophie2012
0
244
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
176
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
255
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
145
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