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