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