Homework

Homework Questions? Ask a Tutor for Answers ASAP

Ask an Expert,
Get an Answer ASAP!

This answer was rated:

For LogicPro only * Reading data strings from a file *

For LogicPro only* Reading data...
For LogicPro only* Reading data strings from a file
* Convert from int based container to templates or generics based
* Accommodate dynamic resizing using this algorithm:
1. Starting with a dynamic size of 10, if the number of elements exceed this number:
a. Reallocate the container size to double the current size
b. Move the contents of the current container to the newly sized container
c. Delete the previously sized container (language dependent)
2. Repeat from step 1a. as necessary
3. Note the data file is called "words.txt" in the Data_Files folderResize C++
Data* ptemp = new Data[ size*2 ];
for (int i=0; i>>>DynamicArray Class
int* base // c++
int[] base // java
int used = 0
int size = 0
DynamicArray(c) // constructor
size(c)
allocate(size)
void allocate(c)
size = c
base = new T[size]
for (i = 0 to size)
base[i] = 0
void pop()
for (i = 1 to used)
base[i - 1] = base[i]
void push(t)
set(t)
void set(v)
base[used] = v
used++
int get(offset)
return base[used]
int begin()
return base[0]
int end()
return base[used - 1]
int length()
return used
int capacity()
return size
Show More
Show Less
Ask Your Own Homework Question
Answered in 2 hours by:
1/16/2018
LogicPro
LogicPro, Engineer
Category: Homework
Satisfied Customers: 13,458
Experience: Expert in Java C++ C C# VB Javascript Design SQL HTML
Verified

Hi

Ask Your Own Homework Question

Welcome

What is the deadline?

Ask Your Own Homework Question
Customer reply replied 4 months ago
can you make it before today midnight? western time.
Customer reply replied 4 months ago
also using c++ to implement this one please

Can I use Java?

Ask Your Own Homework Question

okay. Will use C++. sending offer for this one to accept

LogicPro
LogicPro, Engineer
Category: Homework
Satisfied Customers: 13,458
Experience: Expert in Java C++ C C# VB Javascript Design SQL HTML
Verified
LogicPro and 87 other Homework Specialists are ready to help you
Ask your own question now
Customer reply replied 4 months ago
Hello, just gonna check the progress on the work please
Check back in 1 hour
Ask Your Own Homework Question
Customer reply replied 4 months ago
kk thanks

welcome

Ask Your Own Homework Question

Which C++ compiler you are using like code blocks or visual studio etc?

Ask Your Own Homework Question

Just posted the answer Link for DynamicResizing.cpp

Let me know once you get it

Please consider adding bonus by using the "Write a review or give a bonus" button on your question pages.

http://ww2.justanswer.com/help/what-if-expert-does-really-fantastic-job-hl

You can ask me again using "For LogicPro only" at the start of your questions like other customers to get instant answers. It will ensure that question is for me.

Please bookmark my profile page:

http://www.justanswer.com/homework/expert-logicpro/

so you can come back and ask me a question anytime.

Thank you for using this site!

Ask Your Own Homework Question
Customer reply replied 4 months ago
visual studio community 2017

Just posted the answer Link for DynamicResizing.zip

Let me know once you get it

Unzip the zip file to a REAL folder.

Look for .sln file in the unzipped folder.

Double click this .sln file to open it in Visual Studio.

Press F5 to run the project.

Please consider adding bonus by using the "Write a review or give a bonus" button on your question pages.

http://ww2.justanswer.com/help/what-if-expert-does-really-fantastic-job-hl

You can ask me again using "For LogicPro only" at the start of your questions like other customers to get instant answers. It will ensure that question is for me.

Please bookmark my profile page:

http://www.justanswer.com/homework/expert-logicpro/

so you can come back and ask me a question anytime.

Thank you for using this site!

Ask Your Own Homework Question

Is Words.txt is at the same location of cpp file?

Ask Your Own Homework Question
Customer reply replied 4 months ago
Oh, haha. I forget to put into it. Thanks. everything looks perfect now

Welcome

Ask Your Own Homework Question
Customer reply replied 4 months ago
Oh, Is there's a way to display the length and size in the window that show's the dynamic array capacity?

Ok

Ask Your Own Homework Question
This answer is protected
Would you like to ask this question?
If you've already paid for this answer, simply Login.
Was this answer helpful?
Ask LogicPro Your Own Question
LogicPro
LogicPro
LogicPro, Engineer
Category: Homework
Satisfied Customers: 13,458
13,458 Satisfied Customers
Experience: Expert in Java C++ C C# VB Javascript Design SQL HTML

LogicPro is online now

A new question is answered every 9 seconds

How JustAnswer works:

  • Ask an ExpertExperts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional AnswerVia email, text message, or notification as you wait on our site. Ask follow up questions if you need to.
  • 100% Satisfaction GuaranteeRate the answer you receive.

JustAnswer in the News:

Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
JustAnswer.com...has seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like justanswer.com/legal
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.

What Customers are Saying:

Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help.

Mary C.Freshfield, Liverpool, UK

This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!!

AlexLos Angeles, CA

Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult.

GPHesperia, CA

I couldn't be more satisfied! This is the site I will always come to when I need a second opinion.

JustinKernersville, NC

Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around.

EstherWoodstock, NY

Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know.

RobinElkton, Maryland

He answered my question promptly and gave me accurate, detailed information. If all of your experts are half as good, you have a great thing going here.

DianeDallas, TX

< Previous | Next >

Meet the Experts:

LogicPro

LogicPro

Engineer

13,458 satisfied customers

Expert in Java C++ C C# VB Javascript Design SQL HTML

Manal Elkhoshkhany

Manal Elkhoshkhany

Tutor

4,551 satisfied customers

More than 5000 online tutoring sessions.

Linda_us

Linda_us

Finance, Accounts & Homework Tutor

3,138 satisfied customers

Post Graduate Diploma in Management (MBA)

Chris M.

Chris M.

M.S.W. Social Work

2,636 satisfied customers

Master's Degree, strong math and writing skills, experience in one-on-one tutoring (college English)

F. Naz

F. Naz

Chartered Accountant

2,161 satisfied customers

Experience with chartered accountancy

Bizhelp

Bizhelp

CPA

1,887 satisfied customers

Bachelors Degree and CPA with Accounting work experience

Seanna

Seanna

Tutor

1,781 satisfied customers

3,000+ satisfied customers, all topics, A+ work

< Previous | Next >

Related Homework Questions
Children may be exposed to toxic chemicals from paints, carpet
Children may be exposed to toxic chemicals from paints, carpet and cleaning supplies used in classroom environments. Question 1 options: A) True B) False Save Question 2 (1 point) Question 2 Unsaved L… read more
FiveStarLaw
FiveStarLaw
Attorney
Doctoral Degree
477 satisfied customers
Part 1 of 1 - Question 1 of 20 5.0 Points The symbols that
Part 1 of 1 - Question 1 of 20 5.0 Points The symbols that stand for amounts are called: A. digits. B. numbers. C. numerals. D. numerics. Reset Selection Mark for Review What's This? Question 2 of 20 … read more
Chris M.
Chris M.
M.S.W. Social Work
Master's Degree
2,636 satisfied customers
trace a water molecule as it moves through the urinary system
trace a water molecule as it moves through the urinary system and is excreted from the body. starting point:the water molecule enters a kidney in the blood plasma traveling through the renal artery. e… read more
Dr. Chip
Dr. Chip
M.D.
13,058 satisfied customers
I just need some help with my math homework. Maximum,
Hi there, I just need some help with my math homework … read more
GLENN GILONGOS
GLENN GILONGOS
Master of Mathematics
411 satisfied customers
Looking for psycology homework help. Somethibg along these
Looking for psycology homework help. Somethibg along these lines.These videos are specifically targeted to teens and young adults. The focus of this question is identity formation and emotional develo… read more
GLENN GILONGOS
GLENN GILONGOS
Master of Mathematics
411 satisfied customers
Need help with some data communication/networking homework
Need help with some data communication/networking homework questions. The priority is question 1 and 2e. Thanks… read more
F. Naz
F. Naz
Chartered Accountant
CA Finalist & Completed B.com
2,161 satisfied customers
My son is sick and I have homework to get done and no time
My son is sick and I have homework to get done and no time to finish … read more
judybailey61
judybailey61
Bachelors degree
196 satisfied customers
For this homework, you are to make a Form that will hold
For this homework, you are to make a Form that will hold input fields for allowing a user to set the begin and end dates of a potential tour. This form will submit the information to a Servlet, which … read more
LogicPro
LogicPro
Engineer
13,458 satisfied customers
I'm working on a program for a homework assignment and I
I'm working on a program for a homework assignment and I can't figure out why it's not working. I've tried finding help online but am not having any success. … read more
LogicPro
LogicPro
Engineer
13,458 satisfied customers
I have some production and operations homework.. can you
Hi! I have some production and operations homework.. can you help me? … read more
GLENN GILONGOS
GLENN GILONGOS
Master of Mathematics
411 satisfied customers
PYTON homework. Write a function that counts the number of
Write a function that counts the number of alphabetic characters (a through z, or A through Z) in your text and then keeps track of how many are the letter ‘a'. Your function should print an analysis of the text like this: Your text contains 232 alphabetic characters, of which 24.8% are 'a'.2. [10 points] Write a function that implements a substitution cipher. In a substitution cipher one letter is substituted for another to garble the message. For example A -> Q, B -> T, C -> G etc. your function should take two parameters, the message you want to encrypt, and a string that represents the mapping of the 26 letters in the alphabet. Your function should return a string that is the encrypted version of the message.For example, if your text is 'abc Franklin Student', and your mapping is 'abcdefghijklmnopqrstuvwxyz' to 'bcdefghijklmnopqrstuvwxyza' which means a is going to be replaced by b, b is going to be replaced by c and so on. Same rules apply for upper case letters. A is going to be replaced with B, and so on.Your program should print the encrypted version of 'abc Franklin Student', which is: bcd Gsbolmjo Tuvefou … read more
Ingo U
Ingo U
Master\u0027s Degree
358 satisfied customers
NOTE: This question is a homework given by the same
NOTE: This question is a homework given by the same professor. It does not violate any honor code because same question is repeatedly asked different students. DO NOT FLAGCase Study #1: Technology & P… read more
F. Naz
F. Naz
Chartered Accountant
CA Finalist & Completed B.com
2,161 satisfied customers
Create a probability distribution using the data which shows
Create a probability distribution using the data which shows how many cartons of the wine cooler were bought per customer in a month. Calculate the mean and the standard deviation of your probability … read more
GLENN GILONGOS
GLENN GILONGOS
Master of Mathematics
411 satisfied customers
Sons are encouraged to engage in _____ behavior, whereas daughters
Sons are encouraged to engage in _____ behavior, whereas daughters are encouraged to engage in _____ behavior. … read more
Cher
Cher
JustAnswer Expert & Mentor;Teacher/Tutor
Masters Degree
1,382 satisfied customers
Pittman company is a small but growing manufacturer of
Pittman company is a small but growing manufacturer of telecommunications equipment. The company has no sales force of its own; rather, it relies completely on independent sales agents to markets its … read more
F. Naz
F. Naz
Chartered Accountant
CA Finalist & Completed B.com
2,161 satisfied customers
Penn Foster Bookkeeping
M. Castillo… read more
Kara T
Kara T
Expert Homework Tutor
Bachelor's Degree
288 satisfied customers
The scientific method includes all of the following EXCEPT:
The scientific method includes all of the following EXCEPT: (Points: 5) observation. hypothesis making. testing. the application of knowledge gained. 2. 2. A control group differs from an experimental… read more
R.R. Jha
R.R. Jha
Bachelor\u0027s Degree
150 satisfied customers
For BusinessTutor Only Hello, Im
"For BusinessTutor Only" Hello, I'm requesting your assistance once again. Exercise: Rizio co. purchases a machine for $12,500, terms 2/10, n/60, FOB shipping point. the seller prepaid the $360 freigh… read more
Manal Elkhoshkhany
Manal Elkhoshkhany
Tutor
4,551 satisfied customers
Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Show MoreShow Less

Ask Your Question

x