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