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. how can get other process pid
  2. Writing an Emulator
  3. fgets() - supposed to be simple :)
  4. Trouble with malloc().
  5. data conversion
  6. Passing structure value to pointer
  7. data transfer
  8. number of characters in a string
  9. About Sorting
  10. About sorting
  11. test
  12. parsing C code
  13. [possibly OT] the comparison function in qsort
  14. [possibly OT] the comparison function in quicksort
  15. file i/o issue
  16. memcmp() semantics
  17. why do strcpy, strcat, & co return a pointer ?
  18. malloc() and free()
  19. Best way to learn?
  20. best way to chop off leading char in string?
  21. I'm new at C, and I'm having problems with descisions and loops
  22. how c language to realize multiple ?
  23. volatile inhibits side-effects
  24. older standard drafts for download?
  25. printing error mesgs.
  26. Makefiles with multiple targets
  27. problem with array
  28. initializer needs constant
  29. Returning an assignment?
  30. question on avl trees
  31. c event handling - how?
  32. how c language to realize multiple ?
  33. how c language to realize multiple ?
  34. Safe subset of C?
  35. how the realloc( ) allocates memory ?
  36. C Coding Styles and the use of Macros
  37. Theoretical Problem
  38. libc and thread safety
  39. tailing a log file using c ...
  40. Expat problems
  41. malloc syntax
  42. Lvalue Required......Why?
  43. Pointer to function
  44. Complicated circular type definitions: help!
  45. Problem with a Regular Expression in C. Need Help!
  46. code for relativity
  47. what is the default return type of a function?
  48. what is the default return type of a function?
  49. isprint() equivalent for ISO-8859-15?
  50. Header include order
  51. Memory layout question
  52. Can realloc potentially cause a memory leak?
  53. EOF (novice)
  54. Datastructure design
  55. How can I embed the *regex* engine into C program?
  56. need some help with I/O
  57. C Array Sort - Pass By Reference.........
  58. Counting program lines except comments
  59. Linker error multiple definitions
  60. How do you save input in a text file?
  61. Can't figure this out
  62. const char * to char[]
  63. Pointing to high and low bytes of something
  64. bug? instruction not compiled below comment
  65. Hash Map API Preference
  66. request for code review
  67. How to call a function from one project to a function in another project ???
  68. Documenting C Code
  69. LL(2) to LL(1) conversion
  70. winMain link error
  71. VFW.h link error
  72. gcc compile problem
  73. gdb and dbx question
  74. An Evolutionary Analysis of GNU C Optimizations
  75. passing an array to a function?
  76. Prime number algorithm in C
  77. is this some c code ?
  78. where do I get libraries , snippets etc
  79. Artist needs help with bitmaps
  80. what are the reverse functions of atof( ), atoi( ) and atol( ) ?
  81. cpencrypt, in out parameters
  82. A simple math libary problem?
  83. Segfaulting when trying to create custom 'fgetline' function
  84. Difference between using exit(n) and return n in main()?
  85. Code, generate thyself!
  86. Using arrays in C.
  87. void pointer arithmetic
  88. recursion
  89. Variable argument lists
  90. Efficient Programming
  91. Somebody misunderstod me
  92. @@@ A Serious Question @@@
  93. Windows c programing
  94. Does malloc add size information to program?
  95. what is good irc networks and channels avialable for c programmers
  96. Pointer mutations
  97. Code Critique Please
  98. assigning values to structure members
  99. Deferencing void pointer
  100. Insert EOF marker into file
  101. logistic regression implementations
  102. socket programming
  103. check out this code! any ideas for me fellas?
  104. c source
  105. line directive
  106. Structures, Pointer and gets
  107. Pointer mess.
  108. header file question
  109. Use of do...while(0) in ASSERT macro
  110. writing 5 bits at the time to a file
  111. C compiler with BSD lib socket included ???
  112. Using temporary register Variable
  113. Trigraph sequences
  114. vi-style command-line editing in gdb
  115. Strange fwrite
  116. Function declarations & use of static functions
  117. Mix C++ DLL with C main program
  118. Function declarations/defaults
  119. udp_var.h
  120. Working with threads
  121. calling other functions
  122. Structure Compatibility
  123. zip
  124. Look for SOAP implementation for C (not C++)
  125. in out parameters in CPEncrypt
  126. Printing double with no trailing zeros
  127. Calling C DLL from VB
  128. Preprocessor fun; \xdigits
  129. Want to optimize this procedure, any advice?
  130. Very strange error
  131. windows.h question
  132. struggling with strings
  133. Question on switch block scope
  134. components of a floating point value
  135. how tp pass a stream into a structure
  136. Defining int64
  137. two exiting points in void function?
  138. how to return an array from function
  139. mblen and mbrlen
  140. mix c and c+++
  141. writing tsr in c
  142. Initialising structures
  143. in realloc(): warning: chunk is already free
  144. malloc a struct?
  145. matrix multiplication
  146. How to get filename using C language
  147. redirect stdout
  148. New to C/C++
  149. Overriding a 'C' function in a static library (.a)
  150. {0} oder {0, } C89 C99
  151. Program to remove C comments (long signature)
  152. C Socket programming question
  153. minigw compiling/linking problem using enumprinters function
  154. memcpy/memmove
  155. setjmp, longjmp
  156. doubles
  157. converting to bits
  158. rolling back 24 hour times
  159. Integer array size
  160. passing double arrays from vb to a c dll using a type lib
  161. linked list problem
  162. overwriting in the terminal
  163. B tree, B+ tree and B* tree
  164. unsigned long long
  165. Portable int?
  166. Pointer Arithmetics and void *
  167. How to simulate keyboard.../dev/tty0?
  168. /usr/share/bison.simple: No such file or directory
  169. More loop style stuff
  170. Pointers, structs and memory allocations
  171. communication between two applications
  172. How to simulate keyboard.../dev/tty0 ?
  173. Code Review
  174. File size > 4 GB
  175. _wcsicmp api
  176. Help Needed for Marshalling Message
  177. Casting a void * into a 32-bit struct
  178. Pointer Challenge
  179. Serial Communications in ASCII
  180. Byte Alignment
  181. what should atoi() do with garbage input?
  182. Deciphering ISO C (Chap 6.3.2.3 - Pointers)
  183. how important are bitwise operators?
  184. Accessing via a pointer to 2d array.
  185. Two-iteration loop
  186. alan connor ==> troll
  187. Linking to an opened inode w/o links left: how?
  188. Info on Std needed
  189. C in Windows
  190. Should I learn C ?
  191. Date and Time Function
  192. C changing the value in initialized read only data
  193. C changing the value in initialized read only data
  194. %% in printf
  195. internal integer repres.
  196. A couple of questions re. the function prototype
  197. please comment
  198. Run time error: The memory could not be written
  199. cannot understand strrev implementation
  200. system(), renaming files and long filenames
  201. Given a date, how to find the beginning date and ending date of that week
  202. Floating point formats not linked
  203. RLE code review
  204. Terminal Controll...
  205. gcc bug?
  206. Segmentation Fault on Linux, but not on Solaris
  207. Is buf[n]++ a lvalue?
  208. fseek
  209. arand()
  210. How to avoid the error "Arg list too long" on IBM ?
  211. realloc question
  212. Rallocating a struct * *
  213. where wrong?how to correct?and why? thank you
  214. how to default prototype
  215. a simple problem about memory allocation
  216. Weird problem
  217. how to write os version independent code?
  218. Pthreads join
  219. const parameters
  220. Menu printed twice in calc prog
  221. Binary executable format for new language
  222. How do I delete lines from a file using "ofstream" ?
  223. variable argument list
  224. Multibyte VS. Wide
  225. Reverse a byte
  226. Where can I get a manual or a BIGNUM pakage? (bn.h)
  227. include path (gcc on win32)
  228. sizeof a struct
  229. nested procedures and the C language
  230. preprocessor question
  231. where to allocate memory
  232. C99 structure initialization in gcc-2.95.3 vs gcc-3.3.1
  233. how to print color screen
  234. Missing Header File
  235. An "acceptable" use of break
  236. view memory
  237. just got myself a copy of K&R...
  238. sizeof a struct
  239. Replace word in text file
  240. // in macro's
  241. connecting c,c++ to oracle in windows
  242. sizeof, is it a macro? function? or operation?
  243. comma formatted integer output (LONG POST)
  244. return a char array from a function
  245. Simple password dialog in C
  246. I can't execute my program(coded by c language) on AIX5.2(ML2)
  247. extern char and include practices
  248. Style of Local Variable Declaration
  249. hello everyone ,I'm c primer ,glad to come in here
  250. Boors ahoy
  251. A problem with reading in a character.
  252. new to ai
  253. forking in c
  254. const pointers
  255. About checking executable files
  256. structs and dynamic memory allocation
  257. return of pointer
  258. ANSI C compliance
  259. Trigraphs & entry
  260. malloc vs calloc
  261. New C Resource
  262. bivariate interpolation
  263. Use of nested loops.
  264. A problem about time()
  265. NULL?? How come??
  266. Volatile
  267. complex type
  268. running MPI
  269. segmenatation fault while allocating memory
  270. Structs in Java
  271. The difference between char a[6] and char *p=new char[6] ?
  272. funny problem in C program !
  273. Compile problem
  274. Getdate and gettime
  275. Linux - Getdate question and calling another program
  276. more hand written integer pow() functions (LONG POST)
  277. double casts
  278. substring
  279. Recommended group for C beginners
  280. va_arg and short
  281. A problem in using public library
  282. Dynamic array of matrices
  283. size_t and size of
  284. Designing an FTP Client
  285. "Mastering C Pointers"....
  286. C preprocessor conundrum
  287. this is a bloody hard one (for me...) please help me !
  288. Date Arithmetic
  289. CPU Serial Number
  290. a file count
  291. How to print a string of unsigned chars?
  292. how to print clock_t variables?
  293. tracking a segmentation fault
  294. Normalizing tm structure past 2038
  295. files and directories into an array of arrays
  296. pitfalls of signals
  297. A C-Program Question
  298. pass time(0) to srand() when generating random numbers.
  299. passing a va_list to sprintf
  300. very basic C question--K&R on a Mac
  301. very basic C question -- K & R on a Mac
  302. Compilation problem with platform upgrade
  303. do the equivalent of unix date(1) in C
  304. delete comments in .c file
  305. casting
  306. Pointers and Arrays in C??
  307. recursion
  308. Including headers only once
  309. Interactive AND Portable?
  310. work with dates
  311. how to scroll text?
  312. Need Help speeding up mandelbrot algo
  313. Timezone problem
  314. incorrect printf o/p for doubles
  315. Help
  316. Help
  317. #define problem
  318. The original subject seems to be quite descriptive
  319. Programming serial interface question (linux)
  320. How do I debug this sample
  321. Volatile
  322. Function pointer Advantage
  323. Named parameters
  324. Help with generating parallel line
  325. stylistic prototype question
  326. What comes between learning the language and coding for real projects?
  327. calloc(1,1) vs. *malloc(1)=0
  328. Linked list trouble...
  329. malloc and free
  330. arrow operator
  331. how to initialize a structure
  332. questions about combination using recursion
  333. Dynamic arrays
  334. String Permutation function in C
  335. build an interpreter for a simple language
  336. hi,how to define a bitstring type in c/c++?
  337. c#
  338. Concatenate bits, then convert to HEX
  339. Is a "cast" ever necessary in "return"?
  340. stdin and stdout
  341. Why are you still using C?
  342. combinatorics question
  343. writing an interpreter for a simple language
  344. Structs refering to each other
  345. Not reading data
  346. Operator question
  347. Limiting Recursion Selectively
  348. a small bsearch example
  349. Question About Example code, GlobalC
  350. purify-like tools working also for fortan 90?
  351. Using char
  352. C++ to C
  353. Porting from OpenBSD/Linux to Solaris : daemon(3)
  354. Recording Process Startup (forks/exec etc) in Unix
  355. C for 6809?
  356. recv not completely overwriting last string
  357. Recursive Functions
  358. timer in milliseconds
  359. Copying struct and unsigned char buffer
  360. list optimization
  361. is there an alternative to strstr
  362. atoi question
  363. SQL without a database
  364. How to combine string
  365. Using stdarg with unknown types
  366. alternative to nested procedures
  367. C99: variable declarations inside switch statements
  368. Somple Recursion Question
  369. WINDOWS
  370. Market Confusion Solved
  371. how to parse INI files ?
  372. strange multiple definition of `login_user_login'
  373. sprintf segfaults
  374. Looping this
  375. Asking if elements in struct arre zero
  376. `void **' revisited: void *pop(void **root)
  377. btree
  378. Is this the optimal FIR filter on all platforms?
  379. Order of function evaluation
  380. wait until \n appears in string
  381. array size
  382. Ok to fclose stdin?
  383. reset char array
  384. debugging question
  385. Using "return" with parantheses?
  386. void pointers and more
  387. Dynamic file names
  388. don't understand declaration "unsigned int ip_v:4"
  389. Portable Test for long long Support
  390. New output model
  391. orgin of semicolon usage
  392. Simulating inheritance and non-member functions in C
  393. segfault on strtok
  394. Question About Strange 'C' Code Syntax ( Well strange to me anyway )
  395. comparison between signed and unsigned
  396. adding chars to a string
  397. [C] how to search a string ?
  398. HELP, INFINIT LOOP... simple LINKED LIST
  399. Barbecued Tri-Tip is better than C
  400. Simple Memory Allocator Challenge
  401. segfault when strcmp
  402. Best Way to Print Nature of Signal
  403. enum
  404. how to call unix shell scripts from with in 'C' code?
  405. random number generator
  406. a question about arrays and strings
  407. Weird syntax error with gcc and FreeBSD
  408. USB Programming
  409. gray code
  410. chunk_alloc segfault
  411. calculating 64 bit hexadecimals
  412. complete binary tree
  413. pBuf[i++] = Calc(pBuf, i);
  414. integer to characters
  415. One extern usage
  416. Programming error
  417. Reversing the order of some loops.
  418. Best method to sort a linked list (in my case)?
  419. OT Newsfeed test
  420. Troll Alert: C or C++ first?
  421. C program verrrry slow on Win98 DOS shell
  422. int a=printf("%d\n",a);
  423. code critique request
  424. Using __LINE__ as a string
  425. structures compatibility
  426. Is there a integer data type of one byte in gcc?
  427. Link Lists
  428. Syntax error?
  429. crypt equivalent for Win32 platform?
  430. warning - comparing a signed value to an unsinged value
  431. doxygen does not document functions ? u know a solution?
  432. Machinista Festival
  433. Returning values from a function
  434. question about structure array as a argument to a function
  435. Reading into an array
  436. I want to know about C-startup Routine contents and its modification
  437. combinations of a string ?
  438. sscanf return value with "%n" directive
  439. C vs Perl
  440. An Authors View on C
  441. An authors view on C
  442. Searching for C(++) source code to digitalize voice from MICROPHONE
  443. reading from a file without actually writing into its hard disk copy
  444. line of array from stdin
  445. should this work
  446. segmentation fault with gets()
  447. What style to choose?
  448. Identify letter combinations where order is not important?
  449. Does anyone have C library implementations?
  450. How to work with vgl?
  451. Small C Parser
  452. lex grammar
  453. freeing allocated memory
  454. extracting integer from array of char
  455. Test for seekability?
  456. how to write binary data to stdout?
  457. Why?
  458. NULL in C
  459. BuilderC/ size and time mofdification from files??
  460. how to convert double to short ?
  461. GNU Readline question (needed for tintin++ modifications)
  462. Pascal is better than C
  463. [easy] reading into an array
  464. Mangled function type declarations?
  465. C-loops explain plz
  466. Dulmage-Mendelsohn decomposition
  467. Initializer element not computable at load time
  468. Any elegant way to do this?
  469. inverse of a matrix for nxm
  470. macro trick?
  471. string routines go to never never land on unix
  472. Boolean Values
  473. Standards
  474. Empty parentheses
  475. Printf, array of structures and pointers...
  476. Shared memory & Semaphores
  477. tech help required..
  478. Offset/alignement of structure members
  479. reading from pipe
  480. help needed with filnames as command line arguments
  481. outp(PORTADDRESS,Data) function in C
  482. Union, ternary operator, Macro, printf don't cooperate for me. Help?
  483. union, ternary operator, and C. What a mess!
  484. Bit and Byte problem
  485. program
  486. Need help with my program
  487. build error on Linux - initializer element is not computable at load time
  488. Proper Way to Pass Numerical Values to a Function
  489. Problem: scanf used for double
  490. Macro question
  491. C99 question
  492. formatting strings
  493. functions returning *char
  494. Input without pressing enter?
  495. parenthesis
  496. macros
  497. Malloc statistics?
  498. undefined behavior?
  499. 4D array to malloc
  500. Code causes segfault on exit
  501. calendar problem
  502. Storing 4 characters using 3 bytes
  503. extract character strings from displayed web page.
  504. how to align static struct to a 4kb boundry
  505. malloc problem
  506. How can I set a integer array all bits to zero?
  507. How to extract bytes from a long?
  508. How to extract bytes from long?
  509. Implementation
  510. bugs in c
  511. Increment file pointer
  512. complex
  513. seg fault and I don't know where
  514. Simple Question
  515. Modifing existing header file
  516. Array[] from *ptr question
  517. String parsing question
  518. About FAQ 5.4
  519. object oriented programming language
  520. Char []
  521. volatile?
  522. question about memory shortage
  523. question about memory shortage
  524. Question about bit arrays and bit interpolation in C
  525. memory shortage
  526. Need graph isomorphism algorithm
  527. sorting and shuffling array
  528. question
  529. Unnamed union
  530. assembly to c code
  531. I can't find the error
  532. control reaches end of non-void function
  533. about fwrite( )
  534. How do I overload functions in C?
  535. How to call appropriate functions?
  536. using macros ...
  537. Why is MAXINT doubly defined in system include files
  538. How to handle pointers inside of a function ?
  539. powerpoint text extractor... Help!
  540. memory allocation
  541. Why are these different?
  542. coding conventions: pointers, structures, and unions
  543. representation of integers(again) very annoying..
  544. Need some info
  545. functions with no side-effects
  546. Do your worst
  547. Small Parser / processor
  548. How can I compile a file with different constants?
  549. Help me code a small programming exercise? File descriptors...
  550. Having C code looking like C++ code