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