Find Jobs
Hire Freelancers

C++ maze with linkedlist

$20-50 USD

Concluído
Publicado há quase 10 anos

$20-50 USD

Pago na entrega
A C++ program that accepts one command line argument. This argument will be the name of a file containing a maze. The maze file is a text file made up of spaces and #'s plus one `s' and one `f', representing the start and finish of the maze. For the maze to be well formed it must: 1. The start and end must be surrounded by an unbroken perimeter of #'s 2. After the final # in each line of the maze the next character is a newline. 3. There are no spaces within the maze that cannot be reached by moving down one of the maze paths. Information about the Maze: 1. The maze can be any width and length. Does not have to be rectangular 2. When moving in the maze you may only move up and down and right and left. You may not move diagonally. The program Must do the following 1. Load the maze. 2. Calculate some metrics about the maze. (explained below) 3. Print the maze along with the metrics. 4. Free up all memory space allocated to the maze. Validation: Need to check the following problems l. Multiple `s' or `f' in the maze. 2. `s' or `f' declared outside of the maze. 3. `s' or `f' not declared at all. 4. Invalid characters other than spaces, #, s, f or \n. Program to use linked list and not arrays Maze Metrics for calculation(2 metrics): 1. The total number of branches in the maze. 2. The total number of dead-ends in the maze. For Example: A branch point occurs when a path in the maze can go in 3 or 4 directions. If it can go in 3 directions we have 1 branch and if it can go in 4 directions we have 2 branches. The only exception is at the start point of the maze. The number of different directions we can take from the start point, minus one, is the number of branches. Therefore, we can have anywhere from 0 to 3 branches emanating from the start. A dead-end occurs when we have a point in the maze that has only one access path. The only exception to this is if the finish or start is at a dead end. These are not included in the count. I have attached the complete specification ## Deliverables 1) Just require the source code of the program (not in executable format) 2) well styled, formatted and commented code. 3) developed in C++ ## Platform Windows or Unix Based
ID do Projeto: 5885018

Sobre o projeto

4 propostas
Projeto remoto
Ativo há 10 anos

Quer ganhar algum dinheiro?

Benefícios de ofertar no Freelancer

Defina seu orçamento e seu prazo
Seja pago pelo seu trabalho
Descreva sua proposta
É grátis para se inscrever e fazer ofertas em trabalhos
Concedido a:
Avatar do Usuário
I am professional C/C++/C#/Java programmer and web developer. I can do this project with highest satisfaction! Best Regards, Szymszteinsl
$100 USD em 1 dia
5,0 (15 avaliações)
4,6
4,6
4 freelancers estão ofertando em média $63 USD for esse trabalho
Avatar do Usuário
Hello I am familiar with C++. My project for basic programming in C was maze. but i think i lost the code. AS I NEED A GOOD REVIEW NOT MONEY, we can discuss on the price. Please send a private message to me and tell me more about your project.
$40 USD em 5 dias
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
Hi, I am Mudassar Malik, i am software engineer I can do this for you with in 1-2 days maximum, I have strong concepts of C++ and linked list. Please assign this project to me, i am waiting for your reply Thank You!
$50 USD em 1 dia
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
A proposal has not yet been provided
$60 USD em 1 dia
0,0 (0 avaliações)
0,0
0,0

Sobre o cliente

Bandeira do(a) AUSTRALIA
Sydney, Australia
5,0
1
Membro desde mai. 1, 2014

Verificação do Cliente

Obrigado! Te enviamos um link por e-mail para que você possa reivindicar seu crédito gratuito.
Algo deu errado ao enviar seu e-mail. Por favor, tente novamente.
Usuários Registrados Total de Trabalhos Publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Carregando pré-visualização
Permissão concedida para Geolocalização.
Sua sessão expirou e você foi desconectado. Por favor, faça login novamente.