No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
in working with my 2d arrays, i have to read in from an input file a char array of NxN and manipulate the matrix in various ways. i have gotten just about everything finished, except i cannot figure out the logic of shifting a row left or right, or shifting … |
|
I have a slight homework problem that is giving me some trouble. We have to write the algorithm for subtraction using different bases as a possibility in a program that uses calculator registers. The following is the provided prototype: bool subtractRegisters( int registerX[], int registerY[], int registerZ[], int base ); … |
|
I am writing a simple triangle calculation of sides and angles program, and the final thing that the professor wants is the type and the class of the triangle. I have written two functions that are prototyped here: double calcSide( double s1, double s2, double ang3 ); double calcAngle( double … |
|
After looking at the same few lines for an hour now, I cannot figure out why the user named input file isn't opening and the user named output file isn't even being created. I used the debugger in visual studio 05 to figure out the input file isn't being opened … |
|
I'm new to this site, and I heard that I can get help from here with learning programming. I am having trouble with sentence strings. If someone inputs a sentence followed by just a single character, I want the program to only write the sentence until that character is first … |
|
Re:
This function should create an array of size 50 containing randomly generated letters within the range [1, 25]. The program should write the randomly generated array to an output file named by the user. Determine the maximum and minimum values and the indices of their first occurrence and also the … |