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. weird but interesting code - needs help
  2. fread() function and reading binary files
  3. Windows Programming in C under DevC++
  4. what are the different between gcc and cc compiler?
  5. Regarding use of modules
  6. Is % slow?
  7. Help funtions in a seperate file??
  8. what is the meaning of "implicit declaration of function `malloc'"?
  9. #define inside a struct?
  10. The size of structs containing "int a[0]"?
  11. Request for compiler selection advice
  12. Book advice:Deitel & Deitel
  13. pointers to char
  14. Question about C programming with .NET platform
  15. program help needed
  16. Can somebody suggest a "C lang" project with pointers and linked lits for beginner?
  17. What is "shared library" in C, is there any small example I can see?
  18. Typecast of one argument to printf impacts other ???
  19. JR PROGRAMMER-ANALYST/ C C++/ IN
  20. char * ptr = "amit", in which area of memory it is stored (heap,stack,code,global)
  21. please tell the websites
  22. Use of static ?
  23. system("PAUSE") for linux?
  24. WIN32 Console Programming - Changing cursor to block for overstrike?
  25. print to printer
  26. Memory Dump
  27. beginner: structures...
  28. Determine calling function
  29. Apache Axis
  30. can u tell about the file operation links for me ?
  31. fopen problem
  32. Going beyond the K&R book.
  33. *** glibc detected *** malloc(): memory corruption (fast): 0x0804c008 ***
  34. compiler options to display types?
  35. how to do with this case?
  36. Inverse hypergeometric distribution function written in C?
  37. strict aliasing rules in ISO C, someone understands them ?
  38. Can an enum be used as an array size?
  39. Where is my mistake?
  40. Searching in Logs
  41. How to determine checksum calculation method
  42. parse error before '=' token
  43. graph.h
  44. No limits in arrays??
  45. pointers to elements in a Linked-List?
  46. projects ,samples exercises
  47. Is there any good way to do it
  48. operator >> on signed in c89
  49. String to HEX & BIN Conversion?
  50. Using Huffman Compression
  51. Where is the error?
  52. Stopping a while loop with user input ?
  53. C source cruncher wanted
  54. Random floats function
  55. "a < b < c" not the same as "(a < b) && (b < c)"?
  56. Can structures be passed to the functions by value?
  57. what is the meaning of the Warning message,why it occurs?
  58. Having trouble understanding these bitwise macros
  59. Unions and structures implementation in C
  60. a pointer to an array?
  61. use of "->" on arrays?
  62. Help w/ bit testing
  63. Array of structs instead of an array with pointers to structs?
  64. if(a,b,c)
  65. how to compile
  66. Linked list: casting a malloc pointer
  67. How to do it?
  68. char=int
  69. Bitfields in struct
  70. m##__LINE__
  71. Bundle text/gif file in the shared object
  72. Realloc destroys?
  73. More amusing C grammer
  74. volatile and "needed side effects"
  75. diff bt postfix and prefix unary
  76. threading
  77. Stack Pointer..?
  78. Size of data types in C?
  79. Loop performance
  80. indirect jmp
  81. need help regarding tree datastructures
  82. Requesting - C Companion by Allen Holub
  83. Output/Input Problem
  84. Printf("%d")
  85. C at its finest
  86. Simple malloc problem with Visual C++ 2005 {Heap}
  87. padding zeros in char *
  88. code error
  89. question about hash in search.h (glibc, unix)
  90. huge dictionary
  91. Switch statement without break
  92. lvalue cast
  93. Strange output
  94. Binary Tree
  95. Linked list need help...
  96. Linked list allocation problem
  97. Help with serial port.
  98. starting projects
  99. Is there a C runtime equivalent to the Win32 sleep function?
  100. multi dimension array initialization using pointers
  101. null function pointer?
  102. Good C programming style
  103. help them with ddk
  104. Watcom vs. gcc/icl/cl difference
  105. Learn: linking, small data area, bss, relocation ...
  106. PC Speaker Music
  107. Macro assignmnet to a variable
  108. Inline asm commands
  109. Insertion to a sorted list
  110. Dynamic Array
  111. scanf question
  112. Array of pointer - needs help
  113. Compilation error - Most likely embarassingly easy, but I can't find what's wrong.
  114. String Problem?
  115. malloc trouble
  116. References for machines where NULL is not zero.
  117. String is left containing the data originally passed to the function?
  118. pointers to pointers
  119. Looking for a C program to parse CSV
  120. Split string whose length is varying
  121. MACROs are ugly but...
  122. Charity license with a build in (almost DWIM ) t3d programming language
  123. standard variation
  124. malloc() for struct member
  125. struct initialization
  126. what is (*vector) ?
  127. wrong print
  128. what are REGS,SREGS ?
  129. Source code analysis tool
  130. Simulation of Sizeof operator
  131. Antsoft Best domain software
  132. Image BMP
  133. On what does size of data types depend?
  134. change clock's precision
  135. Algorithm newsgroup?
  136. limits constatnts
  137. Modularisation
  138. preprocessor directives
  139. How to check out the segment dumped file and debug them in c? Thanks
  140. What is the problem with the code?
  141. how to declare pseudo-matrix function argument that is not modified by function?
  142. what is at 0 address in a program?
  143. Which numbers evaluate to true and false?
  144. if and for statements
  145. Mimicking CAT or TYPE in C
  146. Reading Words from File
  147. RGB(more than 16 colors please)??
  148. parsing #define in a code
  149. Initializing Global Variables
  150. strange error with global variable
  151. disable stdout buffering ?
  152. Problems with my little c-program
  153. structure and constant memebers
  154. pipe with program arguments does not work?
  155. static and global variable
  156. assertion in header
  157. Puzzling compiler response to array initialization.
  158. Dynamic Memory Allocation for Reading String
  159. turn off the log file
  160. C question -- Know the answers to the following
  161. Reinitializing static array???
  162. (OT) Google groups abuse
  163. How to output to a buffer and send to client?
  164. generate all possible strings of given length given a set of characters
  165. Break the string into different parts
  166. Convert float -> char*
  167. static functions
  168. Suppressing "Parameter not used" Warning
  169. What's wrong with this code ? (struct serialization to raw byte stream)
  170. What's wrong with this code ? (struct serialization to raw byte str
  171. why it is not giving any error?
  172. why it is not giving any error?
  173. serializing an arbitrary data structure into a flat buffer (raw contiguousmemory block)
  174. sorting a hash table
  175. Different seeding of srand() during a SINGLE program run
  176. segmentation fault
  177. Namespaces clash in C
  178. forum
  179. What exactly is a text character in the computer?
  180. MSDOS-Based Compilable Code for RSA / Other Public-Key Scheme
  181. gdb debugger
  182. Linked Lists
  183. Instantly Download Software
  184. time problems 2
  185. time problems
  186. list of pointers to function
  187. How to code that system call? Thanks
  188. is fopen/fseek/fread buffered?
  189. what is funtion for delay in VC
  190. Is the behaviour defined
  191. Posix semaphores
  192. OPENINGS IN MUMBAI
  193. serialization of structure into a raw memory block
  194. Arithmetic properties of HUGE_VAL and errno
  195. count the number of occurrences of a substring in a string
  196. using memcpy()
  197. How to obtain library name at compile/preprocessor time?
  198. How to learn lists in C
  199. Help with system calls
  200. Help with system calls
  201. printf execution problem
  202. allocation alignment for global and local variables.
  203. Universal (g)libc
  204. Using make
  205. offsetof
  206. performing a "deep copy" on a nested structure
  207. Size of structs containing unions
  208. Assembler vs Compiler vs Linker
  209. I think I'm gonna cry. (or newby problems with simple string function)
  210. Detecting Reads of Global Uninitialized Variables
  211. Getting rid of excess #includes
  212. trying to compile with clock_settime(...)
  213. Dynamic memory allocation:Reading a file into buffers using a single linked list!
  214. A[x][y][z]
  215. File handling in C
  216. EMBEDDED SOFTWARE ENGINEER/ CAREER POSITION/ IN
  217. [Project] List & ConstIterator
  218. size of pointer in C?
  219. Global variables
  220. Recurssion: Why one crashes ?
  221. RAND between 0 and 1
  222. K&R Wishlist
  223. C quivalent of std::bitset
  224. a pointer that points to itself
  225. Calloc problem
  226. timer with millisecond precision
  227. How do I check for directory existence in Linux?
  228. memcpy(0,0,0)
  229. for( int i1=0,i2=0 ; i1<n1 && i2<n2; i1+=2, i2+=4)
  230. question on structs and memory blocks
  231. how to convert an unsigned char to byte
  232. Curses for gcc wanted...!!
  233. Scope for C/C++
  234. something right out of a box
  235. reassigning value of a pointer
  236. Standard for comments prefixing a function
  237. Good wait function?
  238. char -> int
  239. collocated architecture versus distributed architecture
  240. distributed computing choices
  241. sandbox is the same as development machine?
  242. #if (defined(__STDC__) && !defined(NO_PROTOTYPE)) || defined(__cplusplus)
  243. app-server....
  244. 2+ exp(approved lecturer)lookg for a career shift in software industC,C++,VHDL,Assemb
  245. freopen()
  246. Endianness of structure/union
  247. C Aptitude
  248. insure compilation
  249. query
  250. Packed Decimal handling library
  251. c complier in windows system
  252. c complier in windows system
  253. How to create file with permission 666?
  254. What are the important parts of C languages?
  255. Problem with free(int *)
  256. Dividing 1 by a number k
  257. A small question about 'printf'
  258. How to tell if a number has decimal places different than 0
  259. visibility of variable
  260. Memory alignment in structures
  261. Count Words
  262. Generate All Subsets
  263. "expandable" arrays - using pointers ... How to ?
  264. itoa, atoi - confused
  265. Faster for() loops?
  266. I don't quite understand this exercise...
  267. converting a preprocessor token to a string constant
  268. how to print a short and long integer?
  269. macro with variable length of argument
  270. Verify Html Tag
  271. open and read functions (can't make 'read' work..)
  272. best way to do this: on error goto beginning of the main()?
  273. How to apply sizeof operator on an array-of-pointers-to-functions?
  274. reading large text files in reverse - optimization doubts
  275. typedef
  276. structures, structures and more structures (questions about nestedstructures)
  277. code optimization
  278. Weird Issue
  279. Second Highest number in an array
  280. In which scope should variables be declared?
  281. Validating multibyte strings
  282. Execl() in windows
  283. Possible memory issue
  284. Learning C, Trying to Understand & (unary op)
  285. Stack emptying
  286. Pelles C POLIB.EXE /EXPLODE utility
  287. gcc warning
  288. Function stacks, code sections and other misc hackery!
  289. Null character and fixed strings
  290. how to cut off the decimal?
  291. trim 0s
  292. Initialize struct fileds to zero
  293. Need help in understanding gdb messages
  294. Does C guarantee the data layout of the memory allocated by malloc function?
  295. can't read file?
  296. How to concatenate strings that contains has nulls?
  297. Catching the unsigned int
  298. Alternate solution to krx113
  299. Open Position (Ottawa Canada)
  300. makefiles
  301. memcpy()
  302. a question about macro
  303. Initiate a union
  304. i want to convert function to an object file..is it possible?
  305. Information about a function declaration
  306. boolean short circuit
  307. Rotate a grid...
  308. "union"
  309. Return statement twice in the same expression
  310. Programming a TouchScreen
  311. gcc caller save register
  312. Using strcmp() after using strtok()
  313. how to dowload hd wm9 movies?
  314. need help finding SIGSEGV bug
  315. scanf is resetting the value???
  316. Constants: when to use L U UL ....
  317. overflow
  318. who can tell me the differece of this two ?
  319. GUI Question
  320. Faster algorithm for prim numbers in C...???
  321. How to mid string on a binary string?
  322. Pointer to Structure Casts
  323. Expert C programming available for download
  324. strtok() problem
  325. Why this function doesent work correctly...??
  326. How to debug gcc in Linux
  327. debugging question
  328. Need to seperate input scanf()
  329. string to hex
  330. compiling errors while initializing a structure has function pointers as members
  331. compiling errors cannot understand
  332. English interpretation of this code?
  333. Strange ARGC/ARGV Behaviour
  334. Telling an empty binary file from a "full" one
  335. Linear Equation solver
  336. Passing function pointer as argument to a function???
  337. Regarding Time conversion, secondly number comparison
  338. Questions about pointers to objects and pointers to functions
  339. Where can I find the C function library source ?
  340. Where can I find the C function library source ?
  341. Where can I find the C function library source ?
  342. Runtime Structure
  343. NunniMCAX v. 1.4.1 released
  344. how to allocate memory dyamically for multidimensional array
  345. Help on Astrolgical Calculation
  346. unsigned long long int to long double
  347. I'm new
  348. More on Multi-dimensional arrays. Question on Mr. Emmanuel Delahaye code
  349. Survey on the Effects of Organizational Culture on Software Productivity
  350. forking a process
  351. VerificationProgram0.09 for PointOnLineSegmentIn2D =D
  352. How can I encrypt string using the MD5 method?
  353. one producer thread, one consumer thread: mutex needed?
  354. struct member overlap?
  355. how do i use debugging info in gcc to find line numbers of a function?
  356. conio.h (linking?) problem
  357. Can it work?
  358. bytes: shifting doubles?
  359. precise string representation of float number
  360. multi dimension array initialization
  361. estracting single characters in a string
  362. declaring a function that returns a pointer to 1-d array
  363. Fast memory copy of 2 areas...
  364. finding anagrams
  365. substitute of semicolon
  366. Sparse Matrix operations
  367. A question about C program in Linux and Windows
  368. Checking stdin for new data
  369. whatdoido.c
  370. logical correctness?
  371. Telnet pc under NAT
  372. Adress arithmetic and dynamic arrays
  373. Floats to chars and chars to floats
  374. how password is stored and check the authentication??
  375. Please explain the output
  376. question about gets() and feof().
  377. Pointer to static storage causing warning by code-checker
  378. Anyone able to understand this C program?
  379. va_start problem
  380. Returning a 2D array from a function
  381. boeh boeh, font test, boeh boeh. =D
  382. fprintf or vfprintf
  383. Point on Line Segment in 2D. Which code is faster ? Can you improve it ?
  384. I had to try it
  385. Exiting a getch() if no input received...
  386. dynamic linking
  387. Getting a pointer to a variable by its name as a string
  388. why is double more efficient than float ?
  389. 1 more doubt !
  390. 2 doubts !
  391. Redirect stdout from java to c
  392. Should I do that...?
  393. integer to pinter conversion
  394. Useful libraries in ISO C
  395. integer to pinter conversion
  396. allocating a 3D array
  397. external linking
  398. how can i do this in o(n)
  399. How: User [input] defined number of itterations
  400. Filnames and timestamps
  401. integer promotions
  402. feof
  403. Conversion fron signed to unsigned?
  404. Help: How to create a midi file using C?
  405. fgets and EOF in Bash
  406. UNIX env var parsing in C
  407. Documentation in C
  408. sizeof('x') in C and in C++
  409. Function with variable number of arguments
  410. Function with variable number of arguments
  411. Testing a number for evenness
  412. Difference of 'also'
  413. extracting text from powerpoint file
  414. 0 vs '\0'
  415. Is this valid program
  416. floating format not linked
  417. !!, what is it?
  418. Problems about conditional compilation
  419. Double-indirect pointers to dynamically-allocated addresses
  420. pointer to void property
  421. Float to String
  422. structure member access issue
  423. dynamically allocating a 2d array
  424. folder lock in c
  425. Introducing Codase - the first powerful syntax-aware source code search engine
  426. C, lexical
  427. Floating Point Precision
  428. cpp: getting to the definition of a defined constant
  429. default int
  430. why is it comming
  431. How do I write printf("Content-type:%s\r\n\r\n",type)
  432. Correct Identation/Contex can solve the too many compiler error messages problem when a closing bracket is missing.
  433. Extracting Digits from a Number
  434. compiling errors cannot understand
  435. Question: Overflow
  436. Change case of string using PreProcessor
  437. can I use scanf to get input (some times user enters input sometimes not, just hit keyboard)?
  438. question about pointer define
  439. skipping parameters with printf
  440. offsetof() macro
  441. struct task_struct;
  442. NEW-BEE need help
  443. msg
  444. Macro Substitution Help Request
  445. sine inverse of something
  446. fscanf() behavior on MIPS processor
  447. difference between unsigned char and char in c
  448. does the system(char *) change the string?
  449. how to open stdout
  450. code problem
  451. How to write this?
  452. Does anybody knows a C commpiler with <curses> under a DOS...??
  453. gethostbyname(string here)
  454. Is "a >= b" equivalent to "a - b >= 0"?
  455. how to convert an int array to a char array
  456. opening a file based on a variable.
  457. implementation of the 'sizeof' operator
  458. Getting a stack trace
  459. Marshalling an array of Structures
  460. const int * assignment
  461. Should use of goto completely avoided in programs?
  462. why it does not work
  463. interesting pointer problem?
  464. How to optimize for loop?
  465. What am I doing wrong? curl
  466. Integer and character manipulation
  467. zhu tou
  468. Where is the stupid error?
  469. Hill and Transposition cipher
  470. Function pointer to void function and int function
  471. dynamic memory problem(i think)
  472. Currency conversion program
  473. function pointer question
  474. Unnamed compound object as "buffer" arguments
  475. Structure initialization problem
  476. help me with the program
  477. help me with the program
  478. help me with the program
  479. Interrupt of CD-Rom
  480. an activex control within a straight c program
  481. no runtime library with turbo C
  482. C/Cpp/Java HQ
  483. size of a function
  484. What is C99
  485. OpenGL Problem with code
  486. FOPEN_MAX minimum value
  487. Call once,return twice
  488. List of Function in C object file.
  489. How to read unicode file line by line on Linux platform
  490. Dynamic Arrays
  491. Newby question about arrays
  492. Simple question on static variables
  493. callback functions
  494. clearing low order bits / making a multiple of power of 2
  495. Object-Oriented Programming (run-time polymorphism) with C99
  496. Timer 9600/s
  497. C parser document
  498. is there a way to do this...
  499. Doubly Link List
  500. Complex statement
  501. Background color
  502. offsetof(struct foo, bar.mem)?
  503. scanf reads getch
  504. question abt fscanf
  505. Utility to read a hexadecimal number as string
  506. Specifying global array size with const int
  507. Or And Confusion
  508. Why does it run so long?
  509. Alignment in structure
  510. register allocation
  511. Detecting freed memory
  512. Why does it run so long?
  513. How to import a function from a library?
  514. Using Unicode in C programs
  515. what's the prob with goto
  516. what's the prob with goto
  517. Multiply/Divide a float with a power of two
  518. Object orientation.....
  519. Console Screen update - Iteration Count
  520. Console Screen update - Iteration Count
  521. N/W programming question
  522. LinkedList Pointer (REPOST - diff version)
  523. LinkedList Pointer (REPOST - diff version)
  524. Conflicting typedef with winnt.h, windef.h and winbase.h
  525. The importance of prototypes
  526. Prime numbers
  527. how to write these info to file?
  528. Data abstraction in C
  529. LinkedList Pointer
  530. malloc and pointer casting
  531. memset doubt
  532. Code consolidation
  533. More questions about casting function pointers ..
  534. confused abt file operations
  535. Why C/C++ errors are SO obscure/devious??
  536. understanding format specifiers
  537. low-level question
  538. Function pointer prototype interpretation
  539. Software Engineers required for USA
  540. object code from which compiler
  541. UnSigned Long
  542. How to eliminate the bitmap difference in big endian and little endian?
  543. Roots of a polynomial
  544. where the Turboc C c function?
  545. while (1) vs. for ( ;; )
  546. Parity check of a word
  547. pointers
  548. fscanf problem
  549. trouble with double free
  550. MACRO exclusion