Find Jobs
Hire Freelancers

compile problem with linear list sample

$10-30 USD

I përfunduar
Postuar over 9 years ago

$10-30 USD

Paguhet në dorëzim
for learning c i have copied a simple program about linear lists. but i am getting in both dev c++ and codeblocks compile error at line malloc(sizeof(struct angestellt))) == NULL) { fprintf(stderr, "no memory available" "fuer anfang\n"); i am wondering a lot about this, because i have the sample from educational book? file is attached
ID e Projektit: 6576617

Rreth projektit

3 propozime
Projekt në distancë
Aktive 10 yrs ago

Po kërkoni të fitoni para?

Përfitimet e ofertës për Freelancer

Vendosni buxhetin dhe afatin tuaj
Paguhuni për punën tuaj
Përshkruani propozimin tuaj
Është falas të regjistrohesh dhe të bësh oferta për punë
I dhënë për:
Avatari i Përdoruesit
It seems like that they have forgotten to make a cast. ( anfang = (struct angestellt *) malloc(sizeof(struct angestellt)) ) == NULL etc. Maybe their compiler had made a cast automatically, but mine (nor G++ or GCC either) does not automatically cast malloc result from void * to desired pointer.
$10 USD në 0 ditë
5,0 (1 review)
1,1
1,1
3 profesionistët e pavarur ofrojnë mesatarisht $15 USD oferta për këtë punë
Avatari i Përdoruesit
Hi, I am a professional programmer and I can fix this your code i less than 30 mins. Ready to start now. Please show me your error description. Thanks
$20 USD në 9 ditë
5,0 (5 përshtypje)
3,3
3,3
Avatari i Përdoruesit
HI, i know the issue you are facing. I can help you understand whats the issue and how to resolve it. Please ping me so that i can help you on this.
$15 USD në 1 ditë
0,0 (0 përshtypje)
0,0
0,0

Rreth klientit

Flamuri i AUSTRIA
Steyr Gleink, Austria
5,0
219
Mënyra e pagesës u verifikua
Anëtar që nga korr 3, 2013

Verifikimi i klientit

Faleminderit! Ne ju kemi dërguar me email një lidhje për të kërkuar kredinë tuaj falas.
Ndodhi një gabim gjatë dërgimit të email-it tuaj. Ju lutemi provoni përsëri.
Përdorues të regjistruar Punë të postuara
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Po ngarkohet shikimi paraprak
Leja u dha për Geolocation.
Seanca e hyrjes ka skaduar dhe ke dalë. Hyr sërish.