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