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. How to convert to WAV file with a specific requirement....
  2. C++ cross platform development
  3. What the fastest way to copy strings from file to a vector?
  4. How should I set the values of these static data members?
  5. Private container, public iterator
  6. Efficiency Issue - true or false?
  7. from std::string to std::istream?
  8. std::string - case insensitive?
  9. mem_fun vs mem_fun_ref
  10. C++ .net, reading an opened file.
  11. common baseclass for stl classes?
  12. File Handling
  13. borland c++ event handler crash
  14. Something like bigint / GMP?
  15. \b ?
  16. CListCtrl
  17. c++ annotation wanted(sorry OT)
  18. How come this C++ segment doesn't work?
  19. function adaptors for member functions
  20. NDK Network Development Kit - doubt
  21. Object member functions and runtime memory consumption
  22. basic stack functions
  23. multiple projects in Dev-C++?
  24. c++ help (new to programming)
  25. Windows Compiler with format-string warning option ?
  26. Using a macro, can I change what type an object is being cast to?
  27. mobile phone keyboard
  28. WSAEventSelect Help
  29. why static_cast needed here to produce proper output
  30. Initialising stl containers
  31. GCC Cygwin C++ DLL linking problem
  32. GDB .... no debugging symbols found
  33. Functions returning pointers
  34. Miscrosoft speech SDK 5.1 for C++ .net
  35. Difference between variable declarations...
  36. weird error
  37. Enumerations as case labels
  38. Catching FP division by 0?
  39. std::search question...
  40. Input output
  41. C++ program to perform extensive data IO task, 160MB/s.
  42. Is a const parameter generally optimized to a reference?
  43. Reference parameters and anonymous objects
  44. object file
  45. Problem with basic templates on GCC
  46. [RW] Rogue Wave standard library -- unbelievable bug
  47. how implement getline ?
  48. equivalent of getch() with <iostream>
  49. Question about pointers
  50. What's difference between f(const MyClass & in) and f(MyClass in)
  51. allocating array in function
  52. Wildcard handling with STL
  53. Declaring constants within the scope of a class
  54. Correct C++ tutorial chapter 2.1 "Classes" available (Windows, mingw/msvc/std)
  55. polymorphism, overloading...
  56. optimizing code
  57. Sinewave Generator
  58. Templated copy constructor
  59. object destruction
  60. delete problem
  61. Template name lookup
  62. CFP: International Conference on Intelligent Agents, Web Technologies and Internet Commerce
  63. cin after reditected file?
  64. getting a type ID during new operator overloading
  65. delete object array question
  66. problem with function pointers
  67. std::bitset, standard and endianess
  68. Using a fstream reference with getline
  69. gcc 2.95 and gcc 3.2
  70. strange link error when STL is used
  71. string literal does not match array template parameter
  72. static_cast etc
  73. Looking for C++ implementations of a particular pattern
  74. debug gives different result than run
  75. I don't understand this code.
  76. Getting class type
  77. Adress of a struct vs address of its first field
  78. Does filename has to be the same as funtion name??
  79. help
  80. Random numbers something insatiable ?
  81. STL newie
  82. Using for_each() to deallocate memory
  83. Structures
  84. Problem with unary function for_each
  85. Is returning a reference to a constant undefined?
  86. "extern" for the same file leads to wrong result. bug or feature?
  87. Invalid suffix to floating constant
  88. WAN IP adress
  89. Very simple screensaver in VC++
  90. std::map<int,std::set<std::string> > Wrong? (Segmentation fault.)
  91. How can i find when a variable is out of scope?
  92. Deleteing Objects from std::vector
  93. the different between aaa m1[100] and aaa *p = new [100]
  94. RTTI
  95. How to use running ActiveX exe in another program instance ?
  96. Why Am I Getting an Inverted Question Mark?
  97. C++ SDL Makefile for MPW on Mac OS 9
  98. # character
  99. threads question
  100. pass pointer to a thread function ?
  101. how to make object sortable for use in STL containers
  102. how to cast stack-based class?
  103. Ksiazki dla poczatkujacych
  104. Compile time constants - few questions...
  105. can a class definition inside another class's definition
  106. File Deletion Problems
  107. problem about array of object
  108. Design pattern for file cache
  109. C++ theory
  110. Please help me write a functor template
  111. looking for version of portfwd ported to HPUX
  112. how to include a templatized variable in another class
  113. Suggestions on casting needed
  114. enum { A,B, }
  115. New POTM Contest: Deadline May 31, 2005
  116. Pseudocode Help
  117. alloc 2d array with new
  118. Classses of each other
  119. Digraph Class
  120. Any way to get rid of the cast when calling get_value()?
  121. how to do a "REAL" string compare?
  122. std::list & sorting
  123. [BEGINNER] Some questions
  124. nakładki
  125. Read a binary file
  126. How to test string library functions ?
  127. Copy Constructor and other questions
  128. Private/protected inheritance problem
  129. displaying ints in price form
  130. How do I...?
  131. MCISendString() - Playing MCI files from memory
  132. Making a global variable
  133. Inheritance query
  134. Wrong way to pass pointer by value in functions
  135. design pattern/ class relationship
  136. c++ and windows api
  137. What is "stdafx.h" for in VS.Net?
  138. Pointer to member function
  139. Using vector units
  140. wierd template
  141. Is it an undefined behavior in C++ Standard?
  142. Quick and dirty C++ managed memory
  143. Can the Forward Declaration contain the infomation of inheritance ?
  144. Point me in the way to a timer?
  145. Converting String to Integer or Double
  146. Using a modifier method inside the constructor
  147. Simple files.
  148. Streams and Serilzation.
  149. Conversion Operator question
  150. illegal espace sequence question
  151. help with code and error msg plz
  152. Return value of std::map::erase()
  153. In search of a good example.
  154. Q: Map of pointers to member functions
  155. error in mystrcat
  156. Need help : -O2 flag and GDB
  157. Question about passing by const reference
  158. Pretty code
  159. Problems with reading binary data files
  160. Polymorphic types and a lot of confusion....
  161. C++ Question
  162. inaccurate floating point and DBL_MAX
  163. Do using declarations respect private, protected, public access levels?
  164. bind2nd question
  165. why is "delete" an expression?
  166. KToon: 2D Animation Toolkit
  167. Building an ATL ActiveX Sink
  168. A big thanks to you all
  169. Wierd Behaviour: Crash at 'delete' of memory.
  170. Use Real 1GB and Fake 3GB Memory?
  171. Best Practices GUI Design Whitepaper
  172. Getting AXIS C++ to Interoperate with Python
  173. simple(?) question about template
  174. C++ FAQ
  175. Overflow
  176. pointer arithmetic with inheritance
  177. Concatenating Calls
  178. Alias de template comme parametre de fonction template
  179. std::maps within std::maps -- optimisation
  180. Error with __extension__
  181. Dispatch Interface question
  182. aribitrary length arithmetic
  183. Date conversions in C or C++
  184. WndProc - Windows Classes Question
  185. OSS 2005 Conference -- Call For Experience Report
  186. Best practices for referring to other namespaces in header files
  187. Thread Start Time and End time
  188. Pointer List How?
  189. friends and templates
  190. Which is the best C++ compiler for Windows ?
  191. Which C++ compiler do you use for windows and why ?
  192. using templates as substitutions for #ifdef
  193. when can pass by value be dangerous?
  194. Interview questions in C++ and OO
  195. std::list member in class? - vc6 problem?
  196. How to do MFC code change when a field type in the underlying data base is changed
  197. inheritance and memory layout
  198. Backtracking recursion problem
  199. Strange email address
  200. when to use uint? dis/advantages?
  201. What is wrong with this code?
  202. advice on using mutable
  203. query on std::make_pair()
  204. issue with << and >> overloading
  205. How to set up virtual "get" methods?
  206. How to open VERY large file using std::ifstream
  207. Deleting sub-list from list
  208. Advantages of C++ over C - request for information
  209. Derived classes question
  210. From char* iterators to char* strings
  211. VC6 compiling problem
  212. permutations and combinations
  213. Reducing build-times for large projects.
  214. getting avg of long and std::vector::size_type
  215. Problem with default parameters in templated functions
  216. Static Vars in member-functions?
  217. std::map - erase+continue
  218. Adjacency list representation
  219. operator <<=
  220. i++ or ++i, any difference?
  221. Using 'random_sample'...
  222. Copy algorithm with insert iterators...
  223. i used to post question
  224. redirecting stdout to nowhere
  225. Grpah bridge
  226. Small C++ exercise
  227. any classes help me to measure some program segment runing time.
  228. Not C++ but...
  229. Help me find a good typedef name for the following type
  230. Question about Files.
  231. g++ typedef inheritance
  232. Circular dependencies in Templates - better solution?
  233. What C++ has promised you ?
  234. cin and cin.getline()
  235. Assignment from scalar to user-defined type
  236. core dump when using ifstream
  237. DBL_MAX
  238. [ICSEng'05] Final CFP - due date March 10, 2005
  239. [ICCIMA'05] Final Call for Papers; Due Date March 10, 2005
  240. Initialization of static objects
  241. Iterator and arrays
  242. Function template + overloading + polymorphism
  243. Teaching new tricks to an old dog (C++ -->Ada)
  244. [BEGINNER] new keyword
  245. Help with assembler thing
  246. why sizeof can't be overloaded?
  247. the virtual keyword
  248. How can I use 2 dimention pointer
  249. #include "file" -vs- #include <file>
  250. question on try/catch
  251. integer or long overflow...
  252. getline() and a '\0' as a delimiter
  253. Memory Problem part 2
  254. delete a void * pointer ?
  255. Memory problems
  256. Problem with destructor
  257. Changing CreateQuad() defined Texture - D3D
  258. Which is the proper header to include for std::pair?
  259. validity of pointers to vectors
  260. How C and C++ are context sensitive
  261. Syntax question
  262. about filehandling
  263. ld: 0711-317 ERROR: Undefined symbol: .__vec__delete2
  264. UNIX signals & C++
  265. can you return a void function call?
  266. exception in a constructor
  267. Class design...
  268. Am I right in thinking a return value is carried over into a __finally statement?
  269. Why we need symbol files for GDI32.dll or Kernel32.dll etc...
  270. Navigating C++
  271. Backward traversal of sequence container: stop condition
  272. class design question
  273. how to compare two number sequences
  274. UnOverRideable member functions?
  275. extern const in c++
  276. problem with array sorting - urgent responce needed, due tommrow
  277. rdbuf() stream
  278. benefits of precompiled headers
  279. What are the threading options in C++
  280. errno, etymology thereof
  281. what is (const String& str)?
  282. Any good static analysis tools out there?
  283. operator overloading question
  284. Set of vectors and...
  285. throw specifiers only when debugging
  286. typing characters in TEdit starts principal form's shortcuts In Borland c++ 6.
  287. Does "void func(MyClass *& myCls)" make sense?
  288. get vector from iterator
  289. assignment in class
  290. asignment in class
  291. asignment in class
  292. Container with Abstract Type
  293. Swapping data between vector and map...
  294. How to disable warning C4786 in VC++ 6.0?
  295. Problem overriding >> and << in a template class
  296. multiple files
  297. Weird const-ness troubles
  298. validity of begin() on empty string or vector
  299. ostringstream / ostrstream problem
  300. ToString behavior
  301. Code Clean up (refactoring?)
  302. COM mechanism - please help!
  303. Removal Of Elements in a Vector Conatings User-Defined Object Basedon Value Contained in Object
  304. Initializing a subset of state
  305. Boost and austria C++
  306. operator = override
  307. Advanced C++ Book Suggestion
  308. ABC vs. CRTP?
  309. Functor and function pointers
  310. Why does std::exception constructor specifies it can throw any ?
  311. istream trouble
  312. much optimizing = bad code ? (array/vector)
  313. How to read...?
  314. TAPI
  315. need help with operations stability
  316. Return pointer or variable by ref.?
  317. please help me view the code
  318. Template function type for arithmetic operators for elementary types
  319. C++ programming migration from DOS to Windows
  320. C++ programming migration from DOS to Windows
  321. printf a 64-bit number
  322. Is pass by reference thread safe?
  323. New to c++, need help with a template class
  324. replacing chars in a text file
  325. SPI on PCs parallel port
  326. STL vector<float> crash
  327. How increase a C/C++ Program speed ?
  328. Template parameter method being identified as a variable
  329. Starting Book for C++
  330. Generic indirection adaptor
  331. A list of multiset.
  332. Less than operator...
  333. Learning game programming timescales
  334. How to declare friendship-ness to all inherited class?
  335. simple question: how to do this ?
  336. inheritage: possible to call the original function ?
  337. experience definition in interview
  338. client -server interaction over XML supporting multiple protocols
  339. Default constuctor
  340. C++ questions
  341. pointer vectors
  342. inheriting from template of self
  343. Copying Polymorphically
  344. multitasking
  345. C and C++ naming issues?
  346. ActiveX or not ???
  347. C++ questions
  348. C++ questions
  349. Convert to Static Char
  350. template problem
  351. monitoring the heap
  352. Exception Handling
  353. operator overload with namespace
  354. customised login form?
  355. Can I print elements of a simple matrix with out manual nested loop?
  356. File IO between C/C++ libs and .NET Framework
  357. cartesian product...
  358. date comparison
  359. Reading/Writing directly to/from a device in MSWindows
  360. A comparison among VSS Remote Access Tools including SourceOffSite, SourceAnyWhere and VSS Remoting
  361. controlling devices through computers
  362. vector
  363. How protect source code in template library?
  364. Copy-Constructor
  365. Help needed
  366. std::map iterator and clearing
  367. Why we need classes
  368. editor that offers a search only in cursor scope
  369. Should exceptions be thrown by value or reference?
  370. How do I make my convert() function do nothing for equal types?
  371. Object initialization and xml question
  372. Exception handling questions
  373. seg-fault on vector-auto-reserve
  374. Dereference Adaptor
  375. best way to modify a file
  376. "Streams"
  377. two classes - each has pointer to other
  378. using uint64_t with GCC
  379. template func in class question
  380. How to get file descriptor permissions?
  381. Is AMD64 an untouchable @ DELL ?
  382. Some sort of append algorithm...
  383. Template of interface?
  384. Accessing Directorys
  385. Different methods of implementing variable-length templated classes
  386. differences between a c-function and a class method
  387. What is the difference between putch() and _putch()?
  388. How to write Chars like "˛" ?
  389. trees in c++
  390. virtual function problem
  391. sizeof(int)
  392. amusing error message
  393. declaring a function pointer variable
  394. functions
  395. disambiguate my Large Scale design probs (C++)
  396. trouble splitting strings
  397. const function?
  398. Template resolution problem
  399. Static Objects as Struct Members
  400. Cannot match void (T::* ptr)() when base class of T defines function
  401. ambiguous call to overloaded
  402. Invalid initialization of non-const reference
  403. Quick question...
  404. priority queue wrapper
  405. consfusion in C++ Large scale design
  406. What C++ beautifier do you use?
  407. Buffered printfs????
  408. Question about scope of variables created with new
  409. C++ I/O error detection
  410. using fstream objects in a multiuser environ.
  411. typeof emulation
  412. block on reading a half-filled buffer for ifstream
  413. read line
  414. printf and 'long double'
  415. test
  416. approximating pi
  417. library for url reading
  418. bits operation
  419. Calling a shell script from within C++ program
  420. When exiting function scope, which occurs first...
  421. STL iterators
  422. Terminology - global
  423. Loki::Tuple and g++
  424. print a byte number with cout
  425. Template syntax...
  426. Random crashes
  427. How I can use BigInt lib?
  428. Order of class static members initialization
  429. vector: capacity and resize
  430. formatted output with cout
  431. CALLBACK problem
  432. Algorithm for combinations...
  433. Setting Pointer to Video memory
  434. tokenize a string
  435. how to generate random data for a normal distribution
  436. Odd results with C++ under WinXP SP2
  437. How to pass an element of a structure to another function??
  438. Calling constructor explicitely
  439. BigInt lib not working, help!
  440. static variables in derived classes
  441. Simple code compile problem?
  442. find a string in a grid
  443. find a string in a grid
  444. fstream methods
  445. Help preventing weak software
  446. How should I construct my objects when reading ctor args from a text file?
  447. The itoa function can not be used in g++,right?
  448. template class syntax
  449. static member variable in multithreaded environment
  450. Should this code compile?
  451. std::vector and structs of PODs
  452. Saving/Loading C++ objects into a file
  453. Unrolling a loop
  454. greedy method
  455. streaming proxy
  456. Can I connect to SQL database through C++,
  457. Passing STL container to temlate function
  458. typeof and g++
  459. HOW TO HANDLE CONTROL_LOGOFF_EVENT handler
  460. Problem With Visual C++
  461. Operator Overloading
  462. auto_ptr<> as function return
  463. Memory Leak Detection
  464. Exception Handling Critique ...
  465. How to keep element address in container
  466. dynamically creating object
  467. non-member function can not have 'const' method qualifier?
  468. Different behavior from __LINE__ macro in g++ 2.95.x and 3.x
  469. learning C++?
  470. C++ FAQ
  471. Limited namespace
  472. Open for discussion: Correct C++ tutorial part 7 "Create beginner's programs" (Windows, mingw/msvc/std)
  473. Is this board a good alternative to the PC?
  474. std::vector - fast way to crop?
  475. math cos, rounding, or other problem?
  476. Know C++, want to script a little, recommend Luban
  477. round-to-nearer-integer ?
  478. using QueryPerformance
  479. Constructor returns wrong size of stl::list<T>??
  480. everywhere, i need to use std::
  481. why this code doesn't work!!
  482. How to redefine operator delete/delete[] via macro?
  483. goolge a little
  484. Introsort
  485. Templates and Copy Constructors. Again.
  486. try-catch name
  487. capCapture frameRate problem. (URGENT)
  488. Weather Prediction Program Help
  489. "namespace" and "class"
  490. Will standard C++ allow me to replace a string in a unicode-encoded text file?
  491. hmm, what does it do?
  492. temlate class
  493. Visitor Pattern, Deep Copy & Double Dispatch
  494. Function pointers and dynamically loaded DLLs
  495. MAllocate memory for structures?
  496. Containing containers - handling interface ?
  497. What is happening here
  498. Compatibility of checks done by 'Forte Developer 7' & 'Sun studio 9' C++ compilers
  499. VC++: Cast operator not used?
  500. Which member functions do you provided for a class
  501. Efficiently Extracting Identical Values From A List/Array
  502. Supplement to my previous message
  503. It is very surprising ....
  504. polyfit / polyval
  505. Same template arguments, different specializations
  506. __LINE__ as template argument (VC++)
  507. string to byte array
  508. comparing date time
  509. STL sorting algorithms
  510. Shared libraries / C++
  511. Newibe C++ XML Questions
  512. what is .i file?
  513. Help with Global structs in headers and multiple definitions
  514. polymorphic return types in virtual functions
  515. what does this statement mean?
  516. "namespace" and "class"
  517. Matching words within two arrays
  518. Where to include header files / A question of style?
  519. Designing a proper server model
  520. Q: Reading indeterminate pointer -> Ref to Std?
  521. what to put in an IF statement?
  522. How should I interpret this set of laptop specifications?
  523. How do I get GLUT to work with GCC for Win32?
  524. whats this macro doing
  525. Question about overriding new and delete
  526. Big-O
  527. Help with string class
  528. Exception Handling and Refactoring Question ...
  529. Where do you buy your books from?
  530. template recursion depth
  531. LPTSTR to char *.. How
  532. functors and stl find_if
  533. Lost
  534. What exactly is a POD type
  535. random shuffling
  536. Convert a string to float and vice versa
  537. detecting if no exception was thrown
  538. C++ nothrow new() problem under Irix
  539. RTTI Question: typeid() for structures
  540. Modify files in C++
  541. debuggin win32 dlls called from Java JNI
  542. dereferencing pointer to base
  543. Design question: managing limited resources
  544. __DATE__ as ISO string
  545. include for command line arguments
  546. INTERNET CONTENT ADAPTATION PROTOCOL
  547. GMP: Cannot operate on vector<mpz_t>
  548. template class in DLL (g++/Cygwin)
  549. STL map question
  550. Please coment solution (Was: Design problem...)