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