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. is_ascii() or is_binary() for files?
  2. date and time arithmatic
  3. Re: reformat to tool/editor-compliant C style?
  4. copy constructor and return value optimization
  5. Writing an own string class
  6. information hiding vs. inlining
  7. Tramslator may send there resume for freelance work
  8. Re: reformat to tool/editor-compliant C style?
  9. Re: reformat to tool/editor-compliant C style?
  10. C++ Crawlers
  11. Strange Variable assignment - need translation
  12. A question about swap
  13. Variable swapping question
  14. Re: reformat to tool/editor-compliant C style?
  15. Query regarding iterators and vector
  16. beginner question about storing binary data in buffers, seeing binarydata in a variable, etc
  17. Base class returning children's data
  18. Re: reformat to tool/editor-compliant C style?
  19. Ragged array whose rows are of varying size
  20. Re: reformat to tool/editor-compliant C style?
  21. looking for R232 programmer
  22. std::vector: reserve required?
  23. How to differentiate a virtual device arrival/removal than a (real) physical device?
  24. Permutations of a given string
  25. Reversing a singly linked list
  26. c and C ++ viewers
  27. about array initialization
  28. Local array scope
  29. Strong Type generic Composite class
  30. Two functions running at once.
  31. Template accepting partial type names?
  32. Constant member of a class
  33. ptr_fun & tolower confusion
  34. char's and int's
  35. The Cathedral and the Bazaar
  36. Releade mode Query in VC++ application
  37. "Bad Address" error using recvfrom in cygwin
  38. C C++
  39. Do I pass an int by value or reference in constructor?
  40. Working through many typedefs
  41. Re: FAQ 20-12
  42. announce: New Google C++ Testing Framework
  43. How to call a function by a string of name & How to get the name of aclass?
  44. Launching a process (exe) using the same process id as the launcher
  45. Re: what 64 mean in fopen64?
  46. Custom Scanf Routine
  47. pointer
  48. cross compilation
  49. String parsing program
  50. 2-d dynamic arrays - what is the recommended method ?
  51. Question about struct in shared memory (C on linux)
  52. Surprising struct initialization
  53. termios interface question
  54. Can anyone tell me why the output of the following code is as given?
  55. get a window not a console
  56. WinMain()
  57. How to handle variable number of arguments?
  58. Bug in list of matrics represended as arays.....
  59. Problem with adding a data into a vector
  60. Class templates
  61. Simple pass-by-reference question
  62. Comp. Error : request for member 'dst_group' in something not a structure or union
  63. int8_t/uint8_t
  64. How do I convert string variable to char*??
  65. how can i write the iterator about my struct
  66. read and write columns
  67. Need advice on a project I may do
  68. virtual vs. function pointer
  69. About for_each usage
  70. Min and max of a POD
  71. Bug with compiler or am I just doing something illegal
  72. Problem with static downcast of base type to derived type
  73. perl library for C++
  74. forward declaration & virtual member function return derived class
  75. template; how to dont instantiate a function if type is a pointer..?
  76. for loop, two different types
  77. Newer StringBuilder? How to set String to null safely?
  78. vector vs map iterator
  79. trouble with std::find_if()
  80. problem listing files in a directory
  81. Learning C++ questions
  82. gcc error: instantiated from...
  83. handling overflow, underflow etc
  84. Post-Sophia mailing, updated core + library issues lists available
  85. Dev C++ compile problem
  86. initializing a local variable using a function
  87. skb_recv_datagram() Blocks
  88. Strcpy_s and strcpy
  89. compilation warning # pragma once
  90. implementation of recursion using pointers in c
  91. Is there an algorithm for integer multiply and divide at the same time?
  92. what's the meaning of 64 in fopen64
  93. when a c++ output stream operation fails
  94. using a linked list to store a word and determine whether its a palindrome
  95. fwrite don't work with me
  96. dereferencing function pointer types
  97. Help with audio format conversion
  98. setting pointers in array to NULL
  99. About Information Hiding Design Rules
  100. scanf
  101. gcc 4 can not resolve member var derived from base class in atemplate class
  102. Use const_cast to modify member variable?
  103. About career
  104. vector of vector's
  105. What does (void)myVar;
  106. Class overoaded operators
  107. how to initialize an stl iterator in vc2005
  108. Conversion error
  109. Re: Parallel multithreading for I/O operation in linux ?
  110. Available C++ Libraries FAQ
  111. How to replace this switch with preprocessor code.... whats theadvantage??
  112. Available C++ Libraries FAQ
  113. Write Unicode
  114. about end() usage
  115. wistringstream wierd problem (but istringstream works)
  116. Name of user's language, in English
  117. Multiple index maps
  118. [Commercial] : Hands on Technical Training on Linux Device Driver
  119. [Commercial] : Training on Advance C and Linux System Progamming fromProfessionals
  120. [Commercial] : Hands on Technical Training on Linux Device Driver
  121. [Commercial] : Training on Advance C and Linux System Progamming fromProfessionals
  122. Dereferencing pointer to incomplete type
  123. Changing the DLL reading filepath from it's .lib file.
  124. parsing error
  125. parsing a file error
  126. class instantiation question
  127. Re: Promoting unsigned long int to long int
  128. a[i] = a[j]... Dangerous?
  129. C++ Applications in Industrial Simulation
  130. is the syntax for fixed-length integers the same for C and C++?
  131. More Freelance Projects in C
  132. Freelancing Projects up for grabs.
  133. Some issue with pointers
  134. template specialization for pointer-to-type
  135. Initializing array of objects during declaration
  136. OOP
  137. How can I pass value from whole array to sequential array?
  138. Re: Promoting unsigned long int to long int
  139. Tool to delete unneeded methods/enums, etc.
  140. what is this syntax about?
  141. problem passing pointer array
  142. Re: Text Editor that Does Tables?
  143. Re: Promoting unsigned long int to long int
  144. Implicit conversion from int to double
  145. How to used JAVA code in C++.
  146. How to determine the GNU version from a compiled library?
  147. How to get template parameter, when i match a template?
  148. Re: Promoting unsigned long int to long int
  149. How do you update a Makefile?
  150. Runtime stack allocation
  151. Access a shared path through a service.
  152. Re: OFF TOPIC:Censorship By Google Groups Of My Post About Gordon Sauck Being A Police Agent
  153. API for encoding/decoding to base64
  154. ambiguous call to overloaded template function
  155. Using getnameinfo()
  156. Re: strcmp, please help me understand this
  157. file position
  158. Re: strcmp, please help me understand this
  159. sscanf_s cannot convert ...from 'WCHAR[260] to 'const char *' error.
  160. How to create static array of template class object?
  161. "ISO C++ forbids declaration of uchar with no type"
  162. Fast fmodf(..., 1.0f)
  163. Windows application
  164. VMCAI 2009: Call for Papers
  165. Memory layout of class
  166. YAPL - Yet Another Programming Language
  167. Basic question C++ exception
  168. program won't work
  169. Re: c++ class design: where to put debug purpose utility class?
  170. Re: Agenouillez vous, le miracle est en marche
  171. search for files
  172. Designing lower level classes.
  173. Writing a macro for checking close enough floating points.
  174. Writing a macro for checking close enough floating points.
  175. some doubts in glib code
  176. are stdout and stderr different
  177. this calls and checks strtol() correctly?
  178. basic question on c++ linking
  179. Write in C!
  180. Storing input into a character array
  181. Visual Studio 2008 .exe?
  182. How to debug macro?
  183. C, C++ and Perl Programming workshops by NYLXS
  184. C, C++ and Perl Programming Workshops from NYLXS
  185. Inheriting from std::ostream to override formatting.
  186. Reading a line from a file.
  187. Re: Courroie de distribution
  188. pointer question
  189. Question about interfaces
  190. how to make current member-function const: a problem
  191. inline + va_list
  192. Curly Braces
  193. Global variables.
  194. adding colums to text
  195. size of an array at runtime?
  196. Re: C newbie problem
  197. Lies of Billy Gates of Microcrap
  198. Lies of Billy Gates of Microcrap
  199. Re: C newbie problem
  200. C++ parsing problem
  201. Re: C newbie problem
  202. Re: C newbie problem
  203. generate numbers combinations
  204. Truncating integer
  205. Great new projects in C for freelancers
  206. Handling external ressource (aka How can I find a process' executablefile)
  207. Simple sscanf parsing problem
  208. syntax meaning
  209. (OT) Battery question
  210. exception handling (std::ios_base::failure)
  211. hai
  212. Write Function Pointer Array
  213. Re: using realloc for a dynamically growing array
  214. Re: directories
  215. Re: using realloc for a dynamically growing array
  216. Is this legal C?
  217. Re: Graphical representation of class relationships
  218. Platform independent types
  219. Re: Text Editor that Does Tables?
  220. Re: using realloc for a dynamically growing array
  221. Re: using realloc for a dynamically growing array
  222. Re: using realloc for a dynamically growing array
  223. Re: can u help me writing a program????
  224. Re: directories
  225. Re: can u help me writing a program????
  226. DMA in C
  227. Find projects in C(For Freelancers)
  228. Re: can u help me writing a program????
  229. Re: using realloc for a dynamically growing array
  230. Re: Initialising a map
  231. Re: OnClick Events of button does not come when I put them insidegroupbox.
  232. Re: Initialising a map
  233. Re: strcmp, please help me understand this
  234. Re: c++ class design: where to put debug purpose utility class?
  235. Re: strcmp, please help me understand this
  236. Re: Initialising a map
  237. pointer to a member of a member
  238. Re: Is this reference declaration legal?
  239. what does libm.a contain?
  240. Can size_t be used as a substitute to unsigned long int ?
  241. It's the continue for the latest article
  242. types, variable names and fields
  243. how to release memory?
  244. Representing a Sequence of Shorts in Bits
  245. Speeding up a program
  246. Re: newbee help : parser in C
  247. A tired question?
  248. single if vs if else
  249. Newbie Question about multiple system calls within loops
  250. Design... the right way.
  251. Macro to cause build failure if parameter not defined?
  252. can some one please tell me the cause of the error ?
  253. Building a struct within a struct correctly
  254. Path to the current running executable
  255. compile BCC 4.52 ancient program
  256. Why strdup
  257. properly using unions.
  258. How to learn C ?
  259. [Socket+thread] Send message to all client
  260. Searching a small file database
  261. Writing a structure into a file
  262. share a variable across two libraries
  263. The Cephes Mathematical Library
  264. Add items to an array
  265. Array has incomplete element type. GCC bug?
  266. does not contain debug information. Press OK to Continue
  267. Re: The type of argv in K&R2
  268. Re: The type of argv in K&R2
  269. Re: The type of argv in K&R2
  270. Re: The type of argv in K&R2
  271. C Text/Binary Files
  272. Array of struct & segmentation fault :-(
  273. Array of struct & segmentation fault :-(
  274. Embarresingly simple struct question
  275. zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz z
  276. A question about fputs()
  277. Address Book
  278. what is this declaration?
  279. Christmas trees
  280. Bit Padding and other questions
  281. Pedants
  282. Problem with UNIX/Linux Shared Libraries and Global variables ...
  283. Why no generic function pointers?
  284. is -pedantic bad flag?
  285. decrementing arrays
  286. Help avoid goto
  287. Getting the file name from a FILE *
  288. Re: newbee help : parser in C
  289. independent string functions
  290. Clever hints & tips.
  291. Re: newbee help : parser in C
  292. Re: Interesting problem dynamically forming func names ??
  293. In 3 moves, where can the knight go?
  294. Re: newbee help : parser in C
  295. Interesting problem dynamically forming func names ??
  296. Re: newbee help : parser in C
  297. Re: newbee help : parser in C
  298. library design
  299. print binary
  300. Re: newbee help : parser in C
  301. Re: newbee help : parser in C
  302. Re: newbee help : parser in C
  303. writev() on a SOCK_STREAM socket
  304. Pointer to functions
  305. PC-Lint: undeclared funtion
  306. looking for a checksum routine in C
  307. Do memory allocations need to be freeed every time?
  308. Using a link list over an array.
  309. Bitwise operators
  310. extract all hotmail email addresses in a file and store in separatefile
  311. Problems using getaddrinfo and friends using c99 standard
  312. Convert two char into one int
  313. Reading .ini files in ANSI C
  314. Memory allocation for array
  315. check if a double is odd or not
  316. concatenate a constant to constant string using macros
  317. C/C++ flow chart prepartaion and quality testing
  318. New secret was found
  319. error: implicit declaration of function `func_name'
  320. seg fault
  321. GNU strerror_r()
  322. Mathew Hendry's macro for binary integer literals
  323. fgets behaviour with strncmp
  324. how to organize my main file ?
  325. need review on "computer systems: a programmer's perspective" bybryant and o'hallaron
  326. Reentrant code
  327. Prep Courses for International Certifications by QAI,USA
  328. fopen
  329. How to transfer an address value without using pointers
  330. vmware job vacancy!
  331. More on alignment
  332. Accessing array elements within a structure
  333. Unable to resolve the symbols in shared library
  334. Understanding a function declaration.
  335. How can I print a red "Hello world"
  336. Complex Style
  337. Addition for 'short' unsigned integer types
  338. Alignment on stack arrays
  339. how to put 8 "int" => 10100010 into one character of type "char"
  340. how to put 8 "int" => 10100010 into one character of type "char"
  341. How come C allow structure members to be addressed like an array ?
  342. CPU temperature
  343. problem about const member in a struct
  344. Ultimate Prime Sieve -- Sieve Of Zakiya (SoZ)
  345. propagation of exceptions over module/language boundaries
  346. About += and ++
  347. mount() function problem !
  348. strtod valiation - beat it up
  349. Suggest USB to RS232 that works perfectly
  350. Wanted: C AST generator
  351. Strange compiler warnings
  352. Simple Compilation question
  353. ultra-fast loop unrolling with g++ -O3
  354. Struct declaration with no tag and no init-declarator-list
  355. Querry on pointers
  356. about getch()
  357. Cool as Ice
  358. const and compiler warning
  359. Re: Parallel multithreading for I/O operation in linux ?
  360. Question
  361. Re: Parallel multithreading for I/O operation in linux ?
  362. Re: Parallel multithreading for I/O operation in linux ?
  363. average true range
  364. destroying objects
  365. Question on gcc -O3 optimization (bug or feature)
  366. the de-facto way to "parse" input
  367. How to get the pid of a process that send a signal to my program
  368. getting -0.0 output ?
  369. p=(char *)malloc((sizeof(float))["\000\006\010\013\015\100"])
  370. array problem
  371. flowchart
  372. main - argv lowercase strings
  373. Proficient at C
  374. about operation of unsigned type
  375. Dynamic no. of arguments
  376. How to log execution of batch file in a txt file
  377. Need a good RNG and a LCG, both with a max period >= 31 bits
  378. Stupid or clever hack?
  379. Structure initialization
  380. What are the standard network functions provided in standard C?
  381. Header file with function implementation problem
  382. (void) pointer arithmetic
  383. range for int
  384. Writing to text segment
  385. String function problem
  386. C/DataDraw smokes C++/STL on EDA-like benchmarks
  387. L_tmpnam macro
  388. Is this code in gcc 4.3.1 valid C or is Sun compiler wrong ??
  389. How to left pad a string with spaces?
  390. One for the language lawyers
  391. doubt on char *
  392. Finally one site with all the C fundas
  393. C_INCLUDE_PATH and gcc -I option
  394. open stdin a second time
  395. quarry: Infinite loop without using for , while, do-while
  396. finding color of bits
  397. Defining variable in C header file related doubt
  398. fgets question
  399. empty macro arguments
  400. 64 bit version of lcc-win
  401. Re: parsing variable arg lists via va_list pointers (any gurus here?)
  402. Re: parsing variable arg lists via va_list pointers (any gurus here?)
  403. input a string in gcc
  404. printig effort
  405. Assigning a pointer to an array
  406. send email
  407. Compiling problem
  408. How to avoid including C files in other C files in an old code base
  409. pointer variable vs reference variables
  410. A CT&P excursion - beat it up!
  411. Re-use the argument?
  412. Best Prometric Test center in Bangalore (like Microsoft, SunMicrosystems, CISCO, Exin - ITIL, Dell, HP)
  413. 100 Tools For Blogging
  414. Invalid results from exp2 function (C math library)
  415. Turbo C Strange Problem
  416. Lookup PID from Port.
  417. Accessing flags
  418. oscillator
  419. What would be the right warning/error?
  420. memory measurement : different value between top/ps and mallinfo
  421. Is this a valid Struct in C
  422. Is this a valid struct declaration
  423. Executing data
  424. Converting #define value to a variable
  425. Middle of a singly linked list of unknown length
  426. Cast to pointer to multidimensional array
  427. sqrt() double trouble
  428. FAQ question (1.13)
  429. fwrite, fgets binary file readback problem
  430. How to printf 'n' characters from a char* to a file?
  431. strcmp() fooling me? :o
  432. warning while making cast
  433. Including compiled C source file in array
  434. C history - peek()?
  435. Marking a Page of Memory Executable
  436. calling conventions
  437. Job request
  438. how can i large divide?
  439. Naive parallel implementation of Mersenne Twister random numbergenerator
  440. Bug in memory, but not revealed
  441. Iterating Through Variable Names
  442. Portable printf extension ?
  443. Example Needed
  444. Re: parsing variable arg lists via va_list pointers (any gurus here?)
  445. Segmentation Fault at fwrite... Help
  446. Re: parsing variable arg lists via va_list pointers (any gurus here?)
  447. Implicit loop and reading in an unknown number of variables
  448. pointer confusion - any hints?
  449. Bug/problem with lcc-win
  450. Vanilla Ice is back!
  451. Re: Intelligent stack?
  452. Automated source builds...including downloading?
  453. Re: Intelligent stack?
  454. Re: Intelligent stack?
  455. bit position
  456. main exit/return
  457. Eiffel - Compiler
  458. Re: parsing variable arg lists via va_list pointers (any gurus here?)
  459. storing data in file instead of memory
  460. Best Prometric Test center in Bangalore (like Microsoft, SunMicrosystems, CISCO, Exin - ITIL, Dell, HP)
  461. Re: parsing variable arg lists via va_list pointers (any gurus here?)
  462. The most comprehensive furniture information .You will find the mostsuitable for you!
  463. Re: *** How the "RASCAL" President Woodrow Wilson was blackmailed like PUPPET by the AGGRESIVE, MANIPULATIVE KHAZAR Zionists ***
  464. When to use const modifier?
  465. definations of built in library functions
  466. preprocessor #include
  467. Linked list
  468. example program
  469. Freshening the FAQ
  470. I think this is a problem in gcc.
  471. static and initialization rules or 0 is 0.0 is NULL
  472. Bad code or bad compiler?
  473. how to read integers from a text file
  474. time problems
  475. struct padding ???
  476. function
  477. strtok question
  478. private functions
  479. Tell you a great News website www.orlink.com
  480. How to print an array of char backward.
  481. Help with atoi function for a numero program.
  482. printing error messages
  483. error handlling in recursive function
  484. passing copy of a pointer to a variable vs passing the copy
  485. Expanding buffer - response to "Determine the size of malloc" query
  486. Re: reporting typedef errors automatically
  487. Pointer to qualified poitner to qualified object
  488. reinitialization an array
  489. How to avoid a lot of switch case
  490. Re: reporting typedef errors automatically
  491. Re: reporting typedef errors automatically
  492. How to trace function calls?
  493. Four or Two Bytes?
  494. Re: reporting typedef errors automatically
  495. Get 1 million hits, FEE!
  496. Is it possible to "destroy" a local variable ?
  497. C lib functions
  498. Re: reporting typedef errors automatically
  499. Re: reporting typedef errors automatically
  500. Re: reporting typedef errors automatically
  501. Re: reporting typedef errors automatically
  502. checking for close enough floating point values.
  503. Re: in strspn(): what "spn" stands for?
  504. Challenging Logic
  505. Noob Q: How to properly type cast in this case
  506. the difference between \r and \n
  507. fscanf to read string between " mark
  508. Seg fault + string manipulation
  509. i = i++;
  510. Preprocessor directive including another one
  511. Challenging Logic
  512. understanding pointers
  513. completely stuck
  514. what is the output of this program?
  515. c to asm source lines ratio
  516. query about printf
  517. calling function in C
  518. Re: in strspn(): what "spn" stands for?
  519. pointers to rows in Burrows-Wheeler Transform
  520. Reading binary packet
  521. acomplia canada suisse achat acomplia Pro on acomplia canada a vendreacomplia canada aucune prescription comprimes de acomplia en France bon marcheacheter votre acomplia citrate de Rimonabant bon marche us usa acheter duacomplia canada bon marche aco
  522. acheter du acomplia cinq acomplia par email PERTE DE POIDS en Franceacomplia canada soft en ligne acomplia belgique acomplia belgique bon marcheacheter du acomplia en ligne sur internet
  523. xenical belgique citrate de Orlistat on xenical a vendre xenicalcanada soft en ligne acquerir
  524. malloc()/realloc() - have I got this right?
  525. preprocessing statements
  526. valid code
  527. i want to know what the following function is doing?
  528. Problem with message queues / msgrcv
  529. Optimizing structure memory allocation
  530. Detection of a loop in a linked tree (or linked list)
  531. scope of struct
  532. pow type problem
  533. Very Small C Compiler which can generate DLL files?
  534. how to come out of file
  535. Pre-processor peculiarities
  536. Running a program (gperf) inside another C program
  537. File operations in Linux
  538. pointer size depends on what
  539. about memory model
  540. replace substring
  541. Re: Address of an array = address of its 1st element: undecidable question ?
  542. difference between a pointer array and a stack array?
  543. Re: VLAs with threads
  544. port
  545. Avoiding used uninitialized in this function warning
  546. splitting an array.
  547. Very basic Include a function in a program
  548. splitting an array.
  549. Numerical Recipes vector and matrix definition
  550. Need help with multi-dimensional arrays and functions