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