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