Share
Explore BrainMass

C++

using C designing a simple letter guessing game

Using only C (not c++) design the program described General Requirements ? Write a program that reads letters from a file called"inputLet.txt". ? Your program will ask the user to enter the number of games they wish to play (1 to 4) ? This program should open an inputLet.txt file , read in one character at a time and repe

Code Blocks C++ Into an Array

Intro to Arrays An array is a powerful data structure in C++ that lets us keep track of lists of different types of information. They are quite flexible in that we can put almost anything we want into an array and then access it at a later time. Arrays have two main requirements when we define them: first of all we

Programming Using C++

Please help with the following problem. Write a program that computes and prints the 1000th prime number using code blocks c++. a. You will need some variables to keep track of which prime number you're on and keep track of where you are in your loop. b. Need to test odd numbers to see if they are prime.. c. Need two l

Write a program that simulates inventory bins in a warehouse (C++)

Book: Starting out with C++: From Control Structures through Objects Edition: 6th Edition ISBN: 0321545885 Chapter - 11 (Structured Data) Problem #14 IMPORTANT Note: 1) You MUST use the structure presented in the attached PDF file. 2) Use the functions insert, retrieve, delete, option menu. 3) Copy Constructor.

Writing a C++ Program in Command Line

Please help with the following problem involving programming languages. Write a C++ program that counts the number of non-space characters per line in the specified file. Program should accomplish this via a function that receives a string read from text file and returns the count of the non-space characters in the string to

C++ Linked List that Counts Unique Entries

See the attached file. We have a list of numbers and we need to know two things, what numbers we have and how many of each number do we have in the list. So we read in each number and add the number to an ordered linked list. If we are adding a number to the list and we find that number, then we will just count it. If we do

Chess Game in Dev-C

Program should be done using C language and using Dev-C++ I need main manu as the following MAIN MENU (Thema1) [d] Display Empty Chess Board (Thema2) [v] Check Validity of Chess Notation (we use K, E, Q, R, N, B , P.) THE CELLS ARE a1, a2, a3, a4, a5, a6, a7, a8 b1, b2, b3, b4, b5, b6, b7, b8 c1, c2, c3, c4, c5, c6,

A Guide to Computer Forensics and Investigations

Discussion Questions from the book "A Guide to Computer Forensics and Investigations" 3rd Edition 1. Discuss some of the various backup tools available in the market. What are the differences among the computer forensic tools? 2. Analyze and discuss a case where Company A claims its network was compromised by a connection

Writing a Function that Revises a List

Imagine a circular linked list of integers that are sorted into ascending order as shown in the attached file. The external pointer list points to the last node, which contains the largest integer. Write a function that revises the list so that its data are sorted into descending order as shown in the attached file. Do

C++ Study Examples Inheritance

Looking for the solutions to these C++ sample study problems to assist me in understanding how these problems are solved using C++ for inheritance. See the attached file for full problem.

C++ Study Examples Data Abstraction

Looking for the solutions to these C++ sample study problems to assist me in understanding how these problems are solved using C++ for data abstraction.

C++ Study Examples 1

Looking for the solution to these C++ sample problems to assist in understanding the algorithms and steps used to solve these C++ programming problems.

Bank Queue Simulation using C++

Customers walking into a bank are placed in a queue based on an arrival time distribution. Each customer has: 1. Customer number 2. Arrival time 3. Waiting time 4. Transaction time The transaction time is based on what a customer decides to do, which can be one of the following: 1. Open a Certificate of Deposit (15 mi

Write a C++ program that will convert any base 10 number v to any base b.

Write a C++ program that will convert any base 10 number v to any base b. Input two values, the first is the base 10 number and the second value is the base that the base 10 number v is to be converted to. The base can only be between 2 and 9. Invalid input should be flagged. Example: input 175 3 output 175 in base

Write a program that simulates the dial of a phone number.

Write a program that simulates the dial of a phone number. The program will accept a phone number as input, and it will acknowledge the call by either writing an error message or the 8 digit phone number to the console window. The phone number may have either digits, letters, or both. Here are the letters associated with ea

Hardware and Software

Please help me with the following: Discussion is designed to help you understand the roles of hardware and software components in a modern computer system. For the purposes of this Discussion, assume that you are heading a team of 25 people working on a software development project. Discussion Prompt: * As the team lea

C++ coke machine program

Create a coke machine program in C++ using if statements and loops. Think about how a coke machine works and what the code would look like. We will start by having the users insert their money. Since they can not physically insert the money, we will just ask them how much they wish to insert and we will keep track of how

A C++ CARDIAC simulator with memory

Implement a CARDIAC machine simulator in C++, that will: - Keep track of CARDIAC memory cells in an array of 100 integers (0-99). - Keep track of the bug location; which could be an index into the memory array. Watch out for cells 0 and 99; they are special. - Read the input tape from a file that starts with a number tellin

A C++ CARDIAN simulator using a switch statement

Write a not so bad CARDIAC simulator (in C++) that tells the user how to execute an instruction typed as a 3 digit number by the user. The user should be prompted to type in a 3 digit number, and then the program should print to the screen whatever the CARDIAC Instruction Decoder box would show had that been the instruction.

A simple C++ CARDIAC simulator

Write the worst CARDIAC simulator of all time (in C++) that tells the user how to execute only a single instruction typed as a 3 digit number by the user. The user should be prompted to type in a 3 digit number. Then print to the screen whatever the CARDIAC Instruction Decoder box would show had that been the instruction. Bel

C++ Programming Questions

1. Using the switch statement, write a program that will request an integer from the user in the range 1 - 5. It should then output a message in this form: You entered the number one. {or two, or whatever was entered} If the user entered a number other than 1 - 5, the program should output a message to that effect. Note that

Create a simple airline ticket reservation program in C++.

Create a simple airline ticket reservation program in C++ that keeps track of individual passenger names, and their associated flight numbers, departure dates and times, and originating and destination cities. You may implement your own linked list library; however, it is recommended that you make use of the linked list API in t

MiniVector Project

Directions Points The file must be called week3-4Prog.cpp This program will store in miniVector v a list of 15 random integers from 0 to 99, then it will output the vector, sort the vector, then output it again sorted. Program Definition 1. Create program definition with the following templates and methods: // out

Recursion Implementation

1. Modify this pop() function, so that it uses recursion. int Stack::pop() { if (isEmpty()) { cerr << "Attempting to Pop from an Empty stack!!" << endl; return -1; } else { int temp = nodes[curTop]; curTop--; return temp; } } 2. Rewrite th