View Full Version : 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

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