Слово
«sizeof»впервые сказано пользователем
гость 10.09.2005 в 17:32,
и с тех пор употреблялось
74 раза.
Сообщения со словом
«sizeof»
Запрос выполнился за
0.0030 сек.
- 27.03.2013, 20:12. Silver MC's в теме
«Программирование. Помогите с программой.»
... не обязательно лежит 0 if pl struct line malloc n sizeof struct line null return null for i 0 i n i do printf vvedite kol-vo elementov stroki dn i 1 scanf d pl i n while pl i n 0 в этом цикле аналогично элементы массива надо проинициализировать if pl i a int malloc pl i n sizeof int null return null for j 0 j pl i n j printf vvedite d element d ctrokin j 1 i 1 scanf d pl i a j return pl vvivod matr po strokam void print mat struct line pl int n int i j for i 0 i n i for j 0 j pl i n j printf d c pl i a j j 1 pl i n n obrabotka int mat netnol struct line pl int n назначение этой функции я так и не понял по заданию ведь надо чтобы элемент i вектора содержал количество различных элементов в строке i исходного массива int i m if m int malloc n sizeof int null return null for i 0 i n i m i pl i...
- 27.03.2013, 19:28. TheEnt в теме
«Программирование. Помогите с программой.»
... netnol struct line pl int n int i m if m int malloc n sizeof int null return null for i 0 i n i m i pl i...
- 20.03.2013, 19:45. Thommees в теме
«Программирование. Помогите с программой.»
... strokn scanf d n while n 0 if pl struct line malloc n sizeof struct line null return null for i 0 i n i do printf vvedite kol-vo elementov stroki dn i 1 scanf d pl i n while pl i n 0 if pl i a int malloc pl i n sizeof int null return null for j 0 j pl i n j printf vvedite d element d ctrokin j 1 i 1 scanf d pl i a j return pl vvivod matr po strokam void print mat struct line pl int n int i j for i 0 i n i for j 0 j pl i n j printf d c pl i a j j 1 pl i n n obrabotka int mat netnol struct line pl int n int i m if m int malloc n sizeof int null return null for i 0 i n i m i pl i...
- 20.07.2012, 16:53. mdnt в теме
«The C Programming Language.»
... push stack stp const int value stack new new malloc sizeof stack new- data value new- nextitem stp stp...
- 09.07.2012, 23:11. jiffy в теме
«The C Programming Language.»
0xfffffff 1 sizeof long 0x40000000 1gb
- 14.11.2011, 08:02. jiffy в теме
«The C Programming Language.»
... int chip idx int card idx skipped dev alloc etherdev sizeof vp retval -enomem if dev pr err pfx unable to allocate etherdev aborting n goto out skipped makes sure rings are at least 16 byte aligned vp- rx ring pci alloc consistent pdev sizeof struct boom rx desc rx ring size sizeof struct boom tx desc tx ring size vp- rx ring dma retval -enomem if vp- rx ring goto free region skipped if is valid ether addr dev- dev addr retval -einval pr err eeprom mac address is invalid n goto free ring with every pack skipped free ring pci free consistent pdev sizeof struct boom rx desc rx ring size sizeof struct boom tx desc tx ring size vp- rx ring...
- 13.11.2011, 00:30. Itheme в теме
«The C Programming Language.»
... буква может занимать хоть 4 байта и больше делить на sizeof char для вычисления длинны строки не фен шуй...
- 13.11.2011, 00:13. Nick_ в теме
«The C Programming Language.»
... под 8-битные микроконтроллеры частенько полагают что sizeof int 8 а скажем микрософтовский c считает что поскольку буква в юникоде занимает 2 байта sizeof char 2 используя классический си на классических...
- 11.11.2011, 20:25. jiffy в теме
«The C Programming Language.»
... лишь линейный порядок и гарантируется следующее 1 sizeof char sizeof short sizeof int sizeof long sizeof long long
- 05.10.2011, 21:18. RPG в теме
«Встреча LUG-а в сентябре 2011 (для первокурсников)»
... i j k 0 if vert 0 return null else buf tree malloc sizeof tree btree size vert for leften 0 leften vert leften righten vert leften 1 left binarytrees leften right binarytrees righten for i 0 i btree size leften i for j 0 j btree size righten j buf k tree malloc sizeof tree buf k left left left i null buf k right right right j null k return buf int oper c opc int evaltree tree t int a b if t null return ticket c else a evaltree t- left b evaltree t- right return operation oper size-1 opc a b char evaltreeprint tree t char a b buf if t null buf char malloc sizeof char 1 sprintf buf d ticket c c else a evaltreeprint t- left b evaltreeprint t- right buf char malloc sizeof char strlen a strlen b 4 sprintf buf s c s a operations str oper powi ops opc ops b free a free b return buf int main tree trees binarytrees size 1 int max powi ops size 1 int ticket num n i j eval char buf operation int int int malloc sizeof int int int max size-1 for i 0 i max i for j...