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