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. problem to compile with...
  2. a simple wget in C language?
  3. offset of a member inside a structure
  4. Question about char pointers init to const strings
  5. Built-in primitives for complex
  6. Floating-point bit hacking: iterated nextafter() without loop?
  7. C + Malloc
  8. Request for code review.
  9. Index out of bounds question
  10. get current path
  11. Libraries to handle common tasks
  12. Reduce duplication
  13. A graph application
  14. malloc and free
  15. Variable size arrays and pointers
  16. arbitrary array index range?
  17. how much of C is enough?
  18. Scan input - But only if something has been typed
  19. How to retrieve the name of the file from a FILE *
  20. can strftime() product non-locale specific (i.e. UTC) results?
  21. gcc in linux
  22. #define and external static
  23. list view control
  24. Doubt about getchar() and scanf() for a character?
  25. integer index problem
  26. why segmentation fault when copying a character?
  27. Copying structs
  28. friends, namespaces and operators.
  29. LNK 2001 error using the cl compiler??
  30. Is this legal ?
  31. authentication
  32. File locking
  33. K&R 1.5.1 exercise
  34. why this C code did'nt works as expected
  35. error w/ pointer to structures
  36. Array size using pointer
  37. Why 'sizof (CBuffer::m_pData)' doesn't work ?
  38. tree problem
  39. Systemdiag via c.prog
  40. Doubt regarding const......
  41. string copy problem
  42. Unitialized pointers?
  43. scanf address
  44. flush(stdin)
  45. Linked List problem.
  46. Connect two pointers (arrays)
  47. double while loop in linked list
  48. EVIL AMERICAN GOVT (aka FBI) is full of SADISTS and PERVERTS
  49. what does "strict alignment" mean?
  50. Global variable declaration in headers
  51. bit masking
  52. In fflush(stdin), what happens to flushed data?
  53. Variable number of parameters in a function call?
  54. having problems with math library
  55. Where can I find the implementation code for a function in C language?
  56. Help! Raw Socket CheckSum
  57. lcc-win32
  58. What type is a structure?
  59. Catching a process' own stdout
  60. Array of pointer Vs Pointer to Array
  61. bus error in linked list
  62. byte to LONG
  63. For in Macros??
  64. Recursive Union
  65. What Kind of DataStructures C using? ( Heap or Tree ??)
  66. How to create shared memory ?
  67. Function delcared inline but not defined inline
  68. having problems with pointers (segmentation fault)
  69. scanf() help
  70. stdout not open?
  71. Some advice about references on memory management in C
  72. Lexical variables - speed penalty?
  73. Is there an open source C compiler to Stack Machine?
  74. how to get the filename of a FILE pointer
  75. Ambiguity in semantics of assignments?
  76. How to create a bitmap?
  77. Broken pipe
  78. Compiler for Windows (Open Source)
  79. Problem with an array of pointers
  80. volatile
  81. newbiw question: What is the best way to declare and define global variables?
  82. oob, raw_sock, PingOfDeath
  83. LINK : warning LNK4078: multiple ".data" sections found with different attributes (60000020)
  84. extern and Static
  85. Script-kiddies use C to write evil programs ! ! !
  86. fgxfg
  87. Why is stdprn not defined under Windows?
  88. fdatasync() does not work
  89. 2 pytania o float'a w C
  90. When fopen() fails
  91. About Hast table
  92. char* gets(char* buffer)
  93. fsync()/fdatasync() issue
  94. libctiny.lib problem
  95. C++ array relative C question
  96. Julian timestamp to readable format
  97. Is there any library to get/fetch a remote URL?
  98. declare vs define of global variables
  99. Storing in array
  100. preincrement puzzle
  101. Size limit of enum type?
  102. newb compile question
  103. How to delete a line or a character?
  104. goto to switch labels
  105. function to perform a * b / c in long int format
  106. strncmp(a,b,0)
  107. How to parse a remote Internet XML document via 'Libxml2'
  108. arrays and K&R 5.10
  109. Design decisions on data structures
  110. Dungeon Master - like sources
  111. segmentation fault - code attached
  112. searching data for a large set of substrings
  113. need to be enlightened on pid_t
  114. Questions
  115. Reply
  116. Question about fgets.
  117. Questions about memmove
  118. setjmp.h and other people's implementations
  119. length of array filled with pointers?
  120. What is a type?
  121. Signal Call
  122. Question about concatenating quotation marks
  123. is there any way to check asynchronously whether stdin contain data to read?
  124. is there any way to check asynchronously whether stdin contain data to read?
  125. Compile and link
  126. watching a file
  127. atexit()
  128. Can I write a recursive type definition ?
  129. Function arguments
  130. Using mysqlclient library -- odd crash
  131. Unis signal handling in parent child scenario.
  132. fopen() vs. open()
  133. Could VC6 be integrated with gcc, and if so,how to do it?
  134. Pointer Usage
  135. Compound statements in expressions
  136. SET ADT
  137. OO in C
  138. Endless loop question
  139. Trying to understand pointers for function paramaters
  140. SMBus find devices
  141. problem with implementing pipe
  142. invalid floating point value
  143. how to efficiently find line number k
  144. unsigned long long + int
  145. attempt at qsort implementation
  146. "crunch"--I@can't understant its meaning!
  147. #include optimization
  148. opinions on logical OR variation
  149. SIOCGSTAMP question
  150. while Vs for loop
  151. a history question
  152. Why is this allowed in C?
  153. Obtain sizeof struct element using offsetof()?
  154. elementary construction +2
  155. How do I pass the & instead of a ptr?
  156. # inside a macro body
  157. Is this valid C statement?
  158. how do i link 3rd party lib on windows ?
  159. Sizeof(X) on different architectures
  160. sscanf parsing doubt
  161. EFAULT error in accept socket call
  162. syntax for e (natural logs)
  163. Order of structure members in memory
  164. printf conversion problem
  165. sscanf parsing doubt
  166. New Hand of the C Program
  167. align to double or to long double?
  168. OVeR grate
  169. Variable Sized Struct Members?
  170. Isn't C Programming In DOS, A Part Of This Newsgroup?
  171. integer to char table problems
  172. How can I use socket.h?
  173. Rectangle intersection
  174. Clearly, it is too late to fix c99 - C is dead
  175. contiguity of arrays
  176. strstr(char *str1, char *str2)
  177. elementary construction +1
  178. Disadvantage of using 'inline'
  179. 6 byte integer to string
  180. Invoking A DOS Program Through A "C" Program
  181. envp[i]!=(char *)0
  182. struct and union alignment
  183. need help creating a tree of processes(implemented in C)
  184. mysql problem
  185. C language portability support
  186. ++i vs i++
  187. calling fopen using function
  188. Beta testers needed - C to Java byte-code compiler/IDE
  189. Creating an MD5 hash with crypt.h
  190. Q: volatile struct elements or entire struct?
  191. Managing global vars between files
  192. elementary construction
  193. c-book
  194. Screen Handling
  195. Viewing the *.I file of my C source code in MS Visual C++ 6.0
  196. memory
  197. WinAPI to locate a file in directory
  198. context switching with setjmp
  199. C Program Portability
  200. C compling Error on IBM 390
  201. great
  202. malloc and pointer hell
  203. connect to ftp
  204. Error ifndef _REENTRANT?
  205. Bete Test for MPC Compiler/IDE
  206. Problem with DO-WHILE Loop
  207. removing a loop from a linked list?
  208. Dynamically assigning data type
  209. News
  210. problem adding into a tree
  211. How to determine available system calls on a Unix/Linux system
  212. init of multdim array of structs...
  213. Some Newb Problem with "int", please help.
  214. Doubt-Efficiecy of 3D arrays
  215. Unit / Coverage testing
  216. question
  217. Developing chat application
  218. compilers & stack machines
  219. declaring array of pointers
  220. Comparing Linux C and C++ Compilers: Benchmarks and Analysis
  221. How to find out if an int has no value
  222. Out-of-bounds access and UB
  223. Exception handling
  224. linux speaker beep
  225. Embedded systems and C programming
  226. declaring a function only if it isn't already declared
  227. Daylight saving
  228. need help with input and output files ASAP
  229. Why not 64 bit under 32?
  230. Passing and returning arrays to and from functions
  231. Please help beginner
  232. ping source code
  233. ugu
  234. Accessing members of array as a different type
  235. system() doesnt give me the control back ..
  236. srand() troubles
  237. C Beginner Question
  238. variable changed, but i didn't change is.
  239. Loop Optimization, Array Alignment
  240. Q: Type'ing the infamous 'flags' field
  241. about header files
  242. C library VS (Unix) System calls ?
  243. b = 2 / a[2]
  244. array a[(foo)()] (help)
  245. Floating point number to binary
  246. #ifdef
  247. C external execution - trap stdout + stderr
  248. New Annotations
  249. Warnings when using % operator
  250. "does not give a valid preprocessing token"... Why?
  251. Tips on gaining proficiency in C
  252. LINKER/LOADER DOUBT
  253. free() dumps core with a segfault.
  254. Gmail invitation
  255. Timer in a C Program
  256. how to convert very large number to hex string
  257. union access
  258. Does typecasting consume cpu cycles
  259. no lcm in standard library?
  260. Geting info
  261. typedef function pointer
  262. Short-Circuit Evaluation of Boolean Expressions
  263. How to convert a double **ptr in a double const ** const ptr?
  264. pwd
  265. opendir doesn't work..
  266. Endianess: why does this code not change value on BE machine?
  267. porting curses driven to gui application
  268. read files in dir
  269. meaning of dialet or implementation of a programming language
  270. int to string
  271. speed of int vs bool for large matrix
  272. Wide string initializer syntax
  273. Performance Programming
  274. Pointer arithmetic involving NULL pointers
  275. Church's lambda calculus
  276. Difference between Structure & Union
  277. malloc and free
  278. malloc and free
  279. A way to maintain a global set in many files by using preprocessing directives . Could we find a better method?
  280. static link a library
  281. turbo assembler
  282. Please find out what is wrong
  283. Does realloc "move" a block it shortens?
  284. file operation
  285. Reading Simple Flatfiles with a COBOL Mindset
  286. C Preprocessor - Cascaded Macros
  287. Reading Simple Flatfiles with a COBOL Mindset
  288. Link compatibility among C compilers?
  289. Call for Papers: 38th Annual Simulation Symposium
  290. removing Spaces
  291. two dimensional arrays passed to functions
  292. operator overloading
  293. is this code safe?
  294. mmap queestion
  295. Cracking C structure
  296. MARKING STRUCTS PROCESSED
  297. parsing time string, getting timezone
  298. operator overloading
  299. Open a file in C
  300. C program to flowchart
  301. Creating a va_list
  302. Structure Query....
  303. parsing in C
  304. creating a 2-d array using dynamic memory allocation
  305. volatile expression
  306. Book Recommendations?
  307. switch and if..else same at assemby code ?
  308. Function Call Tree Command in UNIX.
  309. +++i
  310. brother tree insert
  311. define a data type of 1 bit size
  312. Mail bomber
  313. Entering a binary string
  314. Problem with binary strings
  315. malloc and free
  316. data type promotion
  317. define a data type of 1 bit size
  318. Problem with binary strings
  319. Compiler (gcc) option to abort on nan?
  320. scanf pushes back two chars?
  321. How to make the text stand out
  322. how flushing standard io
  323. strtok & global variables
  324. string literals question
  325. linux socket help
  326. Multi Lang support C functions ?
  327. Segfault question.
  328. How to convert int to char * ?
  329. nested function support
  330. How valid is a "draft"?
  331. qsort(...) in <stdlib.h>
  332. Fix your FAQ
  333. From where i can download C9X compiler for both linux and windows
  334. Puzzle
  335. Heathfield
  336. Object Oriented Programming in C, Avoid Memory Allocation
  337. Pointer conversion
  338. Post length for code.
  339. Labeling Jagged Arrays
  340. Why va_start takes 2 arguments
  341. glibc: socket and fdopen
  342. array of functions
  343. Bloodshed Dev. Compiler will only not show me my RUN execuable. Help!
  344. Removing white spaces and tab characters
  345. generalised linked list routines - opinion appreciated
  346. exit()
  347. critique: conversion to binary
  348. Anonymous Union Member Access
  349. Usage of VxWorks setsockopt()
  350. Dynamic loop nesting
  351. string length questions related to fseek
  352. Problems implementing Rijndael
  353. What data type would you prefer and why?
  354. I don't understand a past thread (help)
  355. Detecting multiple keypress(es) in C
  356. type VARIANT and array - conversion to CString
  357. Local Heap?
  358. Develping a good scheduler for ARINC transmission... advice needed
  359. console library
  360. free() is useless... (I WAS WRONG)
  361. How does free() knows?
  362. free() is useless...
  363. Shortcircuitting with -Inf float value.
  364. Bit Pattern Problem
  365. One-past-end-of-object pointers
  366. Some bit manipulation
  367. returning an array of integers
  368. webpage bookmark program in C
  369. Project
  370. How to create folder at fopen?
  371. integer array
  372. Calling fortran subroutine from c
  373. small C puzzles
  374. some C puzzles
  375. Max Size of argv[1] ???
  376. What's wrong with this macro?
  377. Different outputs in different environments.
  378. Calling a function using its pointer-
  379. input problem
  380. stripping newline from input
  381. bitwise subnetscanning?
  382. Problem with passing dynamic arrays by reference
  383. simple word wrap problem not wrapping
  384. Linked lisd storing a queue
  385. Array size limits
  386. Processing Bit Fields (flag) that represent request as quickly/efficient as possible...is there better approach?
  387. -= No Line Wrap Curses.h =-
  388. int array
  389. make
  390. char problem
  391. Will EXIT_SUCCESS and EXIT_FAILURE have the same value on all platforms?
  392. addresses and integers
  393. Quadratic Formula Woes
  394. A for loop iterating over the complete range of a variable
  395. fscanf and linked list problem
  396. Wrap thoughts
  397. Colon (:) syntax in defining fields in a struct
  398. Small C "Puzzle"
  399. C 99 compiler access
  400. Socket reading problem
  401. threads without threads
  402. C variable retyping
  403. another stupid c bug. (endless for loop)
  404. Determining EOF using fseek()?
  405. Typedef structs
  406. question about writing c code supports pipe in
  407. fgets
  408. Changing directories from a C console program
  409. size of an integer ??
  410. Multithreading problem
  411. c question
  412. c question
  413. Pointers and array
  414. Two Questions about "strlen", "strcat" and "strcpy"
  415. Need help on bit operations define
  416. compiling a library with a c code
  417. assigning values to a struct
  418. pointer alignment
  419. E Book: Practical C Programming
  420. strtok
  421. float limits
  422. using #ifndef
  423. #def question
  424. bsearch for Windows ce
  425. malloc->free->damage: after normal block
  426. generating strings
  427. anything wrong with this code?
  428. Help on C
  429. Techniques for reducing code size?
  430. sys WIN32
  431. is there a better way to optimise this code
  432. how to use the keyword extern in c?
  433. memset
  434. Wrap rev 2.
  435. function redefined problem
  436. ccide: C Language Decision Table Code Generator
  437. is there config file analysis code can be read?
  438. undefined reference to `__gxx_personality_sj0'
  439. Function PLzzzzzzzzzzz
  440. Function PLzzzzzzzzzzz
  441. how do I get content of clipboard on linux
  442. C++ wins over C !!
  443. Problem about glibc2.3.3 mmap()!
  444. Problem about mmap()!
  445. gcc's nutty Nethack object code
  446. cast-as-lvalue
  447. perfect hashing
  448. C source code of award winning of world map which site helps ?
  449. wants source code of shutdown in C using interrupts ?
  450. Is any self reproducing code in C ?
  451. Problem with asm
  452. Double pointer and 2D array
  453. c/pascal compiler differences
  454. array of pointers to a structure
  455. How to take in a string of any size?
  456. ANSI C problem on P4 under Linux & Windows
  457. Pointer Declaration/Array definition
  458. Wrap program revised.
  459. walking through an array of char pointers
  460. any good
  461. CGIs for Linux Web Server but Windows PC for developing
  462. html parser
  463. reading com port
  464. Associate argument with entry in header file
  465. Is there any system shutdown code in C From DOS ?
  466. disregard: sizeof struct returning unexpected results
  467. sizeof struct returning unexpected results
  468. Variable arguments
  469. OS/2 C60 programs converted into MS windows programs?Information on OS/2 C60?
  470. atoi error
  471. Code blocks as macro parameters
  472. setvbuf
  473. Init before anything else
  474. Is it possible to get the caller's name in C ?
  475. Looking for a Chirp Function
  476. Line/word wrap program.
  477. test myself
  478. Static Declarations
  479. Request for comments on HTML tag removal function
  480. Virtual keyboard
  481. CHtmlView: How to read html text before display, change and give to display changed html code?
  482. modf() - behavior
  483. Advice on Project
  484. Rotate a array of char
  485. Why is that?
  486. use of serial and parrallel port using C
  487. Structures
  488. macro containing include statement
  489. vsprintf - safe alternative?
  490. Bad File Descriptor Error on strcat/strcpy
  491. Objects and expressions - nitpicky questions
  492. macro with optional function calls and return value
  493. C predefined macros and portability
  494. Q: sha1 algorithm .dll or source ?
  495. Q: sha1 algorithm .dll or source ?
  496. How to explain "evaluate the expression as a void expression"?
  497. Q: sha1 algorithm .dll or source ?
  498. Q: sha1 algorithm .dll or source ?
  499. Q: sha1 algorithm .dll or source ?
  500. "Eight Queens" program
  501. how to pronounce 'yacc'?
  502. Cyclical Dependency
  503. HELP with Programming USB needed
  504. How to know the memory pointed by a ptr is freed?
  505. execv()
  506. Structure Variable
  507. What is an object?
  508. Help on the function
  509. StrongARM processor EOF different?
  510. code review request: basic file I/O
  511. hash table problems being resolved
  512. fgets on an empty file
  513. syntax/notation used in describing c's grammar
  514. Why index starts in C from 0 and not 1
  515. Checking size for Dynamically Allocated Memory
  516. When to use memory on heap or stack
  517. Helpful tools to become a really fast and good c-programmer
  518. programs
  519. How to implement my own ctime() in linux kernel?
  520. Game of Life
  521. function size
  522. Is a function an object?
  523. is it possible to switch on hyperthreading in cc?
  524. hash table lookup consistenly fails
  525. set double array to 0.0
  526. c interactive graphical output
  527. Looking for iC86 C compiler v4.5 (Or above)
  528. Another ANSI C question about 'volatile'
  529. passing address of pointer for more useful functions
  530. To test Printer Status Repeatly using Borland C/C++ 5.02
  531. To test Printer Status Repeatly using Borland C/C++ 5.02
  532. programs to pick params for cc
  533. programs
  534. C compiler
  535. libitery directory in gcc-3.1.1 source code package
  536. Structure initialization and clearing
  537. File i/o
  538. Why lsearch?
  539. What's the output?
  540. printing uin32_t in hexadecimal
  541. String of Arrays
  542. library functions
  543. main function
  544. Request for comments - kgets()
  545. Pass array to function
  546. Two main function
  547. ANSI C question about 'volatile'
  548. accessing comon initial sequence in union
  549. Read file
  550. how to do this?