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