Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a text file in notepad and save it somewhere that you will be able to find later. In the textfile, put the following numbers,

Create a text file in notepad and save it somewhere that you will be able to find later. In the textfile, put the following numbers,one on each line

98 100 58 70 75 80 85 90 60 65

Type in the following program and compile it. Add comments to the top, including your names and the date.

Important: Change the file path in your program to match your text file. Remember that you have to put double backslashes ( \"\\\\\" ) in your file path.

#include

#include

#include // includes ifstream and ofstream

using namespace std;

int main()

{

int total = 0;

int temp = 0;

// declare a handle

ifstream infile; // open only

//Open the file

infile.open(f:\\\\Towson Fall 2019\\\\testFile1.txt); //CHANGE THIS!

//outFile is associated with stuff

//prime read

infile >> temp;

while (infile)

{

total = total + temp;

infile >> temp;

}

cout the>

return 0;

}

  1. Why did you have to put double slashes in your file path?
  2. What kind of runtime error would you get if/when you mess up the file path?
  3. Submit your code and a screenshot of the run on the next page.
  • Remember: Submit code, not a picture of code
  • Remember: Submit only the window where the run occurs, not the whole screen.

Q24;

Digital Forensics Lab Design Document a lab configuration and a recommended set of tools.

1. To provide evidence of completion of the task, document the step by step (within reason) process followed to complete the task in a report including a set of screenshots.

I have autopsy, ftk imager lite, prodiscover just need a direction of how

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Design Operation And Evaluation Of Mobile Communications

Authors: Gavriel Salvendy ,June Wei

1st Edition

3030770249, 978-3030770242

More Books

Students also viewed these Programming questions

Question

At what points are the function. y = x tan x 2 x + 1

Answered: 1 week ago