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