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. cannot dynamic_cast 't' (of type 'void*') to type 'struct mom::object*' (source is not a pointer to class)
  2. Polymorphism, iterators and ABCs?
  3. stable_sort with arrays?
  4. Borland C++ Turbo
  5. Effective C++ - item 7 (memory mgt).
  6. vc++ - strtok() access violation
  7. How is :: and -> pronounced?
  8. Converting a float to int (Visual Studio 2003)
  9. template conversion operator clarification needed
  10. audio synthesis libraries / platforms / drivers questions
  11. Abstract Classes, Templates and inheritance...
  12. MySQL, ZeosLib & C++ Builder
  13. GCC, libgcc & thread-safe exception handling
  14. typeid with Qt throws exception
  15. Derive from MFC DLL to MFC APP
  16. string class
  17. C++ forbids declaration of ‘vector’ with no type
  18. AndyD
  19. using copy constructor
  20. good debuger for c++ on linux
  21. C program
  22. test - ignore
  23. Private members and copy constructors
  24. Unable to consume Process reserved memory
  25. string reversal
  26. Default parameter for member array?
  27. Stuffing bytes into structs and endians
  28. Binary Search Tree Help Needed
  29. delete pointer
  30. Adobe GoLive 5.0
  31. maybe a problem with pointers
  32. I am making a project on protocol SNMP
  33. Text template engine?
  34. string streams
  35. Specialization of a method of a templated class
  36. XML libraries for C++
  37. std::ostream data-modifying manipulator?
  38. CPU usage
  39. Problems with C++ Hook
  40. convert a char[4] (binary) to an unsigned long
  41. Makefile for C++ program
  42. Problem with member function of a templated class returning a pointer to an object of the same class
  43. Learning C++
  44. Store a static member functions
  45. problem in calling constructors and destructors
  46. Operator overloading: s1 = s1 + s1;
  47. Linker Errors + Multiple Definition Warnings (Dev-C++ and VS2005)
  48. casting from raw bytes to structures.
  49. unexpected return value
  50. Help with overloading the == operator.
  51. Again in english: Problem with probability formula for gaming logic
  52. std::string with non-type template arg
  53. Problem Wahrscheinlichkeitsrechnung bei Programmierung Fussballmanager
  54. Is C++ faddish like Java?
  55. An STL vector collection of C++ interface pointers?
  56. compiler error with a map<string, enumtype>
  57. Parsing c++ code
  58. How do I find out if drive (possibly WITHOUT file system) exists?
  59. Any down to earth c++ reference guides?
  60. for(int i... and speed
  61. returning const reference and compiler warning
  62. wchar_t and wstring with -fshort-wchar optinon with g++.
  63. typedef error, #define instead?
  64. EOS definition?
  65. Learning C++ and/or C
  66. C++ UML CASE Tool
  67. Visual C++ Forms error question
  68. Graceful error recovery with arithmetic
  69. What's wrong with std::ifstream::read()?
  70. Beginner's question
  71. Name lookup doubt
  72. Convert hex string into GUID without using MFC/ATL/.NET
  73. program hanging returning from a constructor
  74. error casting pointers
  75. static_cast
  76. C++ Sockets interface
  77. casting
  78. object members in vector
  79. Comment code in MS VC++
  80. Array size Template and references to array
  81. Multiple looping
  82. RAII- Am I making life difficult? [LONGISH]
  83. conversion from one container object to another
  84. overloading new[] operator
  85. static analysis tool for c++
  86. Adding variables to variables
  87. About head files for abs?
  88. vectors
  89. Compile time initialization of data.
  90. Boost.Filesystem what would you add?
  91. vtable and such like
  92. Operators overloading
  93. bit operations
  94. Why for the Virtual Destrcutors
  95. Iterators over nested STL container
  96. Query: How to declare a template class member function 'extern "C"' ?
  97. virtual table and shared memory
  98. Cantata++
  99. gotoxy & cprintf for cpp
  100. size of an empty class
  101. How to make new window not steal focus?
  102. Casting Union as hexadecimal and back again
  103. typedef struct {} SName; vs. struct SName{};
  104. static const data member
  105. Callback to member function
  106. exception handling problem
  107. How to partially specialize a class but NOT specialize a member function:
  108. Cannot make const_iterator of templatized hash_map
  109. Detaching primitive from boost::shared_ptr?
  110. sizeof observation
  111. Question of compile C++ code with g++
  112. share object between DLLs
  113. diff of advisory lock and mandatory locks
  114. array size
  115. extern struct variable
  116. Wanna study high quality c++ code
  117. Workaround for number of template args?
  118. ODBC handle classes
  119. Protected members
  120. Search and replace algorithm for string
  121. isNull() method a good idea?
  122. Rogue Wave C++ Standard Library released into Open Source
  123. optimal access/insertion associative array
  124. Pointers and Strings Help
  125. nonmember function
  126. Another program call - Need help
  127. String to int and double conversion?
  128. From printf to C++ formatting
  129. 'Passing' an operator like <, >, == to a template function?
  130. Procedure for eliminating static variables?
  131. high resolution time function under windows platform?
  132. How do you erase an entry from a map?
  133. header file help
  134. Puzzle
  135. about static members in a class.
  136. Using objects returned from functions
  137. ordered subset problem
  138. **Wanted Eastern European C++ Expert **
  139. ctor as protected
  140. What does "formatted" I/O really mean?
  141. design woes ... confused on an implementation approach
  142. memory selection
  143. metrics
  144. What is *this ?
  145. What is *this ?
  146. not "this" again
  147. Problem with <string> values if used in more than one file
  148. ODI's and Sehwag....is there some problem
  149. Question: Compilers
  150. function overloading
  151. forward declaration and templated class
  152. test
  153. c++ class for xml
  154. The OS where C++ was created?
  155. Maybe own a resource: is this a good design?
  156. Available C++ Libraries FAQ
  157. C++ object for Device Independent Bitmaps
  158. Template specialization of an operator
  159. bind() and SIGSEGV when usign UDP
  160. Second class instance fails
  161. strip commas from string
  162. Exception checking memory allocation. How?
  163. const follow the member function
  164. How to copyright source?
  165. stepping inside a DLL
  166. How to compute the size of class
  167. Function pointer for 'operator>' ?
  168. starnge question
  169. precedence question
  170. Is there a simple (and quick) serialisation method for simple vectors?
  171. Do nonmember nonfriend functions improve genericity?
  172. Problem overloading <<
  173. problem using sets strings and namespaces
  174. copy constructor and return by value
  175. templated operators for arrays and pointers
  176. Vector Serialization
  177. i++ or ++i efficient
  178. Don't want to make my class as base class
  179. What does this statement yield?
  180. need help with this code (heh im a beginner so should be a simple fix)
  181. Diff Reference b/w Pointer
  182. where can I get an copy of ASPI SDK.
  183. string locale aware?
  184. Flexible array, a la C99
  185. passing 3D arrrays from c++ to fortran and viceversa
  186. PathMatchSpec()
  187. Encapsulation and invariants
  188. allocation and initialization
  189. Retrieving a class instance item from a vector
  190. _BLOCK_TYPE_IS_VALID
  191. Saving Files Using Splitters
  192. Why is a virtual call from ctor illegal?
  193. Testing Bandwidth usage of an application
  194. Proting C source to C++ ?
  195. A question of iterator
  196. Bi-directional link between two class
  197. dbf/cdx classes/functions
  198. Template specialization question
  199. Template speccialization question
  200. std::ios::binary?
  201. string object initialization
  202. Why isn't the operator<< found?
  203. Problem with Calling Methods from Objects which are stored in an array from within another Object
  204. Accessing Private Members from Main
  205. about marco in VC6
  206. friend function of templated class
  207. The equivalent of normalpdf()?
  208. iterators
  209. dereferencing boost::shared_ptr<>
  210. ?
  211. why can't a template function have extern "C" linkage?
  212. strange pointer problem, now ansi example
  213. error not caught at link time: should it be?
  214. strange pointer problems
  215. error not caught at link time: should it be?
  216. Why return *this
  217. new / delete
  218. select and send
  219. lifetime of global statics vs. statics in functions
  220. Different value of same pointer variable.
  221. Incrementing a pointer to a one-past-the-end value?
  222. statics in member functions
  223. tool for generating UML diagrams and project analysis
  224. c++ and data types
  225. 2 Errors!
  226. compile time function selection
  227. inline functions...
  228. How do I negate a find_if condition properly?
  229. Boost library
  230. what are these macros doing?
  231. printing binary data?
  232. Vector of STL maps versus Vector of objects
  233. callback revisited
  234. problem with callback
  235. rules of extern
  236. Which operator ~
  237. Template function and dynamic_cast
  238. memory stream?
  239. DragQueryFile Error
  240. What to derive a file I/O exception from?
  241. pointer error...
  242. Unique behaviour of incremental operators in recursion
  243. why some operators cannot be overloaded
  244. C++ Project Organization Guidelines
  245. Looking for list of features ***valid in C but deprecated in C++***
  246. memory not allocated
  247. [STL] How to use set_intersection
  248. Segmentation fault in list...
  249. Portability
  250. Doxygen formatting question
  251. C++ class with static member function ???????
  252. Cross-namespace name lookup
  253. Templates - Garbage In Garbage Not Out
  254. Connections
  255. singleton in gcc 3.3
  256. final methods/functions
  257. char[] as template argument
  258. problems with abstract classes
  259. Array of pointers to arrays of Fixed Size
  260. Trouble With Retrieving A std::string From boost::program_options
  261. How to copy a link list
  262. using namespace available outisde namespace
  263. Overload by deriv class param; call w base class param
  264. When exceptions aren't enough: Dealing with runtime errors.
  265. Design Question: Inheritance or Accessors
  266. difference in the following terms with examples. (regarding scope and binding)
  267. Convert SYSTEMTIME to BSTR
  268. undefined template reference again ??
  269. Strange access/scope resolution errors
  270. pointer_protector template
  271. Sierpinski code problem with recursion
  272. Class templates and friend function templates
  273. overloaded friend operators in template class
  274. inherit assigment operator
  275. Constructor function
  276. What does linking library components mean in C++
  277. Overriding Virtual Function clarification...
  278. Determine pointer type
  279. Is 0 a decimal integer?
  280. Stream vs Buffer
  281. How to deal with Tree with several branchs?
  282. segmentation fault when resizing a vector
  283. GAlib, Static Lib, ...?
  284. difference in the 2 initializations
  285. Store Queue in a flat memory space ?
  286. run time error
  287. Pointer problems
  288. Easy to use regular expression library for speech control jukebox
  289. Dereferencing past-the-end iterators
  290. Segmentation fault with STL list class - PLEASE HELP
  291. calling a function (passed as a pointer) causing segmentation fault
  292. Named Constructor idiom - a question
  293. FYI:Modules in C++ Proposal
  294. Linked List
  295. static const members
  296. Getting Rid of Trailing white spaces
  297. compilation error with templates
  298. forward class declaration and circular including
  299. Multiple Inheritance
  300. Compare data in two groups
  301. Multiset (as dictionary) searching
  302. Changing access levels of inherited base members
  303. Use of the "new" operator in widget toolkits
  304. Books to learn c++
  305. MFC and sqlext.h (eng)
  306. Why no operator << for stl containers.
  307. A question of vector
  308. MFC and sqlext.h
  309. CPP++
  310. _snprintf
  311. Conditional erasing elements from list - in a loop
  312. operator ?:
  313. Looking for a better way to sort based on a third argument.
  314. typedef vs. class definition
  315. returning references and pointers (to C++ objects)
  316. convert valarray to basic array
  317. evaulation of boolean conditions...
  318. std::basic_string<wchar_t>: segmentation fault while accessing any member functions
  319. Function prototypes in C++
  320. Expert Query on timing, threads, networking plz.... :S
  321. Using sizeof() with a pointer : Not the normal debate....
  322. Static const variables within a namespace
  323. Download gcc for i386
  324. Borland C++ 3.1
  325. system( char(26)) error
  326. which on is correct?~about temp object~
  327. operator[] for maps
  328. Declare array of objects with constructor having arguments
  329. use of char**
  330. Which C Standard is currently definitive for C++?
  331. specialized member function takes precedence over generic template member function
  332. What's the best method for displaying the value of a function pointer?
  333. Changing a non-template class to a template class easily
  334. Text formatting with streams
  335. J-Integra for COM (Java COM interoperability)
  336. using maps of string *.
  337. Difference between initialisation and assignment?
  338. Is this Authentic?
  339. E-book Please
  340. How come I am able to access my private function
  341. the range of enum
  342. What does "::DestroyWindow(hWnd)" mean?
  343. Shared memory and objects with virtual functions
  344. [slightly OT] C++ Multi-threaded shared memory library
  345. this is a great group
  346. Is throw specification necessary?
  347. Open Source Middleware packages ?
  348. Tool to analyze header dependencies & eliminate redundancy
  349. pointers and dynamic memory in C++
  350. A Comprehensive treatement of linking C++ code?
  351. C++ Object serialization?
  352. unexpected compile error w/ member function specialization of a template class
  353. ANNC: Reliable Software releases their own C++ Windows Library
  354. istream weirds
  355. cyclic includes
  356. assign a struct variable into another struct variable
  357. What would you call this interface?
  358. vector<vector<Point3D> >
  359. system() ?
  360. Communicating between C++ application and Shell script
  361. using placement new to forward ctor calls
  362. string looses contents.
  363. design question
  364. what is difference between this,far,near pointer?
  365. Auto-initialisation of arrays
  366. for loop index variable
  367. Other headers #included via <iostream>
  368. template-id does not match any template declaration
  369. extending an interface
  370. non-constant reference
  371. Singleton Pattern
  372. Not nice but (question on void* and this pointer)
  373. ISO/ICE 23271:2005
  374. modifying a const object
  375. Whats wrong with this code? (nested classes question)
  376. Initializing a non-const reference with non-lvalue
  377. Speacialized operator for dissimilar types
  378. doing some initialization before the constructor gets called
  379. Game question.
  380. How to make sure that all the values in an array are different?
  381. How do namespace scope and class scope differ?
  382. Is Vector Reserve guaranteed to allocate contiguous memory?
  383. preprocessor q: impossible macro?
  384. An Empirical Analysis of CPP Use
  385. Memory allocation problem!
  386. containers and template classes
  387. Initialization via ctor vs. initialization via assignment
  388. Comprehensive treatment of new / delete
  389. friend class declaration question
  390. Can a destructor be declared private?
  391. Singleton desin pattern in C++
  392. time in c++
  393. Copy constructor
  394. Help on writing a timer class (cross platform thread spawing)
  395. BCB6 OLE Automation for MS Word
  396. Compile time inheritance
  397. Looking for scriptable plug-in framework
  398. small operator question
  399. What is volatile reference ?
  400. order of initialization of static class objects
  401. T t(a) not equivalent to T t = a
  402. How well did I do??? Quiz 3
  403. How well did I do??? Quiz 2
  404. any mailinglists gateway to this group?
  405. Difference between char* and char array
  406. Reversing a folder path in a string
  407. Scripting and block data manipulation- how to preserve performance
  408. nested classes and multiple files
  409. compling/running the program
  410. decay bug
  411. assert vs error handling
  412. Saving to a file
  413. Why doesn't this compile?
  414. const type& and type const&
  415. Using the () operator for dereferencing a smart pointer
  416. protected members
  417. question about constructor
  418. Storing objects in a vector
  419. Help Needed in file handling
  420. const-incorrect practice
  421. Help needed in File Handling
  422. Storing objects in vectors - what's wrong with this code?
  423. stupid question C++
  424. File and string question
  425. questions from strategies and tactics C++
  426. delete char * - why does it work
  427. returning refernce of array
  428. Recusrion
  429. linker error
  430. Returning string or vector from a function
  431. Expression B b(A()) seemed no effect?
  432. template functions and "return type overloading"
  433. Two things I'd like to see in C++ 2009
  434. Size_t & mutable
  435. member functions as friends - friends of each other?
  436. efficient approach to reverse a std::string object
  437. can you obtain the C++ source file from the machine code ?
  438. How to input?
  439. cout<<complex_num gives seg fault w/ intel compiler
  440. invalid threads ID
  441. Help for primitive Graphics in Debian Linux C++
  442. Storing objects in a union
  443. Comparing standards compliance between compilers
  444. Question concerning .NET 2003 and Namespaces
  445. Where do I get FFT, is ok if it uses real inputs only
  446. Storing and retrieving data from VFP
  447. Saving and retrieving from a VFP database
  448. Stroustrup: C++ in 2005
  449. a good way to debug g++ executable
  450. binaries not portable from Debian to RedHat
  451. returning constant reference of element from a template
  452. Segmentation Fault - Need assistance resolving {Novice C++ Programmer}
  453. Do I need two languages for distributed computing?
  454. error C2027: use of undefined type
  455. Can a reference to a pointer be created ?
  456. What is T*VQ&
  457. memory leak?
  458. Why is copy constructor called only twice here (should be thrice?)
  459. Need suggestion for C++ project
  460. How to pass a class-member function to pthread_create(....)?
  461. C++ experts advice needed
  462. Do i need a copy contructor?
  463. Calling Explicit Constructer
  464. Containers and sorting objects vs. pointers
  465. Is initialization order guaranteed?
  466. Why do{}while(0) in #MACROS?
  467. class member and local variable
  468. valarray problem
  469. reading a binary file in C++ and having trouble.
  470. Vector Finding and inserting
  471. type conversion w/ template
  472. ide in vstudio
  473. "expected unqualified-id before 'using'"
  474. fundamental types
  475. Execution time
  476. Please help me this my question
  477. Templates: "implicit typename is deprecated" error and typedef'ing templates
  478. how to include my code ?
  479. bbrowser question
  480. Write and then read from a file
  481. operator<< for a template with a structure
  482. Missing global variables from lib
  483. make error / g++
  484. using T& operator*(T*);
  485. what is const X cx={1};
  486. Using Handles.
  487. lists in a class
  488. Shannon-Fano algorithm
  489. How to convert CString to an ASCII character string?
  490. Getting Started with Design Patterns
  491. sizeof requirements for fundamental types
  492. pure virtual parameters
  493. convert a BSTR data type to std::string
  494. ofstream * vs. ofstream
  495. Simple inheritance question.
  496. Question about Memory Allocation and the SHORT INT in STL
  497. explicit templates instantiation .... more
  498. Funny locale problem
  499. Which method to use
  500. Outlook Express Registry Help
  501. C++ Exceptions Cause Performance Hit?
  502. const_cast versus compiler optimization
  503. reg. constructor parameters
  504. Cygwin + Windows XP
  505. For SGI and Linux: Instr like Semaphore with a Setable Timeout
  506. How command line arguments are passed ?
  507. Template Member Functions
  508. locale and numeric output
  509. Redesigning a debug API
  510. Shannon-Fano algorithm
  511. Multiple calls to new in member initializer list okay?
  512. langsamer delete operator?
  513. g++: error: invalid use of member (did you forget the '&' ?)
  514. comparison between double
  515. Initializing Int Array With a Non-Zero Value
  516. #define or const
  517. API Progamming
  518. Help needed with design of generic class to handle multiple types
  519. Do functions defined inside a class need inline keyword ?
  520. GCC
  521. cout, cerr and I/O redirection
  522. static initialization access violation error
  523. Assigning a variable count: need some help
  524. Getter returning strings by value -- good or bad?
  525. Custom Allocators question
  526. array declaration, is this legal?
  527. Reducing build times
  528. FSM implementation
  529. Template spec question
  530. Moving from Return Codes to Exception Handling
  531. std::auto_ptr / template question
  532. Change default allocation of std::string
  533. Help on Quick Reports (C++)
  534. How can I call class member function by a globle function pointer?
  535. variable number of function arguments
  536. How can I call class member function by a globle function pointer?
  537. bad_alloc unhandled exception
  538. what is regular expression
  539. Stroustrup on C++0x
  540. current standard is it legal?
  541. nested friend syntax?
  542. "<< hex" vs cout.setf(ios_base::hex)
  543. DLLs and CallWndRetProc and Timers
  544. Help on getting started Learning C++
  545. std containers and allocators.
  546. Can this be done with cout ?
  547. Cpp function to return a string
  548. fabs problem on matrix variable
  549. alternatives to pointers to member functions
  550. Why can't I do this ?