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