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. larger binaries produced by gcc 3.x than 2.9
  2. type prob
  3. static friend function
  4. Data hiding?
  5. Virtual function 'BasicMidReader::~BasicMidReader()' conflicts with base class 'base 'TMemoryStream'
  6. Virtual function 'BasicMidReader::~BasicMidReader()' conflicts with base class 'base 'TMemoryStream'
  7. trim string.
  8. Fastest ip address searching method/implementation
  9. Explicit ctors
  10. A Question about new vs malloc and realloc.
  11. Questions about the string class.
  12. passing linked lists to functions
  13. vector
  14. built in types
  15. The Case of the Warping Pair of Boots
  16. Doing things the hard way...accessing an array as different data types
  17. Win32, writing API's etc..
  18. Problem with flex++/bison++
  19. Fansy output
  20. Problem using IRIX 6.5 CC (MIPSPro C++) STL I/O w/ POSIX threads
  21. problem in Ifilter implementation
  22. Standard behaviour ?
  23. Communication between a C++ and Java program?
  24. C++: OO methodologies
  25. non-static global variables and the extern qualifier
  26. Iterating over values in an enum
  27. distinguish between char* and char[x]
  28. Sleep
  29. initialize an array member
  30. web search with summarized results
  31. vector performance: iterator versus subscripting
  32. best way to copy a vector<string> to char**
  33. floats doubles long doubles
  34. using rtti
  35. Conversion function problems
  36. Interesting overload case
  37. arctan of complex number
  38. memory access violation with std::list
  39. Creating ISAPI DLLs
  40. Problem with class forward declaration
  41. terminal progress indicator
  42. static linking libgcc.a
  43. Members of anonymous unions in intialization lists
  44. Problem with PyRun_SimpleFile and MFC Application
  45. why this program is wrong on Tru64 OS ?
  46. [Q] when to use pointer and when to use reference?
  47. polymorphic call in abstract class's constructor
  48. .wma file
  49. HELP !!- BitBlt to capture something from screen to my window??
  50. opened file
  51. XP2004 Call for Contributions
  52. ifstream on gcc 3.2 problem, simple question
  53. popen() equivalent
  54. Default constructor construction
  55. Irregular behaviour: C++ standard lib and file stream.
  56. g++ "offsetof" problem
  57. constant references?
  58. overloading new for a class & inheritance
  59. Tally---challenge
  60. Calling Javascripts in VC++
  61. I must rebuild when I excute project
  62. Need statndadt code for calculate MIPS and FLOPS
  63. I hope this is an easy problem to solve
  64. vector problem
  65. iostream problems
  66. Payroll Program using class structure
  67. Why is \ added both times?
  68. Casting const char* to void*
  69. Need to write a function that adjusts words in a string array
  70. Developping a web browser under Linux Mandrake 9.1 : i need help !!
  71. Looking for a good book - but can't remember the name
  72. Developping a web browser under Linux Mandrake 9.1 : i need help !!
  73. order by
  74. std::wstring, TCHAR, wchar_t and LPTSTR
  75. Making DLL's with DJGPP
  76. Undefined end() in extended map template
  77. replace special characters in string
  78. [C++] Arrays and endl
  79. Template member functions
  80. Extension to ScriptControl-OCX ?
  81. ownership style question
  82. unix compiling problem
  83. stl vector problem
  84. Help with dynamic memory
  85. tutorial for using COM in c++
  86. Seeking Good Library Doc's
  87. time and date functions
  88. Smart pointer solution to this problem?
  89. typedef for template function
  90. Table with complexity of all STL structures, algorithms...
  91. About Sorting
  92. dynamic array with pointer
  93. Dynamic 2-D array - How ???
  94. Constness with pointers to pointers etc.
  95. confused by references
  96. Strangeness with shifts
  97. Help with dynamic variables
  98. Problems with a string function in C++
  99. Simple file/string prob
  100. String Access
  101. Give me comments about BBS & newsgroup
  102. Is this a valid used of STL vector::erase()
  103. Making the computer speaker beep
  104. Creating C++ Header Files
  105. can someone help me instal CGI C++ library on Linux
  106. Simple ifstream question
  107. intergrating asm in c++
  108. inline asm portability
  109. Copy Constructor and explicit attribute
  110. C++ Simulator of a Post Machine
  111. Help with file comparison
  112. See these corrective pack
  113. vs 6.0 or .NET
  114. multilayer Tiff file format
  115. Type conversion operators
  116. Restrict the class the inheritance.
  117. Adding two fractions
  118. Privacy and scope and love
  119. STL <list> declaration in header file
  120. Virtual destructor -- what is correct?
  121. Simple question: pointer to a local variable?
  122. stl issue, comments
  123. Thinking in C++ StreamTokenizer example bug
  124. Switching obect's type--sort of.
  125. Proxy for windows
  126. how stop console application in Borland C++
  127. virtual slicing problem using std::vector<someclass>
  128. stl containers style issue
  129. strig trim algorithm
  130. IP Address, File Parsing - Help
  131. Specify port no to connect to Informix Database through ODBC
  132. insert question..
  133. How to get the MSB?
  134. Store an address of object
  135. what's wrong with this programe
  136. What's wrong with this programe?
  137. urgent ! WIN API'S
  138. Virtual/Non-Virtual + different signature
  139. a question on vector declaration
  140. template friend problem
  141. JPG's and Text
  142. Advice on Potential C++ applications
  143. Using g++ as a linker
  144. template specialization
  145. static constants
  146. Is there any tools for c++ like IntelliJ IDEA
  147. sort STL lists
  148. How to check a Const Char for truth?
  149. using the parallel port
  150. performance of static member function vs. instance member function
  151. Copy Constructors/Assignment Operator w/ Inheritance
  152. Inheritance Issues
  153. Why is it not OK to delete here?
  154. Problem posting a method as an argument to an method..
  155. question on member functions
  156. C++ IO (or equivalency of perl's pack/unpack?)
  157. Problem with template specialization
  158. streams again
  159. Reusing instances of basic_stringstream
  160. C++: reinterpret cast
  161. C++: Default Copy Constructor
  162. 为什么没有人亚
  163. Is this syntax ok?
  164. parameter passing to base class constructor (definition and delcaration)
  165. Pimpl Idiom
  166. AUTOEXP.DAT
  167. Template specialization for a group of types
  168. template class & new
  169. Template instantiation help needed
  170. Casting Arrays
  171. printing 0x00 in ascii
  172. Complation problem involving namespaces.
  173. I need some basic C++ help
  174. Default Parameters in Nested Templates ?
  175. newline at the end of file
  176. reinterpret or static_cast?
  177. C++ Reference Card?
  178. assert()
  179. organising classes in c++?
  180. Trouble specializing a member function in a template class
  181. How to avoid an explicit pointer cast?
  182. Problem with __attribute__
  183. multiple word error
  184. creating windows
  185. Novice Question: Function Template Specialization
  186. Example of a common dialog?
  187. Strange behaviour of simple code
  188. atoi: stringstream or old C sprintf function
  189. Unused method is acting up
  190. Question?
  191. Default arguments in constructor
  192. Pls. tell me what this is
  193. Pipe: FILE(16bits) to FILRE(8,16,24bits)
  194. Zeitmessung
  195. InternetReadFile stuffing up downloaded files
  196. ostream manipulator class
  197. about new problem
  198. code for relativity
  199. The difference of uflow and underflow functions ?
  200. Jumps through a program
  201. Dynamically Linked Libraries
  202. Hi,
  203. char [] vs char* who is doing the cleaning up?
  204. CComBSTR to STL string
  205. how to let GPP/GCC read command line switches from a file ?
  206. Exception handling
  207. Calling non-static member functions without an object?????
  208. Valid answer 1-10 only. All else gets error message.
  209. STL Copy
  210. Constructor Syntax Problem
  211. Problem Blocking operator=
  212. STL map instance causing UMR?
  213. Alternative to global enum header file?
  214. Alternative to global enum header file?
  215. Is this behavior of string.replace(beg, beg, str) normal ?
  216. Manic C++ programming
  217. private destructor
  218. C++ Refactoring Utility - Beta release available
  219. Strting a process at system startup
  220. list::reverse_iterator and erase()
  221. Using a COM dll in VC++
  222. Reference to a Template
  223. shift array of bytes
  224. CDialogBar question
  225. Runtime error expected but not encountered
  226. how to let GPP/GCC read command line switches from a file ?
  227. memory leaks with pthread_key_delete
  228. Accessing a VB Active EXE from Visual C++ DLL
  229. Space allocation
  230. Video handling
  231. C++: rethrow in exception handling
  232. Overiding a virtual function of multiple inheritance base class
  233. is it possible to have list of all ip address in lan through C++
  234. Virtual destructors
  235. NOO-B with OpenGL
  236. Private bases
  237. need to find a design pattern
  238. C++ and persistent objects
  239. NaN question
  240. test
  241. what is proper syntax for: extern "C" { friend void xfunc(); }
  242. Comments at the beginning of source files
  243. An Evolutionary Analysis of GNU C Optimizations
  244. iostreams equivalent to C's fopen "r+"
  245. Is this group for a novice C++ programmers?
  246. forward declare a template class
  247. upcasting pointer-to-pointer-to-class
  248. template and type
  249. C++ puzzle
  250. Data storage/retrieval and dynamically allocating memory
  251. The C++ report
  252. Just a post test.
  253. Will Buy Used C++ Builder 5 Professional Version
  254. Problems getting open() to fail!
  255. Casting away constness
  256. question about in out parameter
  257. Question about virtual inheritance
  258. DLL and templates
  259. 2nd Hand: Borland C++ V5.0 Professional version ...
  260. Clearing std::stringstream
  261. Dynamic arrays
  262. Compiler warning when casting from a pointer to an integer
  263. Replacing line in a file
  264. stack overflow
  265. x86 and C++
  266. STL function random_shuffle() possible bug?
  267. C++ Question on ifstream!
  268. Random Subset of Range of Integers
  269. Installing a compiler
  270. Question about delete[]
  271. Function to capitalize string
  272. Pointer-reference question
  273. Strange loop
  274. insert a char in a char array
  275. VC++ hot keys
  276. Implementation problem
  277. An Elegant Design/Solution?
  278. Error handling in C++(ADO)
  279. What is wrong here?
  280. Sort list
  281. ostream and ofstream overloading
  282. Code Critique Please
  283. file creation problem in Windows using fstream
  284. Returning references
  285. Is there a way to disallow subclassing
  286. A (Simple) Polymorphism Query
  287. Invoking a base class constructor
  288. adding an integer to an stl string
  289. Printing unsigned long long int's
  290. DLLs with message windows
  291. help
  292. Parsing through a file and collect data ...
  293. directory listing with C++
  294. valarray assignment question
  295. Paint problem
  296. The size of instances
  297. a beginner Q
  298. how to compile php + library
  299. C++: Virtual fnc Vs Pure fnc?
  300. Dynamic String arrays
  301. template argument to enum
  302. Good C++ Compiler?
  303. Generic iterator utility functions
  304. Easy or not?
  305. Reading words with trailing whitespace
  306. Problems with Templates with Shared libraries
  307. Of stream manipulators, stringstreams and character sets
  308. "Local function"?
  309. STL vector and erase : HELP
  310. Suggestion for C++ language extensions
  311. Threads and Sockets
  312. Why doesn't this work?
  313. ATL/COM MFC API problem
  314. Reading data from file
  315. Help with my program (code inside)
  316. Globals
  317. Accessing array inside a VARIANT in VC++
  318. Removing \n from a file
  319. c++ standard
  320. static_cast<unsigned int> question...
  321. Template code inline
  322. HOw to pass std::map as parameter?
  323. no mem leak but process grows with STL container
  324. no mem leak but process grows with STL container
  325. std::setprecision and scientific format
  326. Interchange 2 nibbles of byte
  327. R e: Catching access violation exceptions
  328. string lengths as integers.
  329. will the pointer survive?
  330. C++ DLL and C main program
  331. Error with template syntax, please help
  332. virtual table, type_info node, type_info function
  333. bitwise not and "auto casts"
  334. Isn't 'vector' a misnomer?
  335. Getline delimiter
  336. Question about some funky behavior with array subscripts
  337. cygwin and visual studio.
  338. test
  339. Need help with string splitter.
  340. all code in .h file
  341. Setting TimeZone with C++
  342. Constructor vs assignment
  343. c++ documentation
  344. REQ HowTo: Passing class specific char ptr through template declaration
  345. optional inhertiance with templates
  346. Problems with enums across a dll interface?
  347. Inheriting overloaded operators
  348. White space and >>
  349. Opinions about underscores in names
  350. Sets of colors
  351. Enum within function, is this standard?
  352. Need C++ IDE for Windows
  353. Self-referential initialization
  354. Filter a martix?? I need your help, please!
  355. c++ file i/o: cant use file twice
  356. LNK2005, using #include <vector> and <map>
  357. Designing Data Interface for Very Large Files [more than GB size]
  358. Pointers and References (and References to Pointers)
  359. stringstream tie problem
  360. plzzzzzzzzzz help me !! it's urgent ! run time error:memory couuld not be overwritten
  361. question: std:string and float values??
  362. anyone know any delta compression libraries?
  363. vector within a vector
  364. const_cast<>
  365. Error E2303 Type name expected?
  366. Who have read the book "The C++ Programming Lang.?
  367. leak detected using valgrind
  368. boost::shared_ptr inside stl::list
  369. functors with reference parameters
  370. function code
  371. How to store instanses of a template class?
  372. How to enum an enum?
  373. Is it ok to inherit from vector?
  374. Global Variables
  375. How to find Memory Leak
  376. container of pointers and virtual member function templates
  377. need someone to help write code. will pay
  378. write c++ code for fee
  379. variable names.
  380. C++ Simulator of a Nondeterministic Turing Machine
  381. Explicit conversion
  382. Inheritence (java vs. c++)
  383. Basic encryption
  384. Which functions change a vectors capacity?
  385. Optimisation, function returns, STL containers
  386. code portability and function call serialisation.
  387. C2143, hash_map
  388. Resume the computation after an exception
  389. Mixing C/C++ and Func. Names
  390. foxtoolkit for windowsCE or PalmOS or Linux Pocket PC
  391. lottery number thing problem
  392. Compilers
  393. beginner string question
  394. Passing Structure to a function
  395. Palindrome (HELP)
  396. Weird Question
  397. Using constant variables in header file
  398. lowest number
  399. Overloading == operator
  400. Compilation and runtime error with vc++ Version 6.0
  401. STLFilt news: for Intel, EDG, C++Builder6 and MSVC
  402. Passing string types to a function
  403. checking for TYPE INT
  404. Compilation speed on IntelC++
  405. problems with data type conversion (maybe)
  406. Questions of reference
  407. Using constants
  408. Dynamic variables
  409. Static class member initialization question
  410. Compiling error
  411. Pointer Arithmetics and void *
  412. Compiler io problem!
  413. How to simulate keyboard.../dev/tty0?
  414. undefined behaviour
  415. How to cahnge pixel value with gray scale image?
  416. Allowed or not?
  417. Design question: A little C++ header for colorizing text in Linux -- Comments/Ideas
  418. test
  419. Correct use of polymorphism
  420. string c_str() data() cout printf text file containing '\0'
  421. Choosing between new or malloc
  422. Preprocessing directives
  423. How to simulate keyboard.../dev/tty0 ?
  424. allignment of structure
  425. Question about Structures
  426. C++ under linux
  427. C++: operator overloading
  428. Calling dynamically?
  429. double pointer indirection??
  430. Problem changing pixel value in a grayscale image in GDI+
  431. Newsgroup for MS Visual C++?
  432. Help Needed!! Marshalling Message
  433. case execution time
  434. Enum Type Constructor Initialization?
  435. enum type constructor initialization?
  436. Suggest C++ course
  437. STL data structures using memory
  438. Reading a file into a string
  439. want to return a constant reference to a...
  440. integers as a string
  441. swap bit in C
  442. Loki
  443. huge numbers are not acceptable , why?
  444. static const array of const structure
  445. __int64 vs. long long
  446. Unusual operator behavior
  447. Graphics with VC++
  448. sorting K+1 vectors with NlogN comparisons not (K+1)NlogN
  449. Realloc a struct **
  450. small projects to learn STL?
  451. Web page for STL container performace requirements?
  452. Templatized operator () overload
  453. help me to optimizing speed
  454. Should I learn C++ ?
  455. Problem with bool.....
  456. thisIsAMemberFunctionName vs this_is_a_member_function_name
  457. List of void * type
  458. iomanip
  459. Help w/Range code
  460. Counting
  461. static classvariable
  462. MFC CDialogBar Obejct help!
  463. Partial Template Specialization
  464. Pre-Processing loop
  465. more about vectors
  466. Trick to low CPU usage?
  467. Polymorphism, pthreads, multi-threading, and libstdc++
  468. inspect for throws
  469. Problem with accessing objects of vectors
  470. It seems wrong to me
  471. Minimal C
  472. Given a date, how to find the beginning date and ending date of that week
  473. STL bug in VS.NET 2002
  474. Need help with a simple program
  475. forcing a compile time error
  476. how can I persist a pointer to virtual member function?
  477. [Offtopic]: Download Visual Studio .Net ISO
  478. about resizing vectors...
  479. Novice Question: Good example on use of Non-type template parameters?
  480. Accessing members of nested classes
  481. C++ Initialisation List
  482. What is a hook
  483. End-of-the-week fun
  484. Help with file management. Please help!!
  485. Creating and writing to Unicode file
  486. Debugging Runtime Error
  487. Extended ASCII characters in console app
  488. vector insert from a set
  489. Formatting
  490. Passing address of a member function
  491. reading from a file into an array
  492. std::auto_ptr and Unwind Order?
  493. enum
  494. ISO C++ forbids casting between pointer-to-function and pointer-to-object
  495. Help on Shell API to delete files/directories recursively
  496. Create compoent ocx - urgent
  497. bayes classifier and maximum likelihood function
  498. DLL/stl-container error
  499. Runtime linking
  500. Simple Recursion
  501. static error
  502. Private Inheritance is not subtyping
  503. Largest value of an unsigned integral type
  504. static constants...
  505. Troll Alert: isn't exactly rocket science
  506. Assigning to references
  507. Times
  508. this pointer problem
  509. Problem! (Easy for most of you i'm sure)
  510. Problem! (Easy for most of you i'm sure)
  511. when is object destroyed?
  512. A Shot in the Dark - mysql C++ api
  513. Virtual Destructor
  514. Cant debug that error is in adding recored or in displayig
  515. how to call function for array of object
  516. How to change font color on console
  517. Assigning to a reference
  518. Changing foreground color on console
  519. Binarysave string class?
  520. not all file read.
  521. Selecting implicit type conversions?
  522. Is it a question?!
  523. Objects in var. length arguments (?)
  524. how to connect ms sql 7.0 using in borland c 5.5
  525. istrstream class to be replaced
  526. template question
  527. template question
  528. Fixed precision floating point and locale facets
  529. deallocating memory twice
  530. Address-of operator
  531. Templates
  532. Deleting items from std::map in a loop
  533. need to catch up
  534. Circle class
  535. template parse error
  536. another bloody basic question
  537. Is this a bug in g++ or MSDEV?
  538. Virtual function pointers (& multiple inheritance?)
  539. find() syntax with obj member data
  540. Reference to temporary
  541. Beginner's literature recommendation?
  542. Help: virtual inheritance, non-default constructor
  543. Implementing singleton into multiply classes
  544. Differences between C++ and Java with this-pointer
  545. a simple question
  546. operator new/delete
  547. working with Date...
  548. Need design advice
  549. newton-raphson problem
  550. Mojo example class