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. returning pointer into const argument
  2. string declaration(s)
  3. necessary cast?
  4. Speed up you typing speed more than 100 wpm
  5. Equal to operand
  6. c program running 2 terminal windows, how to specify in which to write?
  7. passing an array as argument
  8. C Static program analyzer
  9. casting trouble
  10. qsort warning
  11. Dynamic allocation of a triple indirection
  12. JPEG HEADER
  13. sizeof(struct something)??
  14. malloc question - what happens when chunk gets free?
  15. anyone out there knows how to use Microsoft Access
  16. Microsoft Access
  17. char s[500000];
  18. `restrict' qualifer
  19. main()
  20. ANSI C Challenge on readint
  21. auxiliary linked list index array
  22. Oracle acces from C
  23. need help in writing DES algorithm in C
  24. union in struct without union name
  25. srand()
  26. Headers/Libraries default locations
  27. Conditional Define
  28. Question on "if" statements...
  29. Linux c prog doesn't work on Sun Solaris Machine....?
  30. beginner question
  31. Ascii String to Intger
  32. A puzzle
  33. opening the program with a full wondow
  34. child pid
  35. Need help reading macro-heavy code
  36. "Ravenscar-like" profile for C/C++
  37. Integers larger than 64bit - Arithmetic
  38. 1
  39. Bus Model
  40. String/Array Question
  41. how do i write basic time function
  42. range limitation
  43. Efficient pseudo-random number generation
  44. Sorting a list of integers in C
  45. Test-driven Development in C#
  46. help: good sturdy C procedural program design
  47. size of long
  48. protect my char* from outside
  49. Named argument view for IDE and more
  50. Arithmetic on function address
  51. Wrong results when comparing negative double variables in an if statement
  52. strange behavior
  53. GCC inline assembly
  54. Weird file writing problem
  55. Valid operations on pointers in C
  56. Initialization of integer pointers
  57. Size of Int on a machine
  58. Is this Ok? (?:)
  59. const structs in other structs
  60. K&R reference.
  61. strange case of void main
  62. Rob Pike's simple Include rule
  63. Problem with getsubopt on AIX
  64. Error handling
  65. Help with #define
  66. sscanf fixed-width integer question
  67. book for programming
  68. Printf
  69. typdef'ing from sig_atomic_t valid?
  70. Sony DRU-700A DVD+R Dual Layer
  71. Export from Access to Excel
  72. trouble.....
  73. declaring errno
  74. pointers to arrays of ints.
  75. beginner question
  76. GUI Programming with C?
  77. time function not defined?
  78. trouble reading from file
  79. trouble reading the text file
  80. TransferSpreadsheet - how to call this function
  81. Which is faster?
  82. check if char* is a ptr to mem or nirvana
  83. Dynamic Arrays
  84. Opinion) Overuse of symbolic constants
  85. Meaning for *p = +*q++
  86. Clever vsprintf
  87. locking with fcntl
  88. Editor Additions
  89. Interesting bug
  90. bit fields in a structure
  91. What to do if you've made a new high performance data structure?
  92. [Slightly OT] Pointers on shifting to Systems Programming from QA
  93. printing the same spot in the terminal
  94. comma at end of initializer allowed?
  95. Function pointers to printf
  96. Large arrays: malloc or 'just declare'?
  97. C tokens
  98. Virtual Machines and structs
  99. assigning bit-field structure
  100. * and -> operator syntax
  101. Can a static array contain a dynamic array of pointers?
  102. OPTION TO OVERWRITE CONSTANT VARIABLE(STRING) IN C (VC++ IDE)
  103. write a binary file?
  104. Help with process migration, in openmosix
  105. walking a binary tree
  106. programm stops
  107. msgsnd problem
  108. Calling 'foo.c' or 'foo2.c' from my 'main_code.c'
  109. dynamic typedef
  110. memory allocation nightmare
  111. Linux Serial Programming
  112. Linux Serial Programming
  113. time_t in seconds
  114. Interval calculation
  115. portable?
  116. Exponent question
  117. easy CGI w/ C
  118. Large number in C
  119. HELP ME -GCC COMPILER
  120. pointers to struct members
  121. snprintf() for embedded
  122. Implementing exceptions of C++ in C
  123. String Reverse Question
  124. Problem with simpe unixshell attempt
  125. enumerated static string table
  126. long long
  127. Some C/C++ books
  128. Best way to learn C for a Teenager
  129. multiline macro with embedded #
  130. 52 Pick Up and the 100- to-1 Rule
  131. integer overflow
  132. Fast Division/Modulo Operation
  133. i don't want the dos wondow be closed
  134. sscanf
  135. atof() failure case
  136. Why not FILE instead of FILE*?
  137. Pipes
  138. struct my_struct *p = (struct my_struct *)malloc(sizeof(struct my_struct));
  139. opaque style question
  140. C library for handling ftml template
  141. converting char array to integer
  142. FAQ is so long!
  143. FAQ is so long!
  144. Critical Sections
  145. storing variable arguments for future use
  146. va_list usage
  147. prob w/the C prog. lang. book(ANSI C)
  148. char*& and char* ???
  149. Incrementing a void pointer's member
  150. RoSsIaCrIiLoIA is a troll
  151. OT
  152. system question
  153. Hash table: some lines of code involving pointers
  154. Strange global variable behavior
  155. writing 6 items in one line.
  156. implement set of numbers in ansi c
  157. a self-checking program in standard C
  158. safety and C
  159. CX-Post: hello world
  160. Global Static Variables
  161. reading files from a directory
  162. info su funzione
  163. info su funzione
  164. max{f | f is a float and -f is a float and doesn't cause overflow}== ?
  165. Converting byte data to hexadecimal ascii
  166. Variable substitution
  167. Is it standard and practical to use long long types?
  168. Constant Data in function copied to stack
  169. casting from int to void* and back to int
  170. reading file backwards and parsing
  171. problem sending code via rs232
  172. Does pc-lint catch this type of problem?
  173. linking asm and c procedures
  174. encoding / decoding questions
  175. Parser
  176. ##-concatenation
  177. Diffrence between ++i and i++
  178. Dynamically growing an array (pointer question)
  179. FAT32 Disc Access
  180. Access to process memory from external programm
  181. current address
  182. strtok problem
  183. Should this work?
  184. Question on binary tree
  185. How can I use strtok for tokenize integers
  186. binary data conversion
  187. fprintf() C variables into FORTRAN input file format ???
  188. question about inet_ntoa(3)
  189. trying to read a file
  190. Specifying data types inside functions
  191. Malloc, Structure Help
  192. Work around of using 1D-LUT instead of 2D-LUT
  193. warning: multi-character character constant...help me!
  194. where standard library functions?
  195. Restricted pointer parameters in printf()
  196. Avoiding redundant functions
  197. simple problem
  198. structure containing incomplete array type
  199. fixed-point
  200. linking executables
  201. File name macro
  202. C with database
  203. Time
  204. size_t range
  205. how to determine a file is ASCII or binary?
  206. link c code with c++ code using g++
  207. how to allow only one instance?
  208. about c
  209. about ## in ANSI C
  210. rvalue
  211. netlib - Mar '04
  212. nesting coments
  213. standard reference manual
  214. macros question #2
  215. Special ascii values
  216. strncpy() and null terminated strings
  217. Conflicting Libraries
  218. multiline macro with embedded #
  219. 52 Pick Up and the 100- to-1 Rule
  220. using Dev-C++ to compile ONLY C code ?
  221. integer overflow
  222. Using C for string search etc
  223. Fast Division/Modulo Operation
  224. Defined bahavior or otherwise?
  225. i don't want the dos wondow be closed
  226. sscanf
  227. atof() failure case
  228. Why not FILE instead of FILE*?
  229. how to remove a character from a string
  230. use delete to destroy primitive/object types but memory is not freed
  231. Test a bit
  232. Pointer Indirection Syntax
  233. FILE objects
  234. Text location
  235. rule for promotion
  236. Time to standardize the XML library for C/C++
  237. utility to intentionally mangle function names?
  238. BooK "Obfsucated C and other mysteries"
  239. copy a string into a 2d array of chars
  240. const structure & member pointers
  241. Outputting text to a file
  242. Global pointer pointing to locally defined type
  243. Pipes
  244. struct my_struct *p = (struct my_struct *)malloc(sizeof(struct my_struct));
  245. opaque style question
  246. OOP using C
  247. pointer-in-array test
  248. help signed and unsigned in 64bits
  249. C library for handling ftml template
  250. converting char array to integer
  251. FAQ is so long!
  252. FAQ is so long!
  253. Critical Sections
  254. storing variable arguments for future use
  255. va_list usage
  256. pointer equality
  257. alternative to rand()
  258. macro for sizeof
  259. main function address
  260. prob w/the C prog. lang. book(ANSI C)
  261. char*& and char* ???
  262. trace of memory access
  263. Permutations of a String
  264. ftruncate() on MVS datasets.
  265. Incrementing a void pointer's member
  266. K&R
  267. odd/even bitwise and
  268. Return with no expression
  269. RoSsIaCrIiLoIA is a troll
  270. Writing a structure
  271. Question about a pointer to an array of structs
  272. Tracking the "memory growth" of a process
  273. sigaction : using "void (*sa_sigaction)(int, siginfo_t *, void *);"
  274. OT
  275. How can we use functions setwindow,scrollwindowup and scrollwindown
  276. system question
  277. Hash table: some lines of code involving pointers
  278. Strange global variable behavior
  279. writing 6 items in one line.
  280. implement set of numbers in ansi c
  281. Child process does not exit after receiving SIGTERM
  282. justification check
  283. a self-checking program in standard C
  284. safety and C
  285. CX-Post: hello world
  286. Review of my answer
  287. Global Static Variables
  288. Initialize char **
  289. Multidimensional array problems
  290. calloc problem
  291. what's the difference between the next 2 declarations?
  292. VCL TMemo find
  293. reading files from a directory
  294. info su funzione
  295. info su funzione
  296. structs with fields that are structs
  297. max{f | f is a float and -f is a float and doesn't cause overflow}== ?
  298. pointers to function problem
  299. Converting byte data to hexadecimal ascii
  300. Function definition nesting
  301. macros question
  302. How can I write my question in the message itself and not its title?
  303. how to write a macro that calculate sizeof data types
  304. how can i write C code that generate random number without using built in code
  305. what is call by name & how it is done
  306. Variable substitution
  307. Is it standard and practical to use long long types?
  308. Constant Data in function copied to stack
  309. casting from int to void* and back to int
  310. reading file backwards and parsing
  311. malloc + 4??
  312. problem sending code via rs232
  313. Does pc-lint catch this type of problem?
  314. linking asm and c procedures
  315. how to create a dropdownlist in C using C graphics
  316. encoding / decoding questions
  317. Parser
  318. ##-concatenation
  319. Diffrence between ++i and i++
  320. Problem with malloc
  321. Dynamically growing an array (pointer question)
  322. FAT32 Disc Access
  323. Access to process memory from external programm
  324. current address
  325. strtok problem
  326. structs help
  327. How can I improve these functions?
  328. Should this work?
  329. Question on binary tree
  330. How can I use strtok for tokenize integers
  331. C code to BCB
  332. binary data conversion
  333. pointer-to-pointer (invalid lvalue in unary `&)
  334. fprintf() C variables into FORTRAN input file format ???
  335. static function?
  336. Segmentation Fault
  337. question about inet_ntoa(3)
  338. trying to read a file
  339. Specifying data types inside functions
  340. Malloc, Structure Help
  341. Short circuiting..
  342. Work around of using 1D-LUT instead of 2D-LUT
  343. warning: multi-character character constant...help me!
  344. What type of questions can be asked in an technical interview of C
  345. where standard library functions?
  346. Restricted pointer parameters in printf()
  347. Pointer confusion with passing string array -- Segmentation fault
  348. sizeof(str) or sizeof(str) - 1 ?
  349. fgets and variants
  350. Avoiding redundant functions
  351. Character Points/Structs/Input
  352. simple problem
  353. structure containing incomplete array type
  354. External object definition and linkage
  355. creatingg a database application
  356. fixed-point
  357. linking executables
  358. File name macro
  359. C with database
  360. Time
  361. binary threaded trees
  362. size_t range
  363. how to determine a file is ASCII or binary?
  364. link c code with c++ code using g++
  365. how to allow only one instance?
  366. printf / sscanf unsigned long long int variables
  367. File IO in C
  368. about c
  369. French characters not recognised in C?
  370. Does ANSI C have something like PATHMAX or MAX_PATH?
  371. about ## in ANSI C
  372. rvalue
  373. netlib - Mar '04
  374. nesting coments
  375. Strange output problem
  376. function sprintf
  377. standard reference manual
  378. macros question #2
  379. How many CPU cycles does an instruction take ?
  380. Acovea 4.0: Analyzing GCC for AMD64 and ia32, through Evolution
  381. Special ascii values
  382. strncpy() and null terminated strings
  383. strtod - Dynamic Memory?
  384. Conflicting Libraries
  385. Base64
  386. using Dev-C++ to compile ONLY C code ?
  387. pointers going wild?
  388. Help with scanf
  389. What is the value of relational expression
  390. Using C for string search etc
  391. Help with scanf
  392. int array to string?
  393. Defined bahavior or otherwise?
  394. Difference between DEBUG and NDEBUG?
  395. how to remove a character from a string
  396. how to remove a character from a string
  397. use delete to destroy primitive/object types but memory is not freed
  398. use delete to destroy primitive/object types but memory is not freed
  399. Test a bit
  400. Test a bit
  401. Pointer Indirection Syntax
  402. Pointer Indirection Syntax
  403. Text location
  404. Text location
  405. Time to standardize the XML library for C/C++
  406. Time to standardize the XML library for C/C++
  407. utility to intentionally mangle function names?
  408. utility to intentionally mangle function names?
  409. BooK "Obfsucated C and other mysteries"
  410. BooK "Obfsucated C and other mysteries"
  411. copy a string into a 2d array of chars
  412. copy a string into a 2d array of chars
  413. Outputting text to a file
  414. Outputting text to a file
  415. Global pointer pointing to locally defined type
  416. Global pointer pointing to locally defined type
  417. OOP using C
  418. OOP using C
  419. pointer-in-array test
  420. pointer-in-array test
  421. help signed and unsigned in 64bits
  422. help signed and unsigned in 64bits
  423. pointer equality
  424. pointer equality
  425. alternative to rand()
  426. alternative to rand()
  427. main function address
  428. main function address
  429. macro for sizeof
  430. macro for sizeof
  431. trace of memory access
  432. trace of memory access
  433. Permutations of a String
  434. Permutations of a String
  435. ftruncate() on MVS datasets.
  436. ftruncate() on MVS datasets.
  437. K&R
  438. K&R
  439. odd/even bitwise and
  440. odd/even bitwise and
  441. Return with no expression
  442. Return with no expression
  443. Writing a structure
  444. Writing a structure
  445. Question about a pointer to an array of structs
  446. Question about a pointer to an array of structs
  447. Tracking the "memory growth" of a process
  448. Tracking the "memory growth" of a process
  449. sigaction : using "void (*sa_sigaction)(int, siginfo_t *, void *);"
  450. sigaction : using "void (*sa_sigaction)(int, siginfo_t *, void *);"
  451. How can we use functions setwindow,scrollwindowup and scrollwindown
  452. How can we use functions setwindow,scrollwindowup and scrollwindown
  453. Child process does not exit after receiving SIGTERM
  454. Child process does not exit after receiving SIGTERM
  455. justification check
  456. justification check
  457. Review of my answer
  458. Review of my answer
  459. Initialize char **
  460. Initialize char **
  461. Multidimensional array problems
  462. Multidimensional array problems
  463. calloc problem
  464. calloc problem
  465. what's the difference between the next 2 declarations?
  466. what's the difference between the next 2 declarations?
  467. VCL TMemo find
  468. VCL TMemo find
  469. structs with fields that are structs
  470. structs with fields that are structs
  471. pointers to function problem
  472. pointers to function problem
  473. Function definition nesting
  474. Function definition nesting
  475. macros question
  476. macros question
  477. How can I write my question in the message itself and not its title?
  478. How can I write my question in the message itself and not its title?
  479. how to write a macro that calculate sizeof data types
  480. how to write a macro that calculate sizeof data types
  481. how can i write C code that generate random number without using built in code
  482. how can i write C code that generate random number without using built in code
  483. what is call by name & how it is done
  484. what is call by name & how it is done
  485. malloc + 4??
  486. malloc + 4??
  487. how to create a dropdownlist in C using C graphics
  488. how to create a dropdownlist in C using C graphics
  489. Problem with malloc
  490. Problem with malloc
  491. structs help
  492. How can I improve these functions?
  493. structs help
  494. How can I improve these functions?
  495. C code to BCB
  496. pointer-to-pointer (invalid lvalue in unary `&)
  497. static function?
  498. Segmentation Fault
  499. Short circuiting..
  500. What type of questions can be asked in an technical interview of C
  501. Pointer confusion with passing string array -- Segmentation fault
  502. sizeof(str) or sizeof(str) - 1 ?
  503. fgets and variants
  504. Character Points/Structs/Input
  505. External object definition and linkage
  506. creatingg a database application
  507. binary threaded trees
  508. printf / sscanf unsigned long long int variables
  509. File IO in C
  510. French characters not recognised in C?
  511. Does ANSI C have something like PATHMAX or MAX_PATH?
  512. Strange output problem
  513. function sprintf
  514. How many CPU cycles does an instruction take ?
  515. Acovea 4.0: Analyzing GCC for AMD64 and ia32, through Evolution
  516. strtod - Dynamic Memory?
  517. Base64
  518. pointers going wild?
  519. Help with scanf
  520. What is the value of relational expression
  521. Help with scanf
  522. int array to string?
  523. Difference between DEBUG and NDEBUG?
  524. Alternative rand()-algorithm?
  525. distance() on stream iterator
  526. inline function question
  527. What is the equivalent of DLL in a Unix environment??
  528. coding a simple calculator
  529. Pointer and BitWise Operator.
  530. strlen() argument warning
  531. how to "wait for any key"
  532. pattern matching code - little help needed
  533. hacking /dev/audio
  534. Conversion to and from based real numbers
  535. [C] double/float to string
  536. [C] copy string question
  537. Saving registers in C functions
  538. header files
  539. Help wanted (cgi script)
  540. is this correct
  541. weird behaviour by gcc
  542. warning: excess elements in scalar initializer
  543. How to get the limit on it's range of the double type?
  544. Porting to Linux.
  545. allowing user to enter paragraphs
  546. How to retain function test code?
  547. How to retain function test code?
  548. reset a string. empty it totally.
  549. Reset a string?
  550. pgcc vs. gcc question - using <complex.h>