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. Question
  2. Incorrect operator<< is called.
  3. Programms memory adress location access?
  4. std::vector - bug or feature?
  5. 'C++ Primer 2nd Ed' errata
  6. Can I assign safely an array to vector?
  7. Sutter's Pimples: Good, Bad, or Ugly?
  8. C++ Question Urgent
  9. Standardised unit of measure - please help
  10. bool overload problem
  11. how to make operator << a virtual function?
  12. error when initialize ifstream with string
  13. Queries about strstream.h
  14. Urgent ~~Simulator Question
  15. Cast from (long double*) to (const double*)
  16. Cast from (long double*) to (const double*)
  17. last element of list
  18. Overload operator problem
  19. C++ Guidelines
  20. Work around of using 1D-LUT instead of 2D-LUT
  21. My override function never gets called? - (reposting as mistake in first go)
  22. MultiByteToWideChar converting %[code]... erf...
  23. My override function never gets called?
  24. add_new() for array like push_back() for vector
  25. Class problem
  26. compile error
  27. Hypothetical: All code in classes but main()
  28. can string be a substitute of char s[] or char* s ?
  29. Constructor problem
  30. i have problem that two thread use one charactor pointer for string buffer
  31. Callback to a non-static method?
  32. A Better Class Design
  33. Declaration syntax
  34. linker error fixup overflow at 'seg:xxxx' h,target = 'symbol' in module 'module'
  35. question on data structure
  36. delete []
  37. Trouble with constructor
  38. STL Map
  39. Compiler/Virtual Machine Environment
  40. Inheritance with pointers:Overloading?
  41. GCC 3.4 being picky
  42. C++ style questions (OOP)
  43. About very long Bit-numbers (bitfields?)
  44. C++ style questions (OOP)
  45. pointer return: address correct / value nonesense
  46. The Annotated C++ Language Standard by Koenig & Stroustrup????
  47. Will the second be evaluated if the first is NULL?
  48. initialization in initializer list using copy constuctor?!?
  49. Linking problem - please help
  50. Manipulating user input
  51. unique objects and stl containers
  52. unique objects and stl containers
  53. Automatically separate method implementations from their declarations?
  54. Problem with release build of program using pointers
  55. Template related question
  56. access to private members of internal class
  57. access to private members of internal class
  58. Help a poor FORTRAN programmer with member functions?
  59. Unexpected performance results
  60. Singleton destruction
  61. Singleton destruction
  62. STL map and Posix Threads
  63. Can anyone please help me to design a simple game in c++??
  64. How to show decimal value of a char using cout?
  65. How to convert to another encoding?
  66. #include verse class class_name
  67. Using proprietary object libraries with C++ in a windows environment
  68. partial specialization of templates
  69. Connecting an agent and its strategy
  70. How to build a better diamond?
  71. Problem with checking if class is NULL
  72. please help me to choose a C++ book
  73. Assembler question?
  74. Invalid conversion from 'char' tp 'char*'
  75. finding the size of a data structure in bytes?
  76. reference trouble in double[3] vs. double*
  77. Avoid wasting time or how to avoid initialization
  78. Time to standardize the XML library for C/C++
  79. Reading Data from Excel
  80. News: Generate Models from C++ Code
  81. How to work around 14.5.5, 14.7.3/18 and related?
  82. Help me!
  83. Templates with constant array parameter
  84. template export question
  85. in-class initialization
  86. remove_if and functions overloading
  87. Creating objects
  88. An object to pass around
  89. Number at runtime
  90. Questions
  91. curiously recurring template pattern problem
  92. operator= and const data members
  93. random number generator
  94. Difference Between C++ and Visual C++
  95. string I/O in binary file
  96. Code critique
  97. Finding the type of a pointed to element
  98. Calling a virtual method in a specific class
  99. Any authoritative reference on structuring (large-scale) projects?
  100. MPOOL'04 -- Second Call for Contributions
  101. class vs. typename
  102. Visual C++ 6.0 From Deitel and Deitel
  103. Reading From Files in c++
  104. 2 questions--virtual operators and operator=
  105. Use of strstream.h?
  106. Genericity is *not* templates
  107. getline problem
  108. function pointes and templates
  109. High performance alternative to MI of virtual bases
  110. Sorting a 2 dimensional array
  111. STL-container used with references
  112. testing
  113. VXL
  114. Data Structures Question...
  115. Using proprietary object libraries with C++ in a windows environment
  116. Boehm's garbage collector: beginner's questions
  117. Student requires urgent help! Debug Assertion Failed error
  118. recurring template problem
  119. What is the best alternative for realloc in C++
  120. fscanf equivalent in c++
  121. What's the usage?
  122. C++ system calls
  123. building up binary tree
  124. Purchase of C++ standard
  125. Problems linking C++ code s on the Cray X1
  126. g++ multi threaded advice.
  127. Netequette
  128. Mapping Function
  129. Example of calling JAMA which uses TNT templates
  130. Tracking the "memory growth" of a process
  131. template function problem
  132. const base subobject
  133. returned vector of function is zeroized
  134. Permutations of a set
  135. Rationale behind not allowing template parameters to be friends?
  136. Parameter / argument mismatch in template scenario
  137. C++ with interfaces
  138. Stable priority queue
  139. question on instances
  140. Trying to find link to 'C++ Annotations' by Frank Brokken
  141. A non-const std::set iterator
  142. help in explaining binary tree
  143. confusion with abstract methods.
  144. confusion with abstract methods.
  145. NEED HELP with forward declarations
  146. Intel C++ 8.0 : declaration hides declaration
  147. NEED HELP with forward declarations
  148. Intel C++ 8.0 : declaration hides declaration
  149. Is a created before b?
  150. Is a created before b?
  151. [Q]Object:formal definition and description?
  152. [Q]Object:formal definition and description?
  153. Linked List
  154. Linked List
  155. Forwrard References in MSVC6 vs. Borland 5.5 compilter tools.
  156. test
  157. Forwrard References in MSVC6 vs. Borland 5.5 compilter tools.
  158. test
  159. test
  160. test
  161. test
  162. test
  163. test
  164. naked func for "one-way recurrsion"
  165. c++ interpreter
  166. naked func for "one-way recurrsion"
  167. c++ interpreter
  168. restricting deletion on local drives
  169. PN: Sample code to call another program/command from inside a C++ program
  170. restricting deletion on local drives
  171. PN: Sample code to call another program/command from inside a C++ program
  172. A list of objects with a template member shares address, why ???
  173. A list of objects with a template member shares address, why ???
  174. C going to C++
  175. Lippman's Inside the C++ Object Model?
  176. C going to C++
  177. Lippman's Inside the C++ Object Model?
  178. can't understand the compiler messages
  179. can't understand the compiler messages
  180. Compiler warning regarding type definition
  181. Compiler warning regarding type definition
  182. friend operator>> function declaration for a template class
  183. friend operator>> function declaration for a template class
  184. [Q] Template function - linking problem
  185. operator= in allocators
  186. [Q] Template function - linking problem
  187. refcounting and protecting against delete
  188. operator= in allocators
  189. refcounting and protecting against delete
  190. How to implement this?
  191. class variables: scoping
  192. How to implement this?
  193. Exceeding container::max_size()?
  194. initialization vs assignment
  195. class variables: scoping
  196. Exceeding container::max_size()?
  197. Big Int ?
  198. initialization vs assignment
  199. Big Int ?
  200. newb ques: c++ input files always end with NUL? Really??
  201. c++ newb asks about overloaded operators
  202. Debugger says my assignment hasn't worked
  203. C++ / JNI memory leakage, help needed
  204. pragma once
  205. sizeof in preprocessor
  206. size and nomenclature of integral types
  207. How you handle this?
  208. help to explain c++ binary tree
  209. std Output: 1 0 Frankly speaking, I was expecting: 1 1 So what happened. Ag
  210. beginner
  211. error: jump to case label
  212. enumerations: subenumerations?
  213. specifying enumeration size as member: good or bad
  214. mutable base class
  215. non-form based databse application
  216. Borland Builder c++, how to add a lib, question
  217. size of enum in vc6
  218. Private method exposed?
  219. Error running program in XP
  220. Multiple definition
  221. Seeking optimization advice
  222. delete this
  223. How to increase HEAP size in VC++ 6.0 environment
  224. Syntax Error in throw().
  225. converting 1944 to '1','9','4','4'
  226. APPHELP.DLL and USERENV.DLL & Win98SE
  227. how to view thread priority in a debugger
  228. pls tell prolem/error handling in vc++6.0 & making of programming basics strong
  229. problems in vc++:Applying setting user breakpoint, unhandled exception ,linking error,runtime error
  230. Base class method that returns a pointer to a derived class?
  231. Question again?
  232. Forbidding template instantiation for specific type
  233. Question??
  234. Virtual Iterators
  235. Structure of the code (files, dir's, namespaces, makefiles)
  236. g++ sucks: internal compiler error???
  237. Buffer overflow protection
  238. Q: Example from the Holy Writ
  239. Test newsgroup~....
  240. A stupid problem ...
  241. OLEDB
  242. Combinations/permutations algorithm in C++
  243. STL
  244. implementing Java's Observable in C/C++?
  245. VC++ Question - LINK : fatal error LNK1104
  246. Pull TxD high in serial communication VC++
  247. pointer equality and inheritance, take 2
  248. OpenTop / Common C++ libraries: are they good?
  249. new of an object without assigning it to any variable
  250. Three Classes Share One Memory
  251. How to Initialize const static object data members in a header file?
  252. Looking for an example of C++ program
  253. Non default constructor for array objects
  254. Please comment on the code
  255. pointer equality and inheritance
  256. Pass vector into a function
  257. Weird segfaults
  258. Is heap management thread-local?
  259. Problem adding a SubMenu inside the systemMenu of an application
  260. How can i programicly find out what operating system i am using?
  261. Database programming
  262. References, AddressOf and Object management
  263. What is a header?
  264. set/get in c++.
  265. The STL by Plauger, Stepanov, Lee and Musser
  266. Allocation / Delete problems
  267. C++ friend function
  268. Source code as data structure in repositories.
  269. How many CPU cycles does an instruction take ?
  270. Linux STL and GThreads
  271. SGI STL
  272. a couple programs
  273. spawnvp does not call exe files
  274. Is it standard and practical to use long long types?
  275. char* combination problem :(
  276. string::npos + 1 ???
  277. C++: why 80 charachters??
  278. Why Some Extended ASCIIs Can't Be Typed
  279. What'ch think of my program? *fixed word wrap*
  280. ifstream/getline
  281. Do my homework or the hamster gets it.
  282. size_t and size_type
  283. FAQ: slashes in your filenames???
  284. C++ Runtime Defined Classes?
  285. Compiler (warning C4786:)
  286. multiple constructors and class reference variables
  287. multiple constructors and class reference variables
  288. multiple constructors and class reference variables
  289. Sanity check output streambuf scheme?
  290. problem sending code via rs232
  291. do-it-yourself linked list
  292. Birthday Problem
  293. Destructor for const object
  294. Difference between DEBUG and NDEBUG?
  295. pointer to member's member?
  296. pointer members member?
  297. How to recover from failing cin.get(str,n,'\n')?
  298. FastNet 5.3 with borland
  299. Book: 'Beginning Visual C++ 6' By Ivor Horton
  300. std out question
  301. How to cast from list<T*> to list<const T*>
  302. Doing something wrong
  303. Problem z VC++ 6
  304. spawnvp does not work
  305. What is a good idiom for handling a lazy object?
  306. cannot find -lstdc++
  307. string literal is an lvalue; other literals are rvalues.
  308. confusion with const functions return types
  309. Convertion problem
  310. C ++ question
  311. Declaring only public class members - doesn't work
  312. CUJ and Microsoft C++
  313. Friend in Class Can't Access Private Function
  314. problem reading from a file
  315. Calculating exponents without library functions
  316. Searching of byte array with wildcards?
  317. Confused about the comma operator
  318. Problems to find out code changes that seems not to lead into a bug but does ?
  319. Insert some trings into a big file?
  320. C++ FAT32 Access
  321. Question
  322. Incorrect operator<< is called.
  323. Programms memory adress location access?
  324. std::vector - bug or feature?
  325. 'C++ Primer 2nd Ed' errata
  326. Can I assign safely an array to vector?
  327. Sutter's Pimples: Good, Bad, or Ugly?
  328. C++ Question Urgent
  329. Standardised unit of measure - please help
  330. bool overload problem
  331. how to make operator << a virtual function?
  332. error when initialize ifstream with string
  333. Queries about strstream.h
  334. Urgent ~~Simulator Question
  335. Cast from (long double*) to (const double*)
  336. last element of list
  337. Overload operator problem
  338. C++ Guidelines
  339. Work around of using 1D-LUT instead of 2D-LUT
  340. My override function never gets called? - (reposting as mistake in first go)
  341. MultiByteToWideChar converting %[code]... erf...
  342. My override function never gets called?
  343. My override function never gets called?
  344. add_new() for array like push_back() for vector
  345. Class problem
  346. compile error
  347. Hypothetical: All code in classes but main()
  348. can string be a substitute of char s[] or char* s ?
  349. Constructor problem
  350. i have problem that two thread use one charactor pointer for string buffer
  351. Callback to a non-static method?
  352. A Better Class Design
  353. Declaration syntax
  354. linker error fixup overflow at 'seg:xxxx' h,target = 'symbol' in module 'module'
  355. question on data structure
  356. question on data structure
  357. delete []
  358. delete []
  359. Trouble with constructor
  360. Trouble with constructor
  361. STL Map
  362. Compiler/Virtual Machine Environment
  363. STL Map
  364. Compiler/Virtual Machine Environment
  365. Inheritance with pointers:Overloading?
  366. Inheritance with pointers:Overloading?
  367. GCC 3.4 being picky
  368. GCC 3.4 being picky
  369. C++ style questions (OOP)
  370. About very long Bit-numbers (bitfields?)
  371. C++ style questions (OOP)
  372. About very long Bit-numbers (bitfields?)
  373. pointer return: address correct / value nonesense
  374. pointer return: address correct / value nonesense
  375. The Annotated C++ Language Standard by Koenig & Stroustrup????
  376. The Annotated C++ Language Standard by Koenig & Stroustrup????
  377. Will the second be evaluated if the first is NULL?
  378. initialization in initializer list using copy constuctor?!?
  379. Linking problem - please help
  380. Manipulating user input
  381. unique objects and stl containers
  382. Automatically separate method implementations from their declarations?
  383. Problem with release build of program using pointers
  384. Template related question
  385. access to private members of internal class
  386. Help a poor FORTRAN programmer with member functions?
  387. Unexpected performance results
  388. Singleton destruction
  389. STL map and Posix Threads
  390. Can anyone please help me to design a simple game in c++??
  391. How to show decimal value of a char using cout?
  392. How to convert to another encoding?
  393. #include verse class class_name
  394. Using proprietary object libraries with C++ in a windows environment
  395. partial specialization of templates
  396. Connecting an agent and its strategy
  397. How to build a better diamond?
  398. Problem with checking if class is NULL
  399. please help me to choose a C++ book
  400. Assembler question?
  401. Invalid conversion from 'char' tp 'char*'
  402. finding the size of a data structure in bytes?
  403. reference trouble in double[3] vs. double*
  404. Avoid wasting time or how to avoid initialization
  405. Time to standardize the XML library for C/C++
  406. Reading Data from Excel
  407. News: Generate Models from C++ Code
  408. How to work around 14.5.5, 14.7.3/18 and related?
  409. Help me!
  410. Templates with constant array parameter
  411. template export question
  412. in-class initialization
  413. remove_if and functions overloading
  414. Creating objects
  415. An object to pass around
  416. Number at runtime
  417. Questions
  418. curiously recurring template pattern problem
  419. operator= and const data members
  420. random number generator
  421. Difference Between C++ and Visual C++
  422. string I/O in binary file
  423. Code critique
  424. Finding the type of a pointed to element
  425. Calling a virtual method in a specific class
  426. Any authoritative reference on structuring (large-scale) projects?
  427. MPOOL'04 -- Second Call for Contributions
  428. class vs. typename
  429. Visual C++ 6.0 From Deitel and Deitel
  430. Reading From Files in c++
  431. 2 questions--virtual operators and operator=
  432. Use of strstream.h?
  433. Genericity is *not* templates
  434. getline problem
  435. function pointes and templates
  436. High performance alternative to MI of virtual bases
  437. Sorting a 2 dimensional array
  438. STL-container used with references
  439. testing
  440. VXL
  441. VXL
  442. Data Structures Question...
  443. Data Structures Question...
  444. Using proprietary object libraries with C++ in a windows environment
  445. Boehm's garbage collector: beginner's questions
  446. Boehm's garbage collector: beginner's questions
  447. Student requires urgent help! Debug Assertion Failed error
  448. recurring template problem
  449. What is the best alternative for realloc in C++
  450. fscanf equivalent in c++
  451. What's the usage?
  452. C++ system calls
  453. C++ system calls
  454. building up binary tree
  455. Purchase of C++ standard
  456. Problems linking C++ code s on the Cray X1
  457. g++ multi threaded advice.
  458. Netequette
  459. Mapping Function
  460. Example of calling JAMA which uses TNT templates
  461. Tracking the "memory growth" of a process
  462. template function problem
  463. const base subobject
  464. returned vector of function is zeroized
  465. Permutations of a set
  466. Rationale behind not allowing template parameters to be friends?
  467. Parameter / argument mismatch in template scenario
  468. C++ with interfaces
  469. Stable priority queue
  470. question on instances
  471. Trying to find link to 'C++ Annotations' by Frank Brokken
  472. A non-const std::set iterator
  473. help in explaining binary tree
  474. confusion with abstract methods.
  475. NEED HELP with forward declarations
  476. Intel C++ 8.0 : declaration hides declaration
  477. Is a created before b?
  478. [Q]Object:formal definition and description?
  479. Linked List
  480. Linked List
  481. Forwrard References in MSVC6 vs. Borland 5.5 compilter tools.
  482. test
  483. test
  484. test
  485. test
  486. naked func for "one-way recurrsion"
  487. c++ interpreter
  488. restricting deletion on local drives
  489. restricting deletion on local drives
  490. PN: Sample code to call another program/command from inside a C++ program
  491. A list of objects with a template member shares address, why ???
  492. C going to C++
  493. Lippman's Inside the C++ Object Model?
  494. can't understand the compiler messages
  495. Compiler warning regarding type definition
  496. friend operator>> function declaration for a template class
  497. [Q] Template function - linking problem
  498. operator= in allocators
  499. refcounting and protecting against delete
  500. How to implement this?
  501. class variables: scoping
  502. Exceeding container::max_size()?
  503. initialization vs assignment
  504. Big Int ?
  505. newb ques: c++ input files always end with NUL? Really??
  506. newb ques: c++ input files always end with NUL? Really??
  507. c++ newb asks about overloaded operators
  508. c++ newb asks about overloaded operators
  509. Debugger says my assignment hasn't worked
  510. Debugger says my assignment hasn't worked
  511. C++ / JNI memory leakage, help needed
  512. C++ / JNI memory leakage, help needed
  513. pragma once
  514. sizeof in preprocessor
  515. pragma once
  516. sizeof in preprocessor
  517. size and nomenclature of integral types
  518. How you handle this?
  519. help to explain c++ binary tree
  520. std Output: 1 0 Frankly speaking, I was expecting: 1 1 So what happened. Ag
  521. beginner
  522. error: jump to case label
  523. enumerations: subenumerations?
  524. specifying enumeration size as member: good or bad
  525. mutable base class
  526. non-form based databse application
  527. Borland Builder c++, how to add a lib, question
  528. size of enum in vc6
  529. Private method exposed?
  530. Multiple definition
  531. How to increase HEAP size in VC++ 6.0 environment
  532. Syntax Error in throw().
  533. pls tell prolem/error handling in vc++6.0 & making of programming basics strong
  534. problems in vc++:Applying setting user breakpoint, unhandled exception ,linking error,runtime error
  535. Base class method that returns a pointer to a derived class?
  536. Forbidding template instantiation for specific type
  537. Virtual Iterators
  538. g++ sucks: internal compiler error???
  539. Q: Example from the Holy Writ
  540. Test newsgroup~....
  541. implementing Java's Observable in C/C++?
  542. VC++ Question - LINK : fatal error LNK1104
  543. pointer equality and inheritance, take 2
  544. OpenTop / Common C++ libraries: are they good?
  545. pointer equality and inheritance
  546. Weird segfaults
  547. Is heap management thread-local?
  548. Problem adding a SubMenu inside the systemMenu of an application
  549. Database programming
  550. References, AddressOf and Object management