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