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