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