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