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