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. function overloading
  2. forward declaration and templated class
  3. test
  4. c++ class for xml
  5. The OS where C++ was created?
  6. Maybe own a resource: is this a good design?
  7. Available C++ Libraries FAQ
  8. C++ object for Device Independent Bitmaps
  9. Template specialization of an operator
  10. bind() and SIGSEGV when usign UDP
  11. Second class instance fails
  12. strip commas from string
  13. Exception checking memory allocation. How?
  14. const follow the member function
  15. How to copyright source?
  16. stepping inside a DLL
  17. How to compute the size of class
  18. Function pointer for 'operator>' ?
  19. starnge question
  20. precedence question
  21. Is there a simple (and quick) serialisation method for simple vectors?
  22. Do nonmember nonfriend functions improve genericity?
  23. Problem overloading <<
  24. problem using sets strings and namespaces
  25. copy constructor and return by value
  26. templated operators for arrays and pointers
  27. Vector Serialization
  28. i++ or ++i efficient
  29. Don't want to make my class as base class
  30. What does this statement yield?
  31. need help with this code (heh im a beginner so should be a simple fix)
  32. Diff Reference b/w Pointer
  33. where can I get an copy of ASPI SDK.
  34. string locale aware?
  35. Flexible array, a la C99
  36. passing 3D arrrays from c++ to fortran and viceversa
  37. PathMatchSpec()
  38. Encapsulation and invariants
  39. allocation and initialization
  40. Retrieving a class instance item from a vector
  41. _BLOCK_TYPE_IS_VALID
  42. Saving Files Using Splitters
  43. Why is a virtual call from ctor illegal?
  44. Testing Bandwidth usage of an application
  45. Proting C source to C++ ?
  46. A question of iterator
  47. Bi-directional link between two class
  48. dbf/cdx classes/functions
  49. Template specialization question
  50. Template speccialization question
  51. std::ios::binary?
  52. string object initialization
  53. Why isn't the operator<< found?
  54. Problem with Calling Methods from Objects which are stored in an array from within another Object
  55. Accessing Private Members from Main
  56. about marco in VC6
  57. friend function of templated class
  58. The equivalent of normalpdf()?
  59. iterators
  60. dereferencing boost::shared_ptr<>
  61. ?
  62. why can't a template function have extern "C" linkage?
  63. strange pointer problem, now ansi example
  64. error not caught at link time: should it be?
  65. strange pointer problems
  66. error not caught at link time: should it be?
  67. Why return *this
  68. new / delete
  69. select and send
  70. lifetime of global statics vs. statics in functions
  71. Different value of same pointer variable.
  72. Incrementing a pointer to a one-past-the-end value?
  73. statics in member functions
  74. tool for generating UML diagrams and project analysis
  75. c++ and data types
  76. 2 Errors!
  77. compile time function selection
  78. inline functions...
  79. How do I negate a find_if condition properly?
  80. Boost library
  81. what are these macros doing?
  82. printing binary data?
  83. Vector of STL maps versus Vector of objects
  84. callback revisited
  85. problem with callback
  86. rules of extern
  87. Which operator ~
  88. Template function and dynamic_cast
  89. memory stream?
  90. DragQueryFile Error
  91. What to derive a file I/O exception from?
  92. pointer error...
  93. Unique behaviour of incremental operators in recursion
  94. why some operators cannot be overloaded
  95. C++ Project Organization Guidelines
  96. Looking for list of features ***valid in C but deprecated in C++***
  97. memory not allocated
  98. [STL] How to use set_intersection
  99. Segmentation fault in list...
  100. Portability
  101. Doxygen formatting question
  102. C++ class with static member function ???????
  103. Cross-namespace name lookup
  104. Templates - Garbage In Garbage Not Out
  105. Connections
  106. singleton in gcc 3.3
  107. final methods/functions
  108. char[] as template argument
  109. problems with abstract classes
  110. Array of pointers to arrays of Fixed Size
  111. Trouble With Retrieving A std::string From boost::program_options
  112. How to copy a link list
  113. using namespace available outisde namespace
  114. Overload by deriv class param; call w base class param
  115. When exceptions aren't enough: Dealing with runtime errors.
  116. Design Question: Inheritance or Accessors
  117. difference in the following terms with examples. (regarding scope and binding)
  118. Convert SYSTEMTIME to BSTR
  119. undefined template reference again ??
  120. Strange access/scope resolution errors
  121. pointer_protector template
  122. Sierpinski code problem with recursion
  123. Class templates and friend function templates
  124. overloaded friend operators in template class
  125. inherit assigment operator
  126. Constructor function
  127. What does linking library components mean in C++
  128. Overriding Virtual Function clarification...
  129. Determine pointer type
  130. Is 0 a decimal integer?
  131. Stream vs Buffer
  132. How to deal with Tree with several branchs?
  133. segmentation fault when resizing a vector
  134. GAlib, Static Lib, ...?
  135. difference in the 2 initializations
  136. Store Queue in a flat memory space ?
  137. run time error
  138. Pointer problems
  139. Easy to use regular expression library for speech control jukebox
  140. Dereferencing past-the-end iterators
  141. Segmentation fault with STL list class - PLEASE HELP
  142. calling a function (passed as a pointer) causing segmentation fault
  143. Named Constructor idiom - a question
  144. FYI:Modules in C++ Proposal
  145. Linked List
  146. static const members
  147. Getting Rid of Trailing white spaces
  148. compilation error with templates
  149. forward class declaration and circular including
  150. Multiple Inheritance
  151. Compare data in two groups
  152. Multiset (as dictionary) searching
  153. Changing access levels of inherited base members
  154. Use of the "new" operator in widget toolkits
  155. Books to learn c++
  156. MFC and sqlext.h (eng)
  157. Why no operator << for stl containers.
  158. A question of vector
  159. MFC and sqlext.h
  160. CPP++
  161. _snprintf
  162. Conditional erasing elements from list - in a loop
  163. operator ?:
  164. Looking for a better way to sort based on a third argument.
  165. typedef vs. class definition
  166. returning references and pointers (to C++ objects)
  167. convert valarray to basic array
  168. evaulation of boolean conditions...
  169. std::basic_string<wchar_t>: segmentation fault while accessing any member functions
  170. Function prototypes in C++
  171. Expert Query on timing, threads, networking plz.... :S
  172. Using sizeof() with a pointer : Not the normal debate....
  173. Static const variables within a namespace
  174. Download gcc for i386
  175. Borland C++ 3.1
  176. system( char(26)) error
  177. which on is correct?~about temp object~
  178. operator[] for maps
  179. Declare array of objects with constructor having arguments
  180. use of char**
  181. Which C Standard is currently definitive for C++?
  182. specialized member function takes precedence over generic template member function
  183. What's the best method for displaying the value of a function pointer?
  184. Changing a non-template class to a template class easily
  185. Text formatting with streams
  186. J-Integra for COM (Java COM interoperability)
  187. using maps of string *.
  188. Difference between initialisation and assignment?
  189. Is this Authentic?
  190. E-book Please
  191. How come I am able to access my private function
  192. the range of enum
  193. What does "::DestroyWindow(hWnd)" mean?
  194. Shared memory and objects with virtual functions
  195. [slightly OT] C++ Multi-threaded shared memory library
  196. this is a great group
  197. Is throw specification necessary?
  198. Open Source Middleware packages ?
  199. Tool to analyze header dependencies & eliminate redundancy
  200. pointers and dynamic memory in C++
  201. A Comprehensive treatement of linking C++ code?
  202. C++ Object serialization?
  203. unexpected compile error w/ member function specialization of a template class
  204. ANNC: Reliable Software releases their own C++ Windows Library
  205. istream weirds
  206. cyclic includes
  207. assign a struct variable into another struct variable
  208. What would you call this interface?
  209. vector<vector<Point3D> >
  210. system() ?
  211. Communicating between C++ application and Shell script
  212. using placement new to forward ctor calls
  213. string looses contents.
  214. design question
  215. what is difference between this,far,near pointer?
  216. Auto-initialisation of arrays
  217. for loop index variable
  218. Other headers #included via <iostream>
  219. template-id does not match any template declaration
  220. extending an interface
  221. non-constant reference
  222. Singleton Pattern
  223. Not nice but (question on void* and this pointer)
  224. ISO/ICE 23271:2005
  225. modifying a const object
  226. Whats wrong with this code? (nested classes question)
  227. Initializing a non-const reference with non-lvalue
  228. Speacialized operator for dissimilar types
  229. doing some initialization before the constructor gets called
  230. Game question.
  231. How to make sure that all the values in an array are different?
  232. How do namespace scope and class scope differ?
  233. Is Vector Reserve guaranteed to allocate contiguous memory?
  234. preprocessor q: impossible macro?
  235. An Empirical Analysis of CPP Use
  236. Memory allocation problem!
  237. containers and template classes
  238. Initialization via ctor vs. initialization via assignment
  239. Comprehensive treatment of new / delete
  240. friend class declaration question
  241. Can a destructor be declared private?
  242. Singleton desin pattern in C++
  243. time in c++
  244. Copy constructor
  245. Help on writing a timer class (cross platform thread spawing)
  246. BCB6 OLE Automation for MS Word
  247. Compile time inheritance
  248. Looking for scriptable plug-in framework
  249. small operator question
  250. What is volatile reference ?
  251. order of initialization of static class objects
  252. T t(a) not equivalent to T t = a
  253. How well did I do??? Quiz 3
  254. How well did I do??? Quiz 2
  255. any mailinglists gateway to this group?
  256. Difference between char* and char array
  257. Reversing a folder path in a string
  258. Scripting and block data manipulation- how to preserve performance
  259. nested classes and multiple files
  260. compling/running the program
  261. decay bug
  262. assert vs error handling
  263. Saving to a file
  264. Why doesn't this compile?
  265. const type& and type const&
  266. Using the () operator for dereferencing a smart pointer
  267. protected members
  268. question about constructor
  269. Storing objects in a vector
  270. Help Needed in file handling
  271. const-incorrect practice
  272. Help needed in File Handling
  273. Storing objects in vectors - what's wrong with this code?
  274. stupid question C++
  275. File and string question
  276. questions from strategies and tactics C++
  277. delete char * - why does it work
  278. returning refernce of array
  279. Recusrion
  280. linker error
  281. Returning string or vector from a function
  282. Expression B b(A()) seemed no effect?
  283. template functions and "return type overloading"
  284. Two things I'd like to see in C++ 2009
  285. Size_t & mutable
  286. member functions as friends - friends of each other?
  287. efficient approach to reverse a std::string object
  288. can you obtain the C++ source file from the machine code ?
  289. How to input?
  290. cout<<complex_num gives seg fault w/ intel compiler
  291. invalid threads ID
  292. Help for primitive Graphics in Debian Linux C++
  293. Storing objects in a union
  294. Comparing standards compliance between compilers
  295. Question concerning .NET 2003 and Namespaces
  296. Where do I get FFT, is ok if it uses real inputs only
  297. Storing and retrieving data from VFP
  298. Saving and retrieving from a VFP database
  299. Stroustrup: C++ in 2005
  300. a good way to debug g++ executable
  301. binaries not portable from Debian to RedHat
  302. returning constant reference of element from a template
  303. Segmentation Fault - Need assistance resolving {Novice C++ Programmer}
  304. Do I need two languages for distributed computing?
  305. error C2027: use of undefined type
  306. Can a reference to a pointer be created ?
  307. What is T*VQ&
  308. memory leak?
  309. Why is copy constructor called only twice here (should be thrice?)
  310. Need suggestion for C++ project
  311. How to pass a class-member function to pthread_create(....)?
  312. C++ experts advice needed
  313. Do i need a copy contructor?
  314. Calling Explicit Constructer
  315. Containers and sorting objects vs. pointers
  316. Is initialization order guaranteed?
  317. Why do{}while(0) in #MACROS?
  318. class member and local variable
  319. valarray problem
  320. reading a binary file in C++ and having trouble.
  321. Vector Finding and inserting
  322. type conversion w/ template
  323. ide in vstudio
  324. "expected unqualified-id before 'using'"
  325. fundamental types
  326. Execution time
  327. Please help me this my question
  328. Templates: "implicit typename is deprecated" error and typedef'ing templates
  329. how to include my code ?
  330. bbrowser question
  331. Write and then read from a file
  332. operator<< for a template with a structure
  333. Missing global variables from lib
  334. make error / g++
  335. using T& operator*(T*);
  336. what is const X cx={1};
  337. Using Handles.
  338. lists in a class
  339. Shannon-Fano algorithm
  340. How to convert CString to an ASCII character string?
  341. Getting Started with Design Patterns
  342. sizeof requirements for fundamental types
  343. pure virtual parameters
  344. convert a BSTR data type to std::string
  345. ofstream * vs. ofstream
  346. Simple inheritance question.
  347. Question about Memory Allocation and the SHORT INT in STL
  348. explicit templates instantiation .... more
  349. Funny locale problem
  350. Which method to use
  351. Outlook Express Registry Help
  352. C++ Exceptions Cause Performance Hit?
  353. const_cast versus compiler optimization
  354. reg. constructor parameters
  355. Cygwin + Windows XP
  356. For SGI and Linux: Instr like Semaphore with a Setable Timeout
  357. How command line arguments are passed ?
  358. Template Member Functions
  359. locale and numeric output
  360. Redesigning a debug API
  361. Shannon-Fano algorithm
  362. Multiple calls to new in member initializer list okay?
  363. langsamer delete operator?
  364. g++: error: invalid use of member (did you forget the '&' ?)
  365. comparison between double
  366. Initializing Int Array With a Non-Zero Value
  367. #define or const
  368. API Progamming
  369. Help needed with design of generic class to handle multiple types
  370. Do functions defined inside a class need inline keyword ?
  371. GCC
  372. cout, cerr and I/O redirection
  373. static initialization access violation error
  374. Assigning a variable count: need some help
  375. Getter returning strings by value -- good or bad?
  376. Custom Allocators question
  377. array declaration, is this legal?
  378. Reducing build times
  379. FSM implementation
  380. Template spec question
  381. Moving from Return Codes to Exception Handling
  382. std::auto_ptr / template question
  383. Change default allocation of std::string
  384. Help on Quick Reports (C++)
  385. How can I call class member function by a globle function pointer?
  386. variable number of function arguments
  387. How can I call class member function by a globle function pointer?
  388. bad_alloc unhandled exception
  389. what is regular expression
  390. Stroustrup on C++0x
  391. current standard is it legal?
  392. nested friend syntax?
  393. "<< hex" vs cout.setf(ios_base::hex)
  394. DLLs and CallWndRetProc and Timers
  395. Help on getting started Learning C++
  396. std containers and allocators.
  397. Can this be done with cout ?
  398. Cpp function to return a string
  399. fabs problem on matrix variable
  400. alternatives to pointers to member functions
  401. Why can't I do this ?
  402. first prog - first post
  403. Will this leak memory?
  404. Whats wrong with this copy assignment cstor ?
  405. first prog first post
  406. Question on vector assignment and object equality determination
  407. Question on vector assignment and object equality determnation
  408. Can I declare my Class at several blocks.
  409. Casting to pointer reference?
  410. using malloc inside overloaded new operator
  411. How can i use Itow() or wtoi() functions in Sun Solaris Sparc?
  412. how to declare an array of objects without "new"
  413. simple string management
  414. derived class and base class, member assignment, which goes first
  415. Algorithm to find nth largest or nth smallest in a range
  416. Define callback
  417. why not tell them...
  418. Correcting newlines
  419. callBack implementation question
  420. Pass-by-reference instead of pass-by-pointer = a bad idea?
  421. 1. Porting win to lin
  422. serialize c++ objects
  423. method overloading and ambiguity
  424. access specifiers and memory layout
  425. C, C++ and C# Forums
  426. Life of a class
  427. custom C++ exceptions
  428. C++ and networking
  429. Is it a C++ or Java?
  430. C++ and Fortran Compilation problems
  431. combining bytes to make a double?
  432. making an .exe file in VC++
  433. Adding White Noise (Gaussian Noise) To A Set Of 3D Points
  434. What does "TAG" in [class TAG MyClass {...};] mean?
  435. problems with function system
  436. Linking a C++ library to a C program.
  437. Is an address change possible by "deconstify/const_cast"?
  438. pointer ot static member function
  439. g++ ptypes compilation
  440. why is this map crashing?
  441. Classes as concepts.
  442. Runtime calculation
  443. atlconv.h header error..
  444. Overriding stl::sort()
  445. using string as a character buffer in unix system calls
  446. Why namespaces?
  447. Preprocessor/Compiler question
  448. Trimming leading and trailing spaces from a string
  449. C++ Profiler
  450. Finding old-style casts in code.
  451. returning a const vector
  452. Suitable data structure for a "context sensitive" 3-tuple?
  453. Template parameter depending on another one
  454. Implementation dilema
  455. Inadvertent function declarations
  456. Debugging question
  457. Hardcopy of ISO/IEC 14882:2003(E) Quality?
  458. Handling Vector Graphics in C++
  459. Passing C++ thread data to Vb thru callback
  460. Sizeof problems(interview questions)
  461. difference between MyClass a(); and MyClass a;
  462. Using STL map and set on large amount of data
  463. CList double element error...
  464. Command Line Parsing Library
  465. test to see if object exists with new/delete usage
  466. error 2664 Conversion error
  467. Projects With Explanations
  468. Global instance crash
  469. Function overloading
  470. Generating random strings without duplicates
  471. Net functions c++
  472. vector problem
  473. SGI: Need Something like 1 Mutual Exclusion Semaphore for Multible Programs
  474. Forward declaration and nested classes ..
  475. Corn programming language
  476. How to send data using IdHTTP to PHP script
  477. relationship pointers
  478. Getting address of buffer of vector.
  479. Arguments for not using throw()
  480. is this possible?
  481. Is STL-thinking over-emphasized in C++
  482. <iosfwd> & typedefs with incomplete types.
  483. Grammatical analysis of C++
  484. polymorphism question
  485. cout vs Print
  486. In a timeline pinch (Suspense: 25Jul05) pleading for assistance - Q1
  487. Errors while Linking with Visual C++ 6.0 PRO..
  488. stack corrupt around object or variable at close of Prog.
  489. Sun CC weird compiling message : is out-of-date and will be regenerated
  490. string (stream) stuff function
  491. Reading Lines with Fgets(?) and a bit of C++ {Novice Programmer}
  492. xServices::CServices<TImp>::StHoldClientList::StHo ldClientList(std::set<TImp*, std::less<TImp*>, std::allocator<TImp*> >&)':
  493. A question of pointers..
  494. Quick question on smart pointers
  495. Best way to return newly created object
  496. user-defined new-Op is not used
  497. Synopsis: A Source-code Introspection Tool
  498. Defining an array of arrays
  499. easy way to modify textfile
  500. ifstream::is_open() not found on Solaris C++ compiler
  501. programming without framework ?
  502. class template conversion constructor
  503. A question of style?
  504. Enumerating Active FTP connections on IIS
  505. Is std::queue thread-safe?
  506. float algorithm is slow
  507. Export symbols from .a files
  508. evaluate it
  509. Serialize classes using XML
  510. Newbee and special characters
  511. Perl split() function equivalent in C++
  512. The thread {----} has exited with code 0 (0x0).
  513. Grammars for C++
  514. Doxygen ...
  515. mysql and c++
  516. What is wrong with this declaration ?
  517. Overloading operator <<
  518. Error I can't understand
  519. how to protect dll from replacement.
  520. Introducing a newsgroup
  521. problem while reading a binary file
  522. const struct initialization
  523. Linker error
  524. inheritance problem
  525. question about default constructor
  526. simple c/c++ programming question about encryption
  527. Does "using namespace std" cost ?
  528. C Primitive Data Type Sizes
  529. Listing directories within a directory
  530. Copy Constructor & assignment operator
  531. Should this compile and link?
  532. C++ and Anonymous Variadic Macros
  533. g++: compilation of header file requested
  534. static objet and how to see its value
  535. Library update
  536. stdcall and __cdecl
  537. String to char*
  538. Thread time - strange delays
  539. Writing portable libraries
  540. overloading cout
  541. whatz wrong in std::vector< myclass >::iterator
  542. What is a good setup for cross platform development?
  543. CReBar, Resizing Window
  544. ostringstream clear
  545. Stack operations
  546. graphics and mouse programming.
  547. memcmp() and strcmp()
  548. passing and declaring vectors and matrices?
  549. Question about shifting return values
  550. how to increase heap size for a process