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