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. Test
  2. Call constructor/destructor of base class
  3. How to capture the name of a class in a string at compile time ?
  4. Any Generic ET framework?
  5. don't understand this deal with const pointers in this trivial example
  6. Dynamically appending custom data to an object
  7. Optional template constructor parameters?
  8. reference to reference and constness problems with bind1st
  9. Portability, where?
  10. Exception stack trace
  11. parent process ID
  12. Parentheses in the control expression
  13. Strange Conversion Error from double to int
  14. Stack unwinding
  15. std::partition
  16. std::map
  17. how to introduce a small delay without using cpu time too much
  18. set of T*; how to make T the key?
  19. singletons
  20. void* questions
  21. Exception handling help please
  22. how to order a struct?
  23. Who originated the term "Miranda function"?
  24. kruskal:minimum spanning tree. how to do?
  25. std::for_each question
  26. How do i correctly implement: two inherited (multiple), same-named,pure virtual methods inside a derived class?
  27. Wireless Networking
  28. Pointer to member data problems
  29. non-member extractors
  30. Difference between 1998 and 2003 C++ standard
  31. Rounding by prayer?
  32. Dinkum C++ Library
  33. management of many small objects
  34. trouble when overloading function used as predicate in std::sort
  35. Where can I get a copy of the ANSI/ISO C++ Standard?
  36. Enumerators, Templates, and Type Safety
  37. dynamic_cast problem
  38. which MFC dll is CArchive in?
  39. can I use base class pointer to swap the derived object in a vector?
  40. shared_resource<T>
  41. Request for Code Review
  42. Iniitializing static const data?
  43. weird behavior of algbraic evaluation in concatenated operators
  44. strange crashes, maybe related to memory problems, always occur in STL
  45. Alternatives to #define?
  46. Java to C++
  47. Avoiding rtti
  48. pointer to function
  49. Toolbar - Transparent Color
  50. Restarting windows from c++
  51. valarray<bool>
  52. Is C++ a type-safe language ??
  53. Repeated instantiation of a variable / performance?
  54. C++ compiler
  55. Template behaves differently with same types
  56. runtime access to program state via a hacked libpq sql interface
  57. Data Retrieval/Insertion Data Structure
  58. problem with SFINAE applied to class methods
  59. Preprocessor concatination of defines
  60. Visual C++ 7.1 Internal Compiler Error
  61. CString and array.
  62. Weak binding of member functions
  63. Read out pixels from .jpgs
  64. re-setting an array
  65. 'multiple definitions' problem
  66. Aborting CALL to stored procedure
  67. reference vs pointer .. ?
  68. how to write in terms of reference ?
  69. file access problem
  70. Can't access static member var from static method. Why?
  71. Problem with streams and 1.#INF
  72. string rtrim ?
  73. if you were god.....
  74. how read from LPT port?
  75. VC++ Compilers
  76. Virtual function question
  77. purify or code checking tools
  78. Address of union members
  79. accessor_cast
  80. void main
  81. Is this a bug of the compiler?
  82. How do I delete files from a directory?
  83. Nested Class vs Inheritance
  84. multi-inherit and pointer to pointer
  85. recursive declaration of variables
  86. Command pipes in C++
  87. USING DLL IN C++
  88. template and typeid
  89. Event loop and sleep()
  90. Problem with serialization
  91. order of const in function prototypes
  92. defining or not defining destructors
  93. Question of a novice
  94. Passing Variables To System()
  95. Stack overflow
  96. Return code of 4294967295 (UINT_MAX)
  97. Std 1.3 "Terms et definitions"
  98. custom FFTW lib
  99. Passing refrences to objects...
  100. Why are g++ error messages so daunting?
  101. Is this code MT-Safe?
  102. multi-dimensional array dinamic allocation VERSUS <vector>
  103. <fstream.h> , no need for <iostream.h>?
  104. Inlines with external linkage
  105. creating directories...?
  106. Member function pointer woes
  107. passing arguments dynamically to functions
  108. Template Friend
  109. Loki's STATIC_CAST macro
  110. deleting one char in ascii file
  111. fooling XP with visual styles?
  112. Return pointer to object of common base
  113. Using valarray
  114. Programming Puzzle
  115. algorithm for finding permutation of characters
  116. Multi-dimensional array allocation with single 'new' call
  117. dynamic multidimensional array allocation using one(and only one) 'new' call
  118. Table of virtual methods
  119. Migration from Win to Linux
  120. specialized constructor arg signitaure for const object
  121. 4D array
  122. reference variable and local variable
  123. Overflow Underflow
  124. Externally Linking
  125. dynamic char-buffer vs. stringstream
  126. Is this forward declaration legal C++?
  127. Static functions
  128. System time in C++
  129. Struct and inheritance
  130. static extern?
  131. closing/hiding custom modeless dialogs?
  132. Edit control accepting type double/float?
  133. Template Specialization
  134. help on round robin
  135. How to ensure proper install of GNU GMP on Windows ?
  136. not sure how to create the main for this program
  137. Template problem
  138. file processing
  139. dynamic_cast and virtual function
  140. Why default constructor isn't enough?
  141. Controlling Serial Ports
  142. Socket Programming IPSec
  143. Check it out
  144. After example of use of #line
  145. Calling virtual override from base function fails
  146. class
  147. Pass value of short type
  148. help with file output (fstream)....
  149. : in code
  150. ios::uppercase does not work
  151. Schwartz counters.
  152. problem with getline
  153. Inheritance questions
  154. Programming Puzzle
  155. Visual C++.NET - Help!
  156. schwartz counters?
  157. struct foo and function foo !?
  158. Signed and unsigned template type parameters
  159. How are jpeg images usually hidden??
  160. Help for client e-mail
  161. Working with ranges of scalar values
  162. circular dependencies, unrecognized base types, oh-my
  163. Problem with covariant return types
  164. Complete library references...
  165. Copy constructor
  166. New to C++ and Need a little help with a public domain program
  167. Declaration or Definition
  168. problem sending chr(0)
  169. deleting instance in array
  170. virtual inheritence: what does it mean?
  171. Casting from base to derived class
  172. Can't set TCP_MAXSEG's value
  173. Looking for a compiler
  174. Initialization lists and optimization
  175. Modern CPP Design related
  176. gnuplot parameter interchange
  177. Returning const reference value from functions
  178. array allocaton size
  179. implementation of the complex airy function
  180. Confused by the constructor and cop-constructor.
  181. why does not compile
  182. Web Interface for CORBA and ILOG
  183. Template template parameter and typename
  184. Funky function
  185. What does Stroustrup mean on pg 89 of C++PL 3rd Ed. by "low-level code"
  186. Map problems
  187. bitcounting on 30000+ bits, but not byte aligned
  188. New Programmer...
  189. errors = templates * friends;
  190. Refactoring tool... PLEASE
  191. what does this mean: virtual result
  192. char syntax question
  193. boost::shared_ptr and conversion to base class
  194. Test
  195. debug function -> noop
  196. Input Iterator needed for a for_each.
  197. atof() and _tstof() in VC6.0
  198. Printing progressbar
  199. Read-only, as opposed to const member
  200. one bitset simple question
  201. Assigning class instance to an array doubt
  202. can some one please demystify vtable/vftable
  203. Default constructor/destructor
  204. sending files via HTTP
  205. Default Member Functions
  206. Exception unwinding base destructor called - why?
  207. const_cast, reinterpret_cast
  208. convert a double keeping msb ?
  209. Virtual destructor for virtual base class?
  210. Packet Capture and Account Class
  211. How to create an N dimensional array with N elements?
  212. SGI hash: existence of a memory leak impossible to solve?
  213. why "." and "->" operators ?
  214. why have both "." and "->" ?
  215. why "." and "->" operators ?
  216. Debug Assertion Failed! and no obvious Error
  217. LPTSTR initialization
  218. Very basic question
  219. Error Using FormDestroy method in Borland C++ 6.0
  220. 2 Simple questions
  221. Very basic question.
  222. Virtual CopyFrom() method
  223. Libraries in C++
  224. question about printf
  225. why no merge without sorting in STL
  226. Array intialization
  227. Help User Password Check
  228. ULONG*
  229. File Manipulation
  230. istringstream: str() only works once?
  231. Simple & Stupid C++ question
  232. Breaking classes down in header files.
  233. initialize static structured variable challenge
  234. Handling large files > 4 GB
  235. I've painted myself into a corner!
  236. EOF() not recognized in a long file
  237. zero-filling gaps in statics
  238. Most relevant passage retrieval
  239. Seeking Programmers for Symmetrical Musical Melody Thesaurus (1440 melodies) Software Program:
  240. speed it up
  241. access of protected function members from friends
  242. new X vs new X()
  243. Unicode strings
  244. char arrays and integer arrays... why the difference?
  245. Array initialization
  246. Problem with overriden operators
  247. How is the size of a class computed ?
  248. Is std::cout slower than std::printf
  249. Purchasing The Standard
  250. obfuscated c/c++
  251. New Online C++ magazine launched!
  252. swap two integers without using a tmp variable?
  253. uncompressing data in memory
  254. How to create Command Window inside application window...
  255. How can I do with BYTE *** ??
  256. Making a 2d game engine
  257. Communicate with Fieldbus devices
  258. What is wrong with the following code ?
  259. Ultimate Efficiency
  260. this
  261. class X containing an stl list<X> in MS Visual C++
  262. To Borland Builder or to Visual Studio
  263. static function, not a member?
  264. void * instead of bool
  265. Large Files with <iostream> (gcc-3.3.3 on SuSE-9.1)
  266. Interview questions
  267. 8-queen problem
  268. Datastructures
  269. std::string question
  270. Reviving a Dead Input Stream
  271. Benchmarking, part 2
  272. Gui toolkit for scientific/technical apps?
  273. static function definition
  274. include headers: <X>, <X.h> and global namespaces
  275. About the result of sizeof(a class without data members and virtual functions)
  276. What will happen if a virtual function is declared to be virtual again in a derived class?
  277. please help me in distinguish redefining functions, overloading functions and overriding functions.
  278. confued at using reference
  279. ASCII -> long (hex)
  280. Benchmarking
  281. Returning by value, returning by reference
  282. dlopen() & undefined symbol
  283. Does anyone has fixed size memory allocator code?
  284. Setting value of a class
  285. C++ api ?
  286. Finally suitable backup program
  287. Assumptions About the Size of Integer Types
  288. improve my search and replace function
  289. virtual destructor revisted
  290. Position of test values in conditional expressions
  291. question about cin input ?
  292. Visibility of members in inheritance
  293. Create new objects in a constructor
  294. Code or library or compiler bug?
  295. 'operator >>' is ambiguous
  296. Global variables in C and C++ problem
  297. Novice can't compile and run
  298. boost::shared_ptr vs. auto_ptr
  299. Questions of C++ FAQ
  300. How to make a Function with Variable Argument List (type unknown)
  301. Questions of boost bitset
  302. Global objects in libs
  303. Problems with iterator (stack-template)
  304. Can I program C++ on the Sinclair ZX81?
  305. avoiding repeated code in initialization lists
  306. help developing function
  307. too many typedefs
  308. static enumeration alternative
  309. help with sting and include files ?
  310. how to read digest here?
  311. Developing Games
  312. why won't this complile??? const troubles...
  313. creating methods for objects
  314. operator<< and >>
  315. Algorithms Notes by Derek O'Connor
  316. References again
  317. Memory inizialization 2
  318. streaming to a raw buffer
  319. How can I really create new types?
  320. std::map const troubles
  321. DLL & pointers problem
  322. assignment operator question
  323. Checking ifstream state
  324. Porting from Windows to Linux
  325. General C++ Questions
  326. osteam question
  327. Problem with "x" differs in levels of indirection from "y"
  328. why I can't use previous iterator?
  329. How to compile the code?
  330. A Question about std::list
  331. how to return different data types using a base class and pure virtual methods
  332. CreateProcess
  333. Memory initialization
  334. Sorting lists of lists...
  335. Initialization: = or () ?
  336. is size_t a keyword or a macro defination?
  337. how to sort an array of objects?
  338. Members or not
  339. is size_t a keyword?or a macro?
  340. How to know the buffer size and increase buffer size in c++
  341. std::map problem with VS 7.1
  342. memory allocation problem (well... I guess so)
  343. Problem with template ctors (smart pointer)
  344. Does true ^ true return false?
  345. help on file editing
  346. plotting cpu and mem consumption
  347. c++ applied to control system
  348. string tokenizer.
  349. how to print blank space(s) ?..
  350. multiset segfault
  351. Access to protected base member
  352. How to access Oracle from C++?
  353. com_ptr<T>
  354. [My OT] Sigh...
  355. Is this legal code?
  356. How to write GUID to register ?
  357. std::ostringstream bizarre behaviour. Please help!
  358. Comparison: C++, C, Python, Java
  359. std::priority_queue derivable?
  360. string and integer combined
  361. static const variables in main()
  362. Missing feature "function called by" in Visual C++ .NET
  363. Missing feature "function called by" in Visual C++ .NET
  364. Inbuilt decimal to binary conversion function in C++
  365. accessing class members from within a subclass
  366. Faster than STL string class?
  367. implement association in C++
  368. Q: Derived classes and hidden functions
  369. Interpolation without FPoint arithmetics
  370. autoscan und libstdc++.so
  371. faster memcpy on StrongARM machine?
  372. Byte-order conversion template
  373. Java's performance far better that optimized C++
  374. BCB
  375. Templates and accessing inherited members
  376. validation
  377. help with formatting output
  378. Initializing a vector
  379. Which scope is searcheg first ?
  380. scope of for loop in VC6
  381. illegel indirecion
  382. Amit's receivable class
  383. reference material for virtual functions
  384. argv/pointer problems
  385. Casting with MI classes
  386. Arjen Jongeling, een oude bekende
  387. Pointers in function
  388. using a class in an unnamed namespace as friend
  389. can I declare a class variable inside that class method?
  390. Creating own IO streams
  391. Callback functions
  392. Unions vs Classes
  393. sss
  394. stupid question? CStrings are killin' me.
  395. Search for a string backwards in a file.
  396. macro passed wrong number of arguments
  397. How to code this?
  398. macro passed wrong number of arguments
  399. Hash map question.
  400. how to use not1?
  401. What to use instead of sprintf?
  402. Template file extension / inclusion / declaration
  403. Constant vector iterators
  404. Erasin Vector Element
  405. Proper interface inheritance
  406. Signed?
  407. Unix, "hello world"
  408. virtual assignment operator/polymorphism question
  409. Accessing assignment operators in parent classes
  410. processing bytes
  411. one overload question
  412. Dynamic type checking
  413. Question regarding the << operator
  414. A few Coding Problems...
  415. accessing args via command line
  416. ascii numbers
  417. implementation of atoi function
  418. calculate approx of decimal number ?..
  419. extract digits from a number ?
  420. problem with a fsMDIForm and fsMDIChild
  421. stdlib types as members in dll exported class
  422. Next prime algorithm
  423. IEEE floating point
  424. how to write an array of little-endian shorts ?
  425. An array of bools
  426. VC++ 6.0 problem.
  427. test
  428. ???
  429. KDE, how do I use KWinModule
  430. GUI for C++
  431. Templated friends
  432. how to make a simple class that is either an int or a float
  433. Why the code cannot be compiled?
  434. iterator example
  435. STL (std) thread safety issues
  436. C++ Annotations Errata
  437. decode a barcode from image
  438. php styled vars in c++
  439. function template problem
  440. Default Copy Constructor
  441. "hat" container class [C++]
  442. Your favorite C++ books?
  443. Where to define operator<?
  444. Do you use const member a lot?
  445. getpassphrase porting from solaris to linux
  446. Compiling Data Files Into a Program
  447. testing for quiet not a number (QNAN)
  448. What to throw?
  449. sharing information in a class
  450. how to use for_each to collect some info from a vector into anothervector
  451. overloaded functions in multiple inheritance.
  452. Why can't members and methods have the same name?
  453. Passing return value by reference
  454. C++ FAQ
  455. Basic c++ and database interaction questions
  456. operator[] -- returning references
  457. Some basic questions
  458. implementing composition
  459. Best way to gather metrics on STL string's
  460. Wrong Result in finding GCM
  461. overloaded functions in multiple inheritance.
  462. tricky stringstream-based temporary
  463. switch vs. if
  464. Is this legal?
  465. Why pointer to member function?
  466. Scott & Andrei article on DCLP and threading... Flawed ?
  467. I'm new to c++ Programming
  468. Conversion from std::string to char *, is there a better way?
  469. Communications Breakdown with CSocket
  470. VC++ behaves differently when using BreakPoint
  471. running program
  472. assinging strings to two dimensional array
  473. Difference in Release & Debug Mode
  474. Templates and header files
  475. VC++ .NET
  476. What will happen when the size of a local variable length array turns out to be 0 (zero)?
  477. Bored coder looking for code to debug
  478. A Question about initialization...
  479. g++ with C libraries
  480. no appropriate default constructor
  481. Function returning a reference
  482. Inheriting scalars
  483. faster compiles
  484. C++ template tutorial/review : comments welcomed
  485. stl <algorithm>: How to delete selectively from vector?
  486. OT. joke
  487. need help with casting operators...
  488. Text file "converter"
  489. Development work using DLLs and APIs
  490. Compilation Error using ANN Approximate nearest neighbour library
  491. valarrays and regular arrays
  492. template instantiation error
  493. Get reference to instance of daemon class
  494. Files in c++
  495. input file parsing in C++
  496. General queries.
  497. Char** == "something" help
  498. STL and method failure
  499. Header Files and Interfaces Yet Again
  500. Strange problem about constructor
  501. Aggregation or inheritance?
  502. What are you going to do with your spare time? XpoLog 2.5 released
  503. Iterating through a string
  504. 2nd RFD: comp.os.ms-windows.programmer.win64
  505. How do I stop reading input at the end of a line?
  506. how C++ calculate the size of an object?
  507. acessing multi-dimensional array created via new
  508. Tutorial and guidelines: Coding standards
  509. Finding if a file is open.
  510. Persistent STL?
  511. Renaming projects
  512. sscanf and c++!
  513. Visual C++ 6 Pro
  514. [] equivalence?
  515. Hiding of Function in derived class
  516. ANSI C++ forbids declaration..
  517. LMI
  518. Least Common Denominator Feature Set
  519. Another Code Sample for Crituque
  520. Global object syntax
  521. virtual copy constructor
  522. cin to stringstream
  523. partial ordering of overloaded function templates
  524. Virtual functrions and inheritance--hard to phrase question
  525. template specialization
  526. question about extern ?..
  527. Strange behavior with default function assignment
  528. Allocated memory
  529. STL algorithm problem vector<vector<double> > and find
  530. Pointers consistency
  531. need help deriving from the std::list class
  532. non-C++ question: How to get my ID showed on message list?
  533. Question about smart pointer
  534. logging function
  535. VC++ : saving a html page
  536. size of class that uses bit fields
  537. long filename problem with new include format
  538. Volatile
  539. How to pass a matrix to a function
  540. GUI library for standard C++
  541. How to deallocate a matrix
  542. Comparing two strings with arrays and pointers
  543. COM/COM+ Newsgroup
  544. Runtime overriding of virtual functions
  545. Calling a variable ?
  546. Can't stop build
  547. initializer list of copy constructor
  548. Class not recognising string type with gcc (?)
  549. stack libraries
  550. From a researcher: what is the job market for compiler-writters?