Find Jobs
Hire Freelancers

Help in homework

$10-30 USD

Cancelado
Publicado hace más de 5 años

$10-30 USD

Pagado a la entrega
Hello I have homework I do not where is the error in the program #include <iostream> #include <cstring> using namespace std; class book { private: char name[25]; int pages = 1; char auther[25]; char publisher[25]; public: void setname(char n[]) {strncpy(name, n,strlen(n));} int setpage(int n) {pages=n;} void setauther(char n[]) {strncpy(auther, n,strlen(n));} void setpublisher(char n[]) {strncpy(publisher, n,strlen(n));} char* getname() {return name;} int getpage() {return pages;} char* getauther() {return auther;} char* getpublisher() {return publisher;} }; int main() { book books[5]; books[1].setname("colors"); books[2].setname("be rich"); books[3].setname("stay strong"); books[4].setname("lose fat"); books[5].setname("Dance\n"); books[1].setpage(11); books[2].setpage(1); books[3].setpage(5); books[4].setpage(6); books[5].setpage(4); books[1].setauther(" Mohammed "); books[2].setauther(" Ahmed "); books[3].setauther(" Ali "); books[4].setauther(" Tallal "); books[5].setauther(" Faisal "); books[1].setpublisher(" ALNASHER "); books[2].setpublisher(" ALKALAM "); books[3].setpublisher(" SA'AEE "); books[4].setpublisher(" ALNSHRH "); books[5].setpublisher(" TBQ "); for (int i=1;i<=5;i++) { cout <<"Name: " << books[i].getname() << " pages: " << books[i].getpage() << " The Authers: " << books[i].getauther() << " The Publisher: " << books[i].getpublisher() << "\n"; } return 0; }
ID del proyecto: 18303309

Información sobre el proyecto

15 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
15 freelancers están ofertando un promedio de $22 USD por este trabajo
Avatar del usuario
Hi there, I do C++ programming and I would like to do this project if given the opportunity. Let me know if you are interested so I can have the complete details with regards to your code.
$30 USD en 1 día
4,9 (972 comentarios)
7,6
7,6
Avatar del usuario
Hi I will help you as one of C++ expert. Please contact me and let's discuss in detail over chatting. Thank you for your reading. Best regards.
$30 USD en 1 día
5,0 (80 comentarios)
7,1
7,1
Avatar del usuario
Hi Nice to meet you. I'm senior c++/c# expert. I have plenty experience of multithreading, opencv, REST api, and entityframework. I can help you to fix your issue. Just let me know if you are interested in me. Regards. Lian
$25 USD en 1 día
4,9 (109 comentarios)
6,8
6,8
Avatar del usuario
Hello sir/madam. I can resolve issue with your program fast. ] Regards
$25 USD en 1 día
5,0 (182 comentarios)
6,7
6,7
Avatar del usuario
-------------------------------Best result on time && Master in C++ and Algorithm!------------------------------------- Hello, dear! I have read your proposal and I am very interesting in your project. I have good experience in C++ and Algorithm for several years and I am sure I can do your project on time with good result. I am always ready for you. Please feel free anytime. Best regarding.............
$25 USD en 1 día
4,8 (59 comentarios)
6,4
6,4
Avatar del usuario
Hi. There are a couple of errors in your file. I can fix them in a short time. Message me if you are interested for me to do this for you. Do you need anything else besides this?
$15 USD en 1 día
4,9 (74 comentarios)
5,7
5,7
Avatar del usuario
I have found that error. Hello. How are you I read your description carefully. Very Interesting. I will help you via anydesk. I have many experiences in C++. So I can fix your error immediately. I can do it. I can do it. I can do it. I can do it. I can do it.
$30 USD en 1 día
4,5 (11 comentarios)
5,1
5,1
Avatar del usuario
Hello brother, let me help you with your homework. i found the error as well. ita just a small mistake. Let's chat and solve your problem. best regards, faizal
$20 USD en 1 día
5,0 (8 comentarios)
4,6
4,6
Avatar del usuario
Hey I'm a System Engineer with coding skills. I have the required skills and experience. Were you trying to run the C++ code on Windows or Linux? Share more details please.
$30 USD en 1 día
5,0 (19 comentarios)
4,5
4,5
Avatar del usuario
Hello, i am an Msc computer science student and an expert c++ developer. I can help you with this homework and complete it within an hour from the time you award me this task Lets discuss Thanks
$25 USD en 1 día
5,0 (11 comentarios)
3,4
3,4
Avatar del usuario
Hello. I am good with C/C++ Programming. I can help you either to modify your code or write a new code for your homework. Please give more details via chat. Thanks.
$20 USD en 2 días
5,0 (10 comentarios)
2,9
2,9
Avatar del usuario
I can see a problem right away. ....................................................................
$10 USD en 1 día
4,9 (10 comentarios)
3,0
3,0
Avatar del usuario
Hello, I'm C++ developer with 4 years experience, I participate in lots of competition and I solved a lot of same problems, so don't worry about anything. Let's chat to more details
$15 USD en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
I've read your code and I'm ready to help you. I have been wprking with C++ for about 4 years and I'm trying to get my first job on this website.
$10 USD en 1 día
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de SAUDI ARABIA
riyadh, Saudi Arabia
5,0
13
Miembro desde dic 7, 2015

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.