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