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