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