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