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