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