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. Quickie: Can std::deque::push_back() invalidate its iterators?
  2. how to "wait for any key"
  3. template classes and static attributes
  4. Automatic memory deallocation by std::string ??
  5. returning copy of the temporary string object
  6. Q: Legal use?
  7. Non-intrusive object serialization
  8. Removing else blocks
  9. Dev-c++: Linking a library
  10. New Webmaster Forum
  11. inheritance ideas
  12. please help me...
  13. reading directory
  14. fstream messes up order at read out
  15. Trying to get wchar_t... from a lookup array but type error... pls help!
  16. VC++ and Web Services
  17. Picture Control Not Reseting Right
  18. Initializing unions
  19. what's the design pattern for trial-fail-modify-retry
  20. <vector> code, perfect on vc++6, broken on g++3.2.2
  21. C++ is slow
  22. static_cast and globally scoped types.
  23. Is std::vector contiguous?
  24. Catching output of system()
  25. CFG / INI file
  26. pointer to pointer conversion
  27. Q: operator void* or operator bool?
  28. C Precompiler/Preprocessor Source Code
  29. Constructor call constructor
  30. Fortran call from C++
  31. Abstract base class + virtual Method
  32. Circular references involving internal classes
  33. I need a C++ tutor (will pay)
  34. Reading a string in VC++
  35. Scheduling Tasks
  36. How do I expose a static_cast?
  37. Manage pipe by stdio_filebuf
  38. design dilemma
  39. External cast operators
  40. socket and namespace question
  41. template<class Child> class Parent with protected constructors
  42. Pointer-to-member function of derived class
  43. compression algorithm in memory
  44. friends and class templates
  45. Makefile question
  46. A pointer in a class points to an other member function in the same class?
  47. Preventing simultaneous access to a file by C++ CGI instances
  48. reusing an object
  49. Problem with Combobox with Horizontal Scroll bar in VC ++
  50. wait for keyboard entry ?
  51. prevent delete again
  52. Altering Array Sizes within Functions
  53. Overloading operator delete
  54. again after problems with database - DESIGN PATTERN survey
  55. I had a test this week on c++!
  56. i had a test this week
  57. system command
  58. classes: virtual functions from baseclass
  59. Optimizing a switch statement
  60. Passing Pointers
  61. Compile C++ to TCL
  62. Need an algorithm for creating an complete binary tree.
  63. Type casting
  64. Visual C++ wrong entry point
  65. std::vector<char> troubles
  66. PostMessage troubles with SHIFT key
  67. Will my memory be deallocated?
  68. Socket programming using Visual C++ .Net
  69. How to write a C++ compiler
  70. Efficient double comparison
  71. extracting data from a database and converting it into an XML file
  72. Why isn't srand working?
  73. new class to class conversion question
  74. operator conversion
  75. Using special chars in std::string
  76. Initialising base class reference members from a derived class
  77. color histogram (help)
  78. overloading operators in c++ (VS 6)
  79. how to use mouse in FLTK
  80. how to do next?
  81. OFF-TOPIC:: Why Lisp is not my favorite programming language
  82. Visual C++ , I have .exe and I want to get source code?
  83. need help
  84. STL string segfault
  85. if i do a friend Testclass operator +(Test class &obj2); it is not correct because i need two objects?
  86. How to "sleep" or "delay"?
  87. invoking a method on an object
  88. How to "sleep" or "delay"?
  89. How to get return value from a spawned process?
  90. Why make a class 'sealed'?
  91. Expert Help needed with hash_multimap
  92. Bulk Insert of Blob data type in Oracle
  93. User Name from NDS using VC++
  94. what is this definition?
  95. Defining constants in classes
  96. ownership of memory in stl containers??
  97. Passing commas into macros
  98. Performance issue: matrix multiplication in C and C++
  99. Creating Folders In Visual C++
  100. problems with operator== and inheritance
  101. Making a DLL
  102. upcasting of baseclasspointer
  103. Instanciating template classes
  104. C++ STL vector Question
  105. regarding static fn
  106. Problem with own global operator+
  107. Reading out data from octal buffer
  108. LASER Summer School on Software Engineering - call for participation
  109. Get the pronunciation with using SAPI
  110. CSocket
  111. ENUM and inheritance
  112. copy constructor c++
  113. weird #define statement
  114. Cancel cin
  115. g++ linking problem with using template
  116. C++ with SQL
  117. what'ch think of my fraction program, is it correct and good and efficient?
  118. Copy-on-write tree data structure
  119. Template Instantiation
  120. Is this valid?
  121. Compiling problems with g++
  122. Cyclic includes / forward definitions always solvable?
  123. Inheriting operator []
  124. iostream.h with ms visual c++ 6.0?
  125. What's wrong with this linking?
  126. Casting a void pointer to base class and calling overridden function ... allowed?
  127. unpacking ints
  128. threads (java-style)
  129. try
  130. HELP! My visual studio is broken!
  131. Empty a stringstream...
  132. What's the best way to define global variable
  133. writing something like printf() in C++
  134. Hash Table
  135. is there a reason why to make mix numbers improper when adding?
  136. Simple Algorithm
  137. throwing out of memory exception in c++ doesnt work
  138. How to set the evironment variables?
  139. Class member method
  140. delete in-place corresponding to placement new?
  141. libraries and STL versions
  142. argc and argv
  143. Inheritance & static members
  144. Testing ScopeGuard from CUJ article: SG destructor not called on exceptions??
  145. static members
  146. static members
  147. File handling in C++
  148. How to define a class in more than two .h files?
  149. Static member variables in template class.
  150. double re, im; re(r), im(i) vs re=r, im=i
  151. off-topic: Why is lisp so weird?
  152. socket programming
  153. 7 bit char
  154. Confusing error ?!?!
  155. Q: Using an extern const size_t?
  156. Ofstream filename variable
  157. vc++ error while compiling pro*c precompiled code
  158. How to send output to a local printer
  159. Overloading -> and ->*
  160. template problem in vc6
  161. Annoying problem with string::find()
  162. overloading [] operator for matrix?
  163. Announcing new public release of Lpp 1.21
  164. How to design GUI with wxwindow
  165. preprocessor
  166. Infinite Loop Detector
  167. function prototype
  168. random number code
  169. The end of my streambuf road...
  170. How to use to_string() from bitset.h
  171. intrestring puzzle
  172. How to load a class from given class name in a string ?
  173. template problem
  174. Weird problem with std::string
  175. Problem with convoluted function pointer
  176. Bus Error?
  177. constructor
  178. function as a parameter
  179. Operator new and new operator
  180. Change destructor qualifier
  181. Namespace and doxygen
  182. Library conflict, shared memory
  183. SysListView32
  184. C++ HTML Reference ?
  185. comment on union operation function
  186. FAQs Please
  187. can __dynamic_cast() be used to perform a trivial cast?
  188. email parcer
  189. back_inserter & basic_string
  190. Please help to judge if it's a bug of g++!
  191. try-catch blocks & memory leaks
  192. GCC on 64 bit archs
  193. Performance Question
  194. passing data structures into a function
  195. Is that a constant expression?
  196. Is this a legal function type?
  197. C++/Fortran mixing
  198. &vector[ 0 ] vs. &vector.front()
  199. what is the difference between these two declarations
  200. c++ ou visual c++
  201. Order of template specializations
  202. Returning Null??
  203. streambuf, yet again
  204. using declaration question
  205. STL question
  206. Metaprograming
  207. A "match" class
  208. void*
  209. std::sort whole program
  210. streambuf not flushing, apparently
  211. Variables as array size declarators.
  212. recompiling problems when linking
  213. std::vector managment question
  214. More problems inheriting from streambuf
  215. C++ interview test
  216. Static initialization dependency -- Think in C++ 2nd
  217. One more way windows can ruin your day
  218. Multiple inheritance and destructors
  219. Operator
  220. Using popen
  221. cin.getline problems in case
  222. std::sort
  223. How do i remove an element in the middle of a Vector? (without iterator usage)
  224. Do header files really serve a useful purpose?
  225. aCC vs g++
  226. "power of" method ??
  227. replacement for stristr
  228. help with arguments
  229. static initialization
  230. Position of a String within a String
  231. boost matrix resizing on the fly
  232. Insertion operator onto object
  233. C++/Solaris: retrieving args from an execv() call - and I am an idiotwith pointers
  234. Copy Constructor for an Array Element ???
  235. Exception questions
  236. once aand for aall
  237. Nested class template as friend
  238. inheritance
  239. "[in-charge]"
  240. Reading from a stream til EOF
  241. Create avi from memory
  242. Object Composition & Returning References....
  243. More help with << and >>
  244. CHAR_BIT issue in gcc 3.3.1
  245. Error when creating class reference to an instance of itself
  246. Reference to temporary
  247. const
  248. std::sort question
  249. 821206 - using DEBUG_NEW
  250. Initializing vectors in one line
  251. Why realloc? (in __default_alloc_template, file: stl_alloc.h) (GCC ver 3.3.3)
  252. some question about static member
  253. Build-in types initialization
  254. hmm.... two things to clarify...
  255. Communicating with another process in C++??
  256. "really" dynamic cast
  257. void function returning value?
  258. writing to file
  259. Array problem
  260. Returning an array in C++ ???
  261. New paradigm of introspective OO development
  262. signalhandler calss
  263. structure vs variable
  264. type conversion
  265. Incomplete type as template argument
  266. Trouble with dynamic_cast and references
  267. friend problem in GCC 3.3.1
  268. Debugger issue - VC++ v6
  269. Pointer to a class with dynamic memory
  270. Question about pointer to class that has dynamic memory
  271. strange linking behaviour
  272. cygwin and dev-c++ and after that, wxWindows (wxWidgets)
  273. Smart Pointers and "new"
  274. Makefile and dependencies of lib
  275. Question on deriving from ostream
  276. About memory management with references
  277. Conversion between string types
  278. Interfaces and generic templates
  279. static functions
  280. rder of iteration over a map or a set
  281. C++ implementation on segment model
  282. Linking Errors in Orbix 3.3 C++ eidtion
  283. Problem with Dev-C++ profiler analyst
  284. write a union object using write
  285. toupper
  286. opening file - file does not exist but no error
  287. std::stringstream && std::string
  288. Help with functor/template/constructor
  289. comments needed
  290. implicit constructor declaration (user annoyed)
  291. Porting old non ansi code
  292. Hex to Bin
  293. s3m playback
  294. repost: template function specialization & basic question...
  295. Dec to Hex
  296. reinterpret_cast<>
  297. i promise not to...
  298. inlining function objects
  299. STL Vectors & Memory
  300. 'Assignable' Expression Templates?
  301. Looking for a C/C++ programmer in Houston
  302. Looking for a C/C++ programmer in Houston
  303. Channel List
  304. Screen capture of non visible windows
  305. Is it constant folding at work
  306. SPIRAL PROBLEMS
  307. ifstream as parameter
  308. faq sites
  309. casting problems.
  310. inline virtual destructor in a header file??
  311. import lib in VC++.net
  312. Data Saving/Loading & Object Construction
  313. class design question
  314. nt.h file
  315. Porting CC to GCC
  316. dynamic binding
  317. I can't believe I'm having this problem...PLEASE HELP!
  318. c++ language design teaser
  319. What's WRONG With My Code ???
  320. Howto access screen and input devices.
  321. default values to enum ?
  322. Calculate Clock Speed (in an emulator)
  323. stl ostream_iterators with user defined types
  324. Random numbers as objects
  325. Does destructor of derived class remove virtual table?
  326. pointers in c++ ??
  327. ***External access help***
  328. Attaching basic_string to preallocated buffer
  329. access and name lookup, surprised by this code
  330. problem in passing parameter to dll function
  331. std::vector for pre-template compilers
  332. toupper wont work
  333. writing a plugin for ethereal ... where to start
  334. dos problems
  335. unnamed namespaces
  336. data structures
  337. API for STL?
  338. adding/removing elements from std::vector
  339. << friend
  340. Warning: Defined but not used
  341. substring function
  342. RFD: comp.object.corba.tao
  343. Subclassing to get << and >>
  344. access violation problem
  345. Memory related functions....
  346. design question: templates or inheritance?
  347. ANTLR Calculator
  348. typecasting the base class to derived class.
  349. How to get HBITMAP from Graphics object in Gdiplus?
  350. Use of typeof() for member data declaration (g++ bug?)
  351. Query
  352. Use of typeof() for member data declaration (in g++)
  353. Detect if a Station is alive in the network
  354. wried integer addition
  355. A reference to non-const to be bound to a temporary object
  356. One extra line every time...
  357. Advanced pointer typecasting
  358. array positioning question
  359. return const and assert
  360. Help with outputting 2 decimal places...
  361. New Webmaster Forum
  362. solve linear systems in boost::numerics::ublas
  363. How to use a DLL
  364. Does the C++ vector template class use pointer-based link lists?
  365. forward declaration of a structure nested in a class
  366. User Name from Novell Directory services
  367. Exceptions
  368. negative number evaluating greater than string.size()
  369. if
  370. multiple copy constructors
  371. Objects in Memory (Behind the Scenes Question)
  372. Anyone knows what can be cause of this problem?
  373. Template problem
  374. vector::resize(): Why no fixed memory usage?
  375. nettools ping / net view
  376. Nettools ping / net view
  377. Default Pamameter
  378. PN: Support for common functions not in Ansi Standards
  379. virtual inheritance
  380. Initialization in a constructor
  381. structs of double as double[]
  382. Determining Number of Arguments
  383. Read a text file
  384. Default Arguments
  385. How to Play Mpeg file?
  386. union elements
  387. Abnormal program termination - Please help!
  388. C++ streams and serialization
  389. How do I invoke the .NET C++ compiler from the command line?
  390. Attached Window Properties Help
  391. void *
  392. Dynamic array
  393. Questions of designing a class
  394. C++ dll and C#
  395. forward declaration for typedef of unnamed structs
  396. std::ostringstream, urgent
  397. Pass pointer by reference
  398. Print occurence list
  399. Winio formatting problems
  400. how to call system command with variable parameters?
  401. _really_ empty classes
  402. local class question
  403. how to use sort for
  404. OT Slightly perhaps? Need scripting language compatible with C++exceptions
  405. memory allocation problem
  406. Can It Be Done?
  407. Overloading new and delete in C++.
  408. Converting containers of smart pointers
  409. Interview questions
  410. Secure programming
  411. Help perfecting std::vector for antique C++ compilers
  412. Dynamic variable name. plz help
  413. Link List
  414. char[] element editing question...
  415. The Wisdom Seeker IDe, an open source software development project for all
  416. Comparing C-Style Strings
  417. Pointer to non-static member function in the same class
  418. I don't understand this assignment...
  419. Which IDE
  420. Prototype or instantiation?
  421. Fetching NCLOB oracle C++
  422. Design Question
  423. time to get rid of unsigned?
  424. cast operator
  425. multiplying two numbers and giving the square root
  426. multiplying two numbers and giving the square root
  427. Member pointer to template class object?
  428. Finding permutations of a list in a map or multimap
  429. STL remove_if function
  430. error LNK2001: unresolved external symbol - Ultra noob question
  431. Leaked Windows 2000 Source Code File
  432. std::string c_str()
  433. C++ beginner's book... Please help.
  434. Multiple Inheritance size problem
  435. How to read/write raw bytes from a flash card in C++?
  436. Memory leak ?
  437. specialized static template variables
  438. Converting char* to char
  439. Creating instances of objects
  440. Templates
  441. Access specifier and inheritance
  442. memorystream
  443. parse error before `('
  444. STL: malloc_alloc - omission of types
  445. Specialisation of a template that results to another template
  446. ide for qt , C++, windows <-> solaris development
  447. formatting floating-point-numbers
  448. template related question
  449. std::cvector
  450. Order of uknown array subscript
  451. declaration of size of vector<vector<int> >
  452. simple matrix
  453. radio button layout problem
  454. STL & basic_string<XMLCh> link error
  455. Problem writing a Unicode File in ANSI code
  456. using std::sort;
  457. *& dereferencing a pointer to a class
  458. associative container
  459. streams and FILE* interoperability
  460. Automatic Closing?
  461. clean way to organize string constants (for user feedback)?
  462. operator inheritance from a class template???
  463. C++/Bison Question
  464. Want to buy "Computing Concepts with C++ essentials" 3rd ed
  465. Who's for chess?
  466. How to spool LPT1 on win98?
  467. how to use using in header file?
  468. Where to place a constant?
  469. Should I NOT use Visual Studio 6.0 for programming games?
  470. Codes for Opening PDF files
  471. C++ and Modems
  472. Just a simple tree view
  473. Short program
  474. string search within a large file..
  475. program logic
  476. Passing an ifstream object to another function
  477. Arithmetics
  478. Re-forward declaration of types which were already forward declared
  479. String search library
  480. About Dlls in Borland C++builder 6 Ent
  481. Conditionally copying text to string
  482. Graphics Libarys
  483. Naming convertion
  484. std::vector<char> or std::ostringstream
  485. Redeclarig the unimplemented base pure virtual methods
  486. If operator=() is private in base.....
  487. auto_ptr clarification and josuttis book
  488. template question
  489. How can I log Instant Messaging being done on my computer?
  490. Class for static maps
  491. Loading a Bitmap More than Once
  492. do/while false
  493. unicode
  494. restricting the scope of friend class
  495. comments on this Binary Searh Tree template?
  496. Finalizing virtual methods
  497. Forced downcast - when will it work?
  498. Empty program so large?
  499. How to add ControlHandler to my main program?
  500. Virtual Memory Drop In
  501. how to call functions in C++ code from c
  502. initialize serial port
  503. Find a file with c++
  504. linux/windows development scenario
  505. Pointer as Array reference
  506. Reading from array is faster than writing ???
  507. Variable name incrementation
  508. Initializing std::basic_string<> with literals
  509. How do the STL containers interact with destructors/constructors?
  510. Shared memory Management
  511. Differences between "class::member" & "object.member"
  512. Function Pointer to a member function
  513. Problem with virtual member function pointer (how to invoke the base?!)
  514. const references : confusion
  515. Calling constructor
  516. file stream open failure reason
  517. Another base/derived problem with gcc, but not with MSVC
  518. Writing Numbers to a Binary File
  519. Compile-time checks using tag classes
  520. Storing Pointer in a Class Hierarchy
  521. Merging 2 dlls in One with Visual C++ 6.0
  522. TEXT macro for ascii and unicode initialization
  523. Prueba
  524. Subtypes of templated types (in templated functions)
  525. Semi-automatic indentation in streams possible?
  526. "new" vs "new class"
  527. How to convert (type *) to (type) inside a template?
  528. programming socket in c++
  529. Delete a class with multiple inheritance through base pointer?
  530. forward declaration of a template class?
  531. g++ -> vc.net
  532. Questions about destructors on std library containers
  533. How do i debug in Release mode
  534. pass by Reference/value ???
  535. how to handle groups of objects
  536. virtual inheritance
  537. Pointers and Arrays Problem
  538. Calling Java object/methods from C++
  539. NEW and DELETE operator question
  540. Transfering objects between programs
  541. Help adding objects
  542. test-004
  543. Callling C++ code from C
  544. Friend class and typedef problem
  545. Drawing Graph In VC++
  546. Ifstream problem
  547. Help on operator overload for something like matrix(row)(col)
  548. starting program without taskbar item
  549. Static member functions in Abstract Base Class
  550. how to format a binary file?