Find Jobs
Hire Freelancers

I need a C programmer work on Putty platform

$30-250 USD

Terminado
Publicado hace más de 5 años

$30-250 USD

Pagado a la entrega
Your program should contain the following files: 1. asg2.c. (contains main(), textInit(), textPrint() functions) 2. counts.c (contains the counts()function which will find the number of words and the number of characters) 3. convertCase.c (contains convertCase()function, like you did in lab 6) 4. wordSearch.c (contains searchForWord()function, which has something tricky about it) 5. makefile (Your makefile should name your executable asg2) 6. defs.h (I will provide this file to you.) 7. [login to view URL] (I will provide this file to you.) To copy the two files that I am providing plus a sample [login to view URL] file, navigate to your working directory and type the following: cp /home/chochri/111/1808/PA2/* . Since we will not get through file pointers early enough, you can do the entire program without any file pointers; and to run the program, you should use redirection by typing the following: asg2 < [login to view URL] You will see from the defs.h file provided to you, the following prototypes: int textInit(char allLines[MAX_LINE][MAX_LINE_LEN]); void textPrint(char allLines[MAX_LINE][MAX_LINE_LEN], int numLines); void counts(char allLines[MAX_LINE][MAX_LINE_LEN], int numLines); void convertCase(char allLines[MAX_LINE][MAX_LINE_LEN]); void searchForWord(char allLines[MAX_LINE][MAX_LINE_LEN], int numLines); The first function, textInit() returns an int. This is the function that fills up the array with the text from the file, line by line. Since that function fills up the array line by line, by the end of the loop, the number of lines is known. Return that number, print it out, and use it for some of the other function calls that need that number. textPrint() will print the text back out to the user, when called. Both of these 2 functions should be in the asg2.c file along with main(). ----------------------------------------------- The counts() function should be in the counts.c file. This function, which is passed the array containing the text, will iterate through the array counting the number of words and the number of characters. Those values should be printed out to the user. ----------------------------------------------- The convertCase() function should be in the convertCase.c file. This function, which is passed the array containing the text, will iterate through the array changing the case of each alphabetic character. The textPrint() function should be called after the case is converted so you can see that it worked. You can then call the convertCase() function again to put it back to its original state, if you want. ----------------------------------------------- The searchForWord() function should be in the wordSearch.c file. In this function, the user will be asked to enter a word. Then the array will be iterated through searching for that word and printing out how many times that word appears in the text. Your function should be case insensitive. There is something very tricky when you get to this function, so expect to spend some time trying to figure out how to get your scanf() to work. Sample Output See the [login to view URL] file that was copied over when you copied the other files over
ID del proyecto: 18188248

Información sobre el proyecto

3 propuestas
Proyecto remoto
Activo hace 5 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
HI...I am quite experienced and versatile in C programming for writing console programs using required data structures and algorithms along with string manipulation using arrays and can help you complete the work as per given requirements.
$77 USD en 2 días
4,9 (140 comentarios)
6,1
6,1
3 freelancers están ofertando un promedio de $144 USD por este trabajo
Avatar del usuario
How are you? Like you see in my profile and portfolios, I have rich experience in C/C++, C#, and Python programming. I would like to discuss with you and get more detail requirements. Please give me your details, then I will provide best solution for you. Thanks
$200 USD en 3 días
4,9 (62 comentarios)
7,1
7,1
Avatar del usuario
Hello, I'm Jon, I can provide you perfect work as you looking for . we can discuss more in chat . I will be waiting for your response . I have very great experience about your project , if you want discuss more please send me a text Thank you
$155 USD en 3 días
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de UNITED STATES
Greenville, United States
5,0
1
Forma de pago verificada
Miembro desde nov 19, 2018

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos 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)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.