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