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