View Full Version : c answers


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 [107] 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145

  1. implement set of numbers in ansi c
  2. a self-checking program in standard C
  3. safety and C
  4. CX-Post: hello world
  5. Global Static Variables
  6. reading files from a directory
  7. info su funzione
  8. info su funzione
  9. max{f | f is a float and -f is a float and doesn't cause overflow}== ?
  10. Converting byte data to hexadecimal ascii
  11. Variable substitution
  12. Is it standard and practical to use long long types?
  13. Constant Data in function copied to stack
  14. casting from int to void* and back to int
  15. reading file backwards and parsing
  16. problem sending code via rs232
  17. Does pc-lint catch this type of problem?
  18. linking asm and c procedures
  19. encoding / decoding questions
  20. Parser
  21. ##-concatenation
  22. Diffrence between ++i and i++
  23. Dynamically growing an array (pointer question)
  24. FAT32 Disc Access
  25. Access to process memory from external programm
  26. current address
  27. strtok problem
  28. Should this work?
  29. Question on binary tree
  30. How can I use strtok for tokenize integers
  31. binary data conversion
  32. fprintf() C variables into FORTRAN input file format ???
  33. question about inet_ntoa(3)
  34. trying to read a file
  35. Specifying data types inside functions
  36. Malloc, Structure Help
  37. Work around of using 1D-LUT instead of 2D-LUT
  38. warning: multi-character character constant...help me!
  39. where standard library functions?
  40. Restricted pointer parameters in printf()
  41. Avoiding redundant functions
  42. simple problem
  43. structure containing incomplete array type
  44. fixed-point
  45. linking executables
  46. File name macro
  47. C with database
  48. Time
  49. size_t range
  50. how to determine a file is ASCII or binary?
  51. link c code with c++ code using g++
  52. how to allow only one instance?
  53. about c
  54. about ## in ANSI C
  55. rvalue
  56. netlib - Mar '04
  57. nesting coments
  58. standard reference manual
  59. macros question #2
  60. Special ascii values
  61. strncpy() and null terminated strings
  62. Conflicting Libraries
  63. multiline macro with embedded #
  64. 52 Pick Up and the 100- to-1 Rule
  65. using Dev-C++ to compile ONLY C code ?
  66. integer overflow
  67. Using C for string search etc
  68. Fast Division/Modulo Operation
  69. Defined bahavior or otherwise?
  70. i don't want the dos wondow be closed
  71. sscanf
  72. atof() failure case
  73. Why not FILE instead of FILE*?
  74. how to remove a character from a string
  75. use delete to destroy primitive/object types but memory is not freed
  76. Test a bit
  77. Pointer Indirection Syntax
  78. FILE objects
  79. Text location
  80. rule for promotion
  81. Time to standardize the XML library for C/C++
  82. utility to intentionally mangle function names?
  83. BooK "Obfsucated C and other mysteries"
  84. copy a string into a 2d array of chars
  85. const structure & member pointers
  86. Outputting text to a file
  87. Global pointer pointing to locally defined type
  88. Pipes
  89. struct my_struct *p = (struct my_struct *)malloc(sizeof(struct my_struct));
  90. opaque style question
  91. OOP using C
  92. pointer-in-array test
  93. help signed and unsigned in 64bits
  94. C library for handling ftml template
  95. converting char array to integer
  96. FAQ is so long!
  97. FAQ is so long!
  98. Critical Sections
  99. storing variable arguments for future use
  100. va_list usage
  101. pointer equality
  102. alternative to rand()
  103. macro for sizeof
  104. main function address
  105. prob w/the C prog. lang. book(ANSI C)
  106. char*& and char* ???
  107. trace of memory access
  108. Permutations of a String
  109. ftruncate() on MVS datasets.
  110. Incrementing a void pointer's member
  111. K&R
  112. odd/even bitwise and
  113. Return with no expression
  114. RoSsIaCrIiLoIA is a troll
  115. Writing a structure
  116. Question about a pointer to an array of structs
  117. Tracking the "memory growth" of a process
  118. sigaction : using "void (*sa_sigaction)(int, siginfo_t *, void *);"
  119. OT
  120. How can we use functions setwindow,scrollwindowup and scrollwindown
  121. system question
  122. Hash table: some lines of code involving pointers
  123. Strange global variable behavior
  124. writing 6 items in one line.
  125. implement set of numbers in ansi c
  126. Child process does not exit after receiving SIGTERM
  127. justification check
  128. a self-checking program in standard C
  129. safety and C
  130. CX-Post: hello world
  131. Review of my answer
  132. Global Static Variables
  133. Initialize char **
  134. Multidimensional array problems
  135. calloc problem
  136. what's the difference between the next 2 declarations?
  137. VCL TMemo find
  138. reading files from a directory
  139. info su funzione
  140. info su funzione
  141. structs with fields that are structs
  142. max{f | f is a float and -f is a float and doesn't cause overflow}== ?
  143. pointers to function problem
  144. Converting byte data to hexadecimal ascii
  145. Function definition nesting
  146. macros question
  147. How can I write my question in the message itself and not its title?
  148. how to write a macro that calculate sizeof data types
  149. how can i write C code that generate random number without using built in code
  150. what is call by name & how it is done
  151. Variable substitution
  152. Is it standard and practical to use long long types?
  153. Constant Data in function copied to stack
  154. casting from int to void* and back to int
  155. reading file backwards and parsing
  156. malloc + 4??
  157. problem sending code via rs232
  158. Does pc-lint catch this type of problem?
  159. linking asm and c procedures
  160. how to create a dropdownlist in C using C graphics
  161. encoding / decoding questions
  162. Parser
  163. ##-concatenation
  164. Diffrence between ++i and i++
  165. Problem with malloc
  166. Dynamically growing an array (pointer question)
  167. FAT32 Disc Access
  168. Access to process memory from external programm
  169. current address
  170. strtok problem
  171. structs help
  172. How can I improve these functions?
  173. Should this work?
  174. Question on binary tree
  175. How can I use strtok for tokenize integers
  176. C code to BCB
  177. binary data conversion
  178. pointer-to-pointer (invalid lvalue in unary `&)
  179. fprintf() C variables into FORTRAN input file format ???
  180. static function?
  181. Segmentation Fault
  182. question about inet_ntoa(3)
  183. trying to read a file
  184. Specifying data types inside functions
  185. Malloc, Structure Help
  186. Short circuiting..
  187. Work around of using 1D-LUT instead of 2D-LUT
  188. warning: multi-character character constant...help me!
  189. What type of questions can be asked in an technical interview of C
  190. where standard library functions?
  191. Restricted pointer parameters in printf()
  192. Pointer confusion with passing string array -- Segmentation fault
  193. sizeof(str) or sizeof(str) - 1 ?
  194. fgets and variants
  195. Avoiding redundant functions
  196. Character Points/Structs/Input
  197. simple problem
  198. structure containing incomplete array type
  199. External object definition and linkage
  200. creatingg a database application
  201. fixed-point
  202. linking executables
  203. File name macro
  204. C with database
  205. Time
  206. binary threaded trees
  207. size_t range
  208. how to determine a file is ASCII or binary?
  209. link c code with c++ code using g++
  210. how to allow only one instance?
  211. printf / sscanf unsigned long long int variables
  212. File IO in C
  213. about c
  214. French characters not recognised in C?
  215. Does ANSI C have something like PATHMAX or MAX_PATH?
  216. about ## in ANSI C
  217. rvalue
  218. netlib - Mar '04
  219. nesting coments
  220. Strange output problem
  221. function sprintf
  222. standard reference manual
  223. macros question #2
  224. How many CPU cycles does an instruction take ?
  225. Acovea 4.0: Analyzing GCC for AMD64 and ia32, through Evolution
  226. Special ascii values
  227. strncpy() and null terminated strings
  228. strtod - Dynamic Memory?
  229. Conflicting Libraries
  230. Base64
  231. using Dev-C++ to compile ONLY C code ?
  232. pointers going wild?
  233. Help with scanf
  234. What is the value of relational expression
  235. Using C for string search etc
  236. Help with scanf
  237. int array to string?
  238. Defined bahavior or otherwise?
  239. Difference between DEBUG and NDEBUG?
  240. how to remove a character from a string
  241. how to remove a character from a string
  242. use delete to destroy primitive/object types but memory is not freed
  243. use delete to destroy primitive/object types but memory is not freed
  244. Test a bit
  245. Test a bit
  246. Pointer Indirection Syntax
  247. Pointer Indirection Syntax
  248. Text location
  249. Text location
  250. Time to standardize the XML library for C/C++
  251. Time to standardize the XML library for C/C++
  252. utility to intentionally mangle function names?
  253. utility to intentionally mangle function names?
  254. BooK "Obfsucated C and other mysteries"
  255. BooK "Obfsucated C and other mysteries"
  256. copy a string into a 2d array of chars
  257. copy a string into a 2d array of chars
  258. Outputting text to a file
  259. Outputting text to a file
  260. Global pointer pointing to locally defined type
  261. Global pointer pointing to locally defined type
  262. OOP using C
  263. OOP using C
  264. pointer-in-array test
  265. pointer-in-array test
  266. help signed and unsigned in 64bits
  267. help signed and unsigned in 64bits
  268. pointer equality
  269. pointer equality
  270. alternative to rand()
  271. alternative to rand()
  272. main function address
  273. main function address
  274. macro for sizeof
  275. macro for sizeof
  276. trace of memory access
  277. trace of memory access
  278. Permutations of a String
  279. Permutations of a String
  280. ftruncate() on MVS datasets.
  281. ftruncate() on MVS datasets.
  282. K&R
  283. K&R
  284. odd/even bitwise and
  285. odd/even bitwise and
  286. Return with no expression
  287. Return with no expression
  288. Writing a structure
  289. Writing a structure
  290. Question about a pointer to an array of structs
  291. Question about a pointer to an array of structs
  292. Tracking the "memory growth" of a process
  293. Tracking the "memory growth" of a process
  294. sigaction : using "void (*sa_sigaction)(int, siginfo_t *, void *);"
  295. sigaction : using "void (*sa_sigaction)(int, siginfo_t *, void *);"
  296. How can we use functions setwindow,scrollwindowup and scrollwindown
  297. How can we use functions setwindow,scrollwindowup and scrollwindown
  298. Child process does not exit after receiving SIGTERM
  299. Child process does not exit after receiving SIGTERM
  300. justification check
  301. justification check
  302. Review of my answer
  303. Review of my answer
  304. Initialize char **
  305. Initialize char **
  306. Multidimensional array problems
  307. Multidimensional array problems
  308. calloc problem
  309. calloc problem
  310. what's the difference between the next 2 declarations?
  311. what's the difference between the next 2 declarations?
  312. VCL TMemo find
  313. VCL TMemo find
  314. structs with fields that are structs
  315. structs with fields that are structs
  316. pointers to function problem
  317. pointers to function problem
  318. Function definition nesting
  319. Function definition nesting
  320. macros question
  321. macros question
  322. How can I write my question in the message itself and not its title?
  323. How can I write my question in the message itself and not its title?
  324. how to write a macro that calculate sizeof data types
  325. how to write a macro that calculate sizeof data types
  326. how can i write C code that generate random number without using built in code
  327. how can i write C code that generate random number without using built in code
  328. what is call by name & how it is done
  329. what is call by name & how it is done
  330. malloc + 4??
  331. malloc + 4??
  332. how to create a dropdownlist in C using C graphics
  333. how to create a dropdownlist in C using C graphics
  334. Problem with malloc
  335. Problem with malloc
  336. structs help
  337. How can I improve these functions?
  338. structs help
  339. How can I improve these functions?
  340. C code to BCB
  341. pointer-to-pointer (invalid lvalue in unary `&)
  342. static function?
  343. Segmentation Fault
  344. Short circuiting..
  345. What type of questions can be asked in an technical interview of C
  346. Pointer confusion with passing string array -- Segmentation fault
  347. sizeof(str) or sizeof(str) - 1 ?
  348. fgets and variants
  349. Character Points/Structs/Input
  350. External object definition and linkage
  351. creatingg a database application
  352. binary threaded trees
  353. printf / sscanf unsigned long long int variables
  354. File IO in C
  355. French characters not recognised in C?
  356. Does ANSI C have something like PATHMAX or MAX_PATH?
  357. Strange output problem
  358. function sprintf
  359. How many CPU cycles does an instruction take ?
  360. Acovea 4.0: Analyzing GCC for AMD64 and ia32, through Evolution
  361. strtod - Dynamic Memory?
  362. Base64
  363. pointers going wild?
  364. Help with scanf
  365. What is the value of relational expression
  366. Help with scanf
  367. int array to string?
  368. Difference between DEBUG and NDEBUG?
  369. Alternative rand()-algorithm?
  370. distance() on stream iterator
  371. inline function question
  372. What is the equivalent of DLL in a Unix environment??
  373. coding a simple calculator
  374. Pointer and BitWise Operator.
  375. strlen() argument warning
  376. how to "wait for any key"
  377. pattern matching code - little help needed
  378. hacking /dev/audio
  379. Conversion to and from based real numbers
  380. [C] double/float to string
  381. [C] copy string question
  382. Saving registers in C functions
  383. header files
  384. Help wanted (cgi script)
  385. is this correct
  386. weird behaviour by gcc
  387. warning: excess elements in scalar initializer
  388. How to get the limit on it's range of the double type?
  389. Porting to Linux.
  390. allowing user to enter paragraphs
  391. How to retain function test code?
  392. How to retain function test code?
  393. reset a string. empty it totally.
  394. Reset a string?
  395. pgcc vs. gcc question - using <complex.h>
  396. interpreting a null pointer as an empty (null string)
  397. Dynamically malloc'd array of structs
  398. FSM in C?
  399. string question
  400. Code/Object analyzer for fixing
  401. Difference between strcpy() and strcat()?
  402. small bit shifting q
  403. typedef and multiple file projects
  404. mod_jk2 compilation issues on tru64 with gcc
  405. letting free() know how much to free...?
  406. extern local variables
  407. error message
  408. poss soln
  409. alligned memory allocation
  410. readdir() and S_ISDIR(stat.st_mode) question (OT ?)
  411. Optimizing a switch statement
  412. Passing va_list two times?
  413. Pointer-to-function with variable argument number
  414. bit field initialization
  415. Increasing efficiency in C
  416. Array of Pointers to Structs
  417. Why isn't srand working?
  418. cast odd boundary?
  419. MIDI project
  420. int pointing to char
  421. int/unsigned long * idiocy
  422. const char problem
  423. Arithmetic and C
  424. OFF-TOPIC:: Why Lisp is not my favorite programming language
  425. Freestanding Environment
  426. Yet another pointer related problem
  427. How to "sleep" or "delay"?
  428. float (*Data)[4] vs float *Data[4]
  429. going crazy, invalid conversion from `char*' to `char' help needed
  430. grabbing file size
  431. memory accesses
  432. Vigenere Cipher II - how to use files
  433. FILE Access
  434. read() error - Bad Address
  435. character/byte equality, again
  436. Passing commas into macros
  437. finding the name of the function
  438. Struct of pointer-to-function
  439. Serial port line termination
  440. Array typedef vs. structure
  441. Is there a difference?
  442. Please tell me if I've written this correctly
  443. Plain Char
  444. LASER Summer School on Software Engineering - call for participation
  445. error LNK2001: unresolved external symbol _errno
  446. Pixel data type
  447. Dynamic string allocation
  448. Casting (time_t)(-1)
  449. Copy-on-write tree data structure
  450. scan codes
  451. Fast sincos routine
  452. Question about #define
  453. C floating point
  454. How to make "fork/wait" to WAIT longer?
  455. Char const for backslash
  456. Wierd output instead of 0s and 1s
  457. Elementary questions from a beginner
  458. What is sequence point ?
  459. cast in memcpy()
  460. In and Out on port space within C - any standard?
  461. Doubt about pass pointer to int.
  462. type promotions
  463. is this correct
  464. Who can explain the sentence for me?
  465. A NULL pointer changed after returned?
  466. Why (long)NULL ?
  467. Standard question
  468. fork() problems
  469. zeroing structure of char pointers
  470. Press enter to continue
  471. hello world
  472. Search a binary file for a string... again! (its to slow)
  473. need help new to C programming
  474. 0a appending w/strcpy
  475. Palm programming (displaying different char-set)
  476. Test msg.
  477. MultiDim Array Challenge
  478. socket wrapper
  479. network byte order
  480. Re-using a 'va_list'
  481. Function definition into main() function.
  482. segmentation fault with printf
  483. errno-like variables in threaded environments
  484. Function definition into main() function.
  485. Check if value is defined in enum
  486. tricky do-while
  487. pointers and array
  488. Volatile variables
  489. Exist a function for path management?
  490. unsigned short;
  491. which is the better way to declare dynamic single dimension array inside struct
  492. Is that a constant expression?
  493. Combobox on gtk+ 2
  494. C String/int question + Win/Unix Compile
  495. is this valid c or a compiler bug?
  496. Connect Oracle Database C
  497. Binary constant macros
  498. new minimal xml parser Open Source
  499. How to create a simple configurationfile parser?
  500. problem with char array
  501. semantics of loating point exception handling
  502. c89 and c99
  503. help with type-punned warning please
  504. Operating System
  505. need some help with arrays
  506. 51MB size limit with fopen in append mode
  507. Efficiency of math.h
  508. pstack help
  509. Read a binary file until "\name\" is encountered...
  510. General Info wanted: IBM Z/os C/C++ compilers
  511. Linked list or realloc()?
  512. send data to log with xinetd
  513. mmap vs read/write
  514. gethostbyaddr returning null for CNAME records
  515. weird 'C' warning - can you solve this?
  516. Please help...........
  517. C Programming Assignment:
  518. ssl-connect over tcp
  519. problem parsing strings
  520. Comments requested: brief summary of C
  521. Linked List / Deleting any number of element while enumerating
  522. algorithm to split number into two pieces
  523. Lint doesn't catch signed => unsigned arg passing
  524. reading a file using fread()
  525. Looking for a C/C++ programmer in Houston
  526. value of ((int)0.7) and ((int)-0.7)
  527. dynamic memory for large arrays
  528. Difference?
  529. bitfield and enum, is this legal?
  530. procedure parameter struct order
  531. tmpnam question
  532. Creating an argument list for sprintf
  533. struct stat *stbuf seg fault
  534. getc() only returns 1500 chars on a 5 Meg file
  535. String Functions
  536. reading macro
  537. Input file donkey work.
  538. error when passing value to function
  539. Fibonacci number
  540. dictionary + binary search = counting words
  541. why does this fail in turbo c?
  542. What can C do and Basic V2 not?
  543. why doesn't it print 1.0?
  544. What is the single most helpfull guide/reference one could go to!?
  545. string assign to multi-dimension array w/o using pointer.
  546. perils of memset
  547. allocating for an array of pointers
  548. Motion Detection in JPeg frames
  549. linked lists
  550. Boxline in curses ( Linux )