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