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. Setting Time in C
  2. arithmetic on pointer to an incomplete type
  3. fscanf or fgets still misses last line unless there is a newline
  4. help request: clahe.c Graphics Gems
  5. sign magnitude, ones complement, two's complement
  6. why still use C?
  7. problems turning int into float (simple problem)
  8. recursively draw the line
  9. C Inlining
  10. A doubt about C's tree data struct
  11. Is argv[0] guaranteed to be a valid pointer?
  12. one before the end of array
  13. Read output from system( ).
  14. static allocation question...
  15. if(myInputString == "&&") fails, why?
  16. Typedef - multiple declarations
  17. Too Big
  18. casting pointers
  19. freeing memory....partially
  20. how to use fopen()?
  21. newlines in text files
  22. array of pointers on functions
  23. To coerce or not...? struct sockaddr vs struct sockaddr_in
  24. screwed up programmer
  25. Question on stack frame allocation space
  26. passing ptr to function to another function
  27. Funny
  28. malloc segmentation fault
  29. Avoiding Implicit Casting
  30. Today's Foxtrot comic strip
  31. Images (jpeg) in C programming
  32. default const
  33. What does f(x++) mean?
  34. code Critics please..
  35. const type question
  36. #if CONSTANT == 1 checking problem
  37. IAR, __ASM(), and *.s33 to *.C files
  38. Parsing error!?
  39. Function Overloading
  40. Fourier transforms (coefficient calculation)...
  41. Anyone mind reviewing my code?
  42. bulk assignment to structure
  43. Preprocessor directive
  44. programming style: which is clearer? (iteration vs. recursion)
  45. Linked list with void *
  46. Backup your projects neatly
  47. How dirty is setjmp+fopen+longjmp ?
  48. Attn. C gurus
  49. Stack & recursion Question
  50. Download
  51. clock() for timing
  52. how to avoid loop overhead of for(), while()
  53. Library call question
  54. Programmable Logic Circuits and C
  55. Parsing C declarations [savestruct]
  56. printing array elements
  57. A guide to reading C declarations available on my website
  58. integer and floating-point bit pattern
  59. Understanding ++
  60. Compilation with preprocessor macros defined with no value
  61. Binding problem - address already in use
  62. restrict
  63. Revue "Programmez !"
  64. Output undefined?
  65. Gap of two 0x00 between structs.....
  66. Circular Queue data structure ..
  67. bitwise not operator
  68. Multiple instance of process - memory conflicts
  69. Memory Managemant in C
  70. Monty Hall simulator: is there a better way to do this?
  71. Bit shifting for log of 2
  72. 8.8 notation....
  73. static lib
  74. Is it possible to perform CRC checks on Linked Lists?
  75. Differences between 'const char' and 'char'
  76. Integer to Binary
  77. Compile C Code With A CPP Compiler?
  78. Can the current file position indicator ever be greater the actual file size?
  79. RTL (Register Transfer Language) file
  80. pointers in structures?
  81. a compilation problem
  82. Question
  83. unions with long long ints and doubles?
  84. ANSI C Summary reposted
  85. for(;;) or while(1)?
  86. char *p = "longenough";
  87. New compiler?
  88. Segmentation fault
  89. what is a static function in C ?
  90. What does this warning means?
  91. "_pthread_deactivatex" problem under AIX
  92. Challenging BitManipulation puzzles...
  93. Programmign CPU registry related question.
  94. linking problem
  95. First C program
  96. same function name in different files
  97. operator precedance
  98. strcpy Question
  99. Wrapping, I am confused
  100. struct declaration and using free()
  101. Struct member access with macro
  102. array's access with address confusion
  103. Variable length array confusion
  104. zero-based array, in function confucsion
  105. logical OR obfuscation
  106. Did you know?
  107. Bus Error?
  108. wtf is this?
  109. About FAQ 1.14
  110. About FAQ 1.14
  111. Parameters and the Stack
  112. prints out an unsigned long in decimal
  113. test whether a number is a power of 2
  114. Learning C question
  115. sorry about "xyz"
  116. struct initializer { 0 }
  117. xyz
  118. Runtime type-safety (for linked lists)
  119. Encapsulation & Macro Functions
  120. Encapsulation & Macro Functions
  121. fslurp() critique
  122. what's the best way to time your code?
  123. extract records
  124. reading 32bits from a file
  125. Input problem
  126. Line input and implementation-defined behaviour
  127. How to kill all inherrit process by codeing in C
  128. fill space
  129. resolved: difference between memcpy and memmove
  130. New C programmer
  131. code review/comments please
  132. variable length arrays
  133. reading binary text
  134. strcpy and strcat problem
  135. array of pointer
  136. 'extern'ing variables
  137. displaying underlying representation of integers
  138. How to cast function pointer?
  139. Register Variables
  140. printf prototype UB
  141. struct timeVal
  142. Problem converting a huge Program into small ones
  143. reverse byte
  144. Arrays and Pointers to Arrays
  145. level of questions for experts only
  146. Cross-Platform Sockets in C?
  147. Learned something new today - thoughts?
  148. declaration of variables inside functions in C
  149. big number crunching in C
  150. returning (char **) values
  151. NULL: Is it guaranteed to evaluate 'not true'
  152. access to msaccess
  153. randomizing integers
  154. Structure
  155. some queries on freeing memory allocated using malloc
  156. gets, fgets Question
  157. compile problem
  158. Array at specific address
  159. opinion on enum
  160. String, String literal ? Could anyone explain to me ?
  161. Graph Implementation in C
  162. Hashtable implementation in C
  163. what's K&R2?
  164. [Q] Initialise a struct with variable length cahracter strings
  165. what'd the difference between STDIN and Keyboard buffer ?
  166. Call for Participation - JRobots Programming Challenge
  167. Void Pointer Question
  168. Looking for Mathematics and Date libraries for VC 6.0
  169. floating point error: overflow?
  170. floating point error: overflow?
  171. null and NULL: is there any difference?
  172. null and NULL: is there any difference?
  173. Re Books on developing portable C suites
  174. Re Books on developing portable C suites
  175. Worm storms
  176. Worm storms
  177. can't close a file??
  178. Question on switch
  179. Sign-extension?
  180. can't close a file??
  181. Question on switch
  182. Sign-extension?
  183. Needed help for strtof return value
  184. Unions
  185. what's wrong with this code?
  186. What does this error mean?
  187. No Experience
  188. memory alignment
  189. Compile problem
  190. strcmpi
  191. array <-> pointer Question
  192. JPG, PNG, GIF -> BMP
  193. memory alignment
  194. Operator Order
  195. Cyclic array problem
  196. gcc. mkstemp works but I can't write to the new files.
  197. Coding for the CPU cache?
  198. Two questions (see inside)
  199. Conio.h
  200. GUI ?
  201. C functions for JAR files
  202. 3-byte ints
  203. confusing macro
  204. array decay
  205. mfc / c++ directory creation problem
  206. can i access 'p' even after free(p);
  207. comparing numbers
  208. Memory Alloc/Dealloc query
  209. checking for stack overflow in recursive function
  210. hmmm, no C99
  211. Confusing itoa and atoi
  212. Your opinion
  213. vssvc.exe
  214. unsigned and signed 0
  215. fork + syslog blocking
  216. Program for compression
  217. My language is broken in oracle
  218. send message to ICQ and MSN Messenger
  219. The % puzzles me.....
  220. solving differential equation
  221. How to compare these variables by use operator 'AND'
  222. Linked-list's different insertions, help
  223. Linked list question
  224. program that prints its source code
  225. Q: please
  226. question
  227. doubt in USING POINTERS
  228. how to multiply two integers using bitwise operators
  229. # and ## operators
  230. Information you need to survive!
  231. binary tree?
  232. function explanation
  233. dll ?
  234. macro name from macro?
  235. feof usage
  236. const really constant?
  237. strdup
  238. is '\0' == 0
  239. dumb q moving to gcc - c99 mode
  240. converting char * in struct to a long value
  241. What use is void?
  242. Program structure
  243. Problem with array of structures
  244. Segfault with dynamically created 2-D array
  245. Accesing frames from a video capture card with C
  246. Help me in this program
  247. i need to create C program. Any one have Code
  248. File manipulation problem
  249. is it any good to use typedef ?
  250. what strspn and strpbrk stands for ?
  251. How to read string out of file with pointer?
  252. gmp.h questions
  253. incorporer des librairies avec la commande gcc
  254. Reading large files
  255. How to chek if USB port is mounted in linux?
  256. mulitiplication using bitwise operators
  257. how to convert 16-bit binary fraction to a float
  258. sprintf()
  259. structures and functions
  260. Test
  261. Set Cookie: ???
  262. What is "Pointer Alignment"
  263. losing my file pointer
  264. Bus Error
  265. msg to all
  266. about Pointer
  267. rewinding stdin
  268. arrays: negative index values
  269. missiles with parabolic paths for Magnant (C language).
  270. next quarter
  271. opinion wanted about global vars
  272. strcat problem again
  273. fopen causing malloc error - HELP!
  274. bit operation on leading 8 bits
  275. passing 2d array and realloc
  276. including libs by #pragma comment -> order of libs
  277. Iterate over a range of Array
  278. diff between #define & const
  279. interview question & answer required
  280. self deletable .exe
  281. diff between memmove & memecpy
  282. many question on C
  283. Enviroment variable on Linux _and_ Windows
  284. question, about implicit conversions
  285. unions: initialization and assignment
  286. (OT) floating-point numbers
  287. curiosity: structure assignments in C (and unions within structs)
  288. why overflow?
  289. union initializers idiosyncrasies
  290. no. of byte problem
  291. Students Fro Academic Freedom
  292. Macro argument bounds checking?
  293. allocate memory in function
  294. How to determine (in compile time) whether a compiler supports wide characters or not
  295. How to determine whether a compiler supports wide character or not
  296. Ways fopen() Failes
  297. parsing config file
  298. FAQ 2.6
  299. Naming convention for pointer-to-foo types
  300. Trying to read a c program
  301. Escape sequences and printing
  302. Contrived casting situation
  303. Nested for loop; curios behaviour?
  304. %f undefined behavior?
  305. ethic on Includes
  306. help me! -- K&R exercise 1-11
  307. Structure memory allocation
  308. file read -- increase the size of an array
  309. who delete mine?
  310. FILE undeclared - but its not, according to me.
  311. How can I know how many elements are there in multi-dimentional array?
  312. variables in format strings -- printf
  313. float to unsigned char array
  314. memory usage
  315. pass 2-dim array as param
  316. Why the code doesn't work the way I wanted ?
  317. free() an empty string ?
  318. Clearing an array
  319. C novice question...
  320. data structure for graph
  321. current time
  322. bind to a specific IP address
  323. "smart" indexing
  324. While statement problem
  325. String and null character
  326. For loop equivalent with the preprocessor
  327. return address of new memory
  328. Timestamp header
  329. compilation process
  330. A problem of SoftEng
  331. Plotting Graph in C
  332. %p and casting
  333. compound literals
  334. Why the code doesn't work ?
  335. library with abstract data types?
  336. Does any CVM [ C virtual Machine] exist?
  337. Structures and Variable Functions
  338. Designated struct initializers with Visual C++
  339. Why segmentation fault
  340. Is it OK to modify argv ???
  341. Strange command line args problem
  342. problem with generating random numbers !
  343. Pseudocode For Statement
  344. I need help with C for Linux
  345. inputting strings.
  346. Representation of integers
  347. Initialization without loop
  348. Syntax
  349. void arg to function
  350. Checking whether '\0' exists in the string
  351. style question
  352. x^y function?
  353. Rollover Issue
  354. Roman numerals to ints
  355. Textbook
  356. Trigraphs
  357. Are there any pre-defined variables in C?
  358. Preprocessor's question
  359. reading in command line argument
  360. strcat problem
  361. Need Help with C program
  362. alleged mis-form with strcat
  363. Has anybody used Doxygen on aolserver source?
  364. escape sequence
  365. Which style is better?
  366. C Code Editor Formatting Unix-Windows
  367. How to display the last n lines from a text file
  368. Having problems returning a char* from a function..need help...
  369. "The C Standard" in book form is here!
  370. 8 Bit CRC
  371. Associating strings with an enum (can I use a macro?)
  372. C flowcharting program
  373. Compiler bug - Postincrement & Preincrement operators
  374. why does this segfault??
  375. Dynamic string arrays?
  376. trap representation
  377. Converting Vbasic code to C code
  378. Maximum value for typedef'd type
  379. About sizeof
  380. array of strings?
  381. Is this well-defined?
  382. basic c i/o and EOF
  383. basic c i/o and EOF
  384. meaning of "1u"
  385. calloc
  386. multidimensional arrays as function parameter
  387. Please help! char* problems!
  388. About initializaion list
  389. regarding sites about C test questions
  390. bits
  391. Largest possible value of Integer Constants
  392. Anybody know how I would code an error statement when a user inputs an invalid input.
  393. How to change an icon in C?
  394. Order of parameter evaulation
  395. malloc a 2D array
  396. How to test for -0.0?
  397. When (32-bit) double precision isn't precise enough
  398. Technical Instruction Position
  399. replacing a string in a char pointer
  400. Problems with ASM/C
  401. initializing arrays of arrays
  402. What is the difference between MACRO and FUNCTION?
  403. how to implement a menu ?
  404. Basic Use of Malloc
  405. Declaration Problem.
  406. Why doesn't this function call save these registers?
  407. Question about disasembled function call on linux and
  408. Parse timestamp string
  409. Many Happy Returns
  410. basic #define usage
  411. Char to char*?
  412. Better Rand() Algorithim
  413. unwanted implicit casts
  414. C- Advice
  415. TAking the minimum of three values
  416. Looping logic
  417. Compile error: wrong machine type
  418. int *a, indicator fault
  419. Using strcat
  420. type casting question
  421. Human-readable storage for types (with no pointers)?
  422. need an advise: Graphic & Sound Programming
  423. Queues in C
  424. Sending a file to the printer, how?
  425. file locking
  426. array of void*
  427. Any preprocessing tool with {} insertion option?
  428. use select to detect input andtimeout
  429. select and timing
  430. tcp and fork
  431. question about database
  432. Comparing char* with integers and characters
  433. Keyboard Buffer
  434. How to compare one character of a string to a char?
  435. Precision Issue with STRTOF
  436. req: DES source code
  437. sizeof(struct dirent.d_ino)
  438. Linker
  439. Help needed to count lines between preprocessor directives
  440. Linker problem?
  441. derived
  442. GNU standard library sources
  443. How can I know it is a macro or actually is a function?
  444. Grade Program Question
  445. derivate
  446. bitwise absolute value
  447. How to create a directory?
  448. Used of using const char*
  449. very strange gcc output
  450. question about gprof
  451. question about gprof
  452. question about gprof
  453. is it possible to find out the caller of a method programmatically
  454. Structure and ASCII "Database"
  455. Copy Files to a network drive in Win2000
  456. malloc and calloc in Linux
  457. New OOP Framework using C
  458. structured lang?
  459. "As-if" rule question
  460. New OOP Framework using C
  461. structured lang?
  462. "As-if" rule question
  463. Array initialisation
  464. Array initialisation
  465. Fixed BCD code.
  466. free(); after return();?
  467. why doesn't this work?
  468. malloc experiments
  469. Fixed BCD code.
  470. Audio Recording and transfer using TCP/IP
  471. creating a variable from constant
  472. Function as macro parameter
  473. free(); after return();?
  474. why doesn't this work?
  475. malloc experiments
  476. Audio Recording and transfer using TCP/IP
  477. creating a variable from constant
  478. Function as macro parameter
  479. newb: inputting int-s
  480. How can I use malloc-ed memory inside a local function
  481. Greater than operator Vs Equal to operator : Which one is efficient?
  482. warning C4047:
  483. strtok trouble
  484. searching in a huge data pool?
  485. newb: inputting int-s
  486. How can I use malloc-ed memory inside a local function
  487. Greater than operator Vs Equal to operator : Which one is efficient?
  488. warning C4047:
  489. strtok trouble
  490. searching in a huge data pool?
  491. Code Review: Averaging program
  492. how to cantenate strings in C
  493. Constant macro parameters
  494. Flush stdin?
  495. need ring buffer source code
  496. ? about reading a comma delimited file
  497. treat array as a file
  498. decimal to BCD for long int
  499. Thank you to clc
  500. scanf/cin problem
  501. strings.h
  502. what is the significance
  503. what is the significance of this
  504. Variable argument number in functions
  505. Significance of 0;
  506. Is it all trivial?
  507. function addresses at build time...?
  508. difference(s) between char** argv and char* argv[]
  509. want a "here doc" equivalent in "c"
  510. copy to pointer memory ?
  511. Converting from char to integer value
  512. malloc experiments
  513. Is there a way to know the memory usage of a function's body?
  514. replace function
  515. assigning expession to variable
  516. Array: Pass by value... Possible?
  517. split number problem
  518. Extendible Hashing implementation
  519. Array Initialization
  520. Port data transfer
  521. Problems with Netifdev.h
  522. simple command line parser
  523. i need some C/C++ test intervie questions
  524. Multiple files
  525. Knowing size of a data type
  526. Allocation of memory to a pointer that points an array
  527. Prototypes
  528. C preprocessor function macros with empty aguments
  529. types, constants and casting
  530. Bit manipulation
  531. Recursion elimination
  532. scanf experiments
  533. looking for intro C text for experienced programmer
  534. Linux / how to check if subprocess is still alive
  535. Single dim array as a multidim array?
  536. How to avoid deadlock?
  537. Program for monitoring the serial port
  538. using char as boolean data type
  539. Declarations of structs, and arrays seem to be overlapping in memory..?!
  540. responsible license
  541. char **argv vs. char* argv[]
  542. Question about malloc, alignment, ...
  543. Zero elements of structure...
  544. Pointer-to-array - screwed up my mind ...
  545. Coding problem
  546. errors ???
  547. Using a math function in C.
  548. Multidimensional Arrays
  549. shell programming problem