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. Algorithms Notes by Derek O'Connor
  2. For a copy of The Embedded Newsletter
  3. getting return value from function without return statement.
  4. a small pointer problem
  5. Compiler bug?
  6. Sequence matching exercise
  7. FA:Software Source Translation: Fixed per 100 line Cost PL/M, Pascal, CHILL,
  8. address beyond array declaration
  9. Help on C code
  10. Fravær
  11. what is & 0x1 in this context?
  12. Het zal toch niet zijn wie ik denk dat het is?
  13. fprintf/variable args question
  14. sscanf regex
  15. fscanf problem
  16. assigning values to an array after declaring it
  17. Array of size zero!
  18. memset all bits to zero will let float/double to zero?
  19. Interpolation without FPoint arithmetics
  20. This is just a TEST!
  21. Help the helpless.. code read
  22. problem with a static variable
  23. Quirk in Conditional Operator?:
  24. Arjen Jongeling, een oude bekende
  25. use memcpy() to copy one structure to another
  26. January 1 ?
  27. simple matrix routines
  28. Dynamic access to struct field names
  29. Portable way to wait for a keypress
  30. An IDE for C
  31. program - help
  32. Where's the mistake???
  33. Making function private/ not supplying declaration in header file
  34. Making function private/ not supplying declaration in header file
  35. 4 digits hex (WORD)
  36. memory optimization
  37. Difference between various functions
  38. Memory usage
  39. Trouble with scanf("%c", &answer);
  40. HELP: function pointer
  41. Post and pre increment
  42. Building Paper, Rock, Scissors
  43. Double break
  44. wrap around alphabet??
  45. Maximum char array size?
  46. Next prime algorithm
  47. Can you switch to C in protected mode?
  48. what are *.so filea in linux?
  49. quik popularized by ANSI C
  50. What's wrong with long long?
  51. memmove() loses bits...
  52. Suggestions to a simple wave file writer…
  53. Write a string in EBCDIC
  54. random number generation
  55. C tidbits
  56. barcode decoding from an image
  57. System cmds
  58. Latest C Version
  59. bits and stuff
  60. To check if SMTP delivery is enabled for a user.
  61. typecasting towards a pointer to a K&R style declared function
  62. _Pointers_and_Arrays_
  63. Looking for a C project to read the source code
  64. A function that returns a function that adds x to its argument
  65. Why these warnings?
  66. Repost: String pointer and char array
  67. Why do we have const arguments?
  68. String pointer and char array
  69. Language to replace C
  70. Regarding the FAQs
  71. Finding next largest/smallest floating point value
  72. Structures and Pointers
  73. Reverse engineering tools
  74. hexadecimal ( WORD)
  75. Typecasting Structures?
  76. Type Casting IPv4 and IPv6 structures to Generic Structures
  77. Typo in n869
  78. What will happen when the size of a local variable length array turns out to be 0 (zero)?
  79. the whys of the comma operator
  80. Blocking on fopen() command
  81. who owns C
  82. clearerr(stdin) not clear
  83. array alignment
  84. Help with __cplusplus
  85. printf, align & field width?
  86. Can #include use a preprocessing token?
  87. Create and use a library
  88. extern and linkage
  89. Issues with LibMad
  90. Viariables definitions must be first in function definition?
  91. XpoLog 2.5 released
  92. Why do so few people know the difference between arrays and pointers.
  93. union
  94. Finding if a file is open.
  95. Threads in C
  96. Here's a good one...
  97. why does symbol & in #define QO_PTR(q_node, q_type, q_ptr) needed?
  98. why does symbol & in #define QO_PTR(q_node, q_type, q_ptr) needed?
  99. label inside for-loop
  100. binary search tree problem
  101. A basic primitive interactive system
  102. A basic primitive interactive system
  103. switch/continue
  104. libxml needs to be tamed (standardize C/C++ XML library?)
  105. Unicode Initialization.
  106. Allocated memory
  107. data storage question...
  108. Pointer to Pointer & Mem allocation
  109. Need constant screen with periodic updates
  110. borland time_t conversion
  111. Explicit unsigned/signed conversion: ANSI/ISO rules?
  112. what's wrong with my program ?
  113. how to produce trace of C program?
  114. trouble, writing an array of structure to binary file.
  115. From a researcher: what is the job market for compiler-writters?
  116. Eats, Shoots & Leaves
  117. returning a floating point value from a function
  118. syscalls.h or equivalent in cygwin or Linux
  119. checking for overflow
  120. creating a file sliding window
  121. loading an image in a c program
  122. wait3 breaks printf for floats?
  123. Clearing Console Window
  124. What do these warnings mean?
  125. netlib - May '04
  126. sizeof extern arrays
  127. print matrix
  128. Missing Lines With fscanf()
  129. from void * to types
  130. Printing an unsigned char
  131. O'Reilly book: Mastering algorithms with C
  132. Can I use a byte array for sound files?
  133. Fundamental question
  134. questions about dynamic allocations
  135. OOP in C!
  136. Memory alignment
  137. Obfuscated c using #include
  138. Allocating single memory block for multiple structures
  139. Stacks and heaps
  140. Macro to stringify an enum
  141. How to read a character from a particular location on console?
  142. declaration error
  143. implicit type conversions
  144. Basic C tutorial on networking TCP/IP
  145. what is wrong with this code ? hi-q
  146. Separating directory from file name: Code Review!
  147. Separating directory from file name
  148. declaration error
  149. declaration error
  150. little network/socket-program with parse error
  151. fgets()/strlen unix/DOS portability question
  152. Talking to *n*x
  153. `errno' (Dan Pop)
  154. Casting const void * into void *
  155. Function seems to re-initialize arguments
  156. use of FAR pointers with gcc
  157. Hi,
  158. Becoming a C _developer_
  159. GUI libraries for C (not C++)
  160. Find the functions being called in a C file
  161. rebuffering an opened file
  162. Pragma Document
  163. C function overloading?
  164. Planning to learn C/a new language, your suggestions please
  165. Is there any good hash library in c/c++?
  166. Statically linking a library problem...
  167. Help. Program coredumps with SIGILL after exit (0) is called
  168. File size
  169. Regarding: fgets() replacement
  170. how to embede sql database at .net setup project??!!
  171. Help me to compile gcc
  172. Static variable mapping !!
  173. [Meta] net nanny confused
  174. 10 most used
  175. allocate 2d array in function and return it to caller
  176. How to get the values parsed from the following stream of bytes
  177. fgets() replacement
  178. Reversing order of quicksort
  179. Struct initialisation
  180. Reversing order of quicksort
  181. Most restrictive type
  182. Help with Visual C++.NET
  183. Including an enum within another enum, possible?
  184. Is this code valid
  185. ISO C incompatibilities
  186. Using a union as a function parameter
  187. Is this right?
  188. The Year 2038 Problem
  189. test
  190. What does the standard say about array access wraparound?
  191. Memory size?
  192. Sizeof vs. Strlen
  193. array initializer / conversion to pointer
  194. Getting the file name
  195. Memory allocation for function paramaters
  196. calculating scale for bar chart axis
  197. I can´t understand C variables.....
  198. macro magic: include a while loop and return result?
  199. Stack usage
  200. "the c prog. lang." prob with win. xp
  201. help with static memory allocation !
  202. C Syntax
  203. error: incompatible types in asignment
  204. array of pointers to char in functions
  205. Developing a File System filter Driver
  206. question about printf
  207. scope and linkage rule, very confusing!
  208. Critique invited
  209. writing a dailer in c for a 8051 based system
  210. incompatible types in assignment
  211. Tools advice for C and C++ programmers using XML
  212. initialization from incompatible pointer type
  213. Possibilities of Return (with parameters???)
  214. using C to create a Static lib
  215. detect Ctrl+C with getc ?
  216. Fprintf works in one function but not in the other .
  217. struct and multiple indirection for a variable
  218. global variable across object files
  219. Help with Data Grid
  220. lib for rotating jpeg's
  221. Code Review (Skip List)
  222. why doesn't this code work? :)
  223. security coding guidelines for C/C++
  224. program output?
  225. allocating space for an array of integers
  226. relative pointers
  227. Typecast long double->double seems to go wrong
  228. To void parameter 'argc' is never used
  229. 'dynamic' functions
  230. C drawing library
  231. A new way to learn C?
  232. Checking if two FILE *s are associated with the same stream.
  233. Unreadable source code
  234. structures why
  235. Pointer initialization.
  236. array padding
  237. Assign a name to a pointer variable from another variable
  238. guidance to C compiler
  239. char* program-flow crossroads
  240. keybord event capture
  241. IT CAREERS
  242. ATA/ATAPI-5 Question
  243. Creating an object visible to Visual Basic
  244. Q: Line Counting, K&R sec. 1.5.3 on OS X
  245. Avoiding name collisions in macros
  246. pointer to function solves bug ?
  247. pointer to function solves bug ?
  248. writing strings instead of rabish to file using fprintf
  249. Pointers with C- a query
  250. ## Capturing Ctrl key in LINUX ##
  251. Struct question
  252. a rand array
  253. how to efficiently do sorting and get array of indices?
  254. C89 drafts
  255. Statically-linked binary SegFaults
  256. structures why
  257. Using an array Bit-Field in struct, how to best approach...
  258. questions about constants
  259. WinAPI and data box
  260. tool to convert c code to flow chart
  261. Colors in C / Cores em C
  262. Pointer
  263. Rand() with base
  264. Calculate area for a classical problem
  265. fscanf to read lines from file?
  266. socket programming
  267. volatile qualified parameters
  268. Difference between a library file and a header file in C
  269. fwrite() and free() bug
  270. unhandled exception : Privileged instruction
  271. test ignoreit plz
  272. Using fgets() to store string in memory
  273. malloced union member
  274. Help needed ...
  275. Looking for a more elegant way to do memory offsets
  276. help understanding character arrays
  277. Online C tutorial, moved to own site
  278. What is wrong with this?
  279. converting variables
  280. test
  281. GCC and VC
  282. Algorithm to compare to arrays of int
  283. How to obtain list of libraries?
  284. Immediate data
  285. bit fields in a structure
  286. Size of Structure
  287. How to fix this structure?
  288. How to fix this structure?
  289. printf("%.2f\n", 90.625)
  290. ??alloc(0) - std interpretation
  291. What is wrong?
  292. running multiple threads and multiple processes at the same time
  293. embedded SQL in C
  294. isalpha(0), etc
  295. String swapping problem
  296. function call in conditional operator?
  297. Richard Stevens
  298. Software modules (for embedded)
  299. C performance
  300. about STREQ
  301. parsing from file
  302. Format of Pointers in Unix
  303. memory structure in C and value of EOF
  304. how to restore the position of a file pointer
  305. question for malloc & free.
  306. Just how delicate are freed pointers?
  307. external struct declaration
  308. weirdness of scanf
  309. Need for the ternary operator
  310. Question about accessing functions via pointers
  311. Are there standard numbers for various errors?
  312. Searching for byte string in a binary file.
  313. Chaning/allocating char* function parameters
  314. peek at stdin, flush stdin
  315. Calling a Pointer?
  316. strtol library function
  317. Char arrays
  318. Hello World
  319. Test
  320. Test
  321. C Unleashed
  322. setting timestamp from microsoft visual c?
  323. Array Initialization problems.
  324. late-binding of name to function pointer and other questions
  325. How do I save the posts?
  326. Is there anything wrong with the following ?
  327. pointer to incomplete types
  328. Some Questions Asked in Interview
  329. need help ...
  330. library using library?
  331. Program without main
  332. GCC structure initialization
  333. Get system() error message
  334. swap() function without tmp
  335. const char*
  336. An error handling scheme (long)
  337. Setting errno
  338. Using select() and read();
  339. Looking for fast string hash searching
  340. run-time polymorphism in C (long)
  341. newb help: making sense of typedef enum...
  342. How to download automtically the messages
  343. Detecting multiple keypresses
  344. Coding Style
  345. A simple (?) question about the size of structs
  346. about functions
  347. Socket never returns from read() function call
  348. pointer to arrays as parameter
  349. Initialization of pointer arrays
  350. Trouble with pointers
  351. volatile struct in dot h vs dot c
  352. how to read key from keyboard without return
  353. Programs without semicolon
  354. Why does execution start at main()?
  355. typedef double complex[2]
  356. Array and string abstraction
  357. De-referencing pointer to function-pointer
  358. new to C, how do I solve this problem?
  359. Test
  360. undirected graph representation and Kruskal's algorithm
  361. Without semicolons
  362. static initialization
  363. if(a);
  364. memcpy() and endianness
  365. Another Understanding Pointers Question
  366. implicit long int -> int ?
  367. ECOOP 2004: Call for Participation
  368. Prevent linker from unnecessary symbol resolution
  369. change where a file pointer points, inside a function
  370. Declaration of structs inside parameter list
  371. instantiation of struct with no tag name
  372. where are unions and bitfields particularly used ?
  373. To become an expert in C programming
  374. @ Friedman is a malicious mischief monger and misleader
  375. Routine without busy-waiting
  376. Detecting overflow
  377. qsort mode-based sorting
  378. struct ptr problem
  379. Do I understand pointers?
  380. Non Portable C
  381. Non Portable C
  382. Streamable File Format + Interactivity
  383. Help with pointers
  384. K&R exercise 4-14
  385. cobol and binary data written by C
  386. Output to Printer
  387. iteration through a file of structs
  388. Berkely Socket Accept.. not working, ideas?
  389. Our OWN 'Deep C Secrets'
  390. File name gets truncated
  391. Function to remove an item from a linked list failing ~1 out of 10,000 times
  392. Referencing a global array outside a function
  393. reading from file
  394. Hi, i want to learn programming...
  395. hello
  396. Supressing Unused Parameter Warnings
  397. test URL
  398. netlib - Apr '04
  399. ?? CONSISTENT CRIMES OF THE EVIL ANGLO-SAXON RACE AND RELIGION
  400. which compiler is nearest to Zortech
  401. ??? A NATION UNDER GOD ???
  402. @ IRAQI OIL PRECIOUS THAN RUMSFELD - FRIEDMAN
  403. IRAQI OIL PRECIOUS THAN RUMSFELD - FRIEDMAN
  404. Reg UNIX queues
  405. @ IRAQI OIL PRECIOUS THAN RUMSFELD - FRIEDMAN
  406. CRAP ARTICLE BY DR THOMAS FRIEDMAN OF NYTIMES
  407. Review(2): My C FAQ Page
  408. strcat implementation?
  409. looking for sample code: writing file content to binary
  410. Pointer subtraction
  411. rjh?
  412. HELP with some code needed ...
  413. Portable log1p()
  414. Portable log1p()
  415. write a struct inna file
  416. struct in datei schreiben
  417. Seting unsigned long value causes coredump
  418. Style question: (5 == x) or (x == 5)
  419. Size of Allocated Memory
  420. DOS window empty in XP
  421. Power in C
  422. Hello again
  423. using binary numbers in c
  424. Integer overflow in expression
  425. Maximum for Arrays in C/C++
  426. simple C language programming question
  427. printf pointer to double
  428. Macro al posto di una funzione
  429. file access
  430. printf: displaying sum of very large numbers
  431. Confused
  432. How to export external reference from a file of C source code?
  433. Life time of the string referenced by a __FILE__ preprocessor statement.
  434. define side effects
  435. polymorphism in c
  436. errno
  437. segmentation fault
  438. can any one get me the all the queries in this group in a .zip file
  439. return value of strlcat
  440. Accessing PIC's EEPROM
  441. What's going on here?
  442. Parsing elements from a string
  443. rotating an array....
  444. help....
  445. Creare un sistema operativo
  446. Why vsscanf() doesn't change errno for range error?
  447. int to float conversion
  448. memcpy() vs bcmp()
  449. When to use "perror" and "fprintf"
  450. check if a subdirectory exists
  451. A flirt with epsilon
  452. a flirt with epsilon
  453. internals of typecasting
  454. test
  455. Detecting dangling memory references
  456. pointer cast
  457. out of range array subscript
  458. Q: Newbee: Why is this little program not working
  459. Newbye quetion: Why a double can store more number than a long ?
  460. Reducing Repeated code for arrays
  461. Data Files
  462. Using signals as a event driven framework
  463. Printing "hello , wolrd" with out using semicolon
  464. Using fgets w/ stdout
  465. what does 'covariant arrays' mean?
  466. Where get the Expert C Programming-Deep C Secrets ?
  467. Sine code for ANSI C
  468. Allocating memory for struct - when?
  469. [FAQ] updated version ?
  470. include path tool?
  471. Open a file from memory?
  472. ajsdofij
  473. Array of a type
  474. Zortech compiler needed
  475. C declaration
  476. Where is error checking on fgets() addressed in FAQ?
  477. Fuction pointers - Is this legal C?
  478. ANSI C Challenge on readint
  479. File pointer to file handle
  480. Needed: ACM article from 1984
  481. Some help with pointers......and passing them around.
  482. Generic ADT
  483. namespace check on compile time
  484. linking error with : reads c compiler from rigel
  485. socket returning gibbarish
  486. ispunct()
  487. Loading a Mesh
  488. Function Overloading
  489. int
  490. function pointer casting
  491. function pointer casting
  492. Array of pointers in a struct
  493. Is setjmp/longjmp ok?
  494. Array of pointers in a struct
  495. Is setjmp/longjmp ok?
  496. help: why setjmp/longjmp take STRUCT jmp_buf as parameter, not a pointer?
  497. Expert C programming by Peter Vander Tiden/Liden
  498. simple conversion from C to C++
  499. register variable
  500. typedef struct _iobuf FILE;
  501. Sockets not working properly
  502. Expat, decision making on element-name
  503. flexible function parameter
  504. Does any one have heap sorting with doubly linked list in C?
  505. VT100
  506. Program to rename C/C++ symbols (variables/functions)
  507. interesting problem in turbo C++, involving fopen
  508. [RFC] C token counter
  509. Why is C good??? any experts?
  510. is this an signal handler or a alarm ?
  511. How to quit void functions
  512. NO_EXT_KEYS and strict ISO/ANSI modes
  513. Summer School on Garbage Collection & Memory Management
  514. heap sorting with queue(doublely linked list) in C
  515. strange function syntax
  516. strtol with hex greater than 4 byte ?
  517. Math Question
  518. freeing allocated memory
  519. exceptions
  520. Disadvantages of register storage class specifier
  521. static vs auto
  522. Volatile specifier
  523. Size of char on a 64 bit machine
  524. KDE or GNOME?
  525. returning pointer into const argument
  526. string declaration(s)
  527. necessary cast?
  528. Speed up you typing speed more than 100 wpm
  529. Equal to operand
  530. c program running 2 terminal windows, how to specify in which to write?
  531. passing an array as argument
  532. C Static program analyzer
  533. casting trouble
  534. qsort warning
  535. Dynamic allocation of a triple indirection
  536. JPEG HEADER
  537. sizeof(struct something)??
  538. malloc question - what happens when chunk gets free?
  539. anyone out there knows how to use Microsoft Access
  540. Microsoft Access
  541. char s[500000];
  542. `restrict' qualifer
  543. main()
  544. ANSI C Challenge on readint
  545. auxiliary linked list index array
  546. Oracle acces from C
  547. need help in writing DES algorithm in C
  548. union in struct without union name
  549. srand()
  550. Headers/Libraries default locations