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. writing a plugin for ethereal ... where to start
  2. New Webmaster Forum
  3. Most negative double value
  4. Crosscompile host linux target mac os x
  5. "Hello World" without semicolon with a difference
  6. Style - imbedding data files
  7. malloc Q
  8. Referencing/forward declarations
  9. How to define a define that defines some defines ?
  10. What is difference b/w "UNSPECIFIED" and "UNDEFINED" behaviour ?
  11. Looking for an intro C programming book?
  12. How do i found out the number of lines in a file
  13. Memory Allocation for Dynamic Alloccation
  14. Regarding Switch statement
  15. Question on Pointer Indirections
  16. multi dimension arrays
  17. struct problem
  18. problems with copying/editing strings
  19. forward declaration for typedef of unnamed structs
  20. Copying structures of different type
  21. about hash table
  22. pointers to pointers
  23. global scope on paramaters
  24. Weird problem: sscanf
  25. RPC question
  26. How to handle this problem in MS VC++
  27. a shorter strchr
  28. which is the better path
  29. question on fread()
  30. C dangerous?
  31. edit list
  32. Leaked Windows 2000 Source Code File
  33. Einsendeaufgabe
  34. How to read/write raw bytes from a flash card in C++?
  35. A Vector
  36. Statements and expressions.
  37. 32x32 and 64x64 signed integer multiplication
  38. Problem with pointer to array of structures
  39. Problems dereferensing my C structures (custom types)
  40. need help regarding Natural language parsing!!
  41. Error in typedef
  42. Floating point literals
  43. how to simplify/shorten this loop of bit shifting code?
  44. [ansi 89] inline
  45. JPEG/TIFF routines?
  46. array end issue
  47. Security
  48. Portable assignment
  49. Whats wrong with this crc32 code?
  50. Why the zero case in fabs()?
  51. char * vs. const char *
  52. Losing a variable
  53. C function Parser
  54. Programming / malloc Q
  55. Why is sizeof(arrayname)=4 and not 67 in function?
  56. execlp() - mystery arg
  57. Requirements of floating point comparisons
  58. Data Alignment Macros?
  59. volatile const int foo
  60. Learning c, need a little help with compiling.
  61. Segmentation fault need help
  62. Use of const in parameter specification
  63. binary output to stdout in Windows
  64. Win32 hardware coding
  65. How to call an external command?
  66. redefinition
  67. comma in string
  68. Long long int
  69. Array of Pointers Question
  70. Problem - program exited with code 0377
  71. using bits as flags
  72. 'erf' function in C
  73. Bounds checked string library
  74. Bounds checked arrays
  75. About bitfields
  76. Help with Select
  77. Volatile variables in C!!
  78. The behaviour of getchar()
  79. Building an application..
  80. Off Topic: Question about pipes
  81. If a cast from void* to a struct type pointer fails
  82. is casting a variadic function to a non-variadic one legal?
  83. max value in an array
  84. macros and functions
  85. Reading from array is faster than writing ???
  86. Yet another nitpicky style question
  87. initialize serial port
  88. what "google" do to search a pattern
  89. Acessing registers with C
  90. malloc - to cast or not to cast, that is the question...
  91. pointers switch function
  92. Pointer Qs
  93. signed and unsigned char
  94. Help with warning when using calloc/malloc
  95. Assiciativity
  96. searching a substring
  97. Typecasting
  98. gdb SIGSEGV
  99. strtol question
  100. linked list
  101. WOMPAT 2004
  102. Looping problem (revisited for better reading)
  103. quickest way to determine character sizes
  104. Globals vs passing in by reference
  105. a looping problem.....
  106. why shoule write code like these?
  107. string concatenation
  108. Tricky Code
  109. Just want to know why
  110. netlib - Jan '04
  111. struct's first member and the NULL pointer
  112. Converting ASM to C
  113. Bits How to program them
  114. How to find a string in a stream of binary data?
  115. How to get make to work under Cygwin bash shell
  116. Bitz and Bytes : 2004
  117. extend/shrink heap ?
  118. volatile ptr question
  119. pow problem
  120. writting / reading signal points to a file in c
  121. printf with run-time format strings
  122. utf-8 string functions in c
  123. call by address vs. call by value
  124. Need help: Pointer to String
  125. Topic Nazis (OR Mystery: static variables & performance)
  126. Software Quality & Fault Measurement
  127. K&R chapter 6.3 Question 'how to calculate the number of array elements'
  128. problem in K&R answer book
  129. Get the difference between two dates in terms of days
  130. How to detail a struct content (almost) just like adebugger does ?
  131. i18n charset question
  132. const array declaration
  133. Usoing fopen etc is there a way to find file size
  134. Is this code a portable?
  135. reading decimal data....
  136. K&r typo
  137. gtk+-2.0, right align the cursor in a GtkEntry
  138. How can i read a directory listing into an array
  139. const array declaration
  140. VSIPL
  141. Iterative Merge Sort Using Circular Linked List
  142. Problem with structs and strings in C
  143. javadoc like
  144. accessing array element as pointer
  145. Main [was File IO]
  146. return all non-blank lines in a file(linux)
  147. Variable Length Packet
  148. Cannot create file for write
  149. size of a sizeof(pointer)
  150. Append to char *
  151. Check if a directory is empty and empty it
  152. pointers and files
  153. how to increment pointer in a file
  154. sprintf function
  155. Again on passing arrays as arguments
  156. First argument lost when doing exec
  157. Troll Alert
  158. undefined behavior or not undefined behavior? That is the question
  159. convert a single to multiuser.. in sock.c program
  160. register caching of static variables
  161. how to run the index with 1, 2, 2,3,4,5..... in an array from a do loop
  162. Memory allocation questions
  163. returning array size
  164. how to manage temporary files in C ?
  165. How to Parse a CSV formatted text file
  166. Vigenere Cipher
  167. getdents
  168. calculate value of 73!
  169. Mystery: static variables & performance
  170. question on pointer notation
  171. placement of volatile in typedef of struct
  172. to cast or not to cast malloc ?
  173. code review
  174. monitors in C?
  175. Fibonacci series and the exact longitude and latitude
  176. Memory question
  177. How to pass by reference a dinamic array to a C routine
  178. calculations in C, userinterface in PHP
  179. Segmentation Fault
  180. random numbers
  181. floor(-0.5)
  182. How to read data columnwise
  183. floor(-0.5)
  184. How to calculate size of an array of dynaically malloc'd structs?
  185. Identifier collisions between global level and static identifiers
  186. Purify problem or compiler problem?
  187. Can anyone improve this any further......
  188. number of 1's in an integer
  189. Problem with prints twice instead of once.
  190. Is D better than C?
  191. Review: My C FAQ Page
  192. memory oraganisation??
  193. lvalues -> incomplete types
  194. Interpreting some C code
  195. How to use a function with variable number of arguments
  196. generating waves
  197. Why runtime alignment could be useful
  198. Announcing new scripting/prototyping language
  199. efficiency concern: when to really use unsigned ints and when not to
  200. A quick question
  201. big to little endian
  202. Struggling with bsearch - on a struct!
  203. C Linked List -
  204. finding redundant #includes to shorten compile time
  205. can we write program without loops
  206. Book Opinion-Expert C programming
  207. How would I use qsort to sort a struct with a char* member and a long member - I want to sort in order of the long member
  208. beginer C question
  209. Union type variable assignation --- in expression, in function argues
  210. PCI-1751 DI/DO control in comedi
  211. output to *.xls
  212. #define Question
  213. REQ:Pascal to C converter for WinXp please
  214. Masking
  215. [C] simple string question
  216. C to Pro COBOL Problem - Bytes Shifted by 4
  217. A C tutorial
  218. why does my code stop responding...?
  219. Will reading from stdin() flush output to stdout()?
  220. A more efficient way
  221. Another style question
  222. Style question
  223. WASHINGTON POST = HOG-WASH POST
  224. increment doubt
  225. Wanting to Learn
  226. getenv and carriage returns
  227. Problems when reading from a file with fscanf
  228. Collating multi-byte strings
  229. Groupware - Opengroupware server codes in C/ C++?
  230. system shell command
  231. System programming - creating a shell
  232. <time .h> in the standard,Why?
  233. writing a shell in c
  234. K&R 2 exercise 2-3
  235. C program works on W98 but not new WXP machine
  236. Need help with c macro.
  237. Program without conditional Statements - Possible ?
  238. FSM (Finite State Machine) Generator - Open Source
  239. Condensing nested switch statements
  240. ***what is the reason for this strange problem?***
  241. Why isn't there a logical XOR operator?
  242. struct hack question
  243. Segmentation fault
  244. online C programming test
  245. Up-to-dateness of the c.l.c. FAQ
  246. What's the best way to create an associative array in C?
  247. Is it really necessary?
  248. Sufficient error checking of strtol()?
  249. Help for students, provided by a Scientists Group
  250. Questions, please
  251. Trouble calculating 5th root of a given number using C
  252. (Info) Test Your C Programming Strengths
  253. A few things remain unclear...
  254. Too obfuscated?
  255. determine offset point
  256. variable length record using struct/union - help
  257. using typedef for structures in C
  258. malloc and calloc
  259. Initialization of global variables
  260. array to pointer decay question !!
  261. problem with using Fortran routine in C.
  262. getting resource information: battery level and more
  263. stringise DBL_DIG
  264. standard change
  265. test
  266. running c program
  267. Recording trigger
  268. Any C/C++ LINT type checking recomendations
  269. how can i make functions which behaves like printf
  270. new arm board
  271. Polymorphism in C
  272. string copy
  273. How to check if child is done executing ...
  274. C routines for Special Functions
  275. API function won't compile using CYGWIN g++; Interpreting error message
  276. ANSI C - Filsize ?
  277. the trouble with mex c
  278. Allocating space for char*?
  279. c/c++ compiler on windows
  280. Efficient Text File Copy
  281. longjmp vs goto
  282. expected printf() output
  283. floating point precision problem
  284. PowerTCP SSL Socket
  285. the story of a socket connect and a char array :-)
  286. Is getopt() standard C? etc.
  287. How many Zen Buddhists does it take to cast malloc()s return value?
  288. Question re. integral promotion, signed->unsigned
  289. sockets
  290. encoding matter
  291. Review: 3D-Array
  292. Which Is The Best C Compiler?
  293. create xml file with using C to Pocket PC?
  294. nomenclature issue
  295. loop performance question
  296. Casting (signed long)(unsigned long)
  297. atoi function
  298. Problems with getvect/setvect under Borland C 3.1
  299. string question
  300. Aho Corasick source code needed, please help
  301. Socket, C and Windows
  302. C perfomance
  303. passing a value of a variable from one function to another
  304. Network Traffic Models Generation
  305. Error in Preprocessing
  306. parser generator which supports unicode?
  307. Problem with fread()
  308. writing program from a book
  309. Machinista 2004
  310. A situation
  311. function to round a float to an int?
  312. problem related to printf!! why is it so???
  313. indeterminate value leading to undefined behavior?
  314. integer division
  315. Using pointer as a array (help)
  316. linked lists
  317. objects in C
  318. unionists versus separatists
  319. strncmp performance
  320. Is this legal C code?
  321. qsort clobbering memory location
  322. Coding style survey
  323. Partial build/link... is it possible in unix?
  324. old style C function
  325. Multi-dimensional array initialization
  326. Symbol undefined? Linker error!
  327. Network Programming: Multithreads
  328. Help, I need config.h for windows
  329. difference
  330. about sizeof(char)
  331. Using different constants for different porjects.
  332. [crosspost] Perl -> C
  333. getopt
  334. Fgetc returns the wrong character (0a -> 0d)
  335. itoa in pure C
  336. want a better version of this
  337. perils of sizeof
  338. read int(long) from a file
  339. TIP: Using a delay in C
  340. Call to free() sefaults
  341. Trying to implement MD5
  342. Initializer for an array of pointers to arrays of strings
  343. Multiple returns
  344. Memory usage v/s complexity -- which one better?
  345. C programming Help
  346. Disadvantages of malloc()
  347. Determine OS and compiler
  348. Is this portable/c-std at all?
  349. Probelm with results
  350. FAR * in 64-bit machines
  351. complier for openrisc with c
  352. Casting ? Help urgently needed!
  353. length of an array using sizeof() - problem
  354. Datastructure and Algorithms
  355. why is casting malloc a bad thing?
  356. How do I inhibit warning 528?
  357. How should I sort a struct
  358. Arrays
  359. scanf() wierdness
  360. Using splint on C files under MS VC6
  361. platform independent serialization of a long
  362. fscanf and NULL
  363. Reusing a va_list
  364. writing hex to a binary file
  365. How would I loop through all the files in a subdirectory?
  366. Heap vs Stack allocations
  367. Is there a C runtime file delete function?
  368. comparing long integers
  369. Preprocessor brain drain
  370. Convert DBF file to text file.
  371. operation on pointer
  372. signed/unsigned int
  373. freeing of char**
  374. Programming and Style Guidelines for C
  375. Problem with calculating the size of an array
  376. Why noy 'return' not portable but exit() does ?
  377. What are C89 and C99 ?
  378. structures --assignment?
  379. CSV Format in C language
  380. Atomic function
  381. Efficienct structure array
  382. multidimensional arrays and cute tricks
  383. Return value from system() on Linux
  384. getopt_long() problems
  385. find string in a text file
  386. A question of speed
  387. Test if pointer points to allocated memory
  388. How to use maximum size of size_t type ?
  389. A simple base-converter program
  390. What's wrong about const?
  391. multi-word remote shell parameters from a variable
  392. Help with a progam
  393. is there any powerful program that can.....
  394. c runtime
  395. Foolishness is rampant :-)
  396. gets() fgets() with subdivide.c tilepack.c squarect.c
  397. associativity
  398. What is the data-type of pcap?
  399. prevent dumping core file?
  400. Extracting first n chars from a string
  401. Static Variables
  402. pointer question (pretty basic)...
  403. I'm confused by Const
  404. clean method to read bit position?
  405. Why this MACRO does not work?
  406. Code Review: Structures
  407. main argument curiosity
  408. RFC: clc-compliant pseudo-random number generator
  409. Comments please
  410. best C tutorial/s online?
  411. How do I read a csv file into a structure?
  412. I need your help
  413. dll question
  414. qsort question
  415. Printf question
  416. && and || Operator precedence enforcement
  417. what is setjump() ?
  418. the different between function and procedure for C/C++ and Pascal
  419. Extent of the "as-if" rule
  420. Strange MACRO Problem
  421. [Maybe OT] How to convince people about the importance of ANSI standards conformance ?
  422. questionable cast
  423. char ** questions
  424. Getting keyboard input in C
  425. program
  426. C standard document
  427. inb() keyboard port
  428. C reference guide
  429. Float confusion
  430. float confusion
  431. Help with building a string
  432. Struct with string pointers
  433. struct and string pointers
  434. int main(int argc, char *argv[] ) vs int main(int argc, char **argv )
  435. Accessing alternate union members
  436. When should use C?
  437. help with sorting
  438. help needed please!
  439. looking for tutorial on creating DLL
  440. fgetc() past EOF
  441. error at compiling
  442. char *fred; char * fred; char *fred; any difference?
  443. Calling a function of unknown type
  444. zOS: fopen for record-IO with any LRECL and RECFM
  445. Sending messages to a menu but never returning
  446. How To Get To Fortran Common Variables Within a C Code
  447. argv[0], etc
  448. Something wrong in my program
  449. Yet another comma operator question
  450. New design ARM board for 2004
  451. function problem
  452. array of bits
  453. structure toupper\lower?
  454. Just value copied?
  455. AVL implementation in C
  456. programs holds on malloc
  457. Slow performance with new 3GHz Machine using FlushFileBuffers
  458. question about cast
  459. is this allowed in c ?
  460. Stack overflow in function ...
  461. two questions
  462. Serial Communication Code example
  463. Two basic questions
  464. Opening file...
  465. sizeof C integral types
  466. typedef and declaration of function
  467. portability concerns
  468. splitting a string and putting it into an array?
  469. splitting a string and putting it into an array?
  470. problem with linked list
  471. Why strncpy(s, t, n) doesn't put '\0' at the end?
  472. splitting a string and put it into an array
  473. Code Review: strncpy
  474. Question about EOF
  475. About extract call graph from C source code
  476. Logical And
  477. good editor
  478. trying to construct an array.....
  479. problems with sprintf...
  480. Returning a pointer to a function
  481. custom header files
  482. Random Numbers?
  483. C macros tuts needed
  484. worst.c - foolishness
  485. NFA to DFA
  486. using write() instead of puts() in a trivial program?
  487. Passing pointer to function using DLSYM()
  488. fclose
  489. clean exit - suggestion - C version
  490. FENV_ACCESS and "pure" functions
  491. fopen(log_file, "a");
  492. Correct use of va_copy
  493. how to stop bufferring on STDOUT
  494. Bounds Checking?
  495. Are bit-variables in PICC a good idea
  496. variable number of arguments
  497. avoiding CTRL-ALT-DEL by mistake
  498. fstat
  499. Reading data from webcam
  500. pointers
  501. help with little program in C
  502. Need to Improve my skill set in C
  503. undefined behavior defined
  504. Is memcpy secure?
  505. Question about "Pointers on C"
  506. Visual Studio Problems > Debugging
  507. static variable thread safe?
  508. C program to read & print UTF-8 characters on Linux
  509. FILE I/O in reverse order?
  510. Assumption
  511. how to call C++ from C?
  512. Problem with calling Kernel32 function "Sleep()"
  513. debuging win32 app
  514. How to get PID of a process from a C program
  515. detach thread in c?
  516. freeconsole and continue program?
  517. Find IP with a RegExp
  518. (void)data
  519. new ARM board for 2004
  520. online literatures
  521. passing arrays of strings
  522. Visual Studio 2004 Enterprise
  523. implementation details
  524. convert string to pointer to pointer?
  525. need help with c compiler
  526. Some basic error - what am I missing? (NaNs)
  527. Microphone?
  528. Malloc question
  529. question on const
  530. Getting file size of binary file
  531. Converting hexa to decimal
  532. is C useful ?
  533. web base download
  534. Bit mask
  535. 17th IOCCC now open!
  536. global struct declarations
  537. Good way of checking if file exists ?
  538. avoid constant conditional expression warning
  539. millisecond delay in C - linux
  540. What's wrong with my lex and yacc program?
  541. Question: Unicode <-> HEX conversion in C source file?
  542. How to convert HEX <-> DEC constant value in C source file?
  543. Question: HEX <-> DEC constants auto-conversion in C source file?
  544. GUID in C
  545. NAN error and debugging with GDB
  546. Sending data to the parallel port
  547. HTTP basic authentication
  548. Storing/processing binary file input help needed
  549. [Slightly OT] Casting non-void function results to void in modern compilers.
  550. Why multiplication not allowed?