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. About Constant Variables
  2. why typedef ?
  3. EOF question
  4. help,why does dev-c++ generate the warnings
  5. read from serial port in c
  6. Linux Customized Commands
  7. changing AIX c include dir
  8. Why segmentation fault in this simple code?
  9. How to learn USB/RS-232 device driver programming of Linux?
  10. insert a char in the middle of a string
  11. How not to abuse a "for loop": examples?
  12. Does malloc() allocate memory only in powers of 2...?
  13. Does malloc() allocate memory only in powers of 2...?
  14. Queer! right-shifting more than a type's width
  15. command line tool to convert VC project files to Makefile
  16. Implementation of weierstrass function
  17. link list pointer comparison
  18. Checking the type of a variable with equality operator
  19. deleting data from text files
  20. Is this acceptable (i.e., compliant) code?
  21. What does this actually mean?
  22. stuck on time_t
  23. how to interpret this c statement
  24. analyze output plz
  25. how to write a password routine that doesn't echo to the screen?
  26. Pointer to struct or Struct parameters
  27. help?: incomplete definition with complete definition in scope
  28. Write Linux Device Driver
  29. Are these behaviors defined?
  30. linux kernel c code
  31. C objects
  32. Callbacks and events
  33. Static variables.
  34. unsigned == signed ?
  35. gcc opteron define switch
  36. Where can i get the sufficient material for Embedded C
  37. Replacing palindrome substrings of an input string with a given string. Any effecient algorithm?
  38. Replacing palindrome substrings of an input string with a given string
  39. passsing &array same as passing array ?
  40. Great way to get an Ipod...
  41. buffering of stdio streams
  42. CPP builder 6 and MySQL with or without VCL ?
  43. How can I replace global free() and xalloc() functions?
  44. pointer arithmetic and packet capture
  45. Can some one help with this problem of bits?
  46. C99: Is "INT_MIN % -1" well defined?
  47. From (linux) C/Ncurses TO Ms-Windows
  48. [XPOST] [C] Access speed: pointers Vs array
  49. C Programer
  50. macro code
  51. hex to *char conversion in latin2
  52. truncation warning
  53. parse error
  54. Character array initialization
  55. function to permute a string
  56. strange error message : unable to find a register to spill in class `AREG'
  57. STL link error on AIX
  58. When to use complex declarations like the following.....?
  59. bad performance
  60. Environment Variables
  61. What is the Point of Pointer's
  62. standard library for hash table storage and hash algorithm
  63. The one who can't C
  64. Strings!
  65. Macros with a variable number of arguments
  66. C99 complex numbers and aliasing
  67. Trie
  68. Optimisation techniques
  69. Null pointers
  70. Can v call procedures written in other languages from a C prgm
  71. ping in c as nonroot
  72. Help required for project
  73. signals (SIGBUS and SIGSEGV)
  74. setjmp/longjmp
  75. C code for Internet Access
  76. Storage space of #defines
  77. compiling problem about *** missing separator
  78. strange about struct in c
  79. Problem with timer delay in C
  80. Sorry ! a typo in the code
  81. How to know that stack is growing upward/downward?
  82. struct question
  83. <CR> into string
  84. problem with dll
  85. Dealing with possible overflows
  86. global variables coding preference
  87. Simple fprintf question
  88. set char to empty
  89. memory allocation for two dimensional array
  90. Updates to Pointer Guide
  91. Going through the code (K&R 1-19.c)
  92. void pointers
  93. write this program
  94. plz analyze the o/p ?
  95. sin-function from math.h not available
  96. Zone alarm, Nero,Kazza ect What programming language are they written in Help?
  97. quick help for weird problem.
  98. C Unleashed
  99. Pushes and Pops to/from stack?
  100. for loop skipping items
  101. Please help!
  102. free'ing malloc'd structure with malloc'd members
  103. Bitwise operation
  104. Really odd pointer behavior
  105. rank and expressions
  106. multi-threaded, multi-process producer/consumer example?
  107. Finding strings in binary files
  108. Usage of Hext Dump in C programming
  109. FAQ
  110. Pointer arrays
  111. how does open() search the file
  112. recording the program flow
  113. pointers
  114. test
  115. tests
  116. Organisation of C programs
  117. FILE Operations
  118. Pointer question
  119. <signal.h> - question about signals
  120. Why is this crashing??
  121. Looking for PowerC Library Source Disk
  122. fseek speed
  123. An interview question.
  124. register keyword
  125. Code to compile a code
  126. sizeof a + b and strange value
  127. insert title string into a file
  128. fprintf formatted output
  129. testse
  130. testas
  131. plz analyze the output?
  132. why o/p like this ?
  133. why o/p like this ?
  134. own code for randomize
  135. problem with for loop
  136. The C Prgramming Language(Book)
  137. Union reversing half words
  138. Storing number in Hex format
  139. calling functions in C
  140. delivering a signal doesn't interrupt read(2)
  141. sizeof (char)(char)2
  142. gtk tutorial to use with c
  143. This is a test
  144. Proper Use of calloc()
  145. Project : error PRJ0003 : Error spawning 'VCDeploy.exe'.
  146. strtoint
  147. Std's 6.3- conversion- term rank
  148. signed char and unsigned char difference
  149. Heap management
  150. data types question
  151. A typedef struct query
  152. Is "C For Dummies" any good?
  153. C and default file types
  154. Help with controlling stdin/stdout for a child process
  155. I have some Problems.
  156. Fighting to learn!
  157. checking array indices
  158. function name to function address translation?
  159. Calculating Easter
  160. macros-loop? calling macros X times?
  161. Calc checksum of certain ELF sections
  162. structure byte alighment and sockets
  163. gcc and <tgmath.h>
  164. I know c c++
  165. byte writing
  166. memory approximation
  167. write binary data to serial port
  168. c problem
  169. Accessing HDD
  170. Encoding a spanish character
  171. Accessing files and directories through inodes
  172. A question on macro expansion
  173. Does C have a NULL constant function?
  174. Compilation Failed: warning: data definition has no type or storage class
  175. HELLO
  176. Explanation
  177. Explain this !
  178. Please help me find out the relative topics in C99 for Arithmetic on void and function pointers
  179. How does this 'sizeof(*area)' work?
  180. "evaluate parameter more than once"
  181. order of evaluation of increment operators
  182. insert substring into string
  183. "fun" examples
  184. Hi, I have the following problem:
  185. negative zeroes in program output?
  186. GCC on FreeBSD - C and ASM
  187. How to detect cdrom drive...
  188. Can malloc ever really fail?
  189. I need an authoritative source/documentation for this
  190. Reverse a string
  191. Qeustion in Compiling
  192. sizeof shows different size for a structure
  193. Header files included in header files
  194. Networking Question
  195. latest C standard version
  196. lastest C standard version
  197. my head hurts
  198. my head hurts
  199. malloc's strang behavior
  200. c and C++ compatibility
  201. C Unleashed cd split in half
  202. QUERY: op= rationale
  203. Why can't a defined symbol be part of a typedef?
  204. switch syntax and style
  205. Anyway to change the file create date?
  206. Pronunciation of "char"
  207. Quickest way for even numbers
  208. far and near?
  209. A question on C structures
  210. long int
  211. yacc gurus
  212. how to delete a character in a file ?
  213. What is wrong with this: *p++=*s++
  214. If malloc fails
  215. array with a single element
  216. macros
  217. what difference between pointer and struct variable
  218. all errors and warnings in C
  219. A little funny program I stumbled upon
  220. I don't get the error with the following
  221. tortoise and hare program code
  222. help with compiler directives
  223. sizeof struct array
  224. Translate but can not C
  225. Segfault in an if
  226. New coding standards: use underscores, hyphens or mixed case in command (and identifier) names
  227. Union member access
  228. Pointer to an array of structures, how to get it to work correclty, if possible???
  229. measureing host loads until a task is finished.
  230. Way to determine type of variable?
  231. Byte-26 Terror
  232. I would like to access the bios flash using watcom c. 11.0
  233. maximum possible allocation
  234. RS232 Interface
  235. communicating through callback
  236. About C books- dumb question, but I don't really know who to ask..
  237. 'dynamic' function pointer argument list
  238. fast check for binary zeroes in memory
  239. Showing numbers algorithm
  240. Networking
  241. Pin Algorithm
  242. static variable
  243. Confussed: pointers from Kernigan & Richie
  244. Question about alloca() and alternative to using stack in an implementation
  245. Tiny C Compiler for Windows Source
  246. About memory leak detection.
  247. Signals, shared memory or something else in daemon?
  248. boolean values and the FAQ
  249. Accessing stack info.
  250. char Vs struct tm mytime
  251. Memory Access Error (malloc and free) (in different OS)
  252. Why didn't ANSI/ISO make alloca() standard?
  253. mmap
  254. Help: a correct c program can not be complied
  255. Beginner question: Precision of floating point arithmetic...
  256. register handling
  257. Program to retrieve all filenames in drive
  258. Convert characters to Date
  259. testing for non-negativity
  260. getc() vs. fgetc()
  261. urgent...sniff a variable in C????
  262. would anyone help me this definition of func ptr?
  263. gcc and alloca
  264. How does ESC key interact with ANSI C programs?
  265. the target audience of this list
  266. An alternative register access..?
  267. How can I drop packets?
  268. "." vs "->" operators
  269. Why not networking support?
  270. Where are we? Where is the peak? Are there any way and direction to this top? What are they?
  271. where to get code of projects on network security and telecomm related projects
  272. What does "Uint32 enum {a = 100, b = 200};" mean?
  273. <OT> gcc -Wall
  274. anyone know where iso-8859-*.h files are?
  275. const void * const x
  276. fmemopen: portable version?
  277. fread()
  278. Learn Multiplicatin Program
  279. book on C99
  280. compilation process
  281. looking for a consultancy in c
  282. How do you think of the book <The GNU C Programming Tutorial>?
  283. When/Where does 'global static' come from?
  284. return the printable form of a character
  285. Can static variable improve efficiency?
  286. read in file offset
  287. Updated Pointer Guide
  288. How to read numerical data from a file
  289. Floating point arithmetic.
  290. client-server data transfers appended with funny characters
  291. pointer one past malloc.ed memory
  292. Pass pointers or the things they point to
  293. md5 in C
  294. Function type
  295. A problem to solve..need help
  296. Executing a process within c
  297. for loop stop condition
  298. convert virtual address to physical address
  299. what does #line do?
  300. traumatized by pointer casting
  301. c development environment
  302. rounding function?
  303. strange warnings passing int* to const int*
  304. array size (?)
  305. NAME_MAX
  306. gcc compiler
  307. sscanf problem
  308. 64 bit porting
  309. int vs void *
  310. Finding string with "wild" characters in another string
  311. Any function to change windows start menu shortcut properties ?
  312. pointer int/char ...
  313. What is actually 'semantics of a language' ?
  314. Overwriting Allocated Memory from malloc()
  315. parsing using strstr
  316. ints ints ints and ints
  317. conflicting headers
  318. nrand48 ?!?!?!?!
  319. Checking overflow
  320. Polymorphism in C (very basic)
  321. Float comparisons: how to do them properly
  322. c/c ++ projects
  323. How to enforce pointer alignment in a portable way (i.e. w/ 64 bit pointers)
  324. syntax tree
  325. bsearch and structs, again
  326. Multiple c files
  327. Linking problem
  328. Stripping Hex and then ASCII
  329. Having trouble with setvbuf with large buffer size under linux
  330. Splitting up code ?
  331. Embeddable Pcode compiler/interpreter Serial EEPROM
  332. cleaned up nrand48 function please check results ;)
  333. long follow by long is illegal
  334. replacing builtin_expect with normal code
  335. nrand48 source code looks weird ?
  336. Changing default sizes of data types
  337. Define and array initialisation
  338. Is it time for secure C ?
  339. Please introduce a good book
  340. Passing const void* to free()
  341. libxml: Parsing XML Question?
  342. Problems with fmod.
  343. Storing the size of an array in the structure itself
  344. Sources for functions like malloc()
  345. can't use struct hsearch_data with sizeof
  346. image file from a floppy. how to program???
  347. how to access a file in C:\
  348. capture substring in the most efficient
  349. Sizeof and increment operators
  350. malloc() -- Performance?
  351. File I/O
  352. K&R2 exercise question
  353. Time Stuff
  354. gcc executable size vs. target hex file size?
  355. UNIX's int isnan(double x) routine for Windows/Visual C/C++ 6.0 ?
  356. UNIX's nrand48() routine for Windows/Visual C/C++ 6.0 ?
  357. how do I read a location in the bios eprom
  358. How works a Macro??
  359. blank spaces...
  360. how to know the size of an int
  361. API for getting ethernet cards installed
  362. function declarations, global/within a function?
  363. Comma operator in a macro-help me understand this plz!!
  364. Faulty default!
  365. function name printing
  366. delete data in file
  367. check filesize before reading it
  368. passing an uninitialize pointer
  369. File Read/Write
  370. is there a inverse polynomial for the CRC generator polynomial
  371. extern methods
  372. Cursor libraries
  373. Sleeping or waiting
  374. Find two items
  375. Windows 98 C application - text boxes and "\n"
  376. COPY over Win32 WinAPI C
  377. Writing arguments under format specifiers
  378. printf on matrix...
  379. (int *) variable
  380. Implicit and explicit conversion
  381. good tutorial/book on c?
  382. puzzle in C
  383. Program will not recognize that I have changed a file
  384. _spawnlp
  385. Null pointers in C---spec (N869) trouble, was What computer language is used a lot in the IT industry?
  386. delete a pipe
  387. Best C tool
  388. Missing Header File - "vga.h"
  389. CRC calculation
  390. C preprocessor
  391. How do I convert from .c to .asm
  392. EOF in Windows
  393. Symantic - syntactic
  394. double free
  395. Why would anyone do this?
  396. FTP Client-Server
  397. Inline Assembly - Runtime Stack Allocation
  398. can you help a new pcre user???
  399. Parser and Generator for XHTML in C in Open Source World
  400. Simple Preprocessor Question
  401. time output in milliseconds
  402. memcpy( dest, src, 0 )
  403. disregard post on sine table lookup
  404. GetLocalTime() for Linux/Unix
  405. structs
  406. problem with lookup sine table
  407. problem with lookup sine table
  408. Doubles and zero/negative zero
  409. Weird (?) explicit declaration of functions
  410. array to pointer decay question !!
  411. default expression type
  412. How to get non-pre-determined inputs from console?
  413. is this correct
  414. 'hello world' OS
  415. memcpy() vs. for() performance
  416. why
  417. Type of Constant
  418. Memory Leak while trying to get Subkeys from registry
  419. Stack overflow
  420. time sub standards
  421. How to declare a dynamic array
  422. Return code of 4294967295 (UINT_MAX)
  423. Comma Operator Question
  424. yacc
  425. different "system()" for different OS
  426. Sharing data between libraries
  427. Writing a Parser
  428. Linked list problem..
  429. Pause a program while running
  430. unsigned char *
  431. Typecasting in C
  432. test
  433. name of data structure for circular array?
  434. Dynamic 2D array
  435. usage of # in the following statement
  436. C question: Returning string array from function
  437. CGI Programming in C on Xitami Web Server
  438. How, exactly, does kbhit( ) work?
  439. Debugging tool: Trace function calls + variable usage automatically
  440. rsync in a C program?
  441. mpeg
  442. problem about allocating local variable
  443. Problem with sorting linked-list
  444. Pointer problem
  445. realloc'ing an array of strings
  446. Question about warning
  447. Check it out
  448. Array managed by preprocessor
  449. IOCTL_STORAGE_QUERY_PROPERTY and the STORAGE_BUS_TYPE data type
  450. Structs with pointers
  451. EOF Problem
  452. whether this is valid
  453. Programming Puzzle
  454. bus error with printf line included, error without printf line?
  455. Usual way to hide jpegs. Extraction off application jpgs??
  456. VB code to C
  457. keyword extern
  458. printf for a char in hex - why all the F's?
  459. Omitting rows numbers of a matrix
  460. OpenMP
  461. preprozessor and #define Problem
  462. implementation of the complex airy function
  463. ascii VS binary files
  464. c query
  465. Accessing a global variable when there is a local variable in the same name
  466. fmemopen: assignment makes pointer from integer without a cast
  467. math.h problem -> sqrt undefined
  468. Fixed-point multiply.
  469. repeated calls to strrchr... to find second to last occurence
  470. &first arg of a union or struct
  471. Test
  472. Callbacks in C
  473. Performance vs. Design (long)
  474. sizeof(type) in various systems
  475. ioctl(sockfd, SIOCGIFCONF, &ifc)
  476. fread can not read particular data
  477. Lvalue Required(wierd)...
  478. Is these functions C90 and/or C99 ?
  479. Local scope, external linkage?
  480. how to figure out the size of buffer returned by malloc
  481. Wintel compilers with: C99 tgmath.h? 16-byte "long double"?
  482. [UNIX]deamonize a process ?
  483. Getting window coordinates
  484. _matherr doesn't get invoked when sscanf is called.
  485. Windows System Restore is terrible
  486. CPU simulator written in C
  487. put list of int as string
  488. gcc prototype oddity
  489. Static Variables
  490. Seeking Programmers for Symmetrical Musical Melody Thesaurus (1440 melodies) Software Program:
  491. Segmentation Fault
  492. bitfield size check
  493. Segmentation fault...
  494. finite() in ANSI C?
  495. Remove a file over the network on a Sun
  496. Is it possible sentence?
  497. struct array
  498. HOW-TO Truncate first line in a file to zero length?
  499. What is the purpose of such a function ?
  500. uncompressing data in memory
  501. when is typecasting (unsigned char*) to (char*) dangerous?
  502. Sorting doubles with duplicates
  503. tmpnam, strcpy - incompatible pointer type?
  504. Access is denied
  505. Structure padding.
  506. Stack implementation question
  507. test
  508. simple malloc() problem
  509. Debug memory !
  510. C FAQ Question 2.11
  511. Passing arg from incompatible pointer type
  512. English language question
  513. can bsearch tell me the index?
  514. Reading stdin once confuses second stdin read
  515. Have I done them right?
  516. What's it with this kind of definition?
  517. Debug vs. Release
  518. stat.st_mode deciphering
  519. restrict keyword from ISO C99?
  520. Does scanf ever return EOF?
  521. please visit my website!
  522. Pointer Guide
  523. Suppressing stdout output
  524. my search and replace function
  525. MSIL to Win32
  526. Algorithms Notes by Derek O'Connor
  527. For a copy of The Embedded Newsletter
  528. getting return value from function without return statement.
  529. a small pointer problem
  530. Compiler bug?
  531. Sequence matching exercise
  532. FA:Software Source Translation: Fixed per 100 line Cost PL/M, Pascal, CHILL,
  533. address beyond array declaration
  534. Help on C code
  535. Fravær
  536. what is & 0x1 in this context?
  537. Het zal toch niet zijn wie ik denk dat het is?
  538. fprintf/variable args question
  539. sscanf regex
  540. fscanf problem
  541. assigning values to an array after declaring it
  542. Array of size zero!
  543. memset all bits to zero will let float/double to zero?
  544. Interpolation without FPoint arithmetics
  545. This is just a TEST!
  546. Help the helpless.. code read
  547. problem with a static variable
  548. Quirk in Conditional Operator?:
  549. Arjen Jongeling, een oude bekende
  550. use memcpy() to copy one structure to another