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