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