C ++ Project

Completado Publicado Apr 28, 2015 Pagado a la entrega
Completado Pagado a la entrega

Description:

Your program receives from user two strings of symbols: first long one and then short one. Then your program returns all positions in long string where short string occurs as a substring.

For example: long string is "aabcccbabc" and short one is "abc". Short string can be seen twice in the long string "aabcccbabc" in positions 1 and 7 (enumeration of positions in string starts as always from 0). Position of the substring is the position of its first symbol in the whole string.

Requirements:

1) Your program invites user to enter long string. 2) Program gets the long string from user.

3) Your program invites user to enter short string. 4) Program gets the short string from user.

5) If the length of the short string is larger than the length of the long string then repeat steps 1-5. In other words, force user to reenter both strings again and again untill long string is finaly longer or as long as the short string.

This step will require you to compute the lengths of both string. Your should do it yourself. You are NOT allowed to use build-in tools for finding string length (like strlen() )

6) Output the line "The occurances were found in the following positions: " and then from the new string you list all the positions separated by space. If nothing was found then instead of list of positions message "Required substring was not found".

7) If at least one occurance of short string was found in the long string output the total number of occurances in the following format on the separate line

"Total number of occurances is #number_of_occurances" Additionally:

Your programming stile also will be evaluated. In case the program is written hard-to-read way it will affect your grade. Pay attention to the following things:

- Parts of the program are separated by empty lines.

- For each loop it is easy to see the beginning and the end of it. - Variable names are somewhat meaningful.

- Comments are included.

Executed in .cpp file

Programación en C++

Nº del proyecto: #7568559

Sobre el proyecto

35 propuestas Proyecto remoto Activo Apr 29, 2015

Adjudicado a:

FirstLaneTech

Hello, I specialize in C++ programming and have excellent reviews here. I help students with C++ and other programming assignments. I read your requirements, and I can write the C++ program (assignment) as instru Más

$20 USD en 1 día
(72 comentarios)
5.4

35 freelancers están ofertando un promedio de $19 por este trabajo

zabolotniipavel

Hello, My name is Pavel and I have Licentiate Degree in Computer Science.I have a great experience in c/c++/c# and java. All of the my employees are satisfied with the quality and speed of my work. See my profile to b Más

$20 USD en 0 días
(44 comentarios)
5.1
HannanDeveloper

I have more than 4+ years of experience in C/C++ programming, all the functionality in the description can be provided on time with efficiency and can be done within 1-2 hourss, Thanks

$15 USD en 0 días
(22 comentarios)
4.9
NSolutionDev

Hello, i really interest on this project. Let me do it for you. Thank you verry much. Hello, i really interest on this project. Let me do it for you. Thank you verry much. Hello, i really interest on this project. Le Más

$15 USD en 0 días
(16 comentarios)
5.0
kpol4k

[PRICE TO NEGOTIATION] Hi, I'm experienced C/C++ developer working currently in Nokia.I done many students projects so far. Always well written BR, Konrad

$25 USD en 1 día
(15 comentarios)
3.9
manhpham

Hello, Nice to meet you. I am Manh from vietnam. I have 8 years experience in Software development. I have been working on this site for more than 3 years with many successful projects. You can refer feedbacks from Más

$25 USD en 2 días
(10 comentarios)
3.2
hoangduong97

Hello, I am experienced and specialized in C and C++ programing. I have taken part in many competitions, including national competition, in which I won 2nd prize. I always work with responsibility and quality. Please c Más

$15 USD en 0 días
(21 comentarios)
3.4
rainbow

A proposal has not yet been provided

$25 USD en 1 día
(1 comentario)
2.4
Asad257

I can help you ...............................................................................................................................................

$15 USD en 1 día
(6 comentarios)
2.6
SmartSOHO

Greetings, I'm a freelancer who have 10+ years C/C++ programming experience. I do know how to help people solving their problems with my programming skills. I began working as a freelancer this month, and have succe Más

$25 USD en 2 días
(1 comentario)
1.2
Jozsef94

A proposal has not yet been provided

$15 USD en 2 días
(1 comentario)
0.4
cnkei

Hi, I can finish this in no time. Please contact me and I shall start as soon as possible. Thanks. Jason

$30 USD en 1 día
(0 comentarios)
0.9
akkhan20

Worked on many c,c++ & c# projects. This project is a beginner level project for string manipulation and wont take long to develop.

$25 USD en 1 día
(0 comentarios)
0.0
luckeri

Предложение еще не подано

$25 USD en 1 día
(0 comentarios)
0.0
vw8168455vw

when i start?:)

$15 USD en 1 día
(0 comentarios)
0.0
rmhminhas83

Hi there, I can solve this within two hours. I am waiting for your response to complete this project.

$25 USD en 1 día
(0 comentarios)
0.0
somemandal

I will get you the program within 12hours. Please feel free to contact. I am a computer engineer and working with c for more than 5years

$12 USD en 1 día
(0 comentarios)
0.0
robjin

A proposal has not yet been provided

$25 USD en 1 día
(0 comentarios)
0.0
ghostrider90

A proposal has not yet been provided

$25 USD en 1 día
(0 comentarios)
0.0
TobiasM

Hi, I would like to work on this as my first project.

$15 USD en 1 día
(0 comentarios)
0.0
lukzam

Hello! I am new to freelancer.com but a professional software developer (8 years of experience). It is quite easy application so I will do it quick and right. Important is that you have to understand the code so exp Más

$10 USD en 1 día
(0 comentarios)
0.0