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. converting to bits
  2. rolling back 24 hour times
  3. Integer array size
  4. passing double arrays from vb to a c dll using a type lib
  5. linked list problem
  6. overwriting in the terminal
  7. B tree, B+ tree and B* tree
  8. unsigned long long
  9. Portable int?
  10. Pointer Arithmetics and void *
  11. How to simulate keyboard.../dev/tty0?
  12. /usr/share/bison.simple: No such file or directory
  13. More loop style stuff
  14. Pointers, structs and memory allocations
  15. communication between two applications
  16. How to simulate keyboard.../dev/tty0 ?
  17. Code Review
  18. File size > 4 GB
  19. _wcsicmp api
  20. Help Needed for Marshalling Message
  21. Casting a void * into a 32-bit struct
  22. Pointer Challenge
  23. Serial Communications in ASCII
  24. Byte Alignment
  25. what should atoi() do with garbage input?
  26. Deciphering ISO C (Chap 6.3.2.3 - Pointers)
  27. how important are bitwise operators?
  28. Accessing via a pointer to 2d array.
  29. Two-iteration loop
  30. alan connor ==> troll
  31. Linking to an opened inode w/o links left: how?
  32. Info on Std needed
  33. C in Windows
  34. Should I learn C ?
  35. Date and Time Function
  36. C changing the value in initialized read only data
  37. C changing the value in initialized read only data
  38. %% in printf
  39. internal integer repres.
  40. A couple of questions re. the function prototype
  41. please comment
  42. Run time error: The memory could not be written
  43. cannot understand strrev implementation
  44. system(), renaming files and long filenames
  45. Given a date, how to find the beginning date and ending date of that week
  46. Floating point formats not linked
  47. RLE code review
  48. Terminal Controll...
  49. gcc bug?
  50. Segmentation Fault on Linux, but not on Solaris
  51. Is buf[n]++ a lvalue?
  52. fseek
  53. arand()
  54. How to avoid the error "Arg list too long" on IBM ?
  55. realloc question
  56. Rallocating a struct * *
  57. where wrong?how to correct?and why? thank you
  58. how to default prototype
  59. a simple problem about memory allocation
  60. Weird problem
  61. how to write os version independent code?
  62. Pthreads join
  63. const parameters
  64. Menu printed twice in calc prog
  65. Binary executable format for new language
  66. How do I delete lines from a file using "ofstream" ?
  67. variable argument list
  68. Multibyte VS. Wide
  69. Reverse a byte
  70. Where can I get a manual or a BIGNUM pakage? (bn.h)
  71. include path (gcc on win32)
  72. sizeof a struct
  73. nested procedures and the C language
  74. preprocessor question
  75. where to allocate memory
  76. C99 structure initialization in gcc-2.95.3 vs gcc-3.3.1
  77. how to print color screen
  78. Missing Header File
  79. An "acceptable" use of break
  80. view memory
  81. just got myself a copy of K&R...
  82. sizeof a struct
  83. Replace word in text file
  84. // in macro's
  85. connecting c,c++ to oracle in windows
  86. sizeof, is it a macro? function? or operation?
  87. comma formatted integer output (LONG POST)
  88. return a char array from a function
  89. Simple password dialog in C
  90. I can't execute my program(coded by c language) on AIX5.2(ML2)
  91. extern char and include practices
  92. Style of Local Variable Declaration
  93. hello everyone ,I'm c primer ,glad to come in here
  94. Boors ahoy
  95. A problem with reading in a character.
  96. new to ai
  97. forking in c
  98. const pointers
  99. About checking executable files
  100. structs and dynamic memory allocation
  101. return of pointer
  102. ANSI C compliance
  103. Trigraphs & entry
  104. malloc vs calloc
  105. New C Resource
  106. bivariate interpolation
  107. Use of nested loops.
  108. A problem about time()
  109. NULL?? How come??
  110. Volatile
  111. complex type
  112. running MPI
  113. segmenatation fault while allocating memory
  114. Structs in Java
  115. The difference between char a[6] and char *p=new char[6] ?
  116. funny problem in C program !
  117. Compile problem
  118. Getdate and gettime
  119. Linux - Getdate question and calling another program
  120. more hand written integer pow() functions (LONG POST)
  121. double casts
  122. substring
  123. Recommended group for C beginners
  124. va_arg and short
  125. A problem in using public library
  126. Dynamic array of matrices
  127. size_t and size of
  128. Designing an FTP Client
  129. "Mastering C Pointers"....
  130. C preprocessor conundrum
  131. this is a bloody hard one (for me...) please help me !
  132. Date Arithmetic
  133. CPU Serial Number
  134. a file count
  135. How to print a string of unsigned chars?
  136. how to print clock_t variables?
  137. tracking a segmentation fault
  138. Normalizing tm structure past 2038
  139. files and directories into an array of arrays
  140. pitfalls of signals
  141. A C-Program Question
  142. pass time(0) to srand() when generating random numbers.
  143. passing a va_list to sprintf
  144. very basic C question--K&R on a Mac
  145. very basic C question -- K & R on a Mac
  146. Compilation problem with platform upgrade
  147. do the equivalent of unix date(1) in C
  148. delete comments in .c file
  149. casting
  150. Pointers and Arrays in C??
  151. recursion
  152. Including headers only once
  153. Interactive AND Portable?
  154. work with dates
  155. how to scroll text?
  156. Need Help speeding up mandelbrot algo
  157. Timezone problem
  158. incorrect printf o/p for doubles
  159. Help
  160. Help
  161. #define problem
  162. The original subject seems to be quite descriptive
  163. Programming serial interface question (linux)
  164. How do I debug this sample
  165. Volatile
  166. Function pointer Advantage
  167. Named parameters
  168. Help with generating parallel line
  169. stylistic prototype question
  170. What comes between learning the language and coding for real projects?
  171. calloc(1,1) vs. *malloc(1)=0
  172. Linked list trouble...
  173. malloc and free
  174. arrow operator
  175. how to initialize a structure
  176. questions about combination using recursion
  177. Dynamic arrays
  178. String Permutation function in C
  179. build an interpreter for a simple language
  180. hi,how to define a bitstring type in c/c++?
  181. c#
  182. Concatenate bits, then convert to HEX
  183. Is a "cast" ever necessary in "return"?
  184. stdin and stdout
  185. Why are you still using C?
  186. combinatorics question
  187. writing an interpreter for a simple language
  188. Structs refering to each other
  189. Not reading data
  190. Operator question
  191. Limiting Recursion Selectively
  192. a small bsearch example
  193. Question About Example code, GlobalC
  194. purify-like tools working also for fortan 90?
  195. Using char
  196. C++ to C
  197. Porting from OpenBSD/Linux to Solaris : daemon(3)
  198. Recording Process Startup (forks/exec etc) in Unix
  199. C for 6809?
  200. recv not completely overwriting last string
  201. Recursive Functions
  202. timer in milliseconds
  203. Copying struct and unsigned char buffer
  204. list optimization
  205. is there an alternative to strstr
  206. atoi question
  207. SQL without a database
  208. How to combine string
  209. Using stdarg with unknown types
  210. alternative to nested procedures
  211. C99: variable declarations inside switch statements
  212. Somple Recursion Question
  213. WINDOWS
  214. Market Confusion Solved
  215. how to parse INI files ?
  216. strange multiple definition of `login_user_login'
  217. sprintf segfaults
  218. Looping this
  219. Asking if elements in struct arre zero
  220. `void **' revisited: void *pop(void **root)
  221. btree
  222. Is this the optimal FIR filter on all platforms?
  223. Order of function evaluation
  224. wait until \n appears in string
  225. array size
  226. Ok to fclose stdin?
  227. reset char array
  228. debugging question
  229. Using "return" with parantheses?
  230. void pointers and more
  231. Dynamic file names
  232. don't understand declaration "unsigned int ip_v:4"
  233. Portable Test for long long Support
  234. New output model
  235. orgin of semicolon usage
  236. Simulating inheritance and non-member functions in C
  237. segfault on strtok
  238. Question About Strange 'C' Code Syntax ( Well strange to me anyway )
  239. comparison between signed and unsigned
  240. adding chars to a string
  241. [C] how to search a string ?
  242. HELP, INFINIT LOOP... simple LINKED LIST
  243. Barbecued Tri-Tip is better than C
  244. Simple Memory Allocator Challenge
  245. segfault when strcmp
  246. Best Way to Print Nature of Signal
  247. enum
  248. how to call unix shell scripts from with in 'C' code?
  249. random number generator
  250. a question about arrays and strings
  251. Weird syntax error with gcc and FreeBSD
  252. USB Programming
  253. gray code
  254. chunk_alloc segfault
  255. calculating 64 bit hexadecimals
  256. complete binary tree
  257. pBuf[i++] = Calc(pBuf, i);
  258. integer to characters
  259. One extern usage
  260. Programming error
  261. Reversing the order of some loops.
  262. Best method to sort a linked list (in my case)?
  263. OT Newsfeed test
  264. Troll Alert: C or C++ first?
  265. C program verrrry slow on Win98 DOS shell
  266. int a=printf("%d\n",a);
  267. code critique request
  268. Using __LINE__ as a string
  269. structures compatibility
  270. Is there a integer data type of one byte in gcc?
  271. Link Lists
  272. Syntax error?
  273. crypt equivalent for Win32 platform?
  274. warning - comparing a signed value to an unsinged value
  275. doxygen does not document functions ? u know a solution?
  276. Machinista Festival
  277. Returning values from a function
  278. question about structure array as a argument to a function
  279. Reading into an array
  280. I want to know about C-startup Routine contents and its modification
  281. combinations of a string ?
  282. sscanf return value with "%n" directive
  283. C vs Perl
  284. An Authors View on C
  285. An authors view on C
  286. Searching for C(++) source code to digitalize voice from MICROPHONE
  287. reading from a file without actually writing into its hard disk copy
  288. line of array from stdin
  289. should this work
  290. segmentation fault with gets()
  291. What style to choose?
  292. Identify letter combinations where order is not important?
  293. Does anyone have C library implementations?
  294. How to work with vgl?
  295. Small C Parser
  296. lex grammar
  297. freeing allocated memory
  298. extracting integer from array of char
  299. Test for seekability?
  300. how to write binary data to stdout?
  301. Why?
  302. NULL in C
  303. BuilderC/ size and time mofdification from files??
  304. how to convert double to short ?
  305. GNU Readline question (needed for tintin++ modifications)
  306. Pascal is better than C
  307. [easy] reading into an array
  308. Mangled function type declarations?
  309. C-loops explain plz
  310. Dulmage-Mendelsohn decomposition
  311. Initializer element not computable at load time
  312. Any elegant way to do this?
  313. inverse of a matrix for nxm
  314. macro trick?
  315. string routines go to never never land on unix
  316. Boolean Values
  317. Standards
  318. Empty parentheses
  319. Printf, array of structures and pointers...
  320. Shared memory & Semaphores
  321. tech help required..
  322. Offset/alignement of structure members
  323. reading from pipe
  324. help needed with filnames as command line arguments
  325. outp(PORTADDRESS,Data) function in C
  326. Union, ternary operator, Macro, printf don't cooperate for me. Help?
  327. union, ternary operator, and C. What a mess!
  328. Bit and Byte problem
  329. program
  330. Need help with my program
  331. build error on Linux - initializer element is not computable at load time
  332. Proper Way to Pass Numerical Values to a Function
  333. Problem: scanf used for double
  334. Macro question
  335. C99 question
  336. formatting strings
  337. functions returning *char
  338. Input without pressing enter?
  339. parenthesis
  340. macros
  341. Malloc statistics?
  342. undefined behavior?
  343. 4D array to malloc
  344. Code causes segfault on exit
  345. calendar problem
  346. Storing 4 characters using 3 bytes
  347. extract character strings from displayed web page.
  348. how to align static struct to a 4kb boundry
  349. malloc problem
  350. How can I set a integer array all bits to zero?
  351. How to extract bytes from a long?
  352. How to extract bytes from long?
  353. Implementation
  354. bugs in c
  355. Increment file pointer
  356. complex
  357. seg fault and I don't know where
  358. Simple Question
  359. Modifing existing header file
  360. Array[] from *ptr question
  361. String parsing question
  362. About FAQ 5.4
  363. object oriented programming language
  364. Char []
  365. volatile?
  366. question about memory shortage
  367. question about memory shortage
  368. Question about bit arrays and bit interpolation in C
  369. memory shortage
  370. Need graph isomorphism algorithm
  371. sorting and shuffling array
  372. question
  373. Unnamed union
  374. assembly to c code
  375. I can't find the error
  376. control reaches end of non-void function
  377. about fwrite( )
  378. How do I overload functions in C?
  379. How to call appropriate functions?
  380. using macros ...
  381. Why is MAXINT doubly defined in system include files
  382. How to handle pointers inside of a function ?
  383. powerpoint text extractor... Help!
  384. memory allocation
  385. Why are these different?
  386. coding conventions: pointers, structures, and unions
  387. representation of integers(again) very annoying..
  388. Need some info
  389. functions with no side-effects
  390. Do your worst
  391. Small Parser / processor
  392. How can I compile a file with different constants?
  393. Help me code a small programming exercise? File descriptors...
  394. Having C code looking like C++ code
  395. Extracting text from a Edit Control ?
  396. Structure Creation
  397. complex I/O
  398. C99 comparison macro's
  399. Beginner struggling with pointer and string arrays
  400. Embedded Vs Java
  401. Header file parser?
  402. The '_' char in variable names
  403. Some Exercises
  404. function declaration nested?
  405. What is the value of (-1 >> 6)?
  406. scpp and expanding ifdef's
  407. [MinGW] Stack limit
  408. dynamic declaration of struct array
  409. linking error (using interbase 6.0 API library)
  410. piping/reading stdin quirks.
  411. new silicon valley venture funding group for csees
  412. comparing pointed-at value with another value
  413. How to find out the size of an array?
  414. How to enlarge a 2D polygon (conex, nonconvex)
  415. Can array[]=malloc()ed?
  416. cast from sc_ufixed to int in systemC
  417. Avoid having to press Enter
  418. Does standard C guarantee same memory content after realloc()?
  419. Let's write a c program, without knowing what it does...
  420. ignore a line
  421. why does this work ?
  422. borland c++ 6 (enterpise) manual
  423. Bit Manipulation
  424. 2 stupid array questions!!
  425. Pointer to memory
  426. hello hahahah
  427. Basic Array Question
  428. Why C doen't allow if member of the structure is static?
  429. about Boolean
  430. Will IM replace e-mail?
  431. Pointers to Arrays
  432. blocking i/o vs. non blocking i/o (performance)
  433. The const keyword and structures
  434. How can I open a file, skip first 2 lines and get the 50th character?
  435. compiling
  436. Set bits
  437. Source
  438. Multibyte string length
  439. inline assem problem with -fPIC gcc3.3.1
  440. C++
  441. The strangest problem....
  442. Carriage Returns
  443. anyone know about pthread_delay_np() function??
  444. Directory path
  445. clock() function
  446. array decay
  447. Any difference in creating array of strings
  448. Counter Intuitive Results: Optimising an FFT routine for Speed
  449. trapping library calls
  450. How to keep the address of one array in my case?
  451. i am writting a mail server with C
  452. why not use C?
  453. warning: assignment discards qualifiers from pointer target type
  454. direct access with fpos_t doesn´t work
  455. Just for fun
  456. Segmentation fault
  457. Trapping Ctrl-C, how?
  458. Casting a pointer to an enum
  459. Direct floppy disk access
  460. use of long double
  461. mysql_query hang's up
  462. Counter Intuitive Results: Optimising an FFT routine for Speed
  463. Counter Intuitive Results: Optimising an FFT routine for Speed
  464. release the memory help
  465. mktime and DST.
  466. How to access the global
  467. Is this a valid data structure??
  468. creating a thread
  469. Formatting numbers
  470. 3-d Integration Routine is Needed
  471. linux kernel system call
  472. Pre-offsetof() question
  473. 1254-002 Cannot find a rule to create target /u02/apps_r/dev/ben/lib/fcfz02.a from dependencies.
  474. Counter Intuitive Results: Optimising an FFT routine for Speed
  475. Still having trouble with malloc
  476. int (*daytab)[13] vs int *daytab[13]
  477. unicode
  478. The size of a bitarray??
  479. Functioning In C
  480. malloc
  481. Setting Time in C
  482. arithmetic on pointer to an incomplete type
  483. fscanf or fgets still misses last line unless there is a newline
  484. help request: clahe.c Graphics Gems
  485. sign magnitude, ones complement, two's complement
  486. why still use C?
  487. problems turning int into float (simple problem)
  488. recursively draw the line
  489. C Inlining
  490. A doubt about C's tree data struct
  491. Is argv[0] guaranteed to be a valid pointer?
  492. one before the end of array
  493. Read output from system( ).
  494. static allocation question...
  495. if(myInputString == "&&") fails, why?
  496. Typedef - multiple declarations
  497. Too Big
  498. casting pointers
  499. freeing memory....partially
  500. how to use fopen()?
  501. newlines in text files
  502. array of pointers on functions
  503. To coerce or not...? struct sockaddr vs struct sockaddr_in
  504. screwed up programmer
  505. Question on stack frame allocation space
  506. passing ptr to function to another function
  507. Funny
  508. malloc segmentation fault
  509. Avoiding Implicit Casting
  510. Today's Foxtrot comic strip
  511. Images (jpeg) in C programming
  512. default const
  513. What does f(x++) mean?
  514. code Critics please..
  515. const type question
  516. #if CONSTANT == 1 checking problem
  517. IAR, __ASM(), and *.s33 to *.C files
  518. Parsing error!?
  519. Function Overloading
  520. Fourier transforms (coefficient calculation)...
  521. Anyone mind reviewing my code?
  522. bulk assignment to structure
  523. Preprocessor directive
  524. programming style: which is clearer? (iteration vs. recursion)
  525. Linked list with void *
  526. Backup your projects neatly
  527. How dirty is setjmp+fopen+longjmp ?
  528. Attn. C gurus
  529. Stack & recursion Question
  530. Download
  531. clock() for timing
  532. how to avoid loop overhead of for(), while()
  533. Library call question
  534. Programmable Logic Circuits and C
  535. Parsing C declarations [savestruct]
  536. printing array elements
  537. A guide to reading C declarations available on my website
  538. integer and floating-point bit pattern
  539. Understanding ++
  540. Compilation with preprocessor macros defined with no value
  541. Binding problem - address already in use
  542. restrict
  543. Revue "Programmez !"
  544. Output undefined?
  545. Gap of two 0x00 between structs.....
  546. Circular Queue data structure ..
  547. bitwise not operator
  548. Multiple instance of process - memory conflicts
  549. Memory Managemant in C
  550. Monty Hall simulator: is there a better way to do this?