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