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. fclose... what is better
  2. Setting "all ones"
  3. create function at runtime
  4. message passing question
  5. How to get number of digits in int variable?
  6. How to convert from a string to an expression?
  7. Floating point calculation
  8. cant figure the output..
  9. The world is really unstable these days......
  10. NAN option for gcc?
  11. Weird arithmetic
  12. Boot records Intel Architecture
  13. layout of arrays
  14. ++ / -- operators with floats and doubles
  15. macro for compile time allocation
  16. pass a 2-dimension array to function
  17. lookup tables
  18. Bulbmebee parser generator ?
  19. graph/chart library?
  20. runtime error
  21. how to creat a web browser
  22. Help using sprintf, wanting to make 2 byte lengths and 4 byte lengths to hex string?
  23. Help on File Reading in C programming.
  24. a probelm about switch
  25. Bug in gcc4 initialisers suspected
  26. Loop Problem
  27. Strange behaviour of printf. See the code below and please tell why it behaves in this way.
  28. use fprintf to write to the console
  29. realloc
  30. Multiple return statements Vs goto's
  31. padding between variables in a structure
  32. wrinting an optimised code
  33. fopen functioin
  34. Semaphore Error - Storage size of arg
  35. void pointers & void function pointers
  36. Nested linklist
  37. PLEASE..
  38. DAMAGE: after Normal block (#45)
  39. register variables
  40. doubt related to string pointers.
  41. which is faster ?
  42. which is better "switch" or "if-else"
  43. Client/Server Multicast API
  44. Don't understand syntax error
  45. Serial ID of Hard Disc
  46. linux has typeof, how can i get the same function for windows?
  47. Convert date & time to time_t
  48. change values in a file
  49. scanf not getting entire long value
  50. how to store strings of any length into an array of type char*?
  51. How to input strings of any lengths into arrays of type: char *array[SIZE] ?
  52. Maximum Nr. of bitflags ... ?
  53. difference between *ptr++ and ++*ptr ?
  54. help...info how to write very small basic interpreter in c
  55. Help, getting compiler error warning on returning a temporary character string
  56. Don't get your balls in an uproar...........
  57. Subject: C to JVM compiler (AMPC)
  58. General process questions
  59. C book recommendations
  60. Why does BSD Unix kernel functions have uppercase Static qualifiers?
  61. How To Write A Program To Convert Structure Member Offsets?
  62. measure time eclapsed for a simple program
  63. function called through a non-compatible type
  64. printf and stat problem
  65. Fork + Waitpid
  66. Array of strings
  67. writing IRC plugins with C
  68. Handling interrupt
  69. Is it required to comply byte alignment within a function?
  70. Any easy to printf an interger in 9,999, 99 format?
  71. ERROR: storage size of 'tzp' isn't known
  72. 1812 monografia monografias teses dissertaçõestrabalhos escolares 1812
  73. printf formats for size_t?
  74. ANSI C (C99) testsuit compliancy
  75. Test for contiguous alphabet in character set
  76. Clearing an array
  77. popen: how to test for end of program
  78. lexx/yacc usefull ? when why ?
  79. How to Convert 8-bit data to 10-bit data?
  80. Need softcopy of book ..
  81. manipulation and memory allocation
  82. Need to View the contents of an EXE file
  83. Macro Definition ---- read_XDATA(address)---
  84. Scanset
  85. My MSVC 6 DLL now has HEAP corruption problems
  86. child thread question
  87. God is not a man
  88. xdr library
  89. lex and yacc
  90. pointer usage in c
  91. variable definiton / variable declaration
  92. #define ARR_SIZE sizeof(arr)/sizeof(arr[0])
  93. Why would malloc() modify the behavior of this output?
  94. Returning results through the function parameter list?
  95. constants not constant?
  96. constants not constant?
  97. lifetime of compound literal
  98. how #include directives are handled
  99. checking for > INT_MAX
  100. Assorted questions from a C++ programmer
  101. Help with function parameters...
  102. stripping non-numeric data from a string
  103. obtaining the time offset from UTC
  104. initializing variables
  105. macros: not a valid preprocessing token
  106. need addititional arg in given callback
  107. initializing variables
  108. multiple named initialization of same member
  109. Complicated macro...
  110. How to access hardware ports using C ?
  111. What's the difference of return 0; exit(0);exit(1)
  112. Calculator
  113. Why not auto?
  114. Fibonacci series 2005 (once more just for fun :) )
  115. substracting a lot of numbers optimisation
  116. __VA_ARGS__
  117. Eclipse IDE for ARM is based on what OS?.
  118. void*, char*, unsigned char*, signed char*
  119. Threads communcation in network programming
  120. gcc4
  121. only a test message
  122. char *(*pargv)[]
  123. Computing Industry shams
  124. One struct pointer question
  125. How to read the element when I receive a packet
  126. Looking for the "best in class" C/C++ open source software
  127. Which operation is more expensive?(a <= b and a != 0)
  128. Showing an picture in a dialog box (WinAPI)
  129. problem with value of the pointer...
  130. speeding up C code
  131. How to use *.* parameter in the exec family functions?
  132. abt nested loops
  133. Stop for a moment
  134. Problem with following function
  135. Help
  136. void pointer cast segfaults
  137. struct alignment
  138. hey abt the one and only printf!!
  139. where can i get ctrace C program debugger for linux?
  140. Reading EXIF info from JPEG
  141. tool to measure performance of written function
  142. cheksum function
  143. Inline assembly statement
  144. how i can print the values of argv[] under unix environment.Plz help me
  145. OOP: legal cast?
  146. Dynamic allocation of memory
  147. Make stronger protection for your software products
  148. make compilation fail
  149. Lapack/ CLapack
  150. Problem with a linked list
  151. fopen() question.
  152. float variables in loops
  153. how to get structure elements?
  154. Difference between C89 and C99?
  155. What does this function do?
  156. return const value to be thread save?
  157. array of pointers
  158. Is there a standard way to write an 8 bit byte?
  159. dynamic char - realloc use
  160. unsigned wierdness
  161. function pointers as function parameters
  162. Checking if socket is still open?
  163. gcc and Static Variables
  164. scanf(), Parameter Passing, and Character Arrays
  165. wanted help with hex game
  166. Case insensitive search of substring in wide char
  167. whats wrong with this pointer?
  168. Differences between one-dimensional arrays in Java and C
  169. What is the alternative to switch statement
  170. sizeof operator implementation
  171. Help With Arrays
  172. typedef struct
  173. a few doubts!
  174. Using define with variable values
  175. return a string
  176. main(int argc, char *argv[])
  177. struct and function-pointer casting
  178. two dimensional arrays:
  179. Caaling assembly routine in c
  180. how to use static function defined in one file in another file is that impposiible in 'c '
  181. Count maximum contiguous set bits in an integer .
  182. generate random points on a line
  183. How to use dlopen()???
  184. Changing Turbo C 2.01 Key Bindings
  185. How to store the contents of a file into a variable
  186. Converting large strings to numbers
  187. Avoid blocking
  188. Siemens MC35i Cellular Engine
  189. When using select call on many sockets, how to check if one of them is closed
  190. converting binary data
  191. Binary Arithmetics
  192. about malloc, realloc and free
  193. About C structures for network programming
  194. Returning "stack" variables from a function
  195. Expert advice needed (We were all new once)
  196. how to find a number whether its a power of 2 or not
  197. FR accent characters
  198. Reading a large number of text files into an array
  199. best use of strings
  200. memset
  201. Generic Library for C.
  202. Receving an array as parameter
  203. How to get file size?
  204. The Harm of hard-wrapping Lines
  205. Feel like trying some game programming - looking for volenteers
  206. 3587 monografias 3587
  207. Yet another book recommendation, but for someone who can program and yet does not the terminology well
  208. assigning void * type value
  209. C FAQ 3.1
  210. core dump on writing to pipe
  211. Howo to gmake?
  212. how to use gmake?
  213. sequence point
  214. Returning integer portion of double
  215. C's trig functions
  216. strchr & finding multiple occurances of a char
  217. avoiding warnings for "legitimate" casts
  218. How to remove and substitute characters within a string
  219. Searching for old LLIBCDLL.LIB
  220. what do c developers do without the stl?
  221. Compiling GSL with MinGW - undefined reference
  222. Modern Development Methodology?
  223. modulus operator "%" versus fmod
  224. to print in the reverse order, ("Hello World" -> "World Hello")
  225. How do I check if a file is empty in C??
  226. mutually referential (Pg 140 K&R2)
  227. How is strlen implemented?
  228. change users shell programmatically
  229. Segmentation fault
  230. realloc
  231. problem with the code and dll
  232. Linked list Question
  233. random seed when using GSL
  234. Strings as parameters/arguments to a function
  235. string
  236. Segmentation fault when returning a value on a different PC
  237. How to count CPU time by using C function
  238. News: College For The Baby-On-Board Generation
  239. What all gcc does
  240. Problem with printing input.
  241. problem compiling related to extern
  242. Good book about Data Structures in C?
  243. time returning -1
  244. C99 Restrict
  245. finding size of directory
  246. ULONG_MAX
  247. Comments format: comments extending over multi-line
  248. Counting Tabs, New lines, etc. ~error~
  249. Value of EOF
  250. 1.5.2 Character Counting
  251. Strange thing about malloc()
  252. timeGetTime
  253. Regarding typedef
  254. Add pointer to a double linked-list?
  255. Getting a string date from a number of seconds from01/01/1904
  256. Repost:Handling large C code (code in general)
  257. HELP on "C" DLL internal code for LAN's and WAN's use
  258. About casts (and pointers)
  259. I'm very confused(learning C)
  260. printf statement not executed
  261. problem with nan
  262. Reader writter problem
  263. Reader writter problem
  264. struct type completion
  265. ICS has acquired UIMX
  266. Certification in C/C++
  267. char*
  268. Simple question about pointer types
  269. inline usage in C linux kernel
  270. copy char arrays
  271. (Shareware?) file search for huge file?
  272. Dynamic Array
  273. why this program is crashing
  274. struct interdependencies
  275. casting question in kernel source code
  276. crash when filling a big buffer
  277. [Need Help] to write a function to remove all matching nodes from a linked list...
  278. Make problem
  279. Hi, What is the meaning of #ifndef
  280. const char* const*
  281. question about string
  282. some more questions about argv
  283. Converting string to char*
  284. hey u r doing it wrong
  285. what's differnece between #ifdef symbol and #if defined(symbol)
  286. callback or threading or something else ?
  287. read line
  288. C means C89 or C99?
  289. Print a number of size 19 digit
  290. Convert C code to Delphi -- random function
  291. Typedef and external linkage
  292. shorten string length by 1
  293. Memory Leak where?
  294. What can cause Segmentation Fault on Linux?
  295. Char array
  296. bit operations
  297. Obtaining double precision random number?
  298. multiple definition of `fVar'
  299. Help needed - Software Engineers with DVB or MPEG2 experience
  300. Object files
  301. comparing msb
  302. Initializing an Array of Pointers to Structs
  303. What is the best way to design GUI's in C?
  304. Help understading these proprocessor macros
  305. why printf("%c\n", b) can not get the wanted result?
  306. Any reason for this: !!
  307. How to distribute a C program into many C files ?
  308. how to read it out using c++
  309. dbx/gdb Choosing Which Forked Process To Follow
  310. closing the comm port in c
  311. one question
  312. __ in c
  313. ascii binary string into an integer
  314. Lexicographic ordering of punctuation marks
  315. Differences between pointers
  316. llkjhkh
  317. Passing void pointer to p_thread that is a Char
  318. Linked list stack and queue
  319. Is there any tool to transfer C/C++ source code to a lib file?
  320. pointer to stuct data
  321. naming functions and variables str*
  322. reading from text file to excel file
  323. Help needed: Is Quick-Union-Find the right solution to this problem ?
  324. Need help: Is Quick-Union-Find the right solution to this problem (Now I don't think so and I think that topological sorting should be the way to go...?) ?
  325. Need help: Is Quick-Union-Find the right solution to this problem (Now I don't think so and I think that topological sorting should be the way to go...?) ?
  326. A question about global struct variable as a fuction's parameter
  327. initializing int to a number bigger than INT_MAX
  328. string vs const int memory alloc
  329. exception handling mechanism
  330. Switch-case problem
  331. Hexadecimal index array
  332. Screen Capture Using C
  333. Read input from file
  334. fixed point library
  335. Simple C Linked List
  336. socket programming question (maybe OT)
  337. 'nix equivalent of Dos function kbhit() ?
  338. Remove \0 from a string
  339. What is the *nix equivalent of win32 io.h ?
  340. Question about multiple definition and undefined reference
  341. Critique
  342. Help needed: Is Quick-Union-Find the right solution to this problem ?
  343. Coredump/backtrace
  344. Divide by 7
  345. Setting locale at runtime
  346. soln
  347. hi why can not i us #if in the macro?
  348. quick question: \floor(\log_2(ix))
  349. linked list error
  350. Segment fault with pointer to method
  351. DLL function parameters
  352. STRUCTURES accessing using i
  353. STRUCTURES accessing using i
  354. Median
  355. C data container similar to Perl style key-value array?
  356. parsing string into an array
  357. How will you know about the libraries
  358. How to Link a Miscellaneous File
  359. About libraries and headers
  360. RealTime System + Windows XP + C# or C
  361. bmp
  362. return value of functions
  363. Complicated expression.Pls help
  364. bitwise & operator and counting set bits
  365. compilation option (-g) doubt?
  366. convert int to char
  367. data type conversion
  368. Emacs CC Mode's auto-newline facility: INFORMAL SURVEY
  369. ThreadProc does not run when CreateThread() is called within a DLL.
  370. strtol clarification
  371. modf() question
  372. A question about a subject in the "C Unleashed" book
  373. Suitable searching techniques for my parser...
  374. Subject: searching techniques for a parser.....
  375. Why is warning coming?
  376. Analytical or Intuitive?
  377. Warning missing?
  378. access error?
  379. templates & reporting
  380. Tricky double operations
  381. sleeping during a precise time interval
  382. scanf/getchar sequence problem
  383. problem with pointer and string - function
  384. Char strings, pointers and substrings.
  385. Good Books to learn low-level C
  386. Protecting stdin Within A Library
  387. Getting intermediate results in 64 bits
  388. Compiling a program for windows
  389. linked list
  390. Error help
  391. hm..-_-
  392. File management in C
  393. accessing struct elements of a function return
  394. what's the help of "unnecessary" pointer comparison?
  395. WinA&D 4.1 for UML, DFDs, ERDs and Requirements
  396. "extern" meaning
  397. ntfw (new file tree walk) question
  398. Confused about "void **"
  399. Injecting a value to a byte/word....using bit wise operators...
  400. Common pro*c code for both Oracle and non-Oracle environments
  401. Does the following programming architecture make sense?
  402. junk value in variable
  403. Regarding core dump
  404. varargs's doubt
  405. system with several interactive programs
  406. pass by value question
  407. integer addition taking CARRY into account
  408. Return Value Practice
  409. Combinations problem
  410. one c question
  411. Combinations in C?
  412. Mention the type of applications which can be developed using C language?
  413. Segmentation fault
  414. regarding algorithim
  415. Not a very good Idea!
  416. Integer subtraction problem, help!
  417. Integer subtraction problem, help!
  418. Confirm this is Standard code
  419. Ignore argument to 'printf'?
  420. Multiple writes to client socket
  421. Endangered species list
  422. What does BCPL stand for?
  423. warning: passing arg 1 of `atoi' makes pointer from integer without a cast
  424. How to show Unix time in C?
  425. Shut Down This Obsolete Newsgroup
  426. portable code
  427. Need HELP
  428. microsoft has open sourced windows xp
  429. bitwise decimal operators
  430. Reg : Pointers
  431. the usage of sscanf
  432. unary negation operator question
  433. Higher-Order Programming in C
  434. arrays
  435. store contents of structure into an array
  436. why function return more char in string array?
  437. need help..
  438. What is memory pool
  439. execution time becomes unpredictable?!
  440. matrix equation in C
  441. unknown directive
  442. Good function to test speed of language?
  443. Math programming with C
  444. How to define return string in DLL?
  445. Byte Dataype in C
  446. K&R3?
  447. va_args going unused ok?
  448. Different BOOL definitions problem
  449. enum allocated size
  450. Translate C++ to C
  451. setting initial values in struct template
  452. Variable Argumets
  453. Retrieving a value from a void function.
  454. 6.5.7.4 Bitwise shift operators
  455. reading from a text file
  456. what's the two !! usage?
  457. secondary video output
  458. malloc error on pointer
  459. Problem to read and write on a serial port
  460. Usual Arithmetic Conversions-arithmetic expressions
  461. Base class and OOP in C
  462. Use of GString
  463. malloc problem
  464. Implemenatation of Printf
  465. strcmp/strncmp/strnicmp
  466. type* name vs. type *name
  467. Tell me why the symbol "_" use in the Library?
  468. Unterminated string literal
  469. Should I use "char" or "unsigned char" for strings?
  470. Initializers for arrays of structures
  471. How do I wait for the child process ?
  472. Multiple Makefiles
  473. Can't use pow() and sin()....
  474. gcc tutorial?
  475. Elasped Time - in hr, min and seconds
  476. "man" pages for setjmp.h
  477. pack FF in a unsigned char ?
  478. debug error
  479. string to hex
  480. () obsoleted?!
  481. Why does the answer is 0?
  482. how to use write() to put double
  483. Learning pointers and arrays of pointers With Files
  484. Problems With strtof()
  485. Combinations calculations
  486. A better question about directives
  487. BOOKS ON C
  488. convert hex string to decimal
  489. Interpreting mem_map init code
  490. open,fopen differences
  491. question about directives
  492. socket programming UDP
  493. promotion of integer types
  494. questions about arrays
  495. Great News Blog!
  496. Assignment to structures
  497. use of assertions in practice
  498. Using a function that doesn't exist =\
  499. Casting a pointer to integer
  500. pointer to a function
  501. strlen + terminating null character
  502. strlen function + include the terminating null character ?
  503. What is it that setjmp stores??
  504. nios-convert
  505. detecting very long floats?
  506. realloc(p, 0)
  507. is there problem that "has to" use recursion
  508. Is "volatile sig_atomic_t" redundant?
  509. return a string array
  510. Pointers to fields in a struct
  511. Linguistics and such
  512. Concat string (not ended ...)
  513. const int x=5 ;
  514. strtok problem - strcmp
  515. Different ways to cast?
  516. string compare...
  517. type of array index?
  518. question on function arguments and parameter passing
  519. Can't debug when with longjmp
  520. sprintf syntax for string to hex
  521. regarding using env variable
  522. Random Integers from 0 to 999
  523. using defined characters as strings
  524. using setjmp
  525. Search txt file and put name in a ...
  526. sizeof operator
  527. "patch" like tool
  528. What is diff b/w malloc,calloc,realloc
  529. What is memory leakage
  530. Ignore include header files with Splint
  531. Use of assert.h
  532. Interesting question on const.
  533. dynamic array of struct
  534. Pointers in methods??
  535. Problems with casting pointers
  536. UTF-8 locales
  537. Question on byteorder operations
  538. Translation from recursive to iterative
  539. 64-bit integers support
  540. Macro Expansion
  541. Problem with va_ macros and arrays of arrays
  542. find index, given pointer to member
  543. sorry! i had changed it to c
  544. strdup()
  545. Determining Processor architecture
  546. how to malloc 2G ram? in freebsd, win2k
  547. how can I find out all the unused functions?
  548. compiling error
  549. Where I can find a list of differences between C89 and C99 ?
  550. Definiton of variables within a block?