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. avoid constant conditional expression warning
  2. millisecond delay in C - linux
  3. What's wrong with my lex and yacc program?
  4. Question: Unicode <-> HEX conversion in C source file?
  5. How to convert HEX <-> DEC constant value in C source file?
  6. Question: HEX <-> DEC constants auto-conversion in C source file?
  7. GUID in C
  8. NAN error and debugging with GDB
  9. Sending data to the parallel port
  10. HTTP basic authentication
  11. Storing/processing binary file input help needed
  12. [Slightly OT] Casting non-void function results to void in modern compilers.
  13. Why multiplication not allowed?
  14. Question about bitfield promotion/cast to integer
  15. How can I convert the C6.0 program of OS/2 platform TO a program in windows2000/xp platform?
  16. Function Using Pointers
  17. literal escape sequence conversion to raw
  18. implicit typecast
  19. Hash structure or Binary Search Tree...
  20. Redirection at the prompt
  21. Need help with system()
  22. A program that searches screen for words?
  23. How to printf a long long data type integer?
  24. initializer is not a constant error ??
  25. difference of #include <> and ""
  26. Reading date stored in binary fomrat
  27. Structure/Storage question
  28. Order of evaluation and better declaration of functions
  29. syntax of C for Parser Generator
  30. BASIC advice wanted.
  31. Loop doesn't behave the way it's supposed to.
  32. Learning process
  33. supplementary C frequent answers
  34. Why in hash function use 5381?
  35. how to use large memory with gcc in AIX of IBM P650
  36. ARM yourself in the YEAR 2004
  37. hash table
  38. Removing GCC compiler warnings from fabsf(), sqrtf()...
  39. Vexing GCC warnings: "assignment discards qualifiers from pointertarget type"
  40. Trying to run a function in RAM and not in Flash using function pointer
  41. Borland C/C++ Compiler 3.1
  42. const in typedef struct?
  43. Retrieving the output of a C program using a PHP script
  44. OpenECG Programming Contest Deadline Extended: January 25, 2004
  45. float and 1's
  46. new functions
  47. strcpy warning
  48. formatting float variables to fprintf function
  49. ^ format string
  50. having problems with interactive error catching function
  51. softice-help wanted
  52. Bitset Macros
  53. Internet programming Help Wanted
  54. link list -is this enough?
  55. [maybe OT] embedding asm
  56. endianness and sscanf/sprintf
  57. invalid initializer
  58. Does this cause undefined behaviour?
  59. Warnings calling functions in other object files by pointer
  60. A good C Programming book.
  61. Portability question
  62. concatenate strings
  63. NULL pointer and zero value
  64. "serializing" structs in C
  65. C99 Question
  66. File pointeur of stdout
  67. How to use libcrypt ?
  68. Can anyone help
  69. What kind of problems is c best at solving?
  70. Matrox and C++ ... need help !
  71. A concatenation problem
  72. delay on select
  73. please comment
  74. segmentation fault on calloc
  75. static variables & their initializations
  76. Arrays of Strings, malloc
  77. C function return value?
  78. Finding Current directory??
  79. static members
  80. Confused with malloc
  81. fmod?
  82. Remember to use your "0x".
  83. Linked List Problem(changing insertion pointer)
  84. structs passed by value
  85. representing functions with arguments in an abstract syntax tree
  86. Unseen error
  87. CGI C and HTML
  88. limits.h question
  89. looking for good C source code
  90. casting of structs
  91. More __DATE__ preprocessor tricks?
  92. c pointer and array question
  93. How is a plugin created?
  94. free() question
  95. C99 std documentation
  96. Reassigning array to string literal
  97. Using bitshift in assigning a number to a variable?
  98. Too big integers
  99. Better implementation?
  100. getting and passing variable number of parameters
  101. re Which is better
  102. C API for MySQL?
  103. Converting a 2-tier application to 3-tier application
  104. Undefined reference to memcpy in standalone program
  105. print out a file?
  106. Warning against Scanf
  107. system date and time update
  108. passing varargs to another function
  109. Code Review...
  110. Reverse search in a singly-linked list
  111. C-preprocessor macro question
  112. checking the contents of an array..
  113. max heap and print implementation question
  114. >> operator
  115. Clarity of boolean logic
  116. main return value stange question
  117. How does C work on non-unix?
  118. TEA Implementation
  119. linux threads library
  120. explanation of a program required please
  121. novice realloc question
  122. how to simplify many OR in if statement?
  123. recasting a pointer
  124. Could I open a file from another machine on the network?
  125. How to create a function that can be applied to all type of variables?
  126. C: compare character
  127. C++ interface
  128. ChkSum Test and Polynomial
  129. Turbo Charge your PC's Performance
  130. passing struct by reference to function
  131. C99 and for loops
  132. C: extract string from file
  133. simple C question:
  134. Question: Adding nodes to sorted linked list
  135. Troll Alert: Hello!
  136. Undefined behavior?
  137. Need a bit of help with reading in characters.
  138. Array of Pointers
  139. structs and malloc
  140. Which is better
  141. 2 style questions
  142. unsigned short addition/subtraction overflow
  143. specific type of Hex conversion
  144. How should I start learning?
  145. Caps convention.
  146. C Reference page on Linux
  147. what about this new way of opening file
  148. Hash Function
  149. segmentation fault (core dumped)
  150. How do you find the header file you need?
  151. nr of bits set to "1" in a byte
  152. String literal and const
  153. unsigned char
  154. hash function
  155. semaphores...
  156. timer in milliseconds
  157. sprintf: the format problem
  158. [off-topic]test
  159. What does this program do?
  160. struggling to use calloc and realloc
  161. How to access symbol when its dimensionality is not known till runtime (About to giveup)
  162. i++ question
  163. int a[17]; int b = -1; /* a[17] same as b guaranteed in ANSI C? */
  164. How was Windows made ?
  165. Please help a n00b write a compiler :-)
  166. How to declare an array of sort functions for qsort()?
  167. data types (bitwidth) and multiplication
  168. gdb: insert assemble code but NOT machine?
  169. variable argument lists and ..
  170. A question on incomplete definitions
  171. question about pointer
  172. bitwise increment one liner
  173. looking for a complete CRC32 program
  174. Hidden read of indeterminate memory
  175. good night
  176. C ---> device programming
  177. How can I trap an API call by windows
  178. Optmization
  179. Why isn't this working correctly?
  180. reading filenames in C
  181. Undefined behaviour question
  182. What causes segmentations faults in malloc?
  183. running program as a background process
  184. looking for function
  185. Why does this work? (rot13 function)
  186. printf() and character arrays
  187. Misc Qns...
  188. UTF-8 in char*
  189. Forming protocol messages with structure instances
  190. How to compute time into integer?
  191. Is this correct?
  192. having a problem with calling a function
  193. new strcomp() function.
  194. function and fileio questions
  195. Rounding to next highest number?
  196. ftell()
  197. dsp conversion
  198. Designer's notes
  199. AlphaSort for singly linked list
  200. Looking for c code to create and manage a buffer like a com port would be managed
  201. Where is stdio.lib?
  202. Urgent HELP! required for Caesar Cipher PLEASE
  203. in what field is C used the most?
  204. Little to big endian conversion
  205. C 99 -- C++ 2003 diffs
  206. warning: dereferencing `void *' pointer
  207. safe scanf( ) or gets
  208. Learn C Now diskettes
  209. anything wrong with this?
  210. getw
  211. undefined reference to `OpenPrinterA@12'
  212. strcmp() And if
  213. accessing dos from c program
  214. Compiler Warnings
  215. copying an array of pointers to structures
  216. Parsing options in the same way they are passed to main
  217. typedef warning in self-referential structure
  218. parsing config file
  219. speed and passing data
  220. setvect and getvect in dos.h
  221. OT test
  222. ANSI C Compiler
  223. Convert __DATE__ to unsigned int
  224. Swap space size in C
  225. scanf"tricks"
  226. The "->" operator
  227. help with sendto (linux)
  228. I'm losing my marble.
  229. Question About Casting
  230. stdbool.h and backward compatibility
  231. select + ncurses probleme
  232. PATH_MAX
  233. fgets() and scanf() peculiarity
  234. compilation file dependency
  235. ferror()
  236. malloc and free
  237. Global initialization of function pointer array
  238. GNU GMP arbitrary precision limitations
  239. Using m68k assembly in c
  240. about MALLOC
  241. alternate function names
  242. Preference: Header File OR Compile Flags?
  243. Converting datetimes from/to UTC/GMT including daylight saving
  244. lookup data structure that returns the previous element as well
  245. SUMMARY: How to return an array from a sub-routine.
  246. --(int)d
  247. relational operators on pointers
  248. simple algorithm for finding primes
  249. Array C'tor
  250. Problem with fread function
  251. porting issues ?
  252. Strange error
  253. open() flags
  254. K&R-Style Function Declarations: Good or Bad?
  255. C Programming Book
  256. %lld conversion
  257. extern access to variable
  258. problems with CR (carriage return) and LF (line feed )
  259. freopen()
  260. Error in Numerical Recipes lubksb routine
  261. random() and fork()
  262. typedef Used to Cast Function Pointers
  263. How to read a CDA file from a CD audio
  264. Reading a line from a file
  265. Translate from c to asm
  266. a dumb strcat question
  267. Question on file size
  268. Convert a binary value to unsigned decimal value
  269. Functions with variable amount of arguments i.e. printf()
  270. -x == ~x + 1
  271. GMP and finding MSB of type mpz_t
  272. Solved by reading this Group!
  273. Low Level Help Requested.
  274. enum fails with using declaration
  275. C or C++ program?
  276. ANSI clear screen [MS & Borland]
  277. c struct help
  278. C programming Interview Questions
  279. Unpredictable program behavior ..
  280. Who succeeded in compiling Crafty Chess source code?
  281. source code for independent component analysis ??
  282. getting CPU usage in windows 2000
  283. Getting the middle of a string
  284. binary search tree removal - stuck - HELP!!
  285. Can I send char as array argument?
  286. mindless: Do you have a good name for a class that...?
  287. YYAT (Yet Another Acronym Thread)
  288. aceept() ?
  289. Predefined macro namespace
  290. Books/texts
  291. Work schedule
  292. How do I: Main thread spawn child threads, which child processes...control those child processes?
  293. threads -> multiple?
  294. Open file without know the complete name?
  295. more header files?
  296. bsearch script segfault
  297. Array of function pointers
  298. Getting address of structure to string array / pointer problem
  299. Debugger "print" clears memory corruption
  300. Double to string?
  301. Writing safer C programs
  302. outportb() / inportb() and Win32
  303. 32-bit IEEE float multiplication
  304. Are the functions "time" and "scandir" thread-safe?
  305. Converting Character Array to String
  306. freopen, fclose and stdout
  307. c.l.c charter
  308. int to unsigned int conversions
  309. to find execution time
  310. Input/Output function
  311. bit manipulation question
  312. need help with search code
  313. Manipulating string constants with preprocessor macros - possible?
  314. gets() rationale
  315. c struct help
  316. operator ++
  317. Effect of goto on local variables
  318. how this is evaluated ?
  319. GMP problem with simple thing
  320. sizeof main;
  321. Do I really release memory ??
  322. Scientific Calculation with long double
  323. Need help with my Calculator program.
  324. file name with variables
  325. Pointer validity
  326. AMD opteron 64
  327. replacement for relational operations
  328. deleting and sorting in files
  329. regular expressions in C
  330. How to return an array from a sub-routine.
  331. EFFICIENCY question: need help from the C geniuses
  332. How to remove the type defined by "typedef"?thx
  333. How to find out a type id
  334. File Viewer that stops at the 24th line
  335. scanf() vs gets()
  336. Calling C functions from Tk script.
  337. linking assembler code to C via C library
  338. help generating an array of array with malloc or calloc
  339. Reading specified Location
  340. New Forums
  341. Is C99 the final C?
  342. Http Post in C
  343. ping John Smith.
  344. GTK errors with Visual C++
  345. %ls C89?
  346. What is the proper way to handle errors from function calls?
  347. Can some "C" expert correct me an efficient way of manipulating the data from the pointer
  348. when GOTO makes sense.
  349. structure member allocation
  350. Copy Protection?!
  351. Developing a simple GUI
  352. Tokenizer interface
  353. Prototyping rules/recommendations sought
  354. Comments reqd
  355. typecasting a bitfield to unsigned long long
  356. [Q]What is different between strcpy and sprintf in this case
  357. [maybe OT] signal( ) standard ?
  358. longjump
  359. Looking for C programmer interested in powerful data compression project
  360. how to make elegant use of preprocessor directives
  361. Question on COM port
  362. Reading a file line by line... in reverse
  363. I need to display an array of structures on screen of an unknown length
  364. Multiple function selection
  365. How can I "peek" at the keyboard without suspending?
  366. sigset_t and gcc
  367. Pointer to array of unspecified size
  368. Standards compliance
  369. Link two lists
  370. Reverse a linked list
  371. Error in the standard?
  372. web search with summarized result/web pages
  373. File read/write operations
  374. k&r book
  375. postgresql binding to c
  376. Style Question - Checking for Poor Parameters
  377. Clearing of structs...
  378. malloc
  379. reading a file in reverse order (bootom-top)
  380. malloc vs. realloc
  381. Graphics/GUIs in C
  382. hopeless scanf (or I'm hopeless :))
  383. EXIT_SUCCESS guaranteed to always be zero?
  384. #include <math.h>
  385. Scientific C Software, Public Domain
  386. C programming - reading from a file - help request!
  387. simple c array help needed
  388. Binary Search to search linearizer table?
  389. some interview questions.
  390. partial preprocessing
  391. va_copy implementation
  392. [Lang C]Linear Algebra, Calculus In language C with gnuplot.
  393. Reading Unicode Strings from File
  394. about BigEndian and LittleEndian
  395. a problem about using macro?
  396. Comparing elements of an array to a char
  397. debugging - help
  398. sig_atomic_t
  399. Question regarding pointer typecasting and manipulation
  400. class and method
  401. Single tasking?
  402. malloc() again
  403. Pointer Question
  404. how can get other process pid
  405. I'm sorry for post same message three times by mistalke!
  406. how can get other process pid
  407. how can get other process pid
  408. how can get other process pid
  409. Writing an Emulator
  410. fgets() - supposed to be simple :)
  411. Trouble with malloc().
  412. data conversion
  413. Passing structure value to pointer
  414. data transfer
  415. number of characters in a string
  416. About Sorting
  417. About sorting
  418. test
  419. parsing C code
  420. [possibly OT] the comparison function in qsort
  421. [possibly OT] the comparison function in quicksort
  422. file i/o issue
  423. memcmp() semantics
  424. why do strcpy, strcat, & co return a pointer ?
  425. malloc() and free()
  426. Best way to learn?
  427. best way to chop off leading char in string?
  428. I'm new at C, and I'm having problems with descisions and loops
  429. how c language to realize multiple ?
  430. volatile inhibits side-effects
  431. older standard drafts for download?
  432. printing error mesgs.
  433. Makefiles with multiple targets
  434. problem with array
  435. initializer needs constant
  436. Returning an assignment?
  437. question on avl trees
  438. c event handling - how?
  439. how c language to realize multiple ?
  440. how c language to realize multiple ?
  441. Safe subset of C?
  442. how the realloc( ) allocates memory ?
  443. C Coding Styles and the use of Macros
  444. Theoretical Problem
  445. libc and thread safety
  446. tailing a log file using c ...
  447. Expat problems
  448. malloc syntax
  449. Lvalue Required......Why?
  450. Pointer to function
  451. Complicated circular type definitions: help!
  452. Problem with a Regular Expression in C. Need Help!
  453. code for relativity
  454. what is the default return type of a function?
  455. what is the default return type of a function?
  456. isprint() equivalent for ISO-8859-15?
  457. Header include order
  458. Memory layout question
  459. Can realloc potentially cause a memory leak?
  460. EOF (novice)
  461. Datastructure design
  462. How can I embed the *regex* engine into C program?
  463. need some help with I/O
  464. C Array Sort - Pass By Reference.........
  465. Counting program lines except comments
  466. Linker error multiple definitions
  467. How do you save input in a text file?
  468. Can't figure this out
  469. const char * to char[]
  470. Pointing to high and low bytes of something
  471. bug? instruction not compiled below comment
  472. Hash Map API Preference
  473. request for code review
  474. How to call a function from one project to a function in another project ???
  475. Documenting C Code
  476. LL(2) to LL(1) conversion
  477. winMain link error
  478. VFW.h link error
  479. gcc compile problem
  480. gdb and dbx question
  481. An Evolutionary Analysis of GNU C Optimizations
  482. passing an array to a function?
  483. Prime number algorithm in C
  484. is this some c code ?
  485. where do I get libraries , snippets etc
  486. Artist needs help with bitmaps
  487. what are the reverse functions of atof( ), atoi( ) and atol( ) ?
  488. cpencrypt, in out parameters
  489. A simple math libary problem?
  490. Segfaulting when trying to create custom 'fgetline' function
  491. Difference between using exit(n) and return n in main()?
  492. Code, generate thyself!
  493. Using arrays in C.
  494. void pointer arithmetic
  495. recursion
  496. Variable argument lists
  497. Efficient Programming
  498. Somebody misunderstod me
  499. @@@ A Serious Question @@@
  500. Windows c programing
  501. Does malloc add size information to program?
  502. what is good irc networks and channels avialable for c programmers
  503. Pointer mutations
  504. Code Critique Please
  505. assigning values to structure members
  506. Deferencing void pointer
  507. Insert EOF marker into file
  508. logistic regression implementations
  509. socket programming
  510. check out this code! any ideas for me fellas?
  511. c source
  512. line directive
  513. Structures, Pointer and gets
  514. Pointer mess.
  515. header file question
  516. Use of do...while(0) in ASSERT macro
  517. writing 5 bits at the time to a file
  518. C compiler with BSD lib socket included ???
  519. Using temporary register Variable
  520. Trigraph sequences
  521. vi-style command-line editing in gdb
  522. Strange fwrite
  523. Function declarations & use of static functions
  524. Mix C++ DLL with C main program
  525. Function declarations/defaults
  526. udp_var.h
  527. Working with threads
  528. calling other functions
  529. Structure Compatibility
  530. zip
  531. Look for SOAP implementation for C (not C++)
  532. in out parameters in CPEncrypt
  533. Printing double with no trailing zeros
  534. Calling C DLL from VB
  535. Preprocessor fun; \xdigits
  536. Want to optimize this procedure, any advice?
  537. Very strange error
  538. windows.h question
  539. struggling with strings
  540. Question on switch block scope
  541. components of a floating point value
  542. how tp pass a stream into a structure
  543. Defining int64
  544. two exiting points in void function?
  545. how to return an array from function
  546. mblen and mbrlen
  547. mix c and c+++
  548. writing tsr in c
  549. Initialising structures
  550. in realloc(): warning: chunk is already free