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