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. Private interface using reinterpret_cast vs. inheritance (long)
  2. What is wrong with this simple code!?
  3. class string
  4. OOP question
  5. more generic functionalities in C++
  6. thinking in c++ by B. Eckel, typeid and g++ problem.
  7. Where to define a const string?
  8. member variable declaration and forward declarations
  9. NULL value
  10. Transport Bar Media Player
  11. #pragma include_alias in gcc.....?
  12. conversion of rate
  13. Debug problems with Visula C++
  14. Trying to understand casting, from base to derived.
  15. gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-34)
  16. forward declaration with namespace
  17. question about static "only" member functions
  18. header comment-- is there a std?
  19. another c++ i/o questions
  20. How to delcare a vector of a type which is a template class by itself?
  21. Undefined behaviour or broken compiler?
  22. Question for dbx.
  23. C++ Class Data
  24. Simple C++ graphical program to write ...!!
  25. Which causes more code-bloat: inline virtual or template class?
  26. A question about iterators.
  27. A question about std::lists
  28. operator delete problem.
  29. problem: calling a template member function
  30. Flags
  31. bits of this, bits of that
  32. generational garbage collection
  33. C library in C++ code
  34. Protected Static may as well be public?
  35. Not specifically C++, but worth sharing
  36. Can I remove constant from non-pointer variables
  37. Question for defining pointer.
  38. extern "C" directive and calling conventions
  39. A question on initialize a object with a pointer
  40. Which C++ compiler for Parallel Algorithm?
  41. Initialization lists and passed parameters
  42. how to define operator "<?="
  43. help finding an efficient way to copy dynamic memory!!
  44. How debug STL programs?
  45. BMP-Threshold-8bit-->2 bit-problem-image writing
  46. Linked List
  47. compare bitmaps
  48. question on partial specializatio (class template specialization)
  49. Passing a list of types to a class template
  50. overloading constructor
  51. question about the memory allocation of class members
  52. [MSVC7.1] set_terminate and set_unexpected problem
  53. minor confusion..
  54. Unable to understand the code fragement
  55. static variables and performance
  56. polymorphism
  57. _beginthread -- how to terminate a thread from out side of it.
  58. Why identifiers don't beging with digits?
  59. inheriting from a class template
  60. Why static data members can be declared as the type of its own class
  61. Question about const types
  62. md5sum differs across builds
  63. How to capture last octect of an IP address in C++?
  64. ISAPI problem
  65. ISAPI problem
  66. virtual constructors?
  67. VTABLE virtual function in derived class
  68. C++ implementation for C API ---- converting legacy C code to C++
  69. Iterators on Vector
  70. Operator Overloading and Interdependant Classes
  71. extern "C" struct -> class
  72. string::data() mem function
  73. overloaded operators and namespaces compile problems
  74. comma
  75. using system tray
  76. How do I parse a string into individual characters? (really simple!) really!
  77. Static variable
  78. What's the difference between string::c_str() and string::data()?
  79. Why does Explicit specialization of function templates cause generation of code?
  80. Templates & Implicit Casting
  81. i/o question
  82. Dynamically estimating time needed to complete a program
  83. Conversion of one object type to another
  84. item callback on container or why STL does not have pointer to iterator conversion open?
  85. inheritance - minor confusion.....
  86. is code hazarous?
  87. copy_ptr: request for code review.
  88. Select element from Set randomly?
  89. precondition and postcondition
  90. 60 GB IPOD deal found
  91. (mostly) non OO data dictionary / modelling?
  92. Problem on using "template" in VC/C++ 6.0
  93. using clone() function
  94. medlemsregistret@cf.se
  95. books about deep C++ knowledge?
  96. books on c++
  97. templates problems give compile error
  98. fout.close()
  99. this should be a compile time warning?
  100. Lookup Tables
  101. am I running out of memory?
  102. Inter-process comms - which method?
  103. have I wrong order in assignment operator and cpy-ctor
  104. proposal for template type parameter constraint
  105. Control CPU usage of a program?
  106. Beginner: A question about strings/arrays
  107. Loki TypeTraits bugs
  108. reference object when using STL
  109. Interface hierarchy emulation
  110. cutting up a long in date code?
  111. why not virtual static method
  112. Windows Programming using C++
  113. Exporting C++ Classes from a Static Library and from a DLL
  114. Why avoid constant template parameter
  115. database
  116. convert std::string to (byte*, DWORD)
  117. having trouble with casting operators..
  118. STL
  119. Instance creation
  120. Side Effects of Mutiple inheritance in C++
  121. Lightning Calculator
  122. weird bug w/ a template program
  123. Question about class design
  124. how to replace sscanf in C++,using <string>s
  125. Type casting C vs C++
  126. Const types in map
  127. type
  128. Repeating index - Indirect arrays - valarray
  129. inheritance doesn't works as expected
  130. printf or something like it
  131. dbx question: how to trace deletion of specific object?
  132. garbage collector c++
  133. why reference cannot represent NULL object?
  134. inheritance and polymorfism
  135. Pass by Pointer * or Pass by Reference &?
  136. How do i convert a character array to string.
  137. ifndef
  138. Stepanov Benchmark
  139. Count Down
  140. The other kind of map?
  141. I Need A Vector, Victor
  142. Can This C Code Compile Under g++
  143. create an array by value
  144. fairly basic question on command options
  145. extract number of entries in a line
  146. define new iterators
  147. STL map
  148. Compiler/Linker Error undefined reference to 'std::ios_base::Init::Init[in-charge]()
  149. copy constructor and destructor
  150. Template partial specialisation/inheritance problem
  151. enum within class
  152. Other way to write this?
  153. i got a prOblem, OF FUNTIONS
  154. STL Concurrent Acces
  155. container question
  156. using maximum value of double and int.
  157. string " removed from argv input
  158. Template within a template
  159. STL list insertion compiler error
  160. File Read Issue
  161. Creating inherited class with set base class
  162. Iterator assignment from a pointer
  163. problem with a truth table
  164. Keep index while sorting vectors
  165. const reference
  166. 60 GB PHOTO IPOD DEAL FOUND
  167. findFirstFile, findNextFile
  168. Problems of overloading template operator >>
  169. linked list with templates ...
  170. List with templates...??
  171. placement new and bit fields.
  172. winsock/mingw compile problem (undefined reference)
  173. Indexing an auto_ptr'ed chunk of memory
  174. Marshaling multidimensional array between COM and .NET
  175. const after function name
  176. emacs-calc
  177. INFINITY on gcc 3.3
  178. How to declare enum using attribute in VC++ .Net?
  179. is this the correct code for a bitset map
  180. Linked List Help
  181. Big O notation (Maybe offtopic)
  182. Oko IDDE and DB-manager now shareware
  183. Trouble with namespaces
  184. what next ???
  185. using directive being transitive
  186. Need programmer for develop software (p2p remote administrator).
  187. limitation of template parameters
  188. A question about the diamond inheritance
  189. Polymorphism Design Question
  190. Random Number Not Seeding
  191. using assert
  192. pointers and so
  193. Visual Studio NET Enterprise Architect 2002 and Visual Studio NET 2003 difference
  194. PHP script communicating with C/C++ program
  195. the diamond problem
  196. STL' Set as variable
  197. Handling exceptions in a destructor?
  198. sizeof object
  199. pass by ref vs pass by pointer
  200. using operator overloding with template
  201. Operator overloading, C++ performance crappiness
  202. SQL connectivity in C++
  203. advanced architecture of c++
  204. protected member
  205. one additional querstion about multiple inheritance
  206. question and understanding about multiple inheritance
  207. about delete.
  208. static member function
  209. 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
  210. Adobe Indesign SDK: Interface declaration
  211. Program
  212. How to upgrade config file
  213. Explain this
  214. reference/pointer to arrays type-cast operators
  215. C++ Internal representation of objects
  216. why compile error in multiple inheritance
  217. Sorting a list of objects
  218. pointer arithmetic
  219. A question about design of using virtual or not
  220. confused: vector<char*> and malloc
  221. problem with multiple inheritance
  222. Playsound Function
  223. what is a modul
  224. public inheritance wth advantage and disdvantage
  225. Can I delete an unnamed memory with a certain address?
  226. volatile variables
  227. size of char ch[] = "" ??
  228. Operator overloading advise
  229. Implementation Dependcies in C++
  230. A question about inheritance with template
  231. for_each with a non const member fuction
  232. Copying gsl_rng_state across MPI
  233. generic functions(template functions)
  234. Any new compiler support the `export` of C++ template?
  235. some more inheritance with template
  236. inheritance and name resolution
  237. C++ Primer, 4th Edition
  238. STL map and pthread performance problem on Linux/GCC
  239. C++ code reformatter
  240. How do i save data?
  241. template and inheritanc
  242. template with several classes
  243. "Container-of" in C++
  244. Question about shifting, portability
  245. DsGetDc.h Missing
  246. Anjuta IDE doesn't compile wizard generated Gtkmm projects
  247. defining + and = operator for vector<double>
  248. Problem: references mess up inheritance. Doesn't make sense.
  249. one more template question and some typedef
  250. a Visual C++ question
  251. even one more template question
  252. more template questions
  253. a template question
  254. is it okay to call the overrided assignment function in copy constructor
  255. template link error with GCC v3.3.5
  256. the pointer this
  257. Why does this work has to do with const
  258. A const pointer question
  259. declaring friend
  260. illegal indirections
  261. C++ include statements
  262. C++ includes
  263. C++ casts
  264. Why do I see an incomplete type when I define the constructor outside the class declaration?
  265. c++ book
  266. a C program
  267. strstream depreciation
  268. Programming Win32 Under the API?
  269. C++ for small Windows app?
  270. Created object on stack and then returned this object to caller. Item deleted but still there??
  271. Help Finding Error In std::find code
  272. Uninitialized vector?
  273. Problem with stable_sort when used inside a object's method
  274. Multiplatform Report System for C++
  275. A question about reference counting
  276. reference counting
  277. The bridge design pattern
  278. What book should I study before a new job.
  279. makefile
  280. Safe union?
  281. Segmentation fault
  282. gcc flag to compiling C
  283. Stroustrup answer book?
  284. private inheritance
  285. Interleaving iostream read and write
  286. BiskyMisky
  287. what does 'this' mean if it static
  288. smart pointer
  289. How to deallocate memory when handling exception
  290. Bash and C++, friends?
  291. exception(logic error and runtime error)
  292. tricks to organize code for faster compile
  293. Database
  294. vector by name, recordset/field setup
  295. stack overflow before it attempts to sort 1 & 2 million int arrays
  296. location of names and typedef
  297. g++ 3.4 exception problem
  298. ADCURSORS
  299. custom istream class
  300. Sharing same copy of a member across all instances of a class.
  301. software framework
  302. interface principle
  303. About data-storing problem....
  304. Could someone help me?
  305. advanced template question...
  306. confusion regarding auto pointers
  307. signed integer overflow
  308. C++ lint (detection of unused classes and functions)?
  309. reference attribut
  310. tolower in locale
  311. static class local variable in memeber function
  312. c++ calling java calling c++ ...
  313. Need Help - Structure Required on Left Side
  314. MFC application using COM port for serial communication stops on minimization
  315. Redirect of stdout to pipe 'hangs'
  316. Template Metaprogramming
  317. Hexadecimal To Decimal Conversion (Via Char Array)
  318. PC-Lint
  319. compiler nightmares
  320. about copy constructor and destructor
  321. g++ template problem
  322. what is the most effortless way to add a description comment to a function
  323. using copy constructor
  324. Deallocation upon constructor failure
  325. Developing for Linux Shell Using Windows
  326. Constructor problem - help needed urgently to resolve this
  327. what is wrong with this cerr useage?
  328. heap based objects
  329. Stange Occurance After Using std::Merge On std::vector's
  330. using exceptions
  331. Why doesn't this list copy work?
  332. using inline
  333. query regarding copy constructors
  334. Organizing source in namespaces.
  335. Restructuring Ansi C to C++
  336. std::stringstream::seekg
  337. why define virtual destructor
  338. Why these operators cant be overloaded?
  339. storing return value not using assignment nor memcpy?
  340. Recursion using Stack
  341. How can I get the size of a ASCII file?
  342. random number generator
  343. optional debugging
  344. New member to group qustion
  345. compile errors with list of auto_ptr
  346. undefined reference to `vtable for Base'
  347. conversion from size_t to int
  348. Memory leak
  349. Allocate more memory
  350. casting in VC++ 6
  351. Polymorphic assignment?
  352. char_traits<char>::compare
  353. problem with template class and overloaded methods
  354. G++ 4: Unrecognised Friendship
  355. ifstream::read and pointers to std::vector
  356. copy constructors and the assignment operator
  357. Member arrays and copy-construction
  358. How much memory can I use
  359. read/write file contents
  360. Pointer to member variable of derivied class
  361. error compiling
  362. Static values, does the name matter?
  363. dereferencing pointer and object creation
  364. Why template by return value is forbidden?
  365. extracting data from string streams
  366. Is there is any strong reason not to use standard native C++ data types
  367. strtok help
  368. Extremely low-level serial port programming
  369. Is temporary variable always *const*?
  370. How to optimize? Object gets constructed a 100 million times
  371. lifetime of temp string object
  372. changing throw(...) changes interface?
  373. why VC7 linker complains this undefined...
  374. Crystal Reports with Visual Studio .NET C++
  375. Learning about dynamic memory - Question
  376. call java from c++?
  377. Nested try/catch blocks to give 2 attempts on an operation
  378. index a vector of properties
  379. unsigned char pointer
  380. Best way to cast anythign to void* and back
  381. C++ produced ASM code
  382. Have any solution
  383. std string streams
  384. operators (f.e. new[]) undefined
  385. Why ambiguous base when one is inherited private?
  386. using assignment operator
  387. Problem of random number generate..
  388. forward declarations
  389. Form feed character in header files
  390. using destructor
  391. is "delete" needed?
  392. powerset
  393. C++ books
  394. Printing Counsel Window
  395. How to find whether Object is in HEAP/Stack.
  396. How Does Loop In strcpy Work?
  397. Searching a container
  398. question abot Exceptional C++ (47. eng puzzles) Iby Sutter
  399. Avoiding multiply defined symbols for member functions
  400. recognize utf-8 files
  401. sql question
  402. Best way to return an int as a std::string
  403. transform
  404. comments accross platforms
  405. Data Structure Problem
  406. Data Structure Problem
  407. stl includes
  408. Need help with declarations (simple question)
  409. Ultimate++ 0.98.7 released
  410. Idiotic Question
  411. Preventing the console window from closing when writing a console program in C++
  412. Adding Lib to Dev-Cpp
  413. Using C30 and dsPIC Microchip controllers
  414. book recommendation for C programmer
  415. cannot dynamic_cast 't' (of type 'void*') to type 'struct mom::object*' (source is not a pointer to class)
  416. Polymorphism, iterators and ABCs?
  417. stable_sort with arrays?
  418. Borland C++ Turbo
  419. Effective C++ - item 7 (memory mgt).
  420. vc++ - strtok() access violation
  421. How is :: and -> pronounced?
  422. Converting a float to int (Visual Studio 2003)
  423. template conversion operator clarification needed
  424. audio synthesis libraries / platforms / drivers questions
  425. Abstract Classes, Templates and inheritance...
  426. MySQL, ZeosLib & C++ Builder
  427. GCC, libgcc & thread-safe exception handling
  428. typeid with Qt throws exception
  429. Derive from MFC DLL to MFC APP
  430. string class
  431. C++ forbids declaration of ‘vector’ with no type
  432. AndyD
  433. using copy constructor
  434. good debuger for c++ on linux
  435. C program
  436. test - ignore
  437. Private members and copy constructors
  438. Unable to consume Process reserved memory
  439. string reversal
  440. Default parameter for member array?
  441. Stuffing bytes into structs and endians
  442. Binary Search Tree Help Needed
  443. delete pointer
  444. Adobe GoLive 5.0
  445. maybe a problem with pointers
  446. I am making a project on protocol SNMP
  447. Text template engine?
  448. string streams
  449. Specialization of a method of a templated class
  450. XML libraries for C++
  451. std::ostream data-modifying manipulator?
  452. CPU usage
  453. Problems with C++ Hook
  454. convert a char[4] (binary) to an unsigned long
  455. Makefile for C++ program
  456. Problem with member function of a templated class returning a pointer to an object of the same class
  457. Learning C++
  458. Store a static member functions
  459. problem in calling constructors and destructors
  460. Operator overloading: s1 = s1 + s1;
  461. Linker Errors + Multiple Definition Warnings (Dev-C++ and VS2005)
  462. casting from raw bytes to structures.
  463. unexpected return value
  464. Help with overloading the == operator.
  465. Again in english: Problem with probability formula for gaming logic
  466. std::string with non-type template arg
  467. Problem Wahrscheinlichkeitsrechnung bei Programmierung Fussballmanager
  468. Is C++ faddish like Java?
  469. An STL vector collection of C++ interface pointers?
  470. compiler error with a map<string, enumtype>
  471. Parsing c++ code
  472. How do I find out if drive (possibly WITHOUT file system) exists?
  473. Any down to earth c++ reference guides?
  474. for(int i... and speed
  475. returning const reference and compiler warning
  476. wchar_t and wstring with -fshort-wchar optinon with g++.
  477. typedef error, #define instead?
  478. EOS definition?
  479. Learning C++ and/or C
  480. C++ UML CASE Tool
  481. Visual C++ Forms error question
  482. Graceful error recovery with arithmetic
  483. What's wrong with std::ifstream::read()?
  484. Beginner's question
  485. Name lookup doubt
  486. Convert hex string into GUID without using MFC/ATL/.NET
  487. program hanging returning from a constructor
  488. error casting pointers
  489. static_cast
  490. C++ Sockets interface
  491. casting
  492. object members in vector
  493. Comment code in MS VC++
  494. Array size Template and references to array
  495. Multiple looping
  496. RAII- Am I making life difficult? [LONGISH]
  497. conversion from one container object to another
  498. overloading new[] operator
  499. static analysis tool for c++
  500. Adding variables to variables
  501. About head files for abs?
  502. vectors
  503. Compile time initialization of data.
  504. Boost.Filesystem what would you add?
  505. vtable and such like
  506. Operators overloading
  507. bit operations
  508. Why for the Virtual Destrcutors
  509. Iterators over nested STL container
  510. Query: How to declare a template class member function 'extern "C"' ?
  511. virtual table and shared memory
  512. Cantata++
  513. gotoxy & cprintf for cpp
  514. size of an empty class
  515. How to make new window not steal focus?
  516. Casting Union as hexadecimal and back again
  517. typedef struct {} SName; vs. struct SName{};
  518. static const data member
  519. Callback to member function
  520. exception handling problem
  521. How to partially specialize a class but NOT specialize a member function:
  522. Cannot make const_iterator of templatized hash_map
  523. Detaching primitive from boost::shared_ptr?
  524. sizeof observation
  525. Question of compile C++ code with g++
  526. share object between DLLs
  527. diff of advisory lock and mandatory locks
  528. array size
  529. extern struct variable
  530. Wanna study high quality c++ code
  531. Workaround for number of template args?
  532. ODBC handle classes
  533. Protected members
  534. Search and replace algorithm for string
  535. isNull() method a good idea?
  536. Rogue Wave C++ Standard Library released into Open Source
  537. optimal access/insertion associative array
  538. Pointers and Strings Help
  539. nonmember function
  540. Another program call - Need help
  541. String to int and double conversion?
  542. From printf to C++ formatting
  543. 'Passing' an operator like <, >, == to a template function?
  544. Procedure for eliminating static variables?
  545. high resolution time function under windows platform?
  546. How do you erase an entry from a map?
  547. header file help
  548. Puzzle
  549. about static members in a class.
  550. Using objects returned from functions