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