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