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