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. ij = ic: 0;
  2. C FAQ 6.7
  3. can I use __FILE__ ,__LINE__ etc. in a code witout DEBUG defined?
  4. Read from a file
  5. how to get a double from the command line
  6. getc can return EOF, but ungetc can't sent it back... why?
  7. get number at end of string
  8. Returning an array from C dll to VB
  9. whats the significance of void * here
  10. "extern struct foobar" linux compilation warning
  11. C FAQ 2.18
  12. pointer initialization
  13. wotsits
  14. Regular C Programming Contest
  15. CurrentElement->next = CurrentElement->next->next (UNDEFINED?)
  16. The size of a char array
  17. stdio.h ?
  18. "Out of Memory" error during Borland C++ 5.02 compile
  19. Pointers
  20. How to best have c++ class-style structs?
  21. regcmp warning: improper pointer/integer combination: op "="
  22. Is this correct according to C coding standards?
  23. string array
  24. Explain Macro from avr-libc
  25. determing function arguments from data on the stack
  26. Balanced binary tree with fixed leaf nodes
  27. help need for beginner
  28. .defs & .s file extension
  29. Signal 11 error (core)
  30. How to open a word document in C
  31. Simple C containers, std::vector analog
  32. Can anyone give me program to find difference between two dates?
  33. Order of function parameters evaluation
  34. why flags r used
  35. flock() working mechanism..
  36. hi
  37. book on C
  38. Header Files
  39. K&R2 Secition 5.9 - major blunders
  40. process of compiling and linking
  41. [25% OT] C library integral part of OS/kernel???
  42. why the code does not compile?
  43. C/C++ Freelancer
  44. un-obsfuscating -> into pascal an IOCCC obsfuscated program
  45. Checking fprintf for errors and testing for existence of a file
  46. What's wrong of the the code for making a list??
  47. extern inline
  48. Plauger's book on Standard Library = still valid?
  49. printf("%p\n", (void *)0);
  50. can i get a pdf book for c unleashed
  51. Help with C
  52. va_copy
  53. Simple C Statistics
  54. Recommend any online references for abstract data types in C programming??
  55. operands for relational operators <, >, >= etc
  56. formfeed \f, vertical tab \v usage
  57. default type for constants like 12.5, 1e-3, float or double ?
  58. Repost: C guide giving specifications mentioned in the standard
  59. On the fly PDF!
  60. On the FLY!
  61. how can I connect Oracle database in C language?
  62. Undefined behaviour? Accessing s twice in a statement.
  63. Problem with C language
  64. why is this allowed if FOO is undefined: #if 1 < FOO
  65. How to convert an unsigned char array into hexstring in C ?
  66. long long problem
  67. A Type Conversion Question
  68. C Implementation Of Java Interface Class
  69. union with packed struct
  70. linked lists linux kernel how they works?
  71. An Example for Discussion
  72. Custom memory allocator - alignment
  73. Can we have inline functions in c?
  74. evaluation of arguments to a function
  75. Too many one line function calls
  76. what value does lack of return or empty "return;" return
  77. if EOF = -1, can't a valid character == EOF and cause problems?
  78. Sorting a vector in ascending order
  79. Sorting a vector in ascending order
  80. C guide giving specifications mentioned in the standard
  81. Bit stuffing in C Language
  82. playback wav buffer on Mac.
  83. Q: Newbee: #include "*.h" - What happened to <>
  84. Address within structure problem
  85. collating (mixing) two linked lists using C
  86. preprocessor and enum
  87. Creating socket programs as daemon
  88. assembler design in C
  89. Variadic functions calling variadic functions with the argument list, HLL bit shifts on LE processors
  90. multi-file programs - main.c recommended?
  91. segfault handling
  92. real-time programming
  93. swapd() undefined behavior?
  94. c standard
  95. Sorting of numbers or strings.
  96. String reversal from K & R 2nd edition
  97. using localtime
  98. Check my code please?
  99. if (-1) returns true
  100. Returning pointers from functions
  101. ISO: stack trace without using a debugger
  102. Bitwise operation for division
  103. static pointer
  104. how to determine which functions are called
  105. C Stack Corruption?
  106. C Libraries
  107. trying to run PurifyPlus in windows
  108. Help with Crash Dump
  109. Variable declaration in middle of block?
  110. Maximum number of arguments in a function call
  111. padding bits...
  112. how to count number of functions in c program
  113. experience definition in interview
  114. Binary-mode i/o, width of char, endianness
  115. Can I use C99 features yet?
  116. proper way to return errors to parent process
  117. (parallel) sorting pthreads
  118. return("hello")
  119. querry about compiling and linking
  120. calling my custom function same as library function
  121. Help With Strings
  122. Riding JNI[Java Native Interface]: Java to C and back
  123. Program entering the default case of switch statement always
  124. is this definition old-style or new-style
  125. "Streams"
  126. +++ SAN JOSE: SOFTWARE QA/TEST MANAGER, EMBEDDED SYSTEMS +++
  127. removing substring from string
  128. Odd Macro Problem
  129. Please critique my code/program
  130. Preprocessor log()?
  131. use of ++i, i++
  132. Reading/Writing other files from inside a C program
  133. how do I pass a generic comparison function?
  134. having trouble with basic multithreading
  135. comparison is always false due to limited range of data type
  136. Main function not defined
  137. Storing variable length data in file -- Paging
  138. functions
  139. C prog study
  140. #ifdef vs #if vs #if defined
  141. LDOM - Last Day of Month
  142. pointer to array v/s array of pointers
  143. getopt_long problem
  144. Beginner's question
  145. Projection of fractal surfaces
  146. Better VSS Remote Access Tool including SourceOffSite, SourceAnyWhere and VSS Remoting
  147. const function??
  148. Using a C++ class in C source file
  149. Why error in this code??? char*
  150. is (!ptr) or (ptr) valid way to check for NULL or NOT NULL?
  151. KWIC-indexing.............
  152. GCC linker throws weird message.
  153. How to check for internet connection
  154. string validation for int and long (strisint, strislong)
  155. where does cc send the output by default
  156. identity theft
  157. Python Online Programming Contest
  158. The Wisdom of 6.5.5(6)
  159. longjmp to the callee
  160. read vs fread
  161. cannot create 'c' executables
  162. assembly in a C language program
  163. doubt on regarding stacks
  164. Calculate the date after subtracting nmbr of days form a date
  165. Problems with DST in tm Structure
  166. calling a macro with ommitted input parameter?
  167. Trying to declare identifier locally and hide a file scope identifier
  168. linked list implementation
  169. Modulus of a negative number
  170. Program and Dr. Watson crashes for unknown reasons...
  171. calling external program from within C++
  172. The C Programming Language: Third Edition
  173. C linker error
  174. can I know how to write a html parser in C
  175. '#' conversion flag in printf() doesn't work with NULL character
  176. typedef declares object / enum to int
  177. char (*ptr)[]
  178. Video Playback Resources?
  179. "extern" inside a block
  180. generic data range monitor
  181. need expert help
  182. Memory leaks with realloc()
  183. Q: Newbee. Read and convert CSV file...
  184. PLZ ANYBODY KNOWS WHY ICAP PROTOCOL IS USED?
  185. greedy method
  186. streaming proxy
  187. Limit on maximum number of register variable in C program
  188. C question about Pointers and assembly
  189. Pointer doubt
  190. memset vs bzero
  191. help me understand this char array please....
  192. scripting
  193. Is this board a good alternative to the PC?
  194. expression evaluation : help!
  195. getting copilation error with gcc 3.4.2
  196. pow() problem
  197. Converting seconds to (Days, Hours, Minutes, seconds)
  198. error when allocating memory using a pointer inside a struct via a function
  199. number of machine instructions - for algorithm measuring
  200. FAQ 4.9 and void**
  201. My computer getting stuck when I debug in Visual C++
  202. "Bus Error" related to compiler option
  203. UCS-2 to ASCII
  204. is this stadard C?
  205. Function to replace multiple occurence of substring in a string
  206. what does it do?
  207. Temporary program suspension
  208. Portable?
  209. client server program code
  210. Variable list in pre-processor define
  211. Is correct ?
  212. how to use va_list
  213. how to use va_list
  214. Why Warning?
  215. Please help optimize (and standarize) this code...
  216. How to awake blocked socket read?
  217. what is .i file?
  218. HELP:I should in which newsgroup ??
  219. Help understanding this Macro
  220. Do objects have type?
  221. [Slightly OT] Trying to simulate OOP with C
  222. Fast Food nutrition database
  223. bitwise operators
  224. the algorithm of decimal<->binary conversion
  225. warning: assignment makes integer from pointer without a cast
  226. Reg virtual function and friend function
  227. Reg. copy constructor
  228. CR-NL, NL and ftell
  229. Literature incorrectly using word "scope"
  230. Verify that line exists in a file
  231. [C99] local VLA with dimension given by a global var?
  232. Binary number
  233. Drawing and images in C
  234. LPTSTR to char *.. How
  235. porting non-malloc code to malloc
  236. Segmentation fault in mallopt/malloc call
  237. Regular Expression
  238. where can i get the c library source code
  239. A salutary tale about alignment and undefined behaviour
  240. Fast addition for n+1 or n+0
  241. beginner's questions
  242. Doubt about how a linker generates a memory image
  243. virtual address or physical address?
  244. Spacefed Friends Online Gaming Community. Join Us!
  245. if?
  246. how to write a wrapper function?
  247. "token" "token sequence" "scalar variable" "vector" ??
  248. is casting (void*) to (FILE*) good?
  249. match enum to char* ?
  250. accessing and storing character arguements from command line
  251. getdate...
  252. if I define a function with no parameters, should i put void?
  253. Passing array to function
  254. sending text for editing in console
  255. Code in ASCII UTF8??
  256. Vmalloc help
  257. stringify with embedded quotes
  258. pcre.c : And Operator
  259. const ptr to const ptr ?
  260. what does this declaration mean?
  261. i want to use functions that don't return int, without declaring them
  262. converting a point known by 4 distances to xyz coordinates?
  263. need good IDE
  264. tanjent function - can someone check my code
  265. Taking advantage of cotiguous bytes in struct = portable?
  266. ( ) in precedecene table refer to function call or parenthesis?
  267. how to get aliagned memory using malloc
  268. name space and typedef
  269. ummm...... how to evaluate the formulae??
  270. Laptops, iPods, camcoders etc...
  271. shift right operator
  272. How to detect if file is deleted
  273. Testing a float for equivalence to a double.
  274. unsigned int with signed long int (same width) - how is conversion done?
  275. how this program works
  276. Help with research
  277. calling function that takes char**
  278. Search algorithm to use
  279. (float *()) means???
  280. C&C++ sources compiled as c++ with g++ (mingw)
  281. Portable pointer comparison
  282. va_copy in called function
  283. Sending output to printer
  284. bit vector
  285. Passing variable length arguements to another function.
  286. Accessing large >2GB file succeeds fails with open/read
  287. C compilation problem using autotools
  288. Control never returns from malloc()
  289. printf, padding integral double values
  290. multiple callbacks per function pointer / event
  291. track positions in arrays= index variables || pointers to elements?
  292. lexical grammar
  293. Best way to control that compiler manage variable names longer then 8 signs.
  294. Does C an ISO standard?
  295. C portability is a myth
  296. Posix regexec - matching subexpression
  297. C question
  298. Function Pointers
  299. text-formatting program problem...
  300. how disable F1 key
  301. gdb step
  302. transpose of a nx1 matrix
  303. C or C++ as a second language?
  304. intuitiv %f output
  305. undefined behaviour seems wrong and a big error
  306. Writing memory with GCC
  307. Making C better (by borrowing from C++)
  308. How to calculate size of an int without using the sizeof operator but using bitwise operator
  309. using mktime()
  310. Strange problem on GCC - PLEASE HELP!!
  311. Bit and Byte Order Portability
  312. Efficency
  313. pointers
  314. clearing read stream buffers
  315. Query on some code found within a struct
  316. conversion from void*
  317. read a string..writing a string
  318. double to int conversion yields strange results
  319. Your opinions on some code, please
  320. why this program is not crashing
  321. What is a sequence point?
  322. old style function definitions
  323. pointers
  324. cvode
  325. writing string field to disk file
  326. Anyone know a good newsgroup for Linux
  327. What is "image"
  328. Unions, storage, ABI's
  329. invalid pointer adress
  330. MATRIXES - Dinamic Memory
  331. scanf with strings
  332. pointers
  333. Reading whole text files
  334. uncode , multibye
  335. pointer cast to (void *) then back to original type = unchanged?
  336. What are anonymous objects?
  337. Is "scope" different from "visibility" ?
  338. how can I test for backspace if( (c = getchar()) == '\b' )
  339. Help! Esc button won't exit program
  340. getting cpp to insert a newline
  341. Data compression in Socket
  342. passing array to isdigit()
  343. C and unicode
  344. Union nested in structure.
  345. Syntax question, PASCAL vs. C
  346. initialize char string
  347. Can I buy C99 with TC1 and TC2 already taken effect in it?
  348. Static Variable Must Be Constant?
  349. Very very very basic question
  350. Are C pitfalls the mistake of standard or that of implementations ?
  351. Copy String structure "A" to string structure "B"
  352. Help needed with line-feed
  353. organizing mulitple source files
  354. Very strange problem using FWRITE() to write data to a binary file
  355. Casting return of malloc
  356. Best strategy for handling memory allocations
  357. Library of Physics Functions
  358. Interesting Quest - Any optimized way to find if consective one's exist in a word!
  359. Circular (triangular) structure reference
  360. [Trolling] assembly vs C language
  361. Casting pointer-to-void
  362. sscanf or vsscanf : want to scan a list of integers in c
  363. test
  364. Can a "value" overflow?
  365. Linked List simple problem
  366. restar program
  367. Collection libraries in C!
  368. color output
  369. dos window size
  370. Questions about shared libraries (.so)
  371. pointer sainty check
  372. C Unleashed Graphs are not Directed
  373. So I bought K&R...
  374. error: storage size of `xxxx' isn't known
  375. comma operator and assignment operator
  376. Checking time_t addition for overflow
  377. problems writing a printf/scanf function that handles both int and char input from the console
  378. math question in c algorithm book help please
  379. Inverse of printf %x format
  380. How to create a Text File Reformater?
  381. clc selected threads (30-jan-2005 to 31-jan-2005) #1
  382. utf8 -> ascii in c language??
  383. Need info about UTTARA computers or Uttara Info systems bangalore
  384. What exactly is lvalue & rvalue (old c.l.c. posts are all over the map)?
  385. Problem In code
  386. Will C work on the ENIAC ? ?? ?
  387. Any big differences between final draft before C89 and actual C89 standard?
  388. PLEASE HELP! Odd compilation error with GCC in Palm OS Dev. Suite
  389. Why C Is Not My Favourite Programming Language
  390. Environment Variable - Parent Process --- TIA
  391. can I use a pointer to step through memebers of structures?
  392. Array Lookup [Was: Why is "Hello World" const char* ?]
  393. Why is "Hello World" const char* ?
  394. FAQ issue: Guaranteed value ranges of fundamental types?
  395. is ++n equivalent to (n=n+1) ?
  396. syncronizing between two file descriptors open on the same file
  397. hide prompt when using system() on Windows
  398. Bitfields in a heterogenous environment
  399. printing bit representation of floats
  400. Macro Variable Argument List with __FILE__ and __LINE__
  401. how to write into flash memory in linux
  402. segmentation fault on private variable
  403. I've lied to the compiler and now it won't trust me
  404. file formating...help needed
  405. Off Topic: Does anybody here want a GMail account?
  406. History of far memory...?
  407. Salford project
  408. FTP Programming
  409. Conversion from Unsigned to Signed for bitwise.
  410. realloc() question
  411. EOF question...
  412. Finding 2 of the same elements in array
  413. printing % with printf(), use of \ (escape) character
  414. Extracting from a file
  415. Getting data from memory block / pointer issues.
  416. Does C/C++ provide something like "event".
  417. DDD debugger problem
  418. preprocessor tokenization whitespace?
  419. % inside if(), confused (help)
  420. Creating a message queue with a specific ID
  421. Watcom printf to stdout, I got it (was: I don't get it :-(
  422. Flexible array member + variable length array
  423. Memory management and allocation
  424. Is there a way to use substitutes of fixup() and _dl_lookup_symbol() in glibc?
  425. Pointer-to-pointer-to-pointer question
  426. Is the syntax for multi-dimensional arrays counter-intuitive?
  427. another printf question!!
  428. dynamicly build a list of strings?
  429. Detecting a PIPE in a program
  430. pointers to structures
  431. Q, 1 counting and memory usage
  432. eliminating unreferenced parameter warnings
  433. Why doesn't this print "Hi Charles"?
  434. meta-pragma
  435. Division with arrays?
  436. sqrt Behaving Unexpectedly --- Short Program Example
  437. how to read email address from a file and send mail??
  438. what is the prog coding for this question and what it output
  439. Arrh, something else is wrong! With almost identical code snipets to working code.
  440. help! strings
  441. calloc/free: a preplexing observation
  442. Signal Handling
  443. Looking for netBufLib.h
  444. Why do people call addresses "pointers"?
  445. What is affiliate marketing?
  446. new line character : scanf and getchar
  447. Why pointers can only be subtracted ?
  448. Pre-ANSI C functions and .NET browse information symbols
  449. File handling
  450. how to modify a txt file
  451. Sign error in K&R 1
  452. Finished a "teach yourself" book, what next?
  453. help broke prog up into functions now not working
  454. compiling quistion
  455. uniform random distribution
  456. sockets and connecting to other programs
  457. %x question
  458. UCHAR_MIN & UCHAR_MAX
  459. array performance
  460. Problems initializing a dynamically allocated 2D array
  461. What does this code mean???
  462. string initilization WHY?
  463. string initilization WHY?
  464. what is happening in C when increment this way?
  465. Calling subroutine in fortran module
  466. Nested conditional expressions ---- good idea/bad idea?
  467. Is my memory is not enough?
  468. function to count number of set bits
  469. Return to Start of Line?
  470. passing structs in and out of functions
  471. rand - is RAND_MAX how long before the same # will occur again?
  472. what is size_t
  473. Local variables within looping constructs
  474. using system("xxxxx")
  475. what's OOP's jargons and complexities?
  476. return statement at end of function
  477. sqrt
  478. Some complex function prototypes like signal()
  479. How to understand function prototype signal()
  480. Watcom printf to stdout, I don't get it :-(
  481. feasibilty of the memset operation on the FILE streams
  482. Fresher starting programming with C
  483. Sqrt precision ?!
  484. Initialize elements in an array
  485. run a command in background in C
  486. What this means? ---> struct resource *r = v, *p;
  487. Is there anyway to iterate STL queue ?
  488. integral promotion, arithmetic conversion, value preserving, unsigned preserving???
  489. Bit-fields and integral promotion
  490. reading a unformatted file
  491. Input unknown number of integers in a line...
  492. How can #define printf like function?
  493. string length limitation of printf
  494. passing a (const void *) into memset()
  495. passing arg char[X][Y] to function expecting (char**)
  496. Problems with Harbison & Steele
  497. What is the difference between signed and unsigned char?
  498. feasibility of stdin stream to feel up directly.
  499. some help pls
  500. some help pls
  501. Sqrt precision ?!
  502. reading a unformatted file
  503. enum...
  504. How to terminate a telnet session from within your C/C++ program
  505. [ IP validation math... ]
  506. error_message in cyrus imap server not working
  507. what is "variable-name-equivalence" in c?
  508. utf-8 to ascii
  509. use of do{...}while(0)
  510. ends_with() ?
  511. is this intentional?
  512. Q: recursive call to main, termination of program
  513. getline- to limit input (where do the unused characters in stdin go?)
  514. why use fprintf / size_t instead of printf/ int
  515. pointer to array of const objects
  516. Problem with integers
  517. substitute for string 0 termination
  518. the maximum memory size allowed in malloc
  519. Un plotter de fonctions mathematiques
  520. New and enhanced low cost C compilers
  521. porting from Borland 4.0 to Visual C 6.0
  522. size of a byte and int?
  523. Are constants and string literals considered "data objects" in c?
  524. strncat functionality
  525. simple question: namespace
  526. passing pointer->struct->pointer->struct to function. .. ??
  527. testing for the newline
  528. strtok/strtok_r woes
  529. DPMI and ISO C++ ??
  530. Why the Range of Int is less by one at positive side?.........
  531. Finding the time taken by a function
  532. What does const char *s mean? is s a constant or *s?
  533. Superbasic efficiency question
  534. What makes a good C/C++ programmer?
  535. IDE for C
  536. Ran across this cryptic code for C, I got blown away
  537. Multi-dimensional array initialization
  538. Rules for complex declarations
  539. Rules for complex declarations
  540. Rules for complex declarations
  541. Rules for complex declarations
  542. Rules for complex declarations
  543. Multi-dimensional array initialization
  544. Multi-dimensional array initialization
  545. The need for int to capture getchar()'s EOF
  546. Follow up on Producing Windows API program at Command Line
  547. Opensource developers?
  548. Java compiler
  549. "streams"
  550. Macro or eval() for constants at runtime?