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