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