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