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