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. how to construct a class with member type unknown till runtime?
  2. removing duplicate entries in a list.
  3. tree template
  4. Safe garbage collecting
  5. OStringStream
  6. template/friend problem
  7. Convoluted template declarations
  8. SIGSEGV : 11 error
  9. c++ templates question
  10. Converting Int to String...
  11. Default args for Class B an aggregate of Class A
  12. HowTo make template class part of static library?
  13. object adaptor
  14. private inheritance
  15. don't know where is the catch...
  16. C++ Reference anywhere on the internet?
  17. Specializing on a templated type
  18. Gui libraries for C++ in Windows
  19. override when using object composition
  20. complie question
  21. type conversion
  22. Polymorphic types without virtual functions
  23. Access of base class' private base class: qualification required, why
  24. pointer to function template parameter
  25. -> vs .
  26. Compiles with tolower from global namespace but not with std::tolower
  27. Heiptrw ho
  28. another template specialization
  29. What is vector?
  30. The adapter design patter
  31. Note, the below topic should not have that title
  32. Problems with Template Specialization
  33. Conversions and overload resolution
  34. Default Debugger for VC6 and .NET (VC7)
  35. Message archive
  36. Default arguments and constructors
  37. How can I insert a Backgroundimage in my C++ programm?
  38. Movie list
  39. How can I insert a Backgroundimage in my programm
  40. Hintergrundbild in C++ anzeigen
  41. operator char*()
  42. Get IOS to use a pipe? (subclass it?)
  43. fstream and ofstream
  44. C++ Templates book
  45. C++ and Robotics the relations?
  46. file I/O question
  47. std::fstream
  48. A question about "new" in the constructor argument?
  49. How to Return Function Pointer's Memory Address?
  50. Destructor??
  51. CGI/C++ Problem with Microsoft IIS
  52. write to output file query
  53. C++ Program Lists
  54. Date in array?
  55. Class and Property Representation in image
  56. how to get pid from system() call in c/c++?
  57. problem in dynamic cast
  58. Pointers to base class (invoking methods of child classes)
  59. experimenting with unions - byteswap approach..
  60. std::reverse_bidirectional_iterator out of date?
  61. Announcing: Relational Template Library
  62. Determining if object has been allocated using operator new
  63. how do u convert a vector<float> A to a vector<double> B
  64. fprintf( )
  65. Best way to initialize an array of strings
  66. typedef template class
  67. Sudoku++
  68. struct and constructor
  69. accessing member function from another class
  70. c++ & dealing with files
  71. Build errors on "trivial" proof of concept design pattern
  72. Multi-dimensional Pointers in C++
  73. Repost:C++ compiler implementation details
  74. query?
  75. Unmanaged void* to .Net System::Array
  76. Functions
  77. There's got to be a more elegant way
  78. Pimpl idiom and member function templates
  79. template function cant be found
  80. macro with user input
  81. Need grayscale image class help.
  82. fastest way of storing structured data
  83. STL : compiling
  84. null or nil or initialised std::list iterator?
  85. how to pass a 2-D array to a function
  86. Computer's drives
  87. separating delcaration and definition of full template specialisation - how?
  88. C++ based fast parser for delimited records
  89. Help needed! in deciding career with C++ or Java
  90. Lifespan of anonymous instances
  91. C++ Library for Socket
  92. Is this thread safe?
  93. Precision of clock()
  94. Precision of clock()
  95. returning user control during expensive loop
  96. Problem: about negative right shift
  97. Buff's device
  98. Parameter mismatch with ?: operator
  99. Available C++ Libraries FAQ
  100. Doubt in GotW #27 - forwarding functions
  101. Load XML from webpage to use with TinyXML
  102. getline()
  103. new, delete, STL
  104. How to create Pointer Array
  105. C++ code statistics
  106. Access superclass' method in a template
  107. Settling ideas
  108. Opening a txt file to view ( i.e. readme.txt)
  109. 2 questions on primitive types
  110. help
  111. delete element from list
  112. Struct Help...
  113. in-place set_intersection
  114. How to eliminate the bitmap difference in little endian and big endian?
  115. Roots of a polynomial
  116. STL iterators
  117. I/O waring :failed to load external extity ""
  118. Messed Up Char Array
  119. [MSVC++]Inline Assembly
  120. Some questions about inheritance
  121. implementation approach ..
  122. set the stdin & stdout for an external program
  123. sqlext.h - ODBC link time error - dev-c++ IDE with mingw compiler
  124. Detecting member function constness
  125. namespace clarification
  126. templating operator[]
  127. program error
  128. STL complient container?
  129. reference vs pointer
  130. vectors and arrays
  131. cout related problem (I think)
  132. Why STATIC keyword is needed?
  133. My own sprintf(...)
  134. MISRA-C++
  135. problem with templates and inheritance
  136. C++ compiler implementation details
  137. Standard Serial Port Access
  138. Creating a txt file every for cicle
  139. Destroying set of smart pointers segfaults
  140. Arrays and Pointers
  141. Arrays and References
  142. passing a 2d array as a paramater
  143. Reference Counted Smart Pointers And STL Containers
  144. 3D array to 2D ptr casting...
  145. ensuring non-const equivalents
  146. Private interface using reinterpret_cast vs. inheritance (long)
  147. What is wrong with this simple code!?
  148. class string
  149. OOP question
  150. more generic functionalities in C++
  151. thinking in c++ by B. Eckel, typeid and g++ problem.
  152. Where to define a const string?
  153. member variable declaration and forward declarations
  154. NULL value
  155. Transport Bar Media Player
  156. #pragma include_alias in gcc.....?
  157. conversion of rate
  158. Debug problems with Visula C++
  159. Trying to understand casting, from base to derived.
  160. gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-34)
  161. forward declaration with namespace
  162. question about static "only" member functions
  163. header comment-- is there a std?
  164. another c++ i/o questions
  165. How to delcare a vector of a type which is a template class by itself?
  166. Undefined behaviour or broken compiler?
  167. Question for dbx.
  168. C++ Class Data
  169. Simple C++ graphical program to write ...!!
  170. Which causes more code-bloat: inline virtual or template class?
  171. A question about iterators.
  172. A question about std::lists
  173. operator delete problem.
  174. problem: calling a template member function
  175. Flags
  176. bits of this, bits of that
  177. generational garbage collection
  178. C library in C++ code
  179. Protected Static may as well be public?
  180. Not specifically C++, but worth sharing
  181. Can I remove constant from non-pointer variables
  182. Question for defining pointer.
  183. extern "C" directive and calling conventions
  184. A question on initialize a object with a pointer
  185. Which C++ compiler for Parallel Algorithm?
  186. Initialization lists and passed parameters
  187. how to define operator "<?="
  188. help finding an efficient way to copy dynamic memory!!
  189. How debug STL programs?
  190. BMP-Threshold-8bit-->2 bit-problem-image writing
  191. Linked List
  192. compare bitmaps
  193. question on partial specializatio (class template specialization)
  194. Passing a list of types to a class template
  195. overloading constructor
  196. question about the memory allocation of class members
  197. [MSVC7.1] set_terminate and set_unexpected problem
  198. minor confusion..
  199. Unable to understand the code fragement
  200. static variables and performance
  201. polymorphism
  202. _beginthread -- how to terminate a thread from out side of it.
  203. Why identifiers don't beging with digits?
  204. inheriting from a class template
  205. Why static data members can be declared as the type of its own class
  206. Question about const types
  207. md5sum differs across builds
  208. How to capture last octect of an IP address in C++?
  209. ISAPI problem
  210. ISAPI problem
  211. virtual constructors?
  212. VTABLE virtual function in derived class
  213. C++ implementation for C API ---- converting legacy C code to C++
  214. Iterators on Vector
  215. Operator Overloading and Interdependant Classes
  216. extern "C" struct -> class
  217. string::data() mem function
  218. overloaded operators and namespaces compile problems
  219. comma
  220. using system tray
  221. How do I parse a string into individual characters? (really simple!) really!
  222. Static variable
  223. What's the difference between string::c_str() and string::data()?
  224. Why does Explicit specialization of function templates cause generation of code?
  225. Templates & Implicit Casting
  226. i/o question
  227. Dynamically estimating time needed to complete a program
  228. Conversion of one object type to another
  229. item callback on container or why STL does not have pointer to iterator conversion open?
  230. inheritance - minor confusion.....
  231. is code hazarous?
  232. copy_ptr: request for code review.
  233. Select element from Set randomly?
  234. precondition and postcondition
  235. 60 GB IPOD deal found
  236. (mostly) non OO data dictionary / modelling?
  237. Problem on using "template" in VC/C++ 6.0
  238. using clone() function
  239. medlemsregistret@cf.se
  240. books about deep C++ knowledge?
  241. books on c++
  242. templates problems give compile error
  243. fout.close()
  244. this should be a compile time warning?
  245. Lookup Tables
  246. am I running out of memory?
  247. Inter-process comms - which method?
  248. have I wrong order in assignment operator and cpy-ctor
  249. proposal for template type parameter constraint
  250. Control CPU usage of a program?
  251. Beginner: A question about strings/arrays
  252. Loki TypeTraits bugs
  253. reference object when using STL
  254. Interface hierarchy emulation
  255. cutting up a long in date code?
  256. why not virtual static method
  257. Windows Programming using C++
  258. Exporting C++ Classes from a Static Library and from a DLL
  259. Why avoid constant template parameter
  260. database
  261. convert std::string to (byte*, DWORD)
  262. having trouble with casting operators..
  263. STL
  264. Instance creation
  265. Side Effects of Mutiple inheritance in C++
  266. Lightning Calculator
  267. weird bug w/ a template program
  268. Question about class design
  269. how to replace sscanf in C++,using <string>s
  270. Type casting C vs C++
  271. Const types in map
  272. type
  273. Repeating index - Indirect arrays - valarray
  274. inheritance doesn't works as expected
  275. printf or something like it
  276. dbx question: how to trace deletion of specific object?
  277. garbage collector c++
  278. why reference cannot represent NULL object?
  279. inheritance and polymorfism
  280. Pass by Pointer * or Pass by Reference &?
  281. How do i convert a character array to string.
  282. ifndef
  283. Stepanov Benchmark
  284. Count Down
  285. The other kind of map?
  286. I Need A Vector, Victor
  287. Can This C Code Compile Under g++
  288. create an array by value
  289. fairly basic question on command options
  290. extract number of entries in a line
  291. define new iterators
  292. STL map
  293. Compiler/Linker Error undefined reference to 'std::ios_base::Init::Init[in-charge]()
  294. copy constructor and destructor
  295. Template partial specialisation/inheritance problem
  296. enum within class
  297. Other way to write this?
  298. i got a prOblem, OF FUNTIONS
  299. STL Concurrent Acces
  300. container question
  301. using maximum value of double and int.
  302. string " removed from argv input
  303. Template within a template
  304. STL list insertion compiler error
  305. File Read Issue
  306. Creating inherited class with set base class
  307. Iterator assignment from a pointer
  308. problem with a truth table
  309. Keep index while sorting vectors
  310. const reference
  311. 60 GB PHOTO IPOD DEAL FOUND
  312. findFirstFile, findNextFile
  313. Problems of overloading template operator >>
  314. linked list with templates ...
  315. List with templates...??
  316. placement new and bit fields.
  317. winsock/mingw compile problem (undefined reference)
  318. Indexing an auto_ptr'ed chunk of memory
  319. Marshaling multidimensional array between COM and .NET
  320. const after function name
  321. emacs-calc
  322. INFINITY on gcc 3.3
  323. How to declare enum using attribute in VC++ .Net?
  324. is this the correct code for a bitset map
  325. Linked List Help
  326. Big O notation (Maybe offtopic)
  327. Oko IDDE and DB-manager now shareware
  328. Trouble with namespaces
  329. what next ???
  330. using directive being transitive
  331. Need programmer for develop software (p2p remote administrator).
  332. limitation of template parameters
  333. A question about the diamond inheritance
  334. Polymorphism Design Question
  335. Random Number Not Seeding
  336. using assert
  337. pointers and so
  338. Visual Studio NET Enterprise Architect 2002 and Visual Studio NET 2003 difference
  339. PHP script communicating with C/C++ program
  340. the diamond problem
  341. STL' Set as variable
  342. Handling exceptions in a destructor?
  343. sizeof object
  344. pass by ref vs pass by pointer
  345. using operator overloding with template
  346. Operator overloading, C++ performance crappiness
  347. SQL connectivity in C++
  348. advanced architecture of c++
  349. protected member
  350. one additional querstion about multiple inheritance
  351. question and understanding about multiple inheritance
  352. about delete.
  353. static member function
  354. Can't Find Answer Any Where (What would you do/try): fopen ("file on shared drive","w+") doesn't work on 2nd call using Windows LabView DDL
  355. Adobe Indesign SDK: Interface declaration
  356. Program
  357. How to upgrade config file
  358. Explain this
  359. reference/pointer to arrays type-cast operators
  360. C++ Internal representation of objects
  361. why compile error in multiple inheritance
  362. Sorting a list of objects
  363. pointer arithmetic
  364. A question about design of using virtual or not
  365. confused: vector<char*> and malloc
  366. problem with multiple inheritance
  367. Playsound Function
  368. what is a modul
  369. public inheritance wth advantage and disdvantage
  370. Can I delete an unnamed memory with a certain address?
  371. volatile variables
  372. size of char ch[] = "" ??
  373. Operator overloading advise
  374. Implementation Dependcies in C++
  375. A question about inheritance with template
  376. for_each with a non const member fuction
  377. Copying gsl_rng_state across MPI
  378. generic functions(template functions)
  379. Any new compiler support the `export` of C++ template?
  380. some more inheritance with template
  381. inheritance and name resolution
  382. C++ Primer, 4th Edition
  383. STL map and pthread performance problem on Linux/GCC
  384. C++ code reformatter
  385. How do i save data?
  386. template and inheritanc
  387. template with several classes
  388. "Container-of" in C++
  389. Question about shifting, portability
  390. DsGetDc.h Missing
  391. Anjuta IDE doesn't compile wizard generated Gtkmm projects
  392. defining + and = operator for vector<double>
  393. Problem: references mess up inheritance. Doesn't make sense.
  394. one more template question and some typedef
  395. a Visual C++ question
  396. even one more template question
  397. more template questions
  398. a template question
  399. is it okay to call the overrided assignment function in copy constructor
  400. template link error with GCC v3.3.5
  401. the pointer this
  402. Why does this work has to do with const
  403. A const pointer question
  404. declaring friend
  405. illegal indirections
  406. C++ include statements
  407. C++ includes
  408. C++ casts
  409. Why do I see an incomplete type when I define the constructor outside the class declaration?
  410. c++ book
  411. a C program
  412. strstream depreciation
  413. Programming Win32 Under the API?
  414. C++ for small Windows app?
  415. Created object on stack and then returned this object to caller. Item deleted but still there??
  416. Help Finding Error In std::find code
  417. Uninitialized vector?
  418. Problem with stable_sort when used inside a object's method
  419. Multiplatform Report System for C++
  420. A question about reference counting
  421. reference counting
  422. The bridge design pattern
  423. What book should I study before a new job.
  424. makefile
  425. Safe union?
  426. Segmentation fault
  427. gcc flag to compiling C
  428. Stroustrup answer book?
  429. private inheritance
  430. Interleaving iostream read and write
  431. BiskyMisky
  432. what does 'this' mean if it static
  433. smart pointer
  434. How to deallocate memory when handling exception
  435. Bash and C++, friends?
  436. exception(logic error and runtime error)
  437. tricks to organize code for faster compile
  438. Database
  439. vector by name, recordset/field setup
  440. stack overflow before it attempts to sort 1 & 2 million int arrays
  441. location of names and typedef
  442. g++ 3.4 exception problem
  443. ADCURSORS
  444. custom istream class
  445. Sharing same copy of a member across all instances of a class.
  446. software framework
  447. interface principle
  448. About data-storing problem....
  449. Could someone help me?
  450. advanced template question...
  451. confusion regarding auto pointers
  452. signed integer overflow
  453. C++ lint (detection of unused classes and functions)?
  454. reference attribut
  455. tolower in locale
  456. static class local variable in memeber function
  457. c++ calling java calling c++ ...
  458. Need Help - Structure Required on Left Side
  459. MFC application using COM port for serial communication stops on minimization
  460. Redirect of stdout to pipe 'hangs'
  461. Template Metaprogramming
  462. Hexadecimal To Decimal Conversion (Via Char Array)
  463. PC-Lint
  464. compiler nightmares
  465. about copy constructor and destructor
  466. g++ template problem
  467. what is the most effortless way to add a description comment to a function
  468. using copy constructor
  469. Deallocation upon constructor failure
  470. Developing for Linux Shell Using Windows
  471. Constructor problem - help needed urgently to resolve this
  472. what is wrong with this cerr useage?
  473. heap based objects
  474. Stange Occurance After Using std::Merge On std::vector's
  475. using exceptions
  476. Why doesn't this list copy work?
  477. using inline
  478. query regarding copy constructors
  479. Organizing source in namespaces.
  480. Restructuring Ansi C to C++
  481. std::stringstream::seekg
  482. why define virtual destructor
  483. Why these operators cant be overloaded?
  484. storing return value not using assignment nor memcpy?
  485. Recursion using Stack
  486. How can I get the size of a ASCII file?
  487. random number generator
  488. optional debugging
  489. New member to group qustion
  490. compile errors with list of auto_ptr
  491. undefined reference to `vtable for Base'
  492. conversion from size_t to int
  493. Memory leak
  494. Allocate more memory
  495. casting in VC++ 6
  496. Polymorphic assignment?
  497. char_traits<char>::compare
  498. problem with template class and overloaded methods
  499. G++ 4: Unrecognised Friendship
  500. ifstream::read and pointers to std::vector
  501. copy constructors and the assignment operator
  502. Member arrays and copy-construction
  503. How much memory can I use
  504. read/write file contents
  505. Pointer to member variable of derivied class
  506. error compiling
  507. Static values, does the name matter?
  508. dereferencing pointer and object creation
  509. Why template by return value is forbidden?
  510. extracting data from string streams
  511. Is there is any strong reason not to use standard native C++ data types
  512. strtok help
  513. Extremely low-level serial port programming
  514. Is temporary variable always *const*?
  515. How to optimize? Object gets constructed a 100 million times
  516. lifetime of temp string object
  517. changing throw(...) changes interface?
  518. why VC7 linker complains this undefined...
  519. Crystal Reports with Visual Studio .NET C++
  520. Learning about dynamic memory - Question
  521. call java from c++?
  522. Nested try/catch blocks to give 2 attempts on an operation
  523. index a vector of properties
  524. unsigned char pointer
  525. Best way to cast anythign to void* and back
  526. C++ produced ASM code
  527. Have any solution
  528. std string streams
  529. operators (f.e. new[]) undefined
  530. Why ambiguous base when one is inherited private?
  531. using assignment operator
  532. Problem of random number generate..
  533. forward declarations
  534. Form feed character in header files
  535. using destructor
  536. is "delete" needed?
  537. powerset
  538. C++ books
  539. Printing Counsel Window
  540. How to find whether Object is in HEAP/Stack.
  541. How Does Loop In strcpy Work?
  542. Searching a container
  543. question abot Exceptional C++ (47. eng puzzles) Iby Sutter
  544. Avoiding multiply defined symbols for member functions
  545. recognize utf-8 files
  546. sql question
  547. Best way to return an int as a std::string
  548. transform
  549. comments accross platforms
  550. Data Structure Problem