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