Find Jobs
Hire Freelancers

C ++ Project

$10-30 USD

Completed
Posted almost 9 years ago

$10-30 USD

Paid on delivery
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
Project ID: 7568559

About the project

35 proposals
Remote project
Active 9 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
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 instructed. 1) It will be a C++ (cpp) file that can be compiled with any common C++ compiler. 2) Code will be structured, commented and easy to read. 3) Code will be robust and all rules will be followed. Looking forward to work with you. Thanks, Adi.
$20 USD in 1 day
4.9 (72 reviews)
5.4
5.4
35 freelancers are bidding on average $19 USD for this job
User Avatar
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 be sure of this. https://www.freelancer.com/u/zabolotniipavel.html If you want to get a quality result done on time - hire me. It will be the best solution for you work. I can start the work right now. Don't lose your money and time. contact me please for more information. Best regards, Pavel.
$20 USD in 0 day
4.9 (44 reviews)
5.1
5.1
User Avatar
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 in 0 day
5.0 (22 reviews)
4.9
4.9
User Avatar
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. Let me do it for you. Thank you verry much.
$15 USD in 0 day
5.0 (16 reviews)
5.0
5.0
User Avatar
[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 in 1 day
4.7 (15 reviews)
3.9
3.9
User Avatar
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 my customers. I am willing to help you do your business with high quality and on time. I understand your requirements and very interested in your project. Please feel free contact me. We can discuss further on your project. Thank you and have a good day Cheers
$25 USD in 2 days
5.0 (10 reviews)
3.2
3.2
User Avatar
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 contact me for details and time required, I will finish the job within time required. Thank you!
$15 USD in 0 day
5.0 (21 reviews)
3.4
3.4
User Avatar
A proposal has not yet been provided
$25 USD in 1 day
5.0 (1 review)
2.4
2.4
User Avatar
I can help you ...............................................................................................................................................
$15 USD in 1 day
5.0 (6 reviews)
2.6
2.6
User Avatar
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 successfully helped many people solving their problems. I have read your assignment, and believe that's something I can complete within 4 hours or less. Please kindly award this job to me, or feel free to ask if anything you may want to know. Looking forward to working with you. Best Regards, Steven
$25 USD in 2 days
5.0 (1 review)
1.2
1.2
User Avatar
A proposal has not yet been provided
$15 USD in 2 days
5.0 (1 review)
0.4
0.4
User Avatar
Hi, I can finish this in no time. Please contact me and I shall start as soon as possible. Thanks. Jason
$30 USD in 1 day
0.0 (0 reviews)
0.9
0.9
User Avatar
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 in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Предложение еще не подано
$25 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
when i start?:)
$15 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi there, I can solve this within two hours. I am waiting for your response to complete this project.
$25 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
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 in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
A proposal has not yet been provided
$25 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
A proposal has not yet been provided
$25 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi, I would like to work on this as my first project.
$15 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
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 explanation is also included in price. best regards
$10 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
New York, United States
5.0
1
Member since Apr 28, 2015

Client Verification

Other jobs from this client

Write some Software
$10-30 USD
Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.