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. vector.swap and heap / stack
  2. ostream operator
  3. How to write an allocator for the STL List in VC++ 6.0
  4. two dimensional iterators
  5. counting objects
  6. Compiling:)
  7. switch
  8. C++ Hierarchy compiling???
  9. destructor / semantics of delete this
  10. avoid function collisions ?
  11. stl list erase
  12. help in template class
  13. this
  14. Optional Parameters in Functions
  15. namespace problem
  16. Windows port redirection
  17. MS Visual C++ bug?
  18. C++ Building derived class from sdl string!HELP!
  19. Prevent warning: assignment to 'int' from 'double'
  20. template error
  21. ofstream file error checks?
  22. while statement
  23. About RTTI
  24. Multidimensional arrays
  25. namespace
  26. Definig a Class within a Class
  27. s there any C API to find the total VM of a Unix system?
  28. Learning C++ Templates.
  29. copying chars to ints...
  30. Can cout do like printf("Name: %s, Age: %d\n",name,age)?
  31. File Processing
  32. No Subject
  33. stumped: error => ld: fatal: Symbol referencing errors. No outputwritten
  34. type_info, vtable
  35. why does my complier complain there is an overloaded function?
  36. Stumped: ld: fatal: Symbol referencing errors. No output writtento myfile.o
  37. GNU VB
  38. Corba monitoring tool
  39. teeing parent+childs output
  40. Ocx equivalent of specific vbx
  41. Linking libraries with local symbols
  42. Code I've never seen before
  43. C call C++ fuction and iostream
  44. Base classes destructors
  45. Pushing memory allocating objects into a vector.
  46. Dynamically allocated array question
  47. overloading the + operator:
  48. Help with Virtual methods
  49. STD types vs C++ intrinsic types
  50. Incrementing/decrementing for speed
  51. hi does anybody work with "mouse package for cfd analysis in C++"
  52. converting fron unsiged char to int
  53. Simple Memory Game Problem
  54. problem linking dll in C++
  55. Mirror NTFS
  56. Calling C++ functions from C
  57. STLPort 4.5.3 compiled with Comeau 4.3.0.1 on Windows?
  58. Which implementation of "set/get" member functions is better? Please help.
  59. static_cast versus C-style type cast
  60. When to use various types of casts?
  61. Some concepts (Maybe LOL maybe not...)
  62. Partial member of class template specialization
  63. serial communication between PC and Altera FPGA in c++ or c
  64. Namespace/Template member initialization issue
  65. multiple inheritance and constructors
  66. C++ casts on zero
  67. do I need a virtual destrucotr?
  68. g++ and VC
  69. NULL template?
  70. Design discussion: inheritance + (template or parameters)
  71. Using file streams in DLL
  72. macro usage - cpp faq example
  73. Some puzzles about sgistl!
  74. linkage -O3 templates
  75. A question about NULL
  76. Serial Port Code
  77. RSA Decryption in VC++
  78. Multi-file project with Namespace
  79. Namespace: Is it a scope or a namespace?
  80. C++ question
  81. Expert advice needed
  82. seemingly simple ofstream problem please help
  83. LDAP SDK
  84. Copy constructor and =
  85. unwanted functions
  86. Advice
  87. RAND GENERATOR IN C++
  88. partial specialization of function template
  89. C++ standard
  90. why use unsigned char ever.
  91. <possibly OT>access violation
  92. #include "bar" negates #include <string> ; how to fix?
  93. Is the storage for a std::vector<T> guaranteed to be contiguous? (from FAQ)
  94. template based design
  95. Strange problem with new in a DLL
  96. Beginning with QSA (Never used QT before)
  97. std::ofstream filename
  98. about Vector class
  99. access to private members from inner classes
  100. Large scale C++ software design?
  101. Implement Ctrl-C, Ctrl-V
  102. Extending ofstream class?
  103. C# newsgroup
  104. how to create a member, which knows about the object it was created in
  105. C++ News Groups
  106. Parse error in pointer to template
  107. Help with terminology
  108. Pointer problems with graphics contexts
  109. Member field destructors?
  110. Double BackSlashes
  111. istream_iterator question
  112. __PureVirtualCalled
  113. generic tree pathfinding
  114. multiple inheritence question
  115. A Question about structure...
  116. missing zeroterminator in string.c_str()?
  117. Strange compiler warning
  118. Beginner's Question: Assignment of Objects with a constant data member possible?
  119. ostream value output question
  120. header file of NULL
  121. DLL problems
  122. list::sort with pointers
  123. No output...
  124. order of execution
  125. DirectX
  126. STL vector.push_back causes delete "object"
  127. virtual vs. protected
  128. standards for thread safety
  129. Wait for <Enter>-key
  130. Whats the deal with virtual inheritance
  131. template and friend problem
  132. typename, typedef, and resolution
  133. No object's copies
  134. Does ifstream know why it is unable to open file?
  135. Is This Legal Template Code? (Deduction Rules(?))
  136. "Bitslicing"
  137. memory problems
  138. Perseus: What an Idiot
  139. Problems compiling STLPORT 4.5.3 with g++ 3.3
  140. Is this OT?
  141. c++ polymorphism and real-time programming
  142. initializing heap-allocated structs
  143. Templates and Typedefs
  144. Canceling file or directory deletion in .NET. That's Right Tony. How Dare You Ask a Question About .NET in This Dictatorship?
  145. Help with function
  146. E. Robert Tisdale: What an Idiot!
  147. Mike Wahler: What an Idiot!
  148. Canceling file or directory deletion in .NET
  149. creating a list of lists
  150. template function within template class
  151. Some problems with forward declarations
  152. Visual C++ Runtime error while registering a DLL!
  153. Karl Heinz Buchegger, Victor Bazarov, socketd, Nils Petter Vaskinn: The Owners of C++.
  154. Attention Posters: You Are Not Allowed to Post a Message Up Here on Reading the Files of a Directory!
  155. taking address of a template method
  156. What a Funny Goup! I Asked a Question About Boost (C++ Filesystem Interface) & All I Got Is: My Question Is Irrelevant!
  157. Rows: display a pattern that increments in each row
  158. Template class member for one specialisation only?
  159. Problems writing to NT Security Event Log
  160. Moving memory blocks and updating references
  161. basic data types
  162. How Do We Configure the BOOST Filesystem Library?
  163. How to use "Unicode" in Borland C++3.1 for DOS?
  164. Variable Types
  165. F-bounded polymorphism?
  166. C++ standard Library
  167. How to get standard C and C++ working together? How to debug a DLL?
  168. t_e_s_t
  169. XMS memory
  170. Help on template specialization
  171. Definition of POD types
  172. typedef and #ifdef
  173. How to get parent class' pointer
  174. Multiple classes
  175. vector run wrong !
  176. Include problems
  177. Containment classes
  178. New printer notification?
  179. C++ vector type
  180. Quadratic curve fitting!
  181. Confusion over header files
  182. Reading a very large textfile into an array
  183. How to force an immediate writing of the printf() buffer content to console ???
  184. class definition position?
  185. pointers (why should I learn them)
  186. How to get the structure in callback?
  187. C++: Macros
  188. C++: "Type Checking"
  189. C++: prototype declarations
  190. C++: pointers Vs references
  191. does vector<>.resize call delete?
  192. const functions problems...
  193. Http client for Linux
  194. Template member function specializations in template classes
  195. tracing function calls
  196. floating point precision
  197. xine player
  198. buffer options
  199. Graphics/Midi in console application?
  200. Shared Library Question
  201. accessing members of a templated base class
  202. accessing members of a templated base class
  203. const in argument
  204. does "struct_name var = { 0 }; " fill var with 0?
  205. friend declaration for template class
  206. friend declaration for template class
  207. new class T
  208. A better way to tail a file
  209. A question about operator*=
  210. Parse Error in template class
  211. Return Class instance from dynamically loaded DLL?
  212. 'const' saves space??
  213. 'const' saves space??
  214. C plus plus vs C Sharp
  215. log4cxx logging framework version 0.9.1
  216. test
  217. test
  218. How to create a semaphore for a file
  219. Sort a map using the value, not the key.
  220. reference and deference
  221. variable shadow
  222. sockets class
  223. Computational Scientist Position
  224. Bogus output on Wintel but good on SiliGee
  225. Need help with using VerQueryValue
  226. How does bind1st() work in this case?
  227. it looks good but doesn't compile :(
  228. Question about the standard or maybe just good practice?
  229. Microsoft Visual C++ 6.0 Introductory Edition
  230. Casting between const type** and type**
  231. g++ 3.2.2 realloc bug?
  232. Beginner's question: What is "const int * &"?
  233. EDOM
  234. enumeration
  235. #include standard
  236. new or malloc()
  237. Overriding virtual functions problem
  238. Q: Overload operator new/delete
  239. Objects
  240. template method instantiation
  241. Defining a class on the fly
  242. Does it make sense to export a template class def?
  243. Copying and assigning of resource-owning objects
  244. beginner's question regarding pass parameter
  245. commenting out 'cout' using preprocessor macro
  246. static member functions
  247. Challenge: Device Register Model in C++
  248. overload operator -
  249. generating network traffic using libnet.h
  250. virtual static member functions?
  251. Returning by value or reference
  252. Need precision using modulus
  253. Help with opening and reading from a file
  254. class method representation
  255. a static local variable in a static method is thread local storage?
  256. STL typedefs and base class pointer problem
  257. C++ programmers! How do you use your 'enum's ?
  258. Programmatically opening a new document and write a string in a CRichEditView.
  259. Accessing data members from templated copy constructor
  260. checking stl vector successful memory allocation
  261. The destruction of a sub instantiated obj that I’mpointing too.
  262. Scope of an Arg
  263. string to const char *
  264. list<CComBSTR> error.
  265. templates and inline
  266. What d'ya think?
  267. pow() function implementation
  268. cin before fgets
  269. What is the server name of this newsgroup?
  270. simple type conversion question
  271. prototype declaration not variable definition
  272. What is the currently way to use string?
  273. a class sharing the public struct of another class
  274. Operator overloading
  275. Borland 5.5 compiler
  276. CARRAY COpy constructor
  277. incrementing an integer at compile time, across source files
  278. is generic prog becoming obfuscation?
  279. simple question about command line option
  280. Statically Linking Libraries
  281. please fix this so it works
  282. windows is not support graphics
  283. CARRAY problem with ADD
  284. How to extend the STL?
  285. ACE - Adaptive Communications Environment
  286. QT hell....
  287. Problem installing facets into locales explicitly
  288. C++ DB last insert id api
  289. Is it a right way for using containers std::list< std::string > strList ?
  290. operators in derived classes??
  291. Problems with ifstream
  292. Parametrized stream manipulator
  293. C/C++ language Standard I/O has problem in Redhat 7.2?
  294. How to use the following Microsoft function
  295. Line wrapping in ostream
  296. Philosophical question: Template Method
  297. Overloading new[] and delete[]: how do they vary from new and delete?
  298. Is a constructor a function?
  299. const functions?
  300. long double type in windows dll
  301. problem with compilation and headers on MS VC++ (LONG)
  302. ostringstream
  303. new operator detail?
  304. Problems with rename - is it fcloseall() ??
  305. sort on vector type
  306. Registry Help
  307. setting and resetting stream precision
  308. question on namespace
  309. optional interface
  310. is this undefined?
  311. Default constructor
  312. VStudio .NET (VC++) and MFC : Text on image and save it?
  313. const_iterator
  314. would this work?
  315. changing virtual methods
  316. Undefined Reference Error while linking with g++, STL on LINUX
  317. fstream file i/o
  318. #include <iostream.h> or <iostream>
  319. Exit
  320. Hashtable Memory Dump?
  321. starting programs
  322. Array initialisation
  323. C++ stream-compatible TCP/IP sockets (Demo application)
  324. Input without pressing Enter
  325. Multi-paradigm design with C++
  326. const_cast question
  327. RogueWave - running inserter and selector on the same connection
  328. mistakes??
  329. stl usage question
  330. Template arguments
  331. Future reuse of code
  332. C++ Charts
  333. Xenon 2000 project pcf
  334. how to get the other window's scrollbar handle ?
  335. inheritance
  336. DNS - get MX-record - any linkable tools?
  337. C++ Charts?
  338. Optimized memcpy to reduce cache misses
  339. inline
  340. unline instead of outline
  341. bmp file reading
  342. <map> and const objects
  343. control process network I/O
  344. Debug assertion failure
  345. Message box
  346. Basic question about casting and addresses
  347. Undefined symbols: vtable for Foo
  348. To experienced OO people: please give some ideas/URLs for a course on object-orientation
  349. returning value in assembly language.
  350. namespace
  351. why does a class declaration include private members?
  352. RDP or ICA?
  353. Template oddness with libpqxx
  354. Need Seminar Ideas
  355. Sets - Bit Array Vs. List
  356. Constructor
  357. My first C++ program failed on me revisted
  358. formatting with showbase with hex for 0
  359. trouble with >> overload
  360. Need qr source...
  361. Hello World weirdness
  362. 3d math library
  363. Virtual Function Problems
  364. How to remove dependency on a header file which has a typedef?
  365. Symbols in libs
  366. Looking for code... Polyfit, polyval
  367. compiler error I don't understand
  368. Reading stdin from stdout of another application
  369. WTF is this?
  370. behavior of new
  371. favoring forward class declaration over #include
  372. ending null character
  373. Need help using STL to sort a vector of strings
  374. a question of style
  375. Problem with passing pointer to a function
  376. A::A[not-in-charge]() undefined reference to `vtable for A'
  377. variable type class (was: std vector use question)
  378. Getting Any Text in Mouse positon From Any Window
  379. creating a pointer to a base class
  380. determining the size of a structure
  381. /GX compiler option
  382. base class initialization
  383. How do I implement final in C++
  384. Link error using gcc 3.3 on Solaris 9
  385. Printing String Issues
  386. [Help] C++ Language
  387. deriving from std::exception
  388. std vector use question
  389. func new
  390. Not even a newbee. Good at school course. please advise good start
  391. overloaded >> and istream delimiters
  392. Symbols in library.
  393. allocator size_type
  394. Book recommendation
  395. overloading
  396. purpose of C
  397. Can a class call its indirect base's member function?
  398. jjLibrary 1.5.2
  399. template function with <char*>
  400. inheritance, pointercast
  401. inheritance, pointercast
  402. using templates in templates
  403. Compiler standard compliance comparison
  404. operator= - code in overloaded function doesn't get called
  405. IDE for C++
  406. char 8bit wide or 7bit wide in c++?
  407. 64 bit
  408. C++: inherent conflict
  409. Casting changes value of ptr
  410. A Switch-Case versus Polymorphism scenario
  411. Problem with inheritance
  412. About memory of a vector?
  413. Number conversion with string streams
  414. virtual methods, virtual bases bug<?> in G++ 3.3
  415. Clarification for std::vector and std::map
  416. resizing vector via a pointer to the vector
  417. linking templates problem
  418. static namespace members
  419. while loops
  420. how can i intercept messages
  421. Dr. Dobbs and other periodicals?
  422. Destructors of Derived classes
  423. Can ANYTHING be inserted into STL vector?
  424. [C++] Timer WHILE waiting for input
  425. Multiple inheritance performance hit
  426. Ctor/Dtor order
  427. C++ linkage problems
  428. lower_bound
  429. Simple Template Question
  430. simple ? repost
  431. Problem with streambuf
  432. Reading and Writing GIF files
  433. Extremely Simple Question
  434. extremely simple question
  435. infile.get(x)
  436. virtual base classes and constructor calls
  437. vectors stl with pointers
  438. callback method
  439. 'inline' during declaration & definition
  440. static allocation
  441. BST & recursion
  442. help on project
  443. new not throwing bad_alloc
  444. dynamic_cast and references
  445. Execution
  446. float to string object in c++, help and discussion...
  447. Compiler's use of function parameters as temporaries
  448. containers of arrays?
  449. Is 'delete [] NULL ;' safe ?
  450. reading a mixed file
  451. Difference in mangling
  452. Class Templates
  453. outline
  454. File cannot open with ofstream constructor !
  455. about "export" keyword
  456. Objects, Pointers and References
  457. mix mode file reading/writing?
  458. std::uppercase & gcc
  459. Possible to use varags with member-function pointers?
  460. More instantiation and ctor call
  461. 3D Array
  462. return value of Iterator in a list??
  463. runtime performance impact of template usage
  464. Overloading + Operator
  465. Ending Function on Error then Continue in main()
  466. srand() question
  467. CPP with dynamic lib
  468. OOP and inline asm in VC++ 6
  469. Comp.Object FAQ - Version II Beta - Latest Object Oriented Resource - Please Participate!
  470. sgi rope experiences?
  471. Visual Studio Help
  472. Ant-contrib-0.3.jar sample and code does not work in harmony
  473. string-class
  474. order of initialization
  475. STL & reducing code bloat
  476. setting buffer size for fstream
  477. Strange Results with Overloaded Operators
  478. Creating c++ shared object library on Solaris
  479. Overloading by return type and a parameter value
  480. Need delays in display
  481. Help! Strange problem with pointer to vector
  482. odd behavior in STL
  483. Problem Linking Simple App
  484. Question about type conversion and casting
  485. New C++ Book - C++ For Artists: The Art. Philosophy, And Science Of Object-Oriented Programming
  486. How to erase node from deque?
  487. Oddity with pointer initializer
  488. Vectors: not worthless? (out of curiosity)
  489. ? Why c_str() ?
  490. Static function-vars and the compiler
  491. exercise problem -- not homework
  492. reading data from text file
  493. Instantiation of an Object only thru "new Operator"
  494. gnu souce code
  495. conceptual issue: using exceptions
  496. Passing a pointer to member function as a parameter to another member function
  497. Beginner probs with fstream
  498. Overloaded Operators Problems
  499. ifstream.read manual
  500. Inheritance with specialized members
  501. Type name expected: Errors
  502. Event in C++
  503. Sybase CT-library
  504. New to programming/C++ & looking for good information sources.
  505. Password for c++ files
  506. Is it safe to return "char*" from functions?
  507. C++ & 16-bit library
  508. ]bd ¹ï§Ü¤£´º®ğ ]bd
  509. DQueue
  510. Urgent:Is int an object
  511. OO classes design question
  512. A missing include file is a constraint violation.
  513. Why do I keep getting streamb.cpp error?
  514. Arrays of Variable Sizes
  515. passing around iostreams
  516. Style question involving inheritance
  517. Map Iterator is wrapped for keys and values - compiler error
  518. understanding function object
  519. Beginner Question--rand( )
  520. Forcing exception handling
  521. protected access
  522. C++ linking problem, mismatched ABI
  523. My_CSockets::OnReceive(int nErrorCode){ delete this;} /* stupid or smart? */
  524. string resize problem
  525. C++ callback function passed to a C program
  526. Include file minimization
  527. debug log infrustructure for a library
  528. Get/set value to members of a struct/class on fly
  529. keyboard, mouse and Win98
  530. string again
  531. Get/set value to members of a struct/class on fly
  532. VCOMM
  533. Should an object that totally encapsulates functionality have a "Run" function?
  534. Get/set value to members of a struct/class on fly
  535. intalling xerces
  536. Failure of new
  537. [Help] How to read this core?
  538. "illegal operand" error
  539. About wild pointer
  540. vector.reserve
  541. Get/set value to members of a struct/class on fly
  542. Binary file I/O
  543. getting keys out of a map
  544. Problem with templates and Dll export
  545. why is map::begin() returning const_iterator?
  546. Function size...
  547. Function size...
  548. namespace and operator==
  549. namespaces and forward declarations
  550. OO Design question: How to pass around very common classes