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. Current status of iostream.h
  2. How to uninstall LCLint?
  3. va_list, va_start, va_end very nice ... but how to copy all vars as one parameter ?
  4. Convert from unsigned char array to float!
  5. freeing simple linked list
  6. ++ operator
  7. fixed-point output
  8. project specification in system software
  9. code review
  10. Undefined side-effect of setvbuf?
  11. compilation error in structure
  12. snwprintf - standard
  13. strings and functions
  14. a test
  15. integer type question in linux
  16. Comparing each of the string components
  17. snwprintf - standard
  18. snwprintf - standard
  19. multiple open fd's on open(file)
  20. A simple example calculating the number of seconds since 01/01/1970
  21. GUIs and Compilers.. <help>
  22. bit copying
  23. Yellow Box Definition Tips Disappear on VC++ platform
  24. C Programming
  25. item[LENGTH] vs. *item and malloc()
  26. const and multi dem array compile problem
  27. Get the FAQ
  28. ANSI C screen manipulation?
  29. Integer overflow
  30. problem with gets
  31. Is there a standard way to change file permissions?
  32. Const Vs Macro
  33. Include header file problem !! on ANSI - C
  34. Avoiding float and double in monetary calculation
  35. Giving the histogram a shot...
  36. Order of evaluation -- clash w/sequentiel expression operator
  37. Nested loop holding up completion???
  38. Using stdin and/or stdout between two programs
  39. where can I find a good C library for algorithm and data structure
  40. Linux . How to let a Thread sleep for a period of time waiting for an event
  41. C FAQ
  42. gcc 3.3, solaris 8, compile error - 'strftime', 'localtime', etc. "not declared"
  43. Level of OOPS
  44. Simple tcp/ip program in c with IPV6 address family
  45. C language Standards
  46. Aaarrrrgh! can't even make printf() work...
  47. resetting buffer on /dev/dsp
  48. How to link file *.o on NetBSD
  49. CHAT about C
  50. Is this assignment ok?
  51. Using == with char *
  52. typing practice
  53. Hello ~
  54. teeing parent+childs output
  55. double buffering technique
  56. How to make a menu
  57. More about behaviour
  58. Behaviour question
  59. Unsinged char to int
  60. Bool
  61. please help solve these linked list and sscanf problems
  62. Having Trouble
  63. Handling User's Input
  64. serial communication between PC and altera FPGA in C or c++
  65. Tools for large C file cleanup?
  66. function design question
  67. String-to-textfile programs will not run in DOS window...
  68. Memory management question
  69. C programmers! How do you use your 'union's ?
  70. Program works on screen but not on disk...
  71. What are some recommended resources for comparisons between ansi c and c99?
  72. Bitfield structs that are not padded to the size of an int?
  73. Minimalist executable
  74. Minimal executable
  75. Asm code to C code
  76. please help
  77. MD5: Anyone know how to deal with it??
  78. Seg Fault
  79. where is different???
  80. My error or fprintf implementation error ?
  81. <math.h> problem
  82. Implement Ctrl-C, Ctrl-V
  83. size of long
  84. union and bits
  85. Semantics part in C standard
  86. difference between structures and classes
  87. crashing qsort
  88. Question on sscanf
  89. how to find mac address of a remote computer?
  90. STREAMS based shell logger
  91. External object definitions
  92. getch() in c
  93. Stupid cast question
  94. DVD cc
  95. How to concatenate string and unsigned char ?
  96. character ROM programming
  97. curiosity question regarding __func__
  98. Function inlining in C (not C99)
  99. Passing a contiguously allocated 2D array to a function expecting a 1 dimesnional array
  100. What's the difference between the 'd' and 'i' conversion character?
  101. Novice needs jump-start w/ MVC Studio
  102. Casting integers to float.
  103. Does C really now that little?
  104. where global variables created in memory? STACK or HEAP
  105. Accessing files from various functions
  106. fast way to read NON-readonly files
  107. how to get the time in usec
  108. fastest way to load NON-readonly files.
  109. linked list of structures
  110. C and C++ colloding! // How to debug a DLL?
  111. t_e_s_t
  112. Segmentation fault with file io while closing main
  113. fopen in specific environments
  114. cannot compile same code on RHL 7.2 and 9.0
  115. distribution algorithm question
  116. Find a string in another string
  117. strpbrk()
  118. Insert sort help
  119. Wrong abt semi-finished program - why no output?
  120. structs and how to access them
  121. REQ: Extended printf() with word-wrapping column format flag
  122. A linking problem!
  123. Interleaved variable argument processing
  124. Garbage collection in C
  125. simple question
  126. Novice question..
  127. How to get Gcc 2.95 to shut up with -Wall -04 on this code. :)
  128. Array length
  129. Definition of __FILE__, __LINE__
  130. 0day n00b question ;)
  131. 'const' saves space??
  132. 'const' saves space??
  133. C plus plus vs C Sharp
  134. tests
  135. Where to begin
  136. pipe() dup2() fork() execl() select()
  137. Returning values as Void *
  138. Problems with calculating volume of a sphere.
  139. Operator overloading in C
  140. passing 2-Dimensional Array to a function
  141. Bit filed usage
  142. commenting out 'cout' using preprocessor macro
  143. system(); under Cygwin
  144. frequency analysis
  145. multiple symbol defined
  146. An Apology
  147. C programmers! How do you use your 'enum's ?
  148. Threads in C??
  149. 7 + c * -- d / e
  150. question about gcc option..
  151. array of size 0
  152. Stack query
  153. What does rtfm stand for?
  154. proper allocation
  155. execve problem???
  156. memswap()
  157. Realloc() with 2D arrays; returning multiple values
  158. Casting double to float - compiler bug?
  159. Milliseconds.....
  160. 10 Commandments, Revised
  161. C version of C++'s virtual functions
  162. math.h problem..
  163. C strings to Fortran
  164. Problem with FCLOSE
  165. open shared folder
  166. type cast from integer to char array
  167. For loop condition evaluation
  168. Connect remote windows machine
  169. what is the output and why
  170. How to get the information of the dynamic linkink library in UNIX?
  171. Needed Source Code for Picture Size
  172. Soustraire 2 pointeurs
  173. Problems with rename - is it fcloseall ??
  174. Optimisable?
  175. doing a function according to parsed text
  176. Socket SO_RCVBUF information.
  177. Variable Names ?
  178. ** vs 2-d array
  179. safe to return a pointer to static storage?
  180. Future reuse of code
  181. Does pointer assignment preserve bit pattern?
  182. Creating and writing to files "on the fly"
  183. database written in c
  184. A Case of BUS Error !
  185. convert text file to MS Access
  186. Books on developing portable C suites
  187. figuring Memory leaks
  188. Dev-C++ 4.9.9.0 Newbe question
  189. Anyway to read file line by line ?
  190. Newbe needs compiler
  191. input values with scanf
  192. Reading a Binary File
  193. int or size_t as the index for the string
  194. int or size_t as the index for the string
  195. How this function call works???
  196. Where's The Charter?
  197. How to handle stackdump error message ?
  198. Explanation of sizeof(...) request
  199. C Data Serialize ?
  200. connection to excel
  201. get effective and real user-ids in a setuid program in linux
  202. void function(int &a) { }
  203. WinSNMP
  204. a strange problem with pointers
  205. I'm not worthy
  206. Storage specifiers
  207. file size limit exceeded
  208. Bit Test........puzzling
  209. C program to authenticate user on AIX?
  210. suspicious RAM problems - mvo
  211. String to char
  212. Dr. Dobbs and other periodicals?
  213. CRC32
  214. Editing String in std-in
  215. new dial up connection code
  216. entry point
  217. Take UTC time from NMEA format.
  218. how to reduce latency of voice!
  219. Error: "initializer element is not constant"
  220. C Application that do USB x PC communication
  221. Homework: Puzzle
  222. sizeof( <string literal> )
  223. Problems with function/header file, Undefined symbol
  224. Problems with pointers.
  225. Spawning child processes
  226. what is wrong with the winsock libary beneath Linux ??
  227. .a vs .lib files
  228. test - pls ignore
  229. segmentation fault
  230. Understand piece of code.....
  231. Help: Algorithms in C (Sedgewick) "Graph.h"
  232. What is wrong with this code?
  233. Problem opening a file in C
  234. up to date book reviews?
  235. Intel Pentium Processor data format for negative number
  236. delete all the entries that contain "some string" from a file
  237. sprintf() - is it OS specific
  238. Allocation of 1 byte?
  239. if (f() != FAIL) or if (FAIL != f())?
  240. structure, aligment, memory
  241. DCOM & email stripper
  242. Structures and sizeof
  243. help with program
  244. Why large performance degradation?
  245. HELP: Accessing int pointer inside struct
  246. string matching
  247. help with SQL embedded in C
  248. what is following C terminologies???
  249. code for validating IPv4 address
  250. multi dimensional array
  251. multi dimensional array
  252. help with infinite loops and scanf
  253. "The C compiler is Written in C" What!
  254. p2E ܤ p2E
  255. Read Tell functions
  256. increment of void *
  257. Macro for memory logging using __FILE__ and __LINE__
  258. Question re buttoning my fly
  259. fgets and problems reading into array
  260. using struct pointer before declaration
  261. Puzzles
  262. How to find lowest bit position of mask with macro only
  263. The term "global variables" misleading?
  264. Static Code Analysis Tools
  265. diff between exit(0) and return(0)
  266. typedefs/structs
  267. Help me With this undefined behaviour.
  268. VCOMM
  269. Truncating char array
  270. Keil C library ??
  271. Truncating char array
  272. Linux const char type
  273. malloc
  274. Not writing to file?
  275. Data types
  276. Code review
  277. (OT) please point me ...
  278. Reading data from files
  279. Which data structure should I use?
  280. Help needed in solving C-errors
  281. visibility attribute ignored in compilation
  282. Calculating a directories size
  283. undefined reference
  284. Lookup Country and ISP by IP Address
  285. limit on number of parameters to a C function
  286. Position of variable declaration is causing "undeclared identifier" error.
  287. Position of variable declaration is causing "undeclared identifier" error.
  288. Dis assemble C code
  289. memory dellocation
  290. memory dellocation
  291. programmatically change directory in UNIX
  292. allocating inner struct array
  293. scanf help again
  294. reading data from stdin to structures
  295. memset() and portability
  296. I got it to compile but it did somthing strange
  297. Efficient string tricks: legal and defined?
  298. Writing a value to a specific memory address
  299. pb de pragma
  300. Sequence points
  301. Displaying 64bit Numbers
  302. Please explain why ?
  303. Interpreting some code
  304. Really Weird Conversation
  305. problem to print large double number. Help!
  306. Passing array of structures to a function
  307. Clipper Head needs help!
  308. function to url decode a string
  309. Plz clarify
  310. Loading a function @ a particular adddress
  311. How to right justify a column
  312. averaging numbers in text file
  313. simple question (itoa, localtime)
  314. STL map impl. in C
  315. String search and length portability questions
  316. Global variable conflict.
  317. example of C code in Unix Enviroment
  318. libclc: thanks
  319. Windows easier to use...
  320. Input/Output and Files
  321. A few simple problems in a simple program.
  322. int * vs char *
  323. plonker
  324. programming style for windows apps
  325. I/O via serial (COM) ports
  326. Conditional operator problem
  327. hexdump formats
  328. where can I find the complete BNF grammar for C on the internet? Thanks
  329. how can i revers the bits in a byte in a single statement ?
  330. Binary files, structs and fread
  331. Horrible Visual C Bug!
  332. How to distinguish between stdout and stderr
  333. fclose(stdin);
  334. fclose(stdin);
  335. strcmp but with '\n' as the terrminator
  336. please help with strcmp()
  337. libclc: A misc module
  338. How reliable preprocessor output is?
  339. Structures
  340. how to read in large amount of data in C?
  341. How to use printf more efficiently?
  342. storing a long in a float with same precision on Solaris 64bit OS
  343. Can I catch this event?
  344. endianess
  345. reading file created with tmpfile?
  346. what about this make error ?
  347. Hierarchical malloc
  348. On-line C Language book?
  349. Hashing algorithms
  350. dlopen - calling functions
  351. Exact difference between 'const char *' and 'char *', also diff between 'const' and 'static'
  352. localeconv()->decimal_point([0]
  353. problem using fread, fwrite, and fsetpos
  354. Function Placement
  355. integer expression in a subscript
  356. setuid program
  357. does it take cpu time to typecast?
  358. Rounding a floating point number declared in "double"
  359. Rounding a floating point number declared in "double"
  360. break or continue out of nested loops
  361. C to Java socket input question
  362. Changing the content of void *
  363. A very simple question
  364. How to get label address in asm?
  365. format specifier
  366. What is with the insanely huge temptation to make millions of typedefs of "int"???
  367. Drawing a logarithmic histogram
  368. assert
  369. Floating point error (more info)
  370. Floating point error?
  371. Printf formatting
  372. clc_wprealloc
  373. Checksum: Is this right or wrong ?
  374. file system full errors, proper time to check
  375. infinite loops -- waiting for some event
  376. Meaning of MyVar >> 1
  377. offsetof
  378. glibc regular expression
  379. multiple realloc w/ malloc blows away data
  380. Which is more effecient ?
  381. Help, Needed, Having problems with mergesort for files implementation
  382. Array indexing
  383. Query abt union
  384. Problems with mergesort for files
  385. GMT equivalent of mktime
  386. stdin
  387. Allocated variable returning by a fuction is unallocated automatically ?
  388. wildcards in rename()?
  389. LP64 FAQ tricks/tips/traps.
  390. QUESTION: Where to find help with linux/library issues
  391. ERROR IN EXPRESSION; -1 - (-1) not 1 - (-1)
  392. which is newest Standard-Version?
  393. which is newest Standard-Version?
  394. How to calculate 2's complement 8 bits checksum ?
  395. order of execution
  396. Can someone explain this
  397. self extracting zip files
  398. fscanf question
  399. integral constant expression
  400. int x[static 10]
  401. Order Of Evaluation Question
  402. reed solomon
  403. Looking for a hash package
  404. [HELP] settaggi amply
  405. access to system variables from C under W2K
  406. Pointer to an array of structures
  407. Is it ok to define __STDC_VERSION__?
  408. registry
  409. Macro question
  410. printf question
  411. Executing code inside "#if 0"
  412. removing files
  413. non-blocking connect in C?
  414. statically allocated data structures source?
  415. How to compile 32 bit application on 64 bit machine?
  416. team combinations
  417. Question about incomplete array element types
  418. FUNC LOCL entries in nm
  419. A slightly more complicated function pointer declaration
  420. Why aren't signed/unsigned type clashes checked?
  421. Large Decimal to Hex Conversion in C
  422. How to trap signals in a shared library
  423. YACC-LEX parsing overflow
  424. integer division towards -infinity
  425. gcc linker problem
  426. How to use input arguments?
  427. anything like oninit() in 'C'?
  428. Embedded product development and C/C++/Java
  429. linked list sorted insert
  430. pow function in math.h
  431. QUERY: field offset rules within structures
  432. Initialize struct fields
  433. Generating a char* from a linked list of linked lists
  434. Extern variables across different function binaries
  435. I Keep Switching Back...
  436. Stack space, global space, heap space
  437. Printing int without using printf()
  438. Sorting a string aray in order of string length
  439. date and time conversion to EPOCH seconds
  440. checksum in the end of the file
  441. int i=5; p=(++i)*(++i)*(++i);should p always be 392?
  442. no recv
  443. unsigned long long overflow?
  444. Learning pointers
  445. Potentially OT[?]: Question about gcc ...
  446. D
  447. Constructing Class in C
  448. "compile" problem
  449. VBScript OLE Automation from a C Application
  450. strings as inputs to a function
  451. Assigning unsigned long to unsigned long long
  452. A dilemna with circular reference of headers file
  453. Splitting text files?
  454. Design opinions/urls/snippets requested; parsing simplistic config files
  455. compilation error /usr/include/_G_config.h:29: parse error before "__mbstate_t"
  456. retrieve all ip addresses in system
  457. Testing if char *string was declared
  458. Header Inclusion style
  459. NULL Pointer Dereference
  460. How to protect a global variable in a header file from external access? ("static int i" does not work!)
  461. Send email using system( ) function
  462. About allocating memory to a node in a link list
  463. Reading Comma Delimited Files
  464. Hashing function (possibly OT)
  465. BIOS access
  466. Get path from FILE* of existing file
  467. Aout this function
  468. Test - please ignore
  469. Test message please ignore
  470. xstrcat function
  471. some problems of C scripts in Unix
  472. Multi-byte chars
  473. GCC Manual
  474. Matrix/ fill with zeros.
  475. glib/gtk and the standard
  476. standard question
  477. Calloc of "unsigned char my_bytes[256][256]"
  478. Functions returning arbitrary type
  479. scanf %u
  480. How's about Expert C Programming-Deep C Secrets
  481. default storage class specifier of a variable
  482. An improved version of C is needed for embedded systems.
  483. AVL trees
  484. freestanding vs hosted implementations
  485. md5/sha1
  486. union ( members with same name )
  487. Are these equivalent?
  488. Can you approximate subranges in C?
  489. Macro for atoi similar function
  490. extern storage class specifier for variables
  491. what are the major scientific libraries?
  492. memory allocation for structure array
  493. Table data structure in C ?
  494. Renaming files in C
  495. PRNG Algorithm for RAN()
  496. Ease of use...
  497. make .so file
  498. makefile under borland command line
  499. converting to time_t
  500. How to define C macro
  501. What is formfeed
  502. Stack Variables
  503. allocate an array
  504. HELP!! Where am I going wrong?
  505. put an integer at the end of string
  506. sorting a linked list
  507. question about header files
  508. Help Interpreting a GDB error msg
  509. How to determine the size of dynamical arrays?
  510. acceptable to mix C/C++?
  511. Help terminating a simple while statement
  512. how to define global variable in main()
  513. which signal woked sigsuspend up?
  514. struct manipulation
  515. Help!-Errors while running this snippet code
  516. Looking for opinions on a C technique
  517. enum with unsigned char size
  518. Equivalent of stdarg.h but on the calling side ?
  519. How to make a program compile by Cygwin executable in Windows ?
  520. How to omit a header?
  521. static in front of function declared locally
  522. extracting data from a file
  523. Clarification related to memory mgmt of char * inside a function ...
  524. Help with code for slef similar melodies
  525. initialization of char *
  526. Passing a 2 dimensional array to a Function
  527. easy but couldnt see the error
  528. Charles Petzold talk - DoesVisualStudioRotTheMind?
  529. Template Magic to create variable length arguments to a function?
  530. multiply random number
  531. UNICODE
  532. New to Progamming -- What language to learn?
  533. Is it standard C++ code?
  534. leading underscore
  535. Sharing a Generic Ostream Iterator
  536. writing and readig on virtual interface /dev/tapX
  537. What is wrong here?
  538. string ok as public causes core dump as public
  539. const , static, MACRO
  540. MSDN Library.
  541. hash_map
  542. Please explain it
  543. Method which returns vector on unknown type
  544. Output problem
  545. declaration of `operator/' as non-function
  546. Virtual Member templates
  547. initiating a 2d array of a class
  548. Using "C" modifier to prevent C++ name mangling for DLL function??
  549. Struct in struct
  550. read data from file into structure in C++ ?