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