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