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. Flexible array member + variable length array
  2. Memory management and allocation
  3. Is there a way to use substitutes of fixup() and _dl_lookup_symbol() in glibc?
  4. Pointer-to-pointer-to-pointer question
  5. Is the syntax for multi-dimensional arrays counter-intuitive?
  6. another printf question!!
  7. dynamicly build a list of strings?
  8. Detecting a PIPE in a program
  9. pointers to structures
  10. Q, 1 counting and memory usage
  11. eliminating unreferenced parameter warnings
  12. Why doesn't this print "Hi Charles"?
  13. meta-pragma
  14. Division with arrays?
  15. sqrt Behaving Unexpectedly --- Short Program Example
  16. how to read email address from a file and send mail??
  17. what is the prog coding for this question and what it output
  18. Arrh, something else is wrong! With almost identical code snipets to working code.
  19. help! strings
  20. calloc/free: a preplexing observation
  21. Signal Handling
  22. Looking for netBufLib.h
  23. Why do people call addresses "pointers"?
  24. What is affiliate marketing?
  25. new line character : scanf and getchar
  26. Why pointers can only be subtracted ?
  27. Pre-ANSI C functions and .NET browse information symbols
  28. File handling
  29. how to modify a txt file
  30. Sign error in K&R 1
  31. Finished a "teach yourself" book, what next?
  32. help broke prog up into functions now not working
  33. compiling quistion
  34. uniform random distribution
  35. sockets and connecting to other programs
  36. %x question
  37. UCHAR_MIN & UCHAR_MAX
  38. array performance
  39. Problems initializing a dynamically allocated 2D array
  40. What does this code mean???
  41. string initilization WHY?
  42. string initilization WHY?
  43. what is happening in C when increment this way?
  44. Calling subroutine in fortran module
  45. Nested conditional expressions ---- good idea/bad idea?
  46. Is my memory is not enough?
  47. function to count number of set bits
  48. Return to Start of Line?
  49. passing structs in and out of functions
  50. rand - is RAND_MAX how long before the same # will occur again?
  51. what is size_t
  52. Local variables within looping constructs
  53. using system("xxxxx")
  54. what's OOP's jargons and complexities?
  55. return statement at end of function
  56. sqrt
  57. Some complex function prototypes like signal()
  58. How to understand function prototype signal()
  59. Watcom printf to stdout, I don't get it :-(
  60. feasibilty of the memset operation on the FILE streams
  61. Fresher starting programming with C
  62. Sqrt precision ?!
  63. Initialize elements in an array
  64. run a command in background in C
  65. What this means? ---> struct resource *r = v, *p;
  66. Is there anyway to iterate STL queue ?
  67. integral promotion, arithmetic conversion, value preserving, unsigned preserving???
  68. Bit-fields and integral promotion
  69. reading a unformatted file
  70. Input unknown number of integers in a line...
  71. How can #define printf like function?
  72. string length limitation of printf
  73. passing a (const void *) into memset()
  74. passing arg char[X][Y] to function expecting (char**)
  75. Problems with Harbison & Steele
  76. What is the difference between signed and unsigned char?
  77. feasibility of stdin stream to feel up directly.
  78. some help pls
  79. some help pls
  80. Sqrt precision ?!
  81. reading a unformatted file
  82. enum...
  83. How to terminate a telnet session from within your C/C++ program
  84. [ IP validation math... ]
  85. error_message in cyrus imap server not working
  86. what is "variable-name-equivalence" in c?
  87. utf-8 to ascii
  88. use of do{...}while(0)
  89. ends_with() ?
  90. is this intentional?
  91. Q: recursive call to main, termination of program
  92. getline- to limit input (where do the unused characters in stdin go?)
  93. why use fprintf / size_t instead of printf/ int
  94. pointer to array of const objects
  95. Problem with integers
  96. substitute for string 0 termination
  97. the maximum memory size allowed in malloc
  98. Un plotter de fonctions mathematiques
  99. New and enhanced low cost C compilers
  100. porting from Borland 4.0 to Visual C 6.0
  101. size of a byte and int?
  102. Are constants and string literals considered "data objects" in c?
  103. strncat functionality
  104. simple question: namespace
  105. passing pointer->struct->pointer->struct to function. .. ??
  106. testing for the newline
  107. strtok/strtok_r woes
  108. DPMI and ISO C++ ??
  109. Why the Range of Int is less by one at positive side?.........
  110. Finding the time taken by a function
  111. What does const char *s mean? is s a constant or *s?
  112. Superbasic efficiency question
  113. What makes a good C/C++ programmer?
  114. IDE for C
  115. Ran across this cryptic code for C, I got blown away
  116. Multi-dimensional array initialization
  117. Rules for complex declarations
  118. Rules for complex declarations
  119. Rules for complex declarations
  120. Rules for complex declarations
  121. Rules for complex declarations
  122. Multi-dimensional array initialization
  123. Multi-dimensional array initialization
  124. The need for int to capture getchar()'s EOF
  125. Follow up on Producing Windows API program at Command Line
  126. Opensource developers?
  127. Java compiler
  128. "streams"
  129. Macro or eval() for constants at runtime?
  130. type conversion float and long
  131. how to call foreign programs from c?
  132. what does [ ] mean with an integer?
  133. interesting problem
  134. float values can b rounded off?
  135. how to write a tutorial
  136. solution to Knr Exercise 1-9
  137. __atoi64 not working correctly
  138. "Declaration" vs. "Definition"
  139. Anyone want one?
  140. Abstraction layer between C and CPU
  141. int func() v/s int func(void)
  142. Increment, decrement, overflow, and underflow
  143. Result of Comparision
  144. Array of pointers to structs
  145. Good IDE for C/C++
  146. coins program, need some help with crashing
  147. accessing msaccess by using c language
  148. implement atoi
  149. problem with round
  150. Reading the data from keyboard!
  151. SAS/C INTEROPERABLE WITH IBM C/C++
  152. test(sorry)
  153. To find the size of array using its pointer
  154. Programming Contest: Create a Crossword
  155. array initialization standard
  156. Implementation of sizeof, malloc, new
  157. is the definition of declaration is contradictory?????????
  158. Creating a C application to be run on another machine
  159. Macros with variable parameter list in MS VC Compiler (6.0)
  160. Books / online material on C COMPILER DESIGN
  161. How do the experts here quickly come up with references to standards?
  162. [Question]activities of stack pointer and frame pointer when function called
  163. array riddle in c
  164. LL TO BST
  165. multidimensional array = pointer to pointer ?
  166. How can i compare bit wise?
  167. alignment revisited
  168. Can function prototypes appear anywhere?
  169. regarding bit field structures
  170. position and number of 1's in an integer
  171. function call with arguments which takes no arguments
  172. Graphics in c
  173. c99 on Microsoft Visual Studio
  174. malloc vs new
  175. a[i] = x[a[i]]++
  176. help with Koenig Lookup
  177. Portable alloca() replacement?
  178. size of memory in C -- allocation
  179. problem with Data Files
  180. Need for programming
  181. convert a list to tree
  182. reading a double var byte per byte
  183. Array assignment via cast
  184. splitting functions into files
  185. c program
  186. How to read all files present in a directory in C ?
  187. What does "Standard C", "K&R C" , "ANSI C" mean?
  188. Mapping C code to assembly instructions
  189. Handling binary data in C - questions
  190. Data importing BUS ERROR
  191. Why no/limited checking on enum values ?
  192. coloring a pixel
  193. Datahiding in C
  194. Inside-Out Array-Indexing Syntax
  195. why define size_t ssize_t ?
  196. initializer element is not constant
  197. tricky assignment statemenent
  198. Is the name of a 2-dimensional array equal to address of [0][0] element?
  199. ttyname() problems
  200. char array not terminated with \0
  201. C structure question
  202. Comparing two numbers
  203. Sockets programming
  204. Get rid of trailing newline for scanf
  205. recursive function
  206. Trouble with scanf
  207. Crazy (?) C problem
  208. New computer
  209. how to extern structure?
  210. how to extern structure?
  211. how to extern structure?
  212. Error E2349 tester.c 29: Nonportable pointer conversion
  213. Linker error creating dll
  214. #if sizeof...
  215. Command terminated by signal 9
  216. snprintf vs strcat,
  217. OLD IDE C Compiler
  218. IDE C Compiler
  219. Is it possible to return an array from a function?
  220. Major project in C/C++
  221. Is it possible to return an array from a function?
  222. Regular Expression for fnmatch function
  223. Not assignment request..having good algorithms
  224. Not assignment rquest..having doof algorithms
  225. indeed inneed to Good Editor C Compiler
  226. c equivilant to "copy"
  227. Getting address of a function through some string
  228. Compiler code optimization: see code below
  229. rounding
  230. Implemenation Indepdent Way to Move LSByte of Char to MSB of Int, etc
  231. Your Suggestion
  232. "Implicitly only" splint warnings
  233. slight rounding problem
  234. rounding
  235. Quandry with the following C code (Intermediate)
  236. How can I do sort program for unsorted setup file?
  237. How can I do sort program for unsorted setup file?
  238. How can I do sort program for unsorted setup file?
  239. Is declaring a pointer to an undefined struct legal?
  240. accessing freed memory without error
  241. File I/O - Delete Record
  242. [Question]activities of stack pointer and frame pointer when function called
  243. Where do pointers point to?
  244. What does this do?
  245. interview questions with answers
  246. Call for Panels - OSS 2005
  247. slight rounding problem
  248. Using assembly in C
  249. Building gnu cross-compiler targeted for sparc
  250. Pointer to array of unspecified size
  251. Beginner's question
  252. perl-python a-day
  253. where variables are stored?
  254. algorithm for Modified Distribution Method / Transportation Simplex Method/Transport Problem
  255. whats the use of third argument to main( )
  256. Special C Preprocessing Tool Needed for Pruning of #ifdefs in code
  257. re-entrant function????????
  258. Parse "Card * const wDeck"
  259. oh oh it's OO - calling encapsulated functions - question for the experts
  260. Tools to help to understand code written by another person
  261. Use of the Volatile keyword for a pointer to a volatile memory block
  262. Compiler behavior : Inlining external functions
  263. why to use '&' in scanf( ) but not in printf( )
  264. Pointer to Function
  265. getbits k&r2
  266. Does this make any sense?
  267. Callback from a DLL
  268. graph tutorial
  269. Am I doing something wrong with printf() here?
  270. what is wrong!
  271. How to resolve error LNK2005 - function already defined
  272. Sensibly printed floats?
  273. C interface to kermit or minicom or seyon
  274. does turbo C has be ran under windows 98/95
  275. Function pointers, variable argument functions calling other variable-argument functions (sort of)
  276. what is the scope of enum?
  277. Garbage data in float datatype - Mingw3.2 (gcc)
  278. /dev/urandom vs. /dev/random
  279. Preprocessor define concatenation
  280. Algorithms IN C
  281. Handling unsigned overflow of size_t
  282. Handling unsigned overflow of size_t
  283. problem with free.
  284. scope resolution operator???????
  285. Message Mgmt Utility
  286. Turing machine
  287. tricky assignment statemenent
  288. long double in C89?
  289. Thread-Safety in Functions: A Random String Generator
  290. Better Linked List Handling
  291. CreatemotionsT seeks beta testers for a strong Q&A session
  292. reading stream up to next delimiter
  293. Wide Characters and tchar
  294. malloc size
  295. freebsd (ufs) direct access to Hard drive using inode
  296. How does this work?
  297. Linux rounding error???
  298. a c project for help!
  299. 0x400000*3/0x40000 undefined ?
  300. How to convert float to hex?
  301. another method would be as follows
  302. Underscore
  303. which is the appropriate news group
  304. How can i call a function outside of the current project?
  305. another method is as follows
  306. Chnage the position of element!
  307. Question on Linux Device Driver ?
  308. Question on Unix ?
  309. Convert numbers to words
  310. Beginning ANSI - Standard C
  311. How Free() works?
  312. Missing initializer
  313. im trying to finish a program just before the deadline
  314. Incrementing variables past limits
  315. Passing const int * to a function
  316. Certification in C
  317. Where Can I download Cfront from ?
  318. array problem!
  319. GUI project, C, Win32, and lisp
  320. GUI project, C, Win32, and lisp
  321. courier-imap auth api
  322. Error log design...
  323. FAQ Related - why cast?
  324. how to handle name mangling in a shared C library
  325. copying data to a structure member array
  326. w.g.meijer@ucd.ie
  327. difference between assignement and initialisation
  328. reverse a link list
  329. Programming Challenge
  330. Linked list
  331. Question about C?
  332. SendMessage() for saving text file
  333. Error log design...
  334. Unix programmer definition
  335. compile C programs with UNIX system calls (= Unix Programs??)
  336. About 64-bit portability
  337. really confused with variable access
  338. Confusion on output
  339. formula used in calculating diffrence between dates
  340. which loop is faster
  341. Showing problem
  342. pointer to an int array
  343. Confusion with stdarg
  344. memory alignment
  345. Job Prospects for Software Engineers
  346. Integer promotion and overflow
  347. Off-topic threads
  348. Variable declaration syntax
  349. Matrix problem
  350. email program in c - help me solve one error,please...
  351. I want to write a Bit Torrent client in C
  352. vesa mode 105h or 117h
  353. Put your pc to work-paid autosurf
  354. Structs and Alignment
  355. variadic arithmetic, boolean operators
  356. Standard network method
  357. online video conferencing
  358. Help with function-like macros
  359. tricky assignment statemenent
  360. do{..}while(0) macro substitutions
  361. Command Line compiling API and MFC programs
  362. memcpy() Behaviour
  363. using 8086 in C
  364. Is this standards compliant?
  365. malloc error checking
  366. const function() !!??
  367. A POP3 tutorial?
  368. Whats the difference between the yahoo group and this google groups?
  369. How to change a file's name through the C program?
  370. help with va_list etc
  371. Recommended style
  372. question regarding stack size allocation
  373. understand a large system in C
  374. Creating a virtual File pointer
  375. Data Recovery SOURCE CODE ( SOURCE CODES of Professional Data Recovery Software )
  376. linker: does it skip unused functions?
  377. random is not random enough?
  378. two-dimensional array
  379. Problem with ABS() macro
  380. problem abt printf on Turboc
  381. problem with fgets
  382. Address syntax
  383. Couple of questions about compilers on linux
  384. Help with Constant Define--Compiler Issue with ANSI or my compiler or me?
  385. printf
  386. Pointers are writing a messaging proxy in C
  387. Problem doing an e-mail program in C
  388. gcc: error: case label does not reduce to an integer constant
  389. How about this solution
  390. Got time?
  391. Name help needed
  392. declaring arrays with variable indeces
  393. Primers for Handel-C
  394. linklist
  395. decimal to hexadecimal
  396. about the keyword "register"
  397. This C program prints 1 - why?
  398. Problem on Array
  399. compiler bug or misuse of a cast?
  400. Pointer initialization question...
  401. memory alignment
  402. Problem regarding sum of digits of floating point number in C
  403. Language efficiency of C versus FORTRAN et al
  404. Detect direction of stack growth
  405. Job Prospects for Software Engineers
  406. detecting memory corruption
  407. Pointers in c
  408. Using Assembly Procedures with C
  409. Text editor data structures
  410. is NULL-checking redundant in accessor-functions?
  411. Given an array a[N] with value 1...N, find a repeted value
  412. C examples...?
  413. 2 dimensional strcpy err
  414. reading a structure containing pointers using softice !!
  415. scanf in a for loop
  416. Find the intersection of two rectangles
  417. what exactly is the difference between signed and unsigned in C?
  418. strings, arrays, pointers and dynamic memory allocation
  419. Tips to Reverse engineering .DRV and .DLL !!
  420. serial port communication (linux)
  421. is NULL-checking redundant in accessor-functions?
  422. Searching the job
  423. argv[] problem
  424. double variable question
  425. Confiscated and confused
  426. programming pearls :jon bentley
  427. const keyword usage
  428. asterisk (*) in fprintf
  429. Problem in using gtk_window_set_transient_for()
  430. Functions taking pointers to different types as arguments
  431. test
  432. GCC and asm()
  433. fscanf question - most of line -> null
  434. video editing
  435. Using two different third party softwares ... function multiplpy-defined error
  436. struc problems
  437. test
  438. Porting ANSI C code to C#
  439. scanf problem
  440. Dynamic C String Question
  441. Call function address stored in type of size_t?
  442. Code To Make Trial Version Software Release
  443. Array length
  444. Hows my code
  445. Over optimization
  446. pointer and array
  447. Anyone have experience of using GraphApp?
  448. Binary to ascii encoder
  449. strncat copies junk values ....
  450. We are getting deeper and deeper of ctype.h and isspace() ,but no one is telling me ths solution !
  451. 3D array pointer arithmetic
  452. Missing Graph.h and (Graph.lib) woes - any help
  453. Question about unpacking a binary file: endian troubles
  454. CreateProcessAsUser - How to get User Token
  455. Array
  456. Interprocess communication: which scenario?
  457. typedef
  458. Error in K&R 2?
  459. Hello, World!
  460. strncat copies junk values ....
  461. Funny story about c
  462. Coding standards
  463. How to write XML from a SQL Server query, to a ASP.NET textBox
  464. pointer and array
  465. C call of a C# dll
  466. Reverse polish
  467. long long data type
  468. using getopt() more than once
  469. conditional inclusion
  470. initializing data at compile time
  471. Is there any GENRIC MACROS in c for INTEGERS,CHARACTERS ?
  472. Can someone please spare a GMAIL Invitation for me.
  473. Can someone please spare a GMAIL Invitation for me.
  474. The POTM - Programming Contest - Create A Crossword
  475. Request GMAIL Invitation.
  476. Command line C compiler needed
  477. berkeley db
  478. Wierd behaviour of function 'strcspn'
  479. What is the problem with my arp structure?
  480. role of semicolon
  481. How to rescue data on a hard disk?
  482. global Variables
  483. 2D arrays and malloc
  484. Sort in the Descending Order
  485. Pointer trouble
  486. re-compile -need helping to enlighten C programming
  487. Calling a COM Object
  488. Calling a COM Object DLL
  489. populate a pdf form
  490. Why does ANSI not define a function to determine the size of (m)allocatedmem? (like _msize)
  491. how to execute exe files from within a file
  492. Redeclaration problem with CC
  493. select for opening sockets in single threaded environment
  494. malloc() and free() and linked list
  495. malloc() and free() and linked list
  496. Macros that break compiler headers
  497. ds
  498. function call
  499. Program Design for Large volume file processing
  500. NULL argument to strcmp
  501. wall clock time
  502. enum and struct namespaces
  503. Problem with #define
  504. unable to retrieve message
  505. Is there a library function for placing cursor position in the cosole?
  506. printf padding with alternate character?
  507. strtol() and zero
  508. Reading a single character without waiting for enter key.
  509. Qsort inaccuracy?
  510. Problems with Oracle OCI library - help please
  511. Qsort inaccuracy?
  512. Help with Variable-Length Argument Lists
  513. 0 insted of '\0' in char ptr
  514. A way to manage globals in multithreading environments? (SORRY ERRATA POST)
  515. A way to manage globals in multithreading environments?
  516. array inside a array!?
  517. about sprintf function
  518. PROS/CONS: #define BEGIN {
  519. small numerical differences in floating point result between wintel and Sun/SPARC
  520. printf("%d,%d,%d", a, a++, a++)
  521. why use typecast on NULL?
  522. An exotic pointer...
  523. floating point values
  524. switch expression not integral ???
  525. Binary files
  526. Cast from int to unsigned char in powerpc arch
  527. Netmake Release
  528. splitting a string (and memory allocation)
  529. HPX memory calloc error - returns NULL
  530. How to print a 32-bit number as a base-10 number
  531. I am re-compile the source program under window XP
  532. re-compile error
  533. ((node*)&head)->next
  534. threads
  535. Reading binary file finding EOF
  536. number of bytes for a type in C++
  537. Boolean OR (double pipe) and ISO C99
  538. Writing a virtual Santa Claus in C ?
  539. Passing pointer array to function
  540. Functions that accept various type?
  541. standardisation of data types
  542. standardisation of data types
  543. literal binary?
  544. Software Development Engineers needed - open source enviro - Seattle
  545. Dude and Duden
  546. How to read an input text from keyboard by the std. lang. C?
  547. validate pointer that was returned from malloc
  548. ISO C89 and ISO C99
  549. number of bytes for a type in C++
  550. Any C code are valid C++ code?