[so] Problema macro DIE in windows
Antonache Emanuel Adrian
antonacheemanuel2007 at gmail.com
Tue Mar 10 19:20:59 EET 2015
int main(int argc, char *argv[])
{
DIE(argc < MIN_ARGS, "USAGE: ./tema1 <no_buckets> <input_files>");
DIE(atoi(argv[1]) == 0, "Wrong hashtable size (must be >= 1)");
...(restul codului)
}
Mentionez ca am inclus <stdlib.h>, <stdio.h> si "utils.h".
În data de 10 martie 2015, 19:19, Cosmin Boaca <cosmin.boaca1994 at gmail.com>
a scris:
>
>
> 2015-03-10 19:16 GMT+02:00 Antonache Emanuel Adrian via so <
> so at cursuri.cs.pub.ro>:
>
>> Buna seara,
>>
>> http://pastebin.com/5zYFq3gh arata seria de erori care imi apar (destul
>> de ciudate, ele disparand odata ce comentez cele 2 linii unde am folosit
>> DIE din main()).
>>
>
> Salut,
>
> Cel mai probabil expandarea macro-ului genereaza un cod care nu e
> functional. Poti pune cele 2 linii care iti cauzeaza eroarea ?
>
> Cosmin
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/pipermail/so/attachments/20150310/99677865/attachment.html>
More information about the so
mailing list