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