View Full Version : 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

  1. Using a union as a function parameter
  2. Is this right?
  3. The Year 2038 Problem
  4. test
  5. What does the standard say about array access wraparound?
  6. Memory size?
  7. Sizeof vs. Strlen
  8. array initializer / conversion to pointer
  9. Getting the file name
  10. Memory allocation for function paramaters
  11. calculating scale for bar chart axis
  12. I canīt understand C variables.....
  13. macro magic: include a while loop and return result?
  14. Stack usage
  15. "the c prog. lang." prob with win. xp
  16. help with static memory allocation !
  17. C Syntax
  18. error: incompatible types in asignment
  19. array of pointers to char in functions
  20. Developing a File System filter Driver
  21. question about printf
  22. scope and linkage rule, very confusing!
  23. Critique invited
  24. writing a dailer in c for a 8051 based system
  25. incompatible types in assignment
  26. Tools advice for C and C++ programmers using XML
  27. initialization from incompatible pointer type
  28. Possibilities of Return (with parameters???)
  29. using C to create a Static lib
  30. detect Ctrl+C with getc ?
  31. Fprintf works in one function but not in the other .
  32. struct and multiple indirection for a variable
  33. global variable across object files
  34. Help with Data Grid
  35. lib for rotating jpeg's
  36. Code Review (Skip List)
  37. why doesn't this code work? :)
  38. security coding guidelines for C/C++
  39. program output?
  40. allocating space for an array of integers
  41. relative pointers
  42. Typecast long double->double seems to go wrong
  43. To void parameter 'argc' is never used
  44. 'dynamic' functions
  45. C drawing library
  46. A new way to learn C?
  47. Checking if two FILE *s are associated with the same stream.
  48. Unreadable source code
  49. structures why
  50. Pointer initialization.
  51. array padding
  52. Assign a name to a pointer variable from another variable
  53. guidance to C compiler
  54. char* program-flow crossroads
  55. keybord event capture
  56. IT CAREERS
  57. ATA/ATAPI-5 Question
  58. Creating an object visible to Visual Basic
  59. Q: Line Counting, K&R sec. 1.5.3 on OS X
  60. Avoiding name collisions in macros
  61. pointer to function solves bug ?
  62. pointer to function solves bug ?
  63. writing strings instead of rabish to file using fprintf
  64. ## Capturing Ctrl key in LINUX ##
  65. Pointers with C- a query
  66. Struct question
  67. a rand array
  68. how to efficiently do sorting and get array of indices?
  69. C89 drafts
  70. Statically-linked binary SegFaults
  71. structures why
  72. Using an array Bit-Field in struct, how to best approach...
  73. questions about constants
  74. WinAPI and data box
  75. tool to convert c code to flow chart
  76. Colors in C / Cores em C
  77. Pointer
  78. Rand() with base
  79. Calculate area for a classical problem
  80. fscanf to read lines from file?
  81. socket programming
  82. volatile qualified parameters
  83. Difference between a library file and a header file in C
  84. fwrite() and free() bug
  85. unhandled exception : Privileged instruction
  86. test ignoreit plz
  87. Using fgets() to store string in memory
  88. malloced union member
  89. Help needed ...
  90. Looking for a more elegant way to do memory offsets
  91. help understanding character arrays
  92. Online C tutorial, moved to own site
  93. What is wrong with this?
  94. converting variables
  95. test
  96. GCC and VC
  97. Algorithm to compare to arrays of int
  98. How to obtain list of libraries?
  99. Immediate data
  100. bit fields in a structure
  101. Size of Structure
  102. How to fix this structure?
  103. How to fix this structure?
  104. printf("%.2f\n", 90.625)
  105. ??alloc(0) - std interpretation
  106. What is wrong?
  107. running multiple threads and multiple processes at the same time
  108. embedded SQL in C
  109. isalpha(0), etc
  110. String swapping problem
  111. function call in conditional operator?
  112. Richard Stevens
  113. Software modules (for embedded)
  114. C performance
  115. about STREQ
  116. parsing from file
  117. Format of Pointers in Unix
  118. memory structure in C and value of EOF
  119. how to restore the position of a file pointer
  120. question for malloc & free.
  121. Just how delicate are freed pointers?
  122. external struct declaration
  123. weirdness of scanf
  124. Need for the ternary operator
  125. Question about accessing functions via pointers
  126. Are there standard numbers for various errors?
  127. Searching for byte string in a binary file.
  128. Chaning/allocating char* function parameters
  129. peek at stdin, flush stdin
  130. Calling a Pointer?
  131. strtol library function
  132. Char arrays
  133. Hello World
  134. Test
  135. Test
  136. C Unleashed
  137. setting timestamp from microsoft visual c?
  138. Array Initialization problems.
  139. late-binding of name to function pointer and other questions
  140. How do I save the posts?
  141. Is there anything wrong with the following ?
  142. pointer to incomplete types
  143. Some Questions Asked in Interview
  144. need help ...
  145. library using library?
  146. Program without main
  147. GCC structure initialization
  148. Get system() error message
  149. swap() function without tmp
  150. const char*
  151. An error handling scheme (long)
  152. Setting errno
  153. Using select() and read();
  154. Looking for fast string hash searching
  155. run-time polymorphism in C (long)
  156. newb help: making sense of typedef enum...
  157. How to download automtically the messages
  158. Detecting multiple keypresses
  159. Coding Style
  160. A simple (?) question about the size of structs
  161. about functions
  162. Socket never returns from read() function call
  163. pointer to arrays as parameter
  164. Initialization of pointer arrays
  165. Trouble with pointers
  166. volatile struct in dot h vs dot c
  167. how to read key from keyboard without return
  168. Programs without semicolon
  169. Why does execution start at main()?
  170. typedef double complex[2]
  171. Array and string abstraction
  172. De-referencing pointer to function-pointer
  173. new to C, how do I solve this problem?
  174. Test
  175. undirected graph representation and Kruskal's algorithm
  176. Without semicolons
  177. static initialization
  178. if(a);
  179. memcpy() and endianness
  180. Another Understanding Pointers Question
  181. implicit long int -> int ?
  182. ECOOP 2004: Call for Participation
  183. Prevent linker from unnecessary symbol resolution
  184. change where a file pointer points, inside a function
  185. Declaration of structs inside parameter list
  186. instantiation of struct with no tag name
  187. where are unions and bitfields particularly used ?
  188. To become an expert in C programming
  189. @ Friedman is a malicious mischief monger and misleader
  190. Routine without busy-waiting
  191. Detecting overflow
  192. qsort mode-based sorting
  193. struct ptr problem
  194. Do I understand pointers?
  195. Non Portable C
  196. Non Portable C
  197. Streamable File Format + Interactivity
  198. Help with pointers
  199. K&R exercise 4-14
  200. cobol and binary data written by C
  201. Output to Printer
  202. iteration through a file of structs
  203. Berkely Socket Accept.. not working, ideas?
  204. Our OWN 'Deep C Secrets'
  205. File name gets truncated
  206. Function to remove an item from a linked list failing ~1 out of 10,000 times
  207. Referencing a global array outside a function
  208. reading from file
  209. Hi, i want to learn programming...
  210. hello
  211. IRAQI ABUSE - UNDERSTANDING THE FUNDAMENTAL ORIGINS
  212. Supressing Unused Parameter Warnings
  213. test URL
  214. netlib - Apr '04
  215. ?? CONSISTENT CRIMES OF THE EVIL ANGLO-SAXON RACE AND RELIGION
  216. which compiler is nearest to Zortech
  217. ??? A NATION UNDER GOD ???
  218. @ IRAQI OIL PRECIOUS THAN RUMSFELD - FRIEDMAN
  219. IRAQI OIL PRECIOUS THAN RUMSFELD - FRIEDMAN
  220. Reg UNIX queues
  221. @ IRAQI OIL PRECIOUS THAN RUMSFELD - FRIEDMAN
  222. CRAP ARTICLE BY DR THOMAS FRIEDMAN OF NYTIMES
  223. Review(2): My C FAQ Page
  224. strcat implementation?
  225. looking for sample code: writing file content to binary
  226. Pointer subtraction
  227. rjh?
  228. HELP with some code needed ...
  229. Portable log1p()
  230. Portable log1p()
  231. write a struct inna file
  232. struct in datei schreiben
  233. Seting unsigned long value causes coredump
  234. Style question: (5 == x) or (x == 5)
  235. Size of Allocated Memory
  236. DOS window empty in XP
  237. Power in C
  238. Hello again
  239. using binary numbers in c
  240. Integer overflow in expression
  241. Maximum for Arrays in C/C++
  242. simple C language programming question
  243. printf pointer to double
  244. Macro al posto di una funzione
  245. file access
  246. printf: displaying sum of very large numbers
  247. Confused
  248. How to export external reference from a file of C source code?
  249. Life time of the string referenced by a __FILE__ preprocessor statement.
  250. define side effects
  251. polymorphism in c
  252. errno
  253. segmentation fault
  254. can any one get me the all the queries in this group in a .zip file
  255. return value of strlcat
  256. Accessing PIC's EEPROM
  257. What's going on here?
  258. Parsing elements from a string
  259. rotating an array....
  260. help....
  261. Creare un sistema operativo
  262. Why vsscanf() doesn't change errno for range error?
  263. int to float conversion
  264. memcpy() vs bcmp()
  265. When to use "perror" and "fprintf"
  266. check if a subdirectory exists
  267. A flirt with epsilon
  268. a flirt with epsilon
  269. internals of typecasting
  270. test
  271. Detecting dangling memory references
  272. pointer cast
  273. out of range array subscript
  274. Q: Newbee: Why is this little program not working
  275. Newbye quetion: Why a double can store more number than a long ?
  276. Reducing Repeated code for arrays
  277. Data Files
  278. Using signals as a event driven framework
  279. Printing "hello , wolrd" with out using semicolon
  280. Using fgets w/ stdout
  281. what does 'covariant arrays' mean?
  282. Where get the Expert C Programming-Deep C Secrets ?
  283. Sine code for ANSI C
  284. Allocating memory for struct - when?
  285. [FAQ] updated version ?
  286. include path tool?
  287. Open a file from memory?
  288. ajsdofij
  289. Array of a type
  290. Zortech compiler needed
  291. C declaration
  292. Where is error checking on fgets() addressed in FAQ?
  293. Fuction pointers - Is this legal C?
  294. ANSI C Challenge on readint
  295. File pointer to file handle
  296. Needed: ACM article from 1984
  297. Some help with pointers......and passing them around.
  298. Generic ADT
  299. namespace check on compile time
  300. linking error with : reads c compiler from rigel
  301. socket returning gibbarish
  302. ispunct()
  303. Loading a Mesh
  304. Function Overloading
  305. int
  306. function pointer casting
  307. function pointer casting
  308. Array of pointers in a struct
  309. Is setjmp/longjmp ok?
  310. Array of pointers in a struct
  311. Is setjmp/longjmp ok?
  312. help: why setjmp/longjmp take STRUCT jmp_buf as parameter, not a pointer?
  313. Expert C programming by Peter Vander Tiden/Liden
  314. simple conversion from C to C++
  315. register variable
  316. typedef struct _iobuf FILE;
  317. Sockets not working properly
  318. Expat, decision making on element-name
  319. flexible function parameter
  320. Does any one have heap sorting with doubly linked list in C?
  321. VT100
  322. Program to rename C/C++ symbols (variables/functions)
  323. interesting problem in turbo C++, involving fopen
  324. [RFC] C token counter
  325. Why is C good??? any experts?
  326. is this an signal handler or a alarm ?
  327. How to quit void functions
  328. NO_EXT_KEYS and strict ISO/ANSI modes
  329. Summer School on Garbage Collection & Memory Management
  330. heap sorting with queue(doublely linked list) in C
  331. strange function syntax
  332. strtol with hex greater than 4 byte ?
  333. Math Question
  334. freeing allocated memory
  335. exceptions
  336. Disadvantages of register storage class specifier
  337. static vs auto
  338. Volatile specifier
  339. Size of char on a 64 bit machine
  340. KDE or GNOME?
  341. returning pointer into const argument
  342. string declaration(s)
  343. necessary cast?
  344. Speed up you typing speed more than 100 wpm
  345. Equal to operand
  346. c program running 2 terminal windows, how to specify in which to write?
  347. passing an array as argument
  348. C Static program analyzer
  349. casting trouble
  350. qsort warning
  351. Dynamic allocation of a triple indirection
  352. JPEG HEADER
  353. sizeof(struct something)??
  354. malloc question - what happens when chunk gets free?
  355. anyone out there knows how to use Microsoft Access
  356. Microsoft Access
  357. char s[500000];
  358. `restrict' qualifer
  359. main()
  360. Job Opprtunity: Senior, Experienced Unix Kernel Developer/Architect- Seattle WA
  361. Job Opprtunity: Senior, Experienced Unix Kernel Developer/Architect- Seattle WA
  362. ANSI C Challenge on readint
  363. auxiliary linked list index array
  364. Oracle acces from C
  365. need help in writing DES algorithm in C
  366. union in struct without union name
  367. srand()
  368. Headers/Libraries default locations
  369. Conditional Define
  370. Question on "if" statements...
  371. Linux c prog doesn't work on Sun Solaris Machine....?
  372. beginner question
  373. Ascii String to Intger
  374. A puzzle
  375. opening the program with a full wondow
  376. child pid
  377. Need help reading macro-heavy code
  378. "Ravenscar-like" profile for C/C++
  379. Integers larger than 64bit - Arithmetic
  380. 1
  381. Bus Model
  382. String/Array Question
  383. how do i write basic time function
  384. range limitation
  385. Efficient pseudo-random number generation
  386. Sorting a list of integers in C
  387. Test-driven Development in C#
  388. help: good sturdy C procedural program design
  389. size of long
  390. protect my char* from outside
  391. Named argument view for IDE and more
  392. Arithmetic on function address
  393. Wrong results when comparing negative double variables in an if statement
  394. strange behavior
  395. GCC inline assembly
  396. Weird file writing problem
  397. Initialization of integer pointers
  398. Valid operations on pointers in C
  399. Size of Int on a machine
  400. Is this Ok? (?:)
  401. const structs in other structs
  402. K&R reference.
  403. strange case of void main
  404. Rob Pike's simple Include rule
  405. Problem with getsubopt on AIX
  406. Error handling
  407. Help with #define
  408. sscanf fixed-width integer question
  409. book for programming
  410. Printf
  411. typdef'ing from sig_atomic_t valid?
  412. Sony DRU-700A DVD+R Dual Layer
  413. Export from Access to Excel
  414. trouble.....
  415. declaring errno
  416. pointers to arrays of ints.
  417. beginner question
  418. GUI Programming with C?
  419. time function not defined?
  420. trouble reading the text file
  421. trouble reading from file
  422. TransferSpreadsheet - how to call this function
  423. Which is faster?
  424. check if char* is a ptr to mem or nirvana
  425. Dynamic Arrays
  426. Opinion) Overuse of symbolic constants
  427. Meaning for *p = +*q++
  428. Clever vsprintf
  429. locking with fcntl
  430. Editor Additions
  431. Interesting bug
  432. bit fields in a structure
  433. What to do if you've made a new high performance data structure?
  434. [Slightly OT] Pointers on shifting to Systems Programming from QA
  435. printing the same spot in the terminal
  436. comma at end of initializer allowed?
  437. Function pointers to printf
  438. Large arrays: malloc or 'just declare'?
  439. C tokens
  440. Virtual Machines and structs
  441. assigning bit-field structure
  442. * and -> operator syntax
  443. Can a static array contain a dynamic array of pointers?
  444. OPTION TO OVERWRITE CONSTANT VARIABLE(STRING) IN C (VC++ IDE)
  445. write a binary file?
  446. Help with process migration, in openmosix
  447. walking a binary tree
  448. programm stops
  449. msgsnd problem
  450. Calling 'foo.c' or 'foo2.c' from my 'main_code.c'
  451. dynamic typedef
  452. memory allocation nightmare
  453. Linux Serial Programming
  454. Linux Serial Programming
  455. time_t in seconds
  456. Interval calculation
  457. portable?
  458. Exponent question
  459. easy CGI w/ C
  460. Large number in C
  461. HELP ME -GCC COMPILER
  462. pointers to struct members
  463. snprintf() for embedded
  464. Implementing exceptions of C++ in C
  465. String Reverse Question
  466. Problem with simpe unixshell attempt
  467. enumerated static string table
  468. long long
  469. Some C/C++ books
  470. Best way to learn C for a Teenager
  471. multiline macro with embedded #
  472. 52 Pick Up and the 100- to-1 Rule
  473. integer overflow
  474. Fast Division/Modulo Operation
  475. i don't want the dos wondow be closed
  476. sscanf
  477. atof() failure case
  478. Why not FILE instead of FILE*?
  479. Pipes
  480. struct my_struct *p = (struct my_struct *)malloc(sizeof(struct my_struct));
  481. opaque style question
  482. C library for handling ftml template
  483. converting char array to integer
  484. FAQ is so long!
  485. Critical Sections
  486. FAQ is so long!
  487. storing variable arguments for future use
  488. va_list usage
  489. prob w/the C prog. lang. book(ANSI C)
  490. char*& and char* ???
  491. Incrementing a void pointer's member
  492. RoSsIaCrIiLoIA is a troll
  493. OT
  494. system question
  495. Hash table: some lines of code involving pointers
  496. Strange global variable behavior
  497. writing 6 items in one line.
  498. implement set of numbers in ansi c
  499. safety and C
  500. a self-checking program in standard C
  501. CX-Post: hello world
  502. Global Static Variables
  503. reading files from a directory
  504. info su funzione
  505. info su funzione
  506. max{f | f is a float and -f is a float and doesn't cause overflow}== ?
  507. Converting byte data to hexadecimal ascii
  508. Variable substitution
  509. Is it standard and practical to use long long types?
  510. Constant Data in function copied to stack
  511. casting from int to void* and back to int
  512. reading file backwards and parsing
  513. problem sending code via rs232
  514. Does pc-lint catch this type of problem?
  515. linking asm and c procedures
  516. encoding / decoding questions
  517. Parser
  518. ##-concatenation
  519. Diffrence between ++i and i++
  520. Dynamically growing an array (pointer question)
  521. FAT32 Disc Access
  522. Access to process memory from external programm
  523. current address
  524. strtok problem
  525. Should this work?
  526. Question on binary tree
  527. How can I use strtok for tokenize integers
  528. binary data conversion
  529. fprintf() C variables into FORTRAN input file format ???
  530. question about inet_ntoa(3)
  531. trying to read a file
  532. Specifying data types inside functions
  533. Malloc, Structure Help
  534. Work around of using 1D-LUT instead of 2D-LUT
  535. warning: multi-character character constant...help me!
  536. where standard library functions?
  537. Restricted pointer parameters in printf()
  538. Avoiding redundant functions
  539. simple problem
  540. structure containing incomplete array type
  541. fixed-point
  542. linking executables
  543. File name macro
  544. C with database
  545. Time
  546. size_t range
  547. how to determine a file is ASCII or binary?
  548. link c code with c++ code using g++
  549. how to allow only one instance?
  550. about c