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. Newbye quetion: Why a double can store more number than a long ?
  2. C++
  3. 2 straight forward Questions
  4. Array problem
  5. Pointers and variables
  6. clearing a vector
  7. Two-Dimensional Bubble Sort
  8. bleading edge by Jack Reeves
  9. passing an argument by reference
  10. Global objects
  11. using-declaration vs. using-directive
  12. Passing Dynamic Arrays to a function?
  13. Making explorer style folder view...
  14. "virtual pair"
  15. ISO C++ forbids declaration of "tst" with no type
  16. How does ## macro operator work?
  17. api mysql and C++
  18. static keyword inside member function
  19. help!! to solve this c++ code
  20. new programmer needs some help
  21. Open a file from memory?
  22. Array of classes
  23. Miracusly incorrect calculations
  24. Search function
  25. CalendarMonth adn DateTime
  26. istrstream, simple but????
  27. Change the order of an array
  28. Why down-casting is done here?
  29. no default constructor -- bad form?
  30. Keyboard Hook Problem (seems verbally unsolvable)
  31. Changing the direction of bi-directional iterator
  32. Specifying __stdcall for function pointer as parameter
  33. File inclusion
  34. Add an integer to a string without using std::stringstream
  35. Concrete class
  36. PPC and atoi
  37. itoa problem?
  38. operator= with non-const reference parameter
  39. DLL with windows Me
  40. ispunct()
  41. Default copy operator on derivated classes
  42. Microsoft C/C++ Optimizing Compiler Version 7.00
  43. Round float to X significant digits
  44. Device Context
  45. Quick cast style question
  46. Visual C++ Forum
  47. How to handle mutually dependent classes
  48. STL question: is this O/T ?
  49. unresolved external symbol/using an external dll
  50. Dev. Env.
  51. Q/Confused
  52. simple conversion from C to C++
  53. Programme Help
  54. Subscript Operator
  55. Problem with overloading function templates
  56. Initialization of virtual function table pointer
  57. Initializer list issue
  58. best book on advanced generics?
  59. Returning string from dll - memory leak?
  60. Pointer to Class prb
  61. "Run-Time Check Failure #2" on Xerces & Xalan (Bug?)
  62. Program to rename C/C++ symbols (variables/functions)
  63. using template
  64. Always avoid "new"
  65. Stylistic question -- initialization lists and vectors
  66. How to Install SGI STL into MS Visual C++ v.6.0
  67. Log File Program: problems btw compilers
  68. Compiler identification macro?
  69. memory usage profiler -- unmanaged code!!
  70. STL sort on arrays of pointers
  71. cin, iostream problems
  72. Character Array & Initialization Lists
  73. swap() implementation curiosity
  74. Pointers to member functions and default parameters
  75. slice_iter and valarray
  76. Summer School on Garbage Collection & Memory Management
  77. int64 question
  78. pimpl or precompiled headers?
  79. Question about simple gmake Makefile
  80. Writing to memory instead of FILE
  81. opening files
  82. ozone filter
  83. Samsung CD-R/RW SW 248B problems writing data
  84. template & void argument
  85. crawling the net...
  86. Question about ADL
  87. Redirecting standard input for external application
  88. private/protected
  89. how are exception expensive?
  90. A "new" instance
  91. "interface"
  92. Copy Constructor -Query
  93. Anti-Grain Geometry - 2D Rendering Library
  94. leading underscore for member names
  95. What is boost's unspecified_bool_type?
  96. "using namespace" within a class declaration?
  97. numerics and scientific calculation
  98. template and disambiguation
  99. Using C++ to wrap Java
  100. Iterators and containers STL
  101. Reduced bit number in short
  102. I need Information to print a barcode in VC++
  103. C++ Container question.
  104. c++ memory leak detection
  105. Class members, pointers or not?
  106. FILE out of memory
  107. Populating an STL vector from a struct which reads from a text file.
  108. KYLIX AND MS WINDOWS PLATFORM
  109. Dynamic creation of objects
  110. Flatten a dynamic array
  111. gprof
  112. Umlaut letters in C++
  113. Declaring war on macros
  114. Speed up you typing speed more than 100 wpm
  115. Busting Windows-to-Linux myths
  116. Busting Windows-to-Linux myths
  117. Question on: IsDialogMessage
  118. Derive or not to
  119. Object Creation
  120. Simple question
  121. Why won't the compiler tell??
  122. Does C++ have a standard symbol representing the value Pi?
  123. inheritance problem - base class redifinition
  124. VM Size!!
  125. "catching" a base class pointer as the derived class
  126. dynamic class members workaround
  127. how to display 12345 as 12,345 ??
  128. Explicit copy constructor
  129. Problem with virtual in derived class
  130. STL: Cannot use STLs even though it exists..!!
  131. take data out of a stream
  132. STL: Converting a string into a list of string
  133. Xcode and cppunit
  134. Inheriting from fstream
  135. Array and string type
  136. copy constructors and printf
  137. Problem: sockets
  138. abstract class & template methods
  139. find version of binder and Linker in g++
  140. Problem with time() using g++
  141. Terminology Question
  142. deque iterator problem with const
  143. Namespace Problem ... I Think
  144. Reading a small text file contents into an array
  145. write and read the xml file using c++
  146. openGL for C++ programming
  147. manipulators act strange under g++/gcc-2.96
  148. Problems using Boost, Pls Advise
  149. where I can find largest Standard C++ library list?
  150. volatile
  151. Struct vs. class as simple container
  152. problem with a calculation
  153. duplicate filestream
  154. Mock Objects Tool
  155. forward declarations and namespaces?
  156. Whats the best book for a beginner
  157. hash_set : need the location /index where stored .
  158. whats wrong with this simple code?
  159. delegation class question
  160. bit twiddling in C++
  161. Optimization of template code
  162. Make a software & interfacing it with access control card reader
  163. Overloaded << and >> - Why Friend, Help
  164. ostream implementations (str, f, cout ) work slightly differently
  165. CreateProcess DEBUG_PROCESS children termination
  166. multithreading
  167. Two C++ questions
  168. STL sort question
  169. GUI for C++ programme in Visual Studio .NET
  170. how to display 12345 as 12,345 ??
  171. MS compiler bug?
  172. Headers/Libraries default locations
  173. sorting in alphbetical order
  174. Large numbers
  175. Private vs. protected inheritance
  176. read float value from file
  177. std::string.find_first_of()
  178. How to use map::iterator
  179. HELP!
  180. gcc and g++
  181. linkedlist and checking for duplicates,
  182. Profiler
  183. Function Pointers To Member Functions
  184. Double -> C-String conversion
  185. Randomize STL stack
  186. What good ways?
  187. polymorph object - why doesn't it work???
  188. click through window
  189. detecting if application is closed?
  190. sort not working
  191. stl binary stream question
  192. Sort the strings based on their numeric values
  193. Help for Head File sequence Problems
  194. Binary Trees
  195. undesired cout behaviour
  196. 'Best Fit' match with Strings
  197. Vector question
  198. grouping different kinds of food
  199. C++ plugin framework
  200. "Ravenscar-like" profile for C/C++
  201. Complex struct or Array
  202. constant array size during declaration ??
  203. how to do a simple loop to store strings ??
  204. Character Handling Question
  205. Passing arrarys from a function to another function.
  206. Declarations and Definitions in One Header
  207. INCITS/ISO/IEC 14882:2003 vs INCITS/ISO/IEC 14882:1998
  208. C++ From the Beginning by Jan Skansholm
  209. To inherit or not to
  210. Efficient pseudo-random number generation
  211. how to count the occurance of a character in a string ?
  212. how to convert string to integer??
  213. Union
  214. EBCO and inheritance
  215. long double How are they stored in memory?
  216. gcc doesn't compile templates
  217. bitset<n>
  218. why can't use string for getline()?
  219. What is faster? C++ vector sort or sort in database
  220. Cubic Root
  221. size of long
  222. protecting my char*
  223. ifstream problems
  224. Giving proper credit to 'template metaprogramming'
  225. Is C++ really portable?
  226. conversion from unsigned
  227. typename missing
  228. non-type template args and friend declarations
  229. restriction of a two-parameters function to a one-parameter function
  230. member functions pointers and subclasses
  231. def copy ctor and member-arrays
  232. could/should allocator<T> be a static member?
  233. analysis tool.... other than purify
  234. Compiling template function
  235. Access violation not caught/trapped by Visual Studio or Dr Watson
  236. lifetime of temporaries
  237. A* search
  238. A function that returns a pointer on a function
  239. Comments please
  240. How to do the implementation?
  241. eclipse and c++
  242. "using namespace" question
  243. pointers VS reference variables
  244. Looping through a <vector>
  245. Deriving a regular class from a template?
  246. Design Question
  247. Maximum size of an array
  248. cross compiling
  249. Friend functions and template classes
  250. Static code analysis
  251. C++ Project Files?????
  252. book for programming
  253. vector : reserve(LONG_MAX)
  254. Visual C++ Toolkit - .dsw compile?
  255. vector product
  256. char, unsigned char, and binary file io
  257. Hashtable
  258. make and other tools
  259. Beginner Question
  260. Unicode
  261. indexing library for C++
  262. How to return a string of arbitrary length to caller?
  263. Servlets in C++
  264. C++ & nmk problem
  265. interface M
  266. A list of reference?
  267. priority_queue<> underlying container
  268. TU to XML
  269. cout not defined !?!
  270. Indirect recursion and templates?
  271. STL - Vector - Normalization ?
  272. Beginner needs help fast
  273. Is there a library manipulates configuration file?
  274. sentinel
  275. Binary Tree Using Dynamic Array
  276. Selecting const vs non-const methods of teh same name at will
  277. Why const and non-const?
  278. Container elements with const members
  279. need help on a syntax in conditional operator
  280. Another exception question
  281. A type conversion question
  282. template question using named constructor
  283. Isn't this assignment safe?
  284. Inheritance vs containment for policies
  285. Need help with template problem.
  286. inheritance with templates
  287. Compiles in visual studio but not in g++
  288. Initialize int and char with maximum values
  289. BCB: TextEditor
  290. Opinion) Overuse of symbolic constants
  291. deleting this
  292. Date and time conversion
  293. Diff Utility for C++ class
  294. [RM] SOLE
  295. Number of digits of float value
  296. using iostream in gcc
  297. Visual selection on TListView component goes away when focus changes: C++ Builder
  298. Another composition
  299. Composition
  300. using old c libraries
  301. question about static variables
  302. std::stable_sort with predicate woes
  303. Using centinel
  304. I have created a website "lookup" i dont think its gonna get bigger and fancyer than it already is but have a look
  305. std::string and refcounting
  306. Sorting vector of structs depending on different data members for each sort
  307. Trees without explicit memory management
  308. Std Map .. Help
  309. Huge memory problem
  310. Pointer to a template function
  311. Is posible erase element while iterating in a stl container ?
  312. I need an understanding of what C++ is good for -Thanks
  313. Formatting decimal places
  314. Naming convention from my point of view
  315. how to build a recursive map ?
  316. Overloading global new[] array operator in visual c++ 6.0
  317. redefining cout (for using printf/mexprintf)
  318. I canīt understand it!
  319. Function pointers to printf
  320. Decompiler
  321. external variables
  322. Student question on external calls.
  323. I have no idea why this isn't working - must be missing something simple
  324. Overloading []
  325. Problem with templates and inheritance
  326. adding bitmap to button
  327. [Q] Template: Undefined Constructors
  328. Templates and Trading Cards
  329. libstdc++ 3.3 class reference
  330. Modifying through pointer-to-const
  331. Ctor initialization lists: three details beyond the FAQ-lite
  332. problem with std::map find()
  333. Algorithm advice needed for std::map
  334. what is a compound class
  335. C++ container question
  336. create a variable name with the value of another variable
  337. How to port this snippet?
  338. Tradeoffs between multi and non-multi associative containers
  339. The term "associative"
  340. ray tracing library for windows
  341. C++ and Middleware
  342. Why is OO popular?
  343. Beginner Programmer needs help
  344. Stack Machine Implementation in C++
  345. key press recognition please help.
  346. istream_iterator & copying files
  347. g++ istream::readsome trouble
  348. wwwww
  349. ifstream
  350. Open Com Port > 9 with C++ ?
  351. the behavior of g++ 3.3.1 exception
  352. C++ danger to break due to its weight, fragmentation danger - C++0x
  353. Initializing a static const member array of a class type
  354. how to walk a binary tree
  355. Is a list template class needed?
  356. Discussion regarding hot/ cold splitting of structures.
  357. C not compatible with C++?
  358. The "const" modifier
  359. Monitoring events in my program and emailing reports
  360. g++ (3.3) bug?
  361. GUI capabilities for C++
  362. The Gist of Object Oriented Programming
  363. "static" question
  364. Q: Return value optimization thru several function calls?
  365. c++ to java code converters needed
  366. EOF problem
  367. speed vc++ vs. c++builder
  368. Linking problem
  369. What's wrong withthe code?
  370. Clarification regarding #include declarations.
  371. Clarification regarding #include declarations.
  372. unary operator- question
  373. Unresolved External Symbol
  374. Is this legal?
  375. hi problem, with c++ code i am learn so plz tell me what i did worng and how fix
  376. composition/aggregation: would like to use constructor body rather than initializer list
  377. Link crawler
  378. Struct vs Class
  379. How to find out object type - PLEASE HELP
  380. Weird runtime error
  381. simple pointer question
  382. About Virtual function
  383. How to make click-through windows
  384. Available C++ Libraries FAQ
  385. std::valarray vs. blitz::Array
  386. can't link class with static methods and members
  387. Implementing exceptions of C++ in C
  388. Any SDL Users out there? I need some help.
  389. Q: linker error with a missing method
  390. Style (or otherwise?) question: creating temporary to invoke function
  391. Binary Search Tree
  392. Some C/C++ books
  393. Are there any problems with this?
  394. [Faq-20.6] What is a "virtual constructor"?
  395. looking for crossplatform layer between gui and database
  396. compiling under cygwin with intel windows compiler icl 8.0: is it a good idea?
  397. Index a #define string
  398. using OpenGL from Borland Builder6
  399. Would a static_cast be better style here?
  400. parsing a string
  401. delaying video capture preview
  402. Buffer size & Prebuffering size?
  403. STL map sorting and merge?
  404. ddd or insight?
  405. DDD or Insight?
  406. feedback on C++ code snippet requested (standards compliance, efficiency, etc)
  407. Compiler Quirk or Language flaw?
  408. Duplicating objects with a common base class
  409. char*& or char*
  410. unbuffered output file
  411. const structure & member pointers
  412. Print a file
  413. osstream and stuff
  414. C++ .NET class member initialization
  415. STL Functionality
  416. You learn something new every day...
  417. Virtual Constructor and Covariant Return Types
  418. how a pointer is passed by reference as a function argument?
  419. What does "C++ doesn't support modules" mean?
  420. Nested templates and friends
  421. What are the codes doing?
  422. three times copy ctor called, one ctor called, why?
  423. compile problem
  424. How to represent a fraction in HEX?
  425. OOP Language for OS Development
  426. hhow to detect overflow in integer calculation
  427. Inheritance
  428. C++ Release memory problem
  429. debug assertion failed
  430. Bison/Flex To ByteCode
  431. A way to decrease executable sizes?
  432. Dump Memory Pointer?
  433. is this valid ?
  434. Hash table in C++? STL?
  435. C++ Error
  436. sleep()
  437. Robotics
  438. The future of C++
  439. Strange abortion of for loop
  440. What's wrong with this function
  441. Problems with multiplications of doubles and/or floats
  442. getline
  443. automatic source code
  444. Question about my MIPS Program
  445. Problem with Cast
  446. OT & FYI
  447. Dereferencing this in constructors initialiser list
  448. using exceptions to stop object creation
  449. call graphs with doxygen and dot cause problems
  450. Doing Program~
  451. CX-Post: hello world
  452. Overloaded operator in a Class template
  453. ifstream
  454. Question
  455. compile error
  456. c++ code for embedded systems
  457. Question about DDD debuger.
  458. Static local variables inside instance members
  459. Selef-cleaning trees
  460. Does your favorite C++ compiler support 64-bit integer types?
  461. Why do I need the typename keyword?
  462. Class design question
  463. Virtual Machine and Byte-Code
  464. malloc replacement for windows
  465. mallac replacement for windows
  466. couting cout.
  467. How to initialize a char*?
  468. difference between a C++ macro MAX and the C++ template
  469. Exception Handling and Math Errors
  470. Error running program in XP
  471. Seeking optimization advice
  472. delete this
  473. converting 1944 to '1','9','4','4'
  474. how to view thread priority in a debugger
  475. APPHELP.DLL and USERENV.DLL & Win98SE
  476. Question again?
  477. Question??
  478. Structure of the code (files, dir's, namespaces, makefiles)
  479. Buffer overflow protection
  480. A stupid problem ...
  481. OLEDB
  482. Combinations/permutations algorithm in C++
  483. STL
  484. Pull TxD high in serial communication VC++
  485. new of an object without assigning it to any variable
  486. Three Classes Share One Memory
  487. How to Initialize const static object data members in a header file?
  488. Looking for an example of C++ program
  489. Non default constructor for array objects
  490. Please comment on the code
  491. Pass vector into a function
  492. How can i programicly find out what operating system i am using?
  493. The STL by Plauger, Stepanov, Lee and Musser
  494. Allocation / Delete problems
  495. C++ friend function
  496. Linux STL and GThreads
  497. SGI STL
  498. a couple programs
  499. Is it standard and practical to use long long types?
  500. char* combination problem :(
  501. string::npos + 1 ???
  502. What'ch think of my program? *fixed word wrap*
  503. FAQ: slashes in your filenames???
  504. problem sending code via rs232
  505. Birthday Problem
  506. Destructor for const object
  507. pointer to member's member?
  508. pointer members member?
  509. FastNet 5.3 with borland
  510. std out question
  511. Doing something wrong
  512. Problem z VC++ 6
  513. spawnvp does not work
  514. What is a good idiom for handling a lazy object?
  515. cannot find -lstdc++
  516. string literal is an lvalue; other literals are rvalues.
  517. confusion with const functions return types
  518. Convertion problem
  519. C ++ question
  520. Declaring only public class members - doesn't work
  521. CUJ and Microsoft C++
  522. Friend in Class Can't Access Private Function
  523. problem reading from a file
  524. Calculating exponents without library functions
  525. Searching of byte array with wildcards?
  526. Confused about the comma operator
  527. Problems to find out code changes that seems not to lead into a bug but does ?
  528. Insert some trings into a big file?
  529. C++ FAT32 Access
  530. Question
  531. Incorrect operator<< is called.
  532. Programms memory adress location access?
  533. std::vector - bug or feature?
  534. 'C++ Primer 2nd Ed' errata
  535. Can I assign safely an array to vector?
  536. Sutter's Pimples: Good, Bad, or Ugly?
  537. C++ Question Urgent
  538. Standardised unit of measure - please help
  539. bool overload problem
  540. how to make operator << a virtual function?
  541. error when initialize ifstream with string
  542. Queries about strstream.h
  543. Urgent ~~Simulator Question
  544. Cast from (long double*) to (const double*)
  545. Cast from (long double*) to (const double*)
  546. last element of list
  547. Overload operator problem
  548. C++ Guidelines
  549. Work around of using 1D-LUT instead of 2D-LUT
  550. My override function never gets called? - (reposting as mistake in first go)