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