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