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. problem with setjmp
  2. i want to convert long integer to string
  3. struct named 0
  4. problem with scanf( )
  5. How to convert a negative value to positive
  6. Nth request of book recommendations
  7. Scope of block-local variables
  8. Why in stdint.h have both least and fast integer types?
  9. Correct type for array indices
  10. "Interesting" C behaviours
  11. wcsftime output encoding
  12. PORTING GMP PROGRAMS TO WINDOWS
  13. How to add new library in gcc?
  14. More bitwise woes
  15. Empty arrays in structs
  16. K&r chapter-1; exc-17
  17. how to link Fortran code in MS visio studio
  18. problem to insert data
  19. CGI programming in C
  20. simple file system
  21. assert(x) and '#define ASSERT(x) assert(x)'
  22. overloading in C
  23. virtual constructor
  24. overloading in C
  25. overloading in C
  26. Portable repulsive type extension ?
  27. sizeof error
  28. Systems software versus applications software definitions
  29. Compare Generic Type
  30. 1024 bites interleaving frequency???
  31. Making Assertions
  32. qt +linux
  33. Array Arguments.....
  34. undefined reference to `trunc'
  35. Unix C programming for finding file
  36. parsing command line parameters
  37. Embedded tools are 10% off to celebrate 25th Aniversary
  38. abuse of conditional operators (fwd)
  39. Typecasting Pointers
  40. How to write the code to realize itoa?
  41. C Unix calling system() from multithreaded process
  42. strspn
  43. Size of my Struct? PLZ PLZ reply
  44. Passing address of a C function to Fortran - syntax??
  45. linking C libraries
  46. Is there a bigger data type in c than the double one?
  47. The one problem that I have with C...
  48. conversion
  49. C parser for reading C source files?
  50. How to set ansi.sys for windows.xp?
  51. Global variable-sized arrays
  52. Calling a dll
  53. constants in array size
  54. About gcc cache_invalidate function
  55. C Unleashed
  56. what's wrong with this code from a book?
  57. GMP :: passing GMP integer values using functions:: HELP
  58. Questions about malloc()
  59. what exactly is tags in C?
  60. snprint rationale?
  61. Odd preprocessor behaviour?
  62. I found this great little site
  63. Macro without string to substitute
  64. Macro without string to substitute
  65. Stacktrace code snippet? Like gdb's "bt"
  66. macro style guideline
  67. versions
  68. versions
  69. a simple c code
  70. Handling large amounts of data
  71. How to check the lock status?
  72. Is FALSE == 0?
  73. Help with pointers
  74. I can teach anyone how to get what they want out of life.
  75. versions
  76. Question about storing a maze board(like 2d array) into Tree.
  77. Please spot out the cause of this bug
  78. Core + malloc
  79. Bus Error asprintf. OS X 10.3.6. gcc 3.3
  80. Synopsis, please!
  81. memcpy as macro legit?
  82. Tool for buffer overflow prevention
  83. Micro-C -- Help monitoring a switch on 8051
  84. Initializing array of structure!!
  85. Typedef with GCC/G++
  86. how to pass a two-dimension array to a function in C++??
  87. How to replace: #if VAR1 == 100 ... #elif VAR2 = 1 ... #endif, With #ifdef VAR1 ... ? ... #endif
  88. How to best parse a CSV data file and do a lookup in C?
  89. i need help with this card game!
  90. how to do this?
  91. Tool for buffer overflow
  92. fast array copy
  93. getc and ungetc
  94. need for doubly linked list
  95. what does that have to do with C?
  96. Got stuck with wchar_t *argv[]
  97. query on #ifndef _FILENAME_C
  98. extern with incomplete types
  99. Learning C
  100. C Web crawler code
  101. qsort
  102. C socket programming UDP
  103. RPC program building
  104. Memory Management
  105. Projects
  106. Hash Tables & Linked Lists
  107. char vs int
  108. Pointer of array's ( example: get the third word of the sentence )
  109. How to read data ?
  110. functions and main
  111. Memory allocation by malloc
  112. Question about setjmp on Itanium HPUX.
  113. update hash table
  114. Opaque data type
  115. call to malloc with size 0
  116. C = only language that easily deals with shared mem. access ?
  117. text fixed with graphics and eqations
  118. how to hide characters on screen
  119. Subtracting 0 from one-past-end pointer
  120. 47270 Mining the Web: eigenVectors, Kriging, Inverse DistanceWeighting Searches 47270
  121. C/C++ code beautifier
  122. >>> TERRORIST AND EVIL ANGLO-SAXON RACE AND RELIGION <<< FACTS YOU WONT HEAR
  123. seems OT; will demonstrate relevance
  124. Handling text with C?
  125. Definition of NULL
  126. programming a network adapter
  127. [META] unanswered questions
  128. how to read source code?
  129. developing c code to access partition table
  130. How To Reduce Number Files by Putting file1.c and file2.C Together
  131. const members
  132. Learning C with Older books ?.
  133. Simple vsscanf source code
  134. How can I get a name of function running currently.
  135. Unions and portability...
  136. Directory/File recursive listing using standard/portable C?
  137. defining wide-character strings with macros
  138. project doubts please !
  139. regexp confusion
  140. HP/UX Itanium C comiler & std C
  141. telnet
  142. Write a customized printf function in C
  143. How to pass variable argument list to another function w/ variable argument list?
  144. Just need a few questions answered...
  145. Value of uninitialized char
  146. Learning C from old books ??
  147. test
  148. C pre Processor
  149. Problem with big matrices
  150. Get array size by a pointer dynamically
  151. noop comparator for qsort
  152. getting variable type in C
  153. using pthread to receive data on a socket and simultaneously play it using /dev/dsp
  154. has anyone followed sedgewick's "algorithms in c parts 1-4"?
  155. fscanf
  156. Stuck with a strange core (C code) -- Please help.
  157. trigonometical,rad,acos... HELP please
  158. How does C cope if architecture doesn't address bytes?
  159. Bitwise idioms
  160. Simple vsscanf source code?
  161. What does "void (*vector[])( )" means?
  162. Modify Static Data Okay?
  163. Recursive Calls with Ellipses
  164. homework problem
  165. Meaning of Packed and Local types
  166. Follow-up on Newsgroup Survey
  167. fork(): how can I kill forked process and all ITS children, but leaveparent alive?
  168. 2 q's re sedgewick's algorithms in c parts 1-4 book
  169. Golf Competitions
  170. EOF character
  171. strings
  172. nonzero != 1, right?
  173. Obfuscate C tricks
  174. Sprase matrix
  175. printing a pointer's value
  176. Does this invoke undefined behavior?
  177. The C language on Mars
  178. special character to strings and vice versa
  179. Please review
  180. write 2D array to binary file
  181. using volatile ptrs ...
  182. Graph DFS implementation (stack usage)
  183. convert 'C' code to 'Fortran'
  184. test(sorry)
  185. libavl example code?
  186. Arraym malloc() and free() question
  187. Embedded application: C vs C++: a data point
  188. seq point/atomic var
  189. [轉錄][轉]*肮O轉文魔人
  190. allocate space for typedef data type
  191. Confused about functions
  192. why char *p = "can not modiy"; char p[] = "can modify"
  193. Getting time in milliseconds
  194. role of preprocessor
  195. DOS to Windows
  196. listing all files in a directory
  197. CPP predicates for compiler extensions
  198. Functions as function parameter
  199. Quiting a program using pure C
  200. c string
  201. Mutex entirely in ANSI-C possible, without I/O routines?
  202. bitness of machine using C language
  203. Doubts:Steve Summit's page/Chapter 22
  204. simple c-code
  205. sizeof dynamic array
  206. Crazy stuff
  207. install source code to a drive other than "C:\" ?
  208. Just a question
  209. Character arrays
  210. memmem function
  211. sig_atomic_t
  212. Walking a hash table created by hcreate_r()/hsearch_r() ?
  213. Puzzle
  214. Need to talk to a telnet server and send a telnet break
  215. static cons and static
  216. Argument Processing
  217. Giving the preorder & inorder lists, How can be constructed the corresponding B-TREE ?
  218. How to create a new directory in C
  219. Variadic functions
  220. ASCII to HEX
  221. Memory allocation
  222. Graphs (BFS and TFS)
  223. World's First Book on Professional Data Recovery Programming
  224. phooey! .. The batch file cannot be found
  225. caste Q
  226. check structure member at compile-time
  227. Nmap Malloc etc...
  228. double-linked list elements swap
  229. Nice way to do help screen output?
  230. hashlib package
  231. Sig handler causing core dump
  232. packed datastructure - how to define?
  233. Seeking Borland C++ 4.5x
  234. 10 limiting display
  235. address of a statement in C
  236. Count the frequency
  237. linked list
  238. Flash and C integration problem
  239. Extracting file system information
  240. Convert VB code to C code.
  241. array subscripting
  242. Complex array definition
  243. How to best do the following string operations...
  244. getch?
  245. file io trouble
  246. how to "new" a two-dimension array in C++?
  247. Pro*C Compiler
  248. Game looping problem?
  249. 4-bytes or 8-bytes alignment?
  250. comparing unsigned long and unsigned int
  251. C multi-dimensional arrays and pointers
  252. Why C?
  253. String Comparison
  254. Newbee array pointer question
  255. Data Recovery Programming Book
  256. char array initialization: Is 'char a[] = ("a")' valid ANSI C?
  257. help needed with C grep program. About pipes and ls in shell
  258. Web Cam, Notification of Broadcast
  259. "..." as a function parameter?
  260. Utility to partially preprocess
  261. Please review my tutorial
  262. c: 4 Millions Domains data with Category
  263. printing address using pointer
  264. C Help Magic Square
  265. Collections Library for C
  266. Constructors/Destructors for struct with function pointers
  267. Adding a Sentinel
  268. hi
  269. Trouble using string functions
  270. '\0' ?
  271. static structures
  272. Get System Memory in C
  273. How To Send Http/1.0 404 Not Found Error Page In C
  274. file operations FAQ etc
  275. C... Why not c++?
  276. dynamic allocation
  277. pointer array question
  278. problems in saving to a text file
  279. reentrant functions
  280. position independet code
  281. Segmentation Fault...
  282. Compile error message
  283. Confusion with C
  284. assert( x > 0.0 && 1 && x == 0.0 ) holding
  285. A bit off topic; setjmp/longjmp
  286. Getting call stack (like dbx where cmd)
  287. data bus model...
  288. Can use macros to solve this problem?
  289. how the following printf statement works
  290. How to call a shell command within C?
  291. How to delete files in a sub directory
  292. What is returned ?
  293. Extract a function from C code?
  294. rand() implementation
  295. Reading from file
  296. implementation of rand() ?
  297. sorting an array of three kinds of stones
  298. Infinite loop problem in linklist
  299. URGENT: Need help in setting environment variable.. pls help
  300. detect recursive C code
  301. detect recursive C code
  302. test
  303. Binary files, little&big endian setting bits
  304. access union member via ptr
  305. keyboard driver code for XP
  306. Is this legal stuff as per C Standard?
  307. Is this legal ?
  308. Why can't constants have commas?
  309. resolving a warning error
  310. What is multithread safety
  311. Sort 1-D of a 2-D array and copy both
  312. Can Array Work within Structure?
  313. Strings in C source code
  314. Why will this not generate a random number!?
  315. couple of questions on streams
  316. strange problem with optimisation
  317. Code for substring & int conversion
  318. URGENT: pls help, Need to know how to set Environment in Visual .NET (using C)
  319. How to generate all possible permutations with repetitions?
  320. Here is my full program excluding the search and delete functions
  321. qsort + structure problem
  322. fftw-3.0.1-fma + Lynxos+PPC G4 fails tests.
  323. Array scope
  324. fopen failed when called several time.
  325. memory use
  326. Function that standardize a string with lowercase and uppercase ?
  327. Some Interview Questions
  328. Keeping a file in memory
  329. Array initalization doubt.
  330. Dynamic analysis tools information
  331. What's wrong in my function of reverse the doubly linked list with dummy node.
  332. Problem reading struct in a file
  333. Pointers to structure and array of structure.
  334. rola i funkcja jezyka c w terazniejszo&#347;ci
  335. limits reached
  336. stack size
  337. Nested Statements.
  338. simple question??
  339. Help with newb's project
  340. Interesting coding idea
  341. Inititalising a char array from multiple sources
  342. A good article about vulnerabilities
  343. C was created by Commodore ! ! !
  344. Tail space in struct within struct
  345. Compiling a tar.gz source file in Windows
  346. Multidimensional arrays
  347. Commenting the source code.
  348. Inconsistent time zone
  349. Unexpected repeating of my output function
  350. rand() function doesn't work well??
  351. glib: problem with GArray
  352. How To Use C To Write A Web Server?
  353. Can a double always represent an int exactly?
  354. strncpy help (long)
  355. vulnerabilities
  356. UCLA freemason lecture in Toronto
  357. Trees Query
  358. derangement: code review request
  359. k&r Ex1-24 without stack
  360. Where to start
  361. Difference between Macro and Function...
  362. A small question about Duff's Device
  363. test
  364. Strtol vs sscanf
  365. array of function pointers --- syntax error!?
  366. Access from function in struct (pointer to function) to other items in the struct (advanced)
  367. K&R2 2.3 : /n vs /r
  368. return a string?
  369. Usage of scanf to prevent buffer overflow...
  370. GetByte(int x, int n)
  371. bignums.h
  372. strlen in a for loop with malloc-ed char*
  373. Anyone can help?
  374. Anyone can help?
  375. printf() formatting - stripping zeroes, padding
  376. printf() formatting - stripping zeroes, padding
  377. Printing "long double" type via printf() on MinGW g++ 3.2.3
  378. modulo encrypt problem
  379. Errors with typedefs
  380. executable and GDB
  381. Why can't i make static function
  382. pow function
  383. How to convert float to int in #define statement?
  384. sscanf feature in C++?
  385. variables at specified memory locations ...
  386. Global Variables
  387. header file in C
  388. Access Violation in linked list
  389. [URGENT] fgets reading last line in file twice
  390. Pointer Guide Nearing Completion
  391. Parallel port programming
  392. ...malloc ...from Rome :-)
  393. Super Mario Shapes
  394. char and unsigned char
  395. test
  396. hexadecimal
  397. Borland C and Microsoft Visual C
  398. Fatal: Unable to open file 'WS2_32.OBJ'
  399. NEWBYE - GRAPHIC QUESTION
  400. c equivalence of const_cast?
  401. Duff Device reference ...
  402. A program that reproduces itself
  403. swap two numbers
  404. very very very long integer
  405. pointers to incompatible types
  406. scanf problem
  407. C Puzzles
  408. very very very long integer
  409. Code reading technique
  410. CORDIC algorithm
  411. Any interested programmers?
  412. Global access of static variable
  413. Global access of static variable
  414. Pointer to a Pointer to a struct
  415. C to Java Byte Code
  416. Pro*C Question - printing varchar
  417. Write only memory
  418. An error which is driving me slowly mad
  419. Safer and Better C
  420. Linkerproblem with mcal/datetime.h
  421. problem to compile with...
  422. a simple wget in C language?
  423. offset of a member inside a structure
  424. Question about char pointers init to const strings
  425. Built-in primitives for complex
  426. Floating-point bit hacking: iterated nextafter() without loop?
  427. C + Malloc
  428. Request for code review.
  429. Index out of bounds question
  430. get current path
  431. Libraries to handle common tasks
  432. Reduce duplication
  433. A graph application
  434. malloc and free
  435. Variable size arrays and pointers
  436. arbitrary array index range?
  437. how much of C is enough?
  438. Scan input - But only if something has been typed
  439. How to retrieve the name of the file from a FILE *
  440. can strftime() product non-locale specific (i.e. UTC) results?
  441. gcc in linux
  442. #define and external static
  443. list view control
  444. Doubt about getchar() and scanf() for a character?
  445. integer index problem
  446. why segmentation fault when copying a character?
  447. Copying structs
  448. friends, namespaces and operators.
  449. LNK 2001 error using the cl compiler??
  450. Is this legal ?
  451. authentication
  452. File locking
  453. K&R 1.5.1 exercise
  454. why this C code did'nt works as expected
  455. error w/ pointer to structures
  456. Array size using pointer
  457. Why 'sizof (CBuffer::m_pData)' doesn't work ?
  458. tree problem
  459. Systemdiag via c.prog
  460. Doubt regarding const......
  461. string copy problem
  462. Unitialized pointers?
  463. scanf address
  464. flush(stdin)
  465. Linked List problem.
  466. Connect two pointers (arrays)
  467. double while loop in linked list
  468. EVIL AMERICAN GOVT (aka FBI) is full of SADISTS and PERVERTS
  469. what does "strict alignment" mean?
  470. Global variable declaration in headers
  471. bit masking
  472. In fflush(stdin), what happens to flushed data?
  473. Variable number of parameters in a function call?
  474. having problems with math library
  475. Where can I find the implementation code for a function in C language?
  476. Help! Raw Socket CheckSum
  477. lcc-win32
  478. What type is a structure?
  479. Catching a process' own stdout
  480. Array of pointer Vs Pointer to Array
  481. bus error in linked list
  482. byte to LONG
  483. For in Macros??
  484. Recursive Union
  485. What Kind of DataStructures C using? ( Heap or Tree ??)
  486. How to create shared memory ?
  487. Function delcared inline but not defined inline
  488. having problems with pointers (segmentation fault)
  489. scanf() help
  490. stdout not open?
  491. Some advice about references on memory management in C
  492. Lexical variables - speed penalty?
  493. Is there an open source C compiler to Stack Machine?
  494. how to get the filename of a FILE pointer
  495. Ambiguity in semantics of assignments?
  496. How to create a bitmap?
  497. Broken pipe
  498. Compiler for Windows (Open Source)
  499. Problem with an array of pointers
  500. volatile
  501. newbiw question: What is the best way to declare and define global variables?
  502. oob, raw_sock, PingOfDeath
  503. LINK : warning LNK4078: multiple ".data" sections found with different attributes (60000020)
  504. extern and Static
  505. Script-kiddies use C to write evil programs ! ! !
  506. fgxfg
  507. Why is stdprn not defined under Windows?
  508. fdatasync() does not work
  509. 2 pytania o float'a w C
  510. When fopen() fails
  511. About Hast table
  512. char* gets(char* buffer)
  513. fsync()/fdatasync() issue
  514. libctiny.lib problem
  515. C++ array relative C question
  516. Julian timestamp to readable format
  517. Is there any library to get/fetch a remote URL?
  518. declare vs define of global variables
  519. Storing in array
  520. preincrement puzzle
  521. Size limit of enum type?
  522. newb compile question
  523. How to delete a line or a character?
  524. goto to switch labels
  525. function to perform a * b / c in long int format
  526. strncmp(a,b,0)
  527. How to parse a remote Internet XML document via 'Libxml2'
  528. arrays and K&R 5.10
  529. Design decisions on data structures
  530. Dungeon Master - like sources
  531. segmentation fault - code attached
  532. searching data for a large set of substrings
  533. need to be enlightened on pid_t
  534. Questions
  535. Reply
  536. Question about fgets.
  537. Questions about memmove
  538. setjmp.h and other people's implementations
  539. length of array filled with pointers?
  540. What is a type?
  541. Signal Call
  542. Question about concatenating quotation marks
  543. is there any way to check asynchronously whether stdin contain data to read?
  544. is there any way to check asynchronously whether stdin contain data to read?
  545. Compile and link
  546. watching a file
  547. atexit()
  548. Can I write a recursive type definition ?
  549. Function arguments
  550. Using mysqlclient library -- odd crash