Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~5K People Reached
Favorite Tags
Member Avatar for tat2dlady

Hi. I am having some trouble with my computer. Here is a quick review of issues...About a month ago my McAfee AV kept getting turned off. I could not figure out what was wrong. Nothing was found on any scans. I removed McAfee and got AVG free edition. It stopped …

Member Avatar for 07knev
0
610
Member Avatar for tat2dlady

I have a file, which I have read, and need to print a parse tree for it. What I am doing is a syntax checker only for open and close parentheses (). If the item read is a open parentheses, I put it on a stack. If it is a …

Member Avatar for mitchems
0
267
Member Avatar for tat2dlady

I know there is a way for the user to enter input and be able to accept it without the user having to press the Enter key but I do not know the command. Does anyone here know? For example, I have a menu like this: A Add a record …

Member Avatar for Narue
0
112
Member Avatar for tat2dlady

Does anyone know basic pseudocode for a balanced k-way sort-merge? Thanks for any info you may have.

Member Avatar for WaltP
0
409
Member Avatar for tat2dlady

I know you use strcmp() with strings and that if it is equal to zero, they match. But, how do you see if one string is less than the other? I want to compare SSN's to see if 12345620 is less than or greater than 123456708. Thanks for any input.

Member Avatar for Dogtree
0
1K
Member Avatar for tat2dlady

Can anyone tell me why this is printing doubles out to the output file? [CODE] IndexFile.seekp(20, ios::beg); for (i = 0; i < NumOfSlots; i++) { if (RandomFile.peek() == 42) { Position = i; RandomFile.seekg(37, ios::cur); //cout << Position << " "; } else if (RandomFile.peek() != 42) { RandomFile.get(R.SSN, …

Member Avatar for tyczj
0
216
Member Avatar for tat2dlady

Can anyone help me with this snippet of code? I have 2 files, a random record containing random records in it and an index file, which contains the binary tree of the random record. Here is what the index file looks like: 123456720 4 -1 -1 123456708 6 -1 -1 …

0
46
Member Avatar for tat2dlady

I have a program that I need to do some matching in. For example, I need to match the lexemes in a LISP function and print the token out to a file. For example: if ($input =~ /(^\()/) { print OUTPUT "OPAREN $1\n"; $input =~ s/^\(//; } I need the …

Member Avatar for Comatose
0
117
Member Avatar for tat2dlady

Does anyone know how to match a negative number? What I am doing is printing the lexemes with their token to an output file. But, the problem is negative numbers. It should print like this: INT -1 Instead, it prints like this: SUB - INT 1 The SUB - is …

Member Avatar for Comatose
0
178
Member Avatar for tat2dlady

Does anyone know how to ignore the rest of a line in Perl? I am reading a file and printing out tokens to an output file. I want to ignore the rest of a line after a colon is found, which indicates a comment. That way it will not print …

Member Avatar for Comatose
0
210
Member Avatar for tat2dlady

I have a problem that deals with reading a random access file and creating an index file, which is a file to hold the binary tree of the random access file. I have the index file created with SSN (key), relative address of the SSN in the random access file, …

0
56
Member Avatar for tat2dlady

I have a program that uses blocking/non-blocking direct and indirect communication. I need to have it randomly choose whether or not it should do the blocking or non-blocking method and I do not know how. Does anyone have any suggestions? Thank you.

Member Avatar for tat2dlady
0
227
Member Avatar for tat2dlady

Does anyone know how to have a thread randomly decide if it wants to do blocking or non-blocking mode with direct communication? I am using a bounded buffer with size of 5. I have the non-blocking mode right but I am not sure how exactly to change it to accommodate …

Member Avatar for freesoft_2000
0
103
Member Avatar for tat2dlady

I have a problem where I read in a 2D matrix and divide the matrix into 2 parts, where the sums of each part are equal. Each part must contain contiguous integers that can be networked together by following paths from one intger containing cell to another via shared sides. …

Member Avatar for tat2dlady
0
157
Member Avatar for tat2dlady

I have an assignment that I need to do that designs the necessary classes to facilitate an indirect blocking and non-blocking communication environment between threads (producers and consumers) using a bounded buffer whose size is defined at run time. I am to test the working of these classes by creating …

0
63
Member Avatar for tat2dlady

I am having some trouble understanding pure LISP. I am confused about the concepts of atoms and flat lists vs. any lists. I have a problem that should be fairly simple, although it uses recursion, which I am not very familiar with using. The function takes 1 argument which can …

Member Avatar for vegaseat
0
99
Member Avatar for tat2dlady

I am doing a 5-way balanced sort merge. I have 1, 000, 000 records and a toal of 10 temp files to work with (5 for input and 5 for output). After phase 1, the temp files F0 thru F4 are populated with clumps of sorted records. The clump size …

0
88
Member Avatar for tat2dlady

I have a problem that I am not sure how to even come up with a solution. So, I was wondering if anyone would have any input to the problem at hand. I have to divide a matrix that is defined by an input file into 2 distinct regions so …

Member Avatar for murschech
0
149
Member Avatar for tat2dlady

Does anyone know how to compare a old style character string with a character in qoutes? Example: I want to compare the first character in a record that is stored in an old style character string with a `*`. Here's what I have in my code: char FirstCharacter[1]; // Character …

Member Avatar for tat2dlady
0
120
Member Avatar for tat2dlady

I am trying to create a random access file from a sequential file. I have the random access file skeletonized with "dummy records". An example of my dummy record is: 100 *********ZZZZZZZZZZXXXXXXXXXXYYYYYYYYYYYYYYYYYYYY00.00 -1 *********ZZZZZZZZZZXXXXXXXXXXYYYYYYYYYYYYYYYYYYYY00.00 -1 The "*'s" are a SSN, "Z's" are the last name, etc, etc. The 100 and …

Member Avatar for Tight_Coder_Ex
0
135
Member Avatar for tat2dlady

Can anyone tell me how to compare a string to an integer? I have a SSN stored as a string, SSN[10]. I need to compare each number in the SSN. What I need to do is to add up the ASCII values of the SSN to use for a hashing …

Member Avatar for tat2dlady
0
97
Member Avatar for tat2dlady

Does anyone know how to stop a Java thread? I am not very familiar with Java and am not really sure exactly what I am doing. I have to create the necessary classes to facilitate an indirect blocking and non-blocking communication environment between threads (producers and consumers) using a bounded …

Member Avatar for jwenting
0
104
Member Avatar for tat2dlady

I have a program for a 5-way sort merge. I can get the program to read from the original file of 1,000,000 records and write them to 5 tempoary files (File0 thru File4). Then, I am suppose to close the temp files (Files 0 - 4) and open them as …

0
68
Member Avatar for tat2dlady

Does anyone know how to use an array of files? The array is defined as: fstream F[10]. I have 10 temp files that I need to use but am not sure how to open these temp files or write to them. I have a counter to keep up with which …

Member Avatar for tat2dlady
0
118