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. Design Question
  2. time to get rid of unsigned?
  3. cast operator
  4. multiplying two numbers and giving the square root
  5. multiplying two numbers and giving the square root
  6. Member pointer to template class object?
  7. Finding permutations of a list in a map or multimap
  8. STL remove_if function
  9. error LNK2001: unresolved external symbol - Ultra noob question
  10. Leaked Windows 2000 Source Code File
  11. std::string c_str()
  12. C++ beginner's book... Please help.
  13. Multiple Inheritance size problem
  14. How to read/write raw bytes from a flash card in C++?
  15. Memory leak ?
  16. specialized static template variables
  17. Converting char* to char
  18. Creating instances of objects
  19. Templates
  20. Access specifier and inheritance
  21. memorystream
  22. parse error before `('
  23. STL: malloc_alloc - omission of types
  24. Specialisation of a template that results to another template
  25. ide for qt , C++, windows <-> solaris development
  26. formatting floating-point-numbers
  27. template related question
  28. std::cvector
  29. Order of uknown array subscript
  30. declaration of size of vector<vector<int> >
  31. simple matrix
  32. radio button layout problem
  33. STL & basic_string<XMLCh> link error
  34. Problem writing a Unicode File in ANSI code
  35. using std::sort;
  36. *& dereferencing a pointer to a class
  37. associative container
  38. streams and FILE* interoperability
  39. Automatic Closing?
  40. clean way to organize string constants (for user feedback)?
  41. operator inheritance from a class template???
  42. C++/Bison Question
  43. Want to buy "Computing Concepts with C++ essentials" 3rd ed
  44. Who's for chess?
  45. How to spool LPT1 on win98?
  46. how to use using in header file?
  47. Where to place a constant?
  48. Should I NOT use Visual Studio 6.0 for programming games?
  49. Codes for Opening PDF files
  50. C++ and Modems
  51. Just a simple tree view
  52. Short program
  53. string search within a large file..
  54. program logic
  55. Passing an ifstream object to another function
  56. Arithmetics
  57. Re-forward declaration of types which were already forward declared
  58. String search library
  59. About Dlls in Borland C++builder 6 Ent
  60. Conditionally copying text to string
  61. Graphics Libarys
  62. Naming convertion
  63. std::vector<char> or std::ostringstream
  64. Redeclarig the unimplemented base pure virtual methods
  65. If operator=() is private in base.....
  66. auto_ptr clarification and josuttis book
  67. template question
  68. How can I log Instant Messaging being done on my computer?
  69. Class for static maps
  70. Loading a Bitmap More than Once
  71. do/while false
  72. unicode
  73. restricting the scope of friend class
  74. comments on this Binary Searh Tree template?
  75. Finalizing virtual methods
  76. Forced downcast - when will it work?
  77. Empty program so large?
  78. How to add ControlHandler to my main program?
  79. Virtual Memory Drop In
  80. how to call functions in C++ code from c
  81. initialize serial port
  82. Find a file with c++
  83. linux/windows development scenario
  84. Pointer as Array reference
  85. Reading from array is faster than writing ???
  86. Variable name incrementation
  87. Initializing std::basic_string<> with literals
  88. How do the STL containers interact with destructors/constructors?
  89. Shared memory Management
  90. Differences between "class::member" & "object.member"
  91. Function Pointer to a member function
  92. Problem with virtual member function pointer (how to invoke the base?!)
  93. const references : confusion
  94. Calling constructor
  95. file stream open failure reason
  96. Another base/derived problem with gcc, but not with MSVC
  97. Writing Numbers to a Binary File
  98. Compile-time checks using tag classes
  99. Storing Pointer in a Class Hierarchy
  100. Merging 2 dlls in One with Visual C++ 6.0
  101. TEXT macro for ascii and unicode initialization
  102. Prueba
  103. Subtypes of templated types (in templated functions)
  104. Semi-automatic indentation in streams possible?
  105. "new" vs "new class"
  106. How to convert (type *) to (type) inside a template?
  107. programming socket in c++
  108. Delete a class with multiple inheritance through base pointer?
  109. forward declaration of a template class?
  110. g++ -> vc.net
  111. Questions about destructors on std library containers
  112. How do i debug in Release mode
  113. pass by Reference/value ???
  114. how to handle groups of objects
  115. virtual inheritance
  116. Pointers and Arrays Problem
  117. Calling Java object/methods from C++
  118. NEW and DELETE operator question
  119. Transfering objects between programs
  120. Help adding objects
  121. test-004
  122. Callling C++ code from C
  123. Friend class and typedef problem
  124. Drawing Graph In VC++
  125. Ifstream problem
  126. Help on operator overload for something like matrix(row)(col)
  127. starting program without taskbar item
  128. Static member functions in Abstract Base Class
  129. how to format a binary file?
  130. Please help me to make source code from exe
  131. Info about Boost and STL
  132. base/derived ambiguity with gcc, but not with MSVC
  133. test
  134. exe to C++ source code
  135. next ISO/ANSI standard for C++
  136. Can statements be written outside function body?
  137. Source code - 2- UML
  138. my hook can't work well,help me!
  139. sprintf format type tag for double??
  140. regular expressions in dev-c++
  141. integer to string
  142. You must include the .cpp file instead of only .h file when using templates in VC++ ...?
  143. Iterators
  144. C++ String termination
  145. directory inventory
  146. Call for Hungarians
  147. Declaring Variables
  148. Defeated by basic_istringstream
  149. UML reference
  150. new for n-dimensional array.
  151. subset algorithm
  152. Diamonds and redefinitions
  153. pipeline with iostream
  154. nextline statement in write function
  155. Create a Shortcut to a DUN Entry on Desktop
  156. STL custom mem_fun
  157. int, float
  158. Copy Constructors
  159. FAQ Issue
  160. performance
  161. Anther inner class question
  162. Why it does not compile?
  163. Weird pointer error
  164. How to prevent a class from being inheritable, in C++
  165. enum is poorly defined
  166. placement new , is this acceptable?
  167. Calling a Template member function without specifying a type
  168. Reading bar code from a tif image with C++
  169. What is better /standard for creating files. a cpp file with header or cpp and seperate file for header
  170. BTree implementation - take 2
  171. How to print the strings reading from file
  172. Software Quality & Fault Measurement
  173. prime number routine
  174. Help
  175. finding offset of subclasses
  176. Templates and typedef
  177. Quick std::string question
  178. why does const not work on pointed objects?
  179. nextline statement in write function
  180. How do I lik an Object with Microsoft C++ v6.0?
  181. Lost references?
  182. remove trailing whitespace from string
  183. graphics
  184. about the use of a string in an ifstream statement
  185. Special map iterator
  186. private members in internal class
  187. Is this bad const design?
  188. Using C++ functions from C
  189. Amount of heap memory reserved by a procces
  190. What methods are useful in a BTree?
  191. Unhandled exception when ending a program
  192. how to write portable database access code?
  193. How to validate a pointer
  194. How to distinguish between heap/stack pointers
  195. Aspect Oriented Programming techniques
  196. interfacing with gnuplot without pipes
  197. STL hash_map hash
  198. wchar_t -> UTF-8?
  199. max number of threads with linux 2.6 kernel
  200. simple graphics question
  201. Making a program quicker tips...
  202. kasowanie ciasteczek
  203. .NET dll
  204. long long
  205. C++ Books
  206. Help me to solve this C++ problem
  207. access the fields of a struct by position rather than name
  208. How to build libboost_filesystem-vc71-s-1_31.lib?
  209. Does Vector is not supported by VC++ 6.0??
  210. convert a single to multiuser.. in c++ program
  211. Troll Alert
  212. do arrays hold pointers or the actual objects
  213. Making gcc a windows .exe file
  214. cin error recovery
  215. Random number generation in array
  216. matrix inversion
  217. Iterator and handle confusion
  218. non-const function return values: gcc bug or language flaw?
  219. ifndef define question
  220. Body of a function in a header
  221. How to Parse a CSV formatted text file
  222. stdout
  223. design a C++ class for fixing errors
  224. Overriding Methods
  225. VC++6 function template problem
  226. Template Specialization, subclassing and overriding
  227. Standard GUI Toolkit
  228. How to change delineator in iostream?
  229. cross platform tool
  230. break
  231. problem opening fstream
  232. unsigned integer overflow behaviour
  233. LINK error 2020
  234. Memory question
  235. little exponent problem
  236. DLL in C++Builder6
  237. call null constructor from another constructor
  238. Baffling function pointer typedf problem
  239. Reading Columnwise in a file
  240. Compile problem with TCL interpreter
  241. is there any C++ certificate?
  242. Need help with switch() mess
  243. STL: container's values setup by another container
  244. Purify problem or compiler problem?
  245. clarification - calling virtual function from destructor
  246. Review of C++/Qt book...
  247. question about VC++ 6
  248. Where to ask about Borland C++ Builder Socket/Threading problem?
  249. linked list that is shared between many classes?
  250. Efficiently creating a vector<char> which is a copy of a char[]
  251. Very short inheritance question
  252. L'il help with static member please?
  253. Saving objects to disk
  254. Announcing new scripting/prototyping language
  255. Enumerated Constants
  256. std::map efficiency
  257. Template confusion
  258. problems with const pointers to const objects
  259. Pattern Search...?
  260. Returning structures
  261. Naming of private functions
  262. Curiously recursive pattern-what is that???
  263. Ask about C program that convert NFA to DFA
  264. about the reference fuction
  265. C++ soap client
  266. Template function definition in source file
  267. Is "delete this" valid in these case?
  268. initialization problem
  269. private datamember access control
  270. Once virtual, always virtual ?!?
  271. Is there any Matrix in the STL?
  272. redirecting stdout to ostream
  273. Marker Class
  274. New keywords
  275. Use of copy constructor in pass by value
  276. How to make Template functions friends to a class
  277. STL bind1st counterpart for unary function
  278. c++ wrapper class for zlib ?
  279. Dynamic arrays - polynomial - C++ - completing the code...
  280. How represent points in 3d?
  281. Help
  282. Constructors that call other Constructors
  283. Counting and summing elements in an array? Help!
  284. SQL aliases in Visual C++ 6.0
  285. Template casting operator
  286. problem with explicit template instantiation in Visual C++ 6.0 .
  287. Book on data structure
  288. Accessing controls in an Automated Embedded Office Document using VC++.NET
  289. Is a private destructor allowed here?
  290. Possible Conflict?
  291. Interface of std::map's erase member functions
  292. Binary data representation
  293. Ascertaining whether T::reference exists.
  294. Problems using function templates
  295. class interaction
  296. Opengroupware source code in C/C++?
  297. problem in accessing static member variable
  298. system shell command
  299. ostringstream unexpected behaviour
  300. Porting library from C to C++ but must maintain backwards compatibility
  301. strftime not working as expected
  302. byte array and long??
  303. va_start and references
  304. [Job] Symbian C++ job
  305. Quick Question
  306. Design Patterns Advice And Resources
  307. FSM (Finite State Machine) Generator - Open Source
  308. f(int& i) vs. f(int i)
  309. templated function pointers?
  310. How to connect to MYSQL server from c++ script
  311. Accessing the UART with Win2000
  312. Design of small related classes
  313. needs assistance with eikon development
  314. std::container::iterator vs std::container::pointer
  315. understanding working of RTTI
  316. Object test = new Object() <-- Java, best way in C++
  317. Why different sizes (with unions) when __int64 used???
  318. FAQ topic pointers
  319. Linker dropping objects from static library problem
  320. using map with my own objects
  321. How should I specify size?
  322. Resetting redirected streams
  323. template parameters are hidden by class members
  324. FAQ and our desire to answer questions
  325. Problem with Overriding an overloaded function
  326. Convert File Descriptor to ofstream object
  327. Two questions about...something
  328. problem in compiling the c++ code
  329. Are numeric constants in a namespace visible globally?
  330. infix to postfix expression string for evalution.
  331. simple definition of OOP?
  332. compiling c++ code at runtime
  333. quick question about pointers
  334. be a programmer?
  335. What is wrong with this code?
  336. member function question
  337. Motivation for smart pointers
  338. ostringstream
  339. getting resource information: battery level and more
  340. std::string from file input
  341. how I can debug this with gdb?
  342. Pointers to Members
  343. Tricky cout with 0x0A value
  344. <Vector> Find function why is the return value wrong?
  345. Interoperability with .Net Framework
  346. repeat malloc & memory fragmentation
  347. C++ and the .NET framework
  348. Iterator string to char *
  349. Huge problem with memory usage
  350. Trouble with variable types (void *)
  351. new OO OS
  352. Any C/C++ LINT type checking recomendations
  353. problem using vector::resize()
  354. Opensource Toolsupport for C++ Code Restructuring
  355. Overloading the typecast operator
  356. Overloading new and delete operators
  357. Global overload of new and delete ---- Borland feature only?
  358. program for web server log analyser
  359. "can't convert parameter" error
  360. program for webserver log analyser in c++
  361. Noob Question Here...c++
  362. Initialization: const type x((function(A)) ? B : C);
  363. Should 'public virtual' always become 'private virtual'? & using private inheritance
  364. recommended design for 'static const' member access
  365. Design problem while using Builder pattern
  366. prototype for toString() method
  367. braces needed?
  368. when EXACTLY is virtual mechanism used?
  369. c/c++ compiler on windows
  370. Referring to a base class in a derived class
  371. C legacy coding style?
  372. HELP -- API function won't compile
  373. HELP -- API will not compile
  374. Size of a struct - totally confused
  375. Unicode in C++ source files
  376. STL info sought
  377. class <name>;
  378. virtual member function in constructor
  379. trivial constructor
  380. Calling builtin new
  381. How do I write this function only once using templates?
  382. creating a dll for XP/NT/2000
  383. STL v. Norma" Memory Allocator
  384. Intel 8.0 compiler optimization switches
  385. Windows-like MessageQue in Unix
  386. STL Data Structures, Sorted Insertion?
  387. underscores in class member names
  388. Error : Formal argument requires an lvalue
  389. Arrays are not Pointers, right?
  390. A Query
  391. The Best C++ Compiler
  392. again on function pointer
  393. Abstract Static Methods
  394. loop performance question
  395. How to read tsv file?
  396. Confusion about STL vector and memory management
  397. C++ / driver / COM developers needed
  398. const vs. define, preference or reason?
  399. malloc vs new -> speed of access, virtual memory
  400. help needed using ifstream::seekg with windows text file
  401. Overloading assignment fails with gcc
  402. CInternetSession Proxy problems
  403. Any progammers looking for a killer app to develop? How about a voice enabled forum?
  404. Help on a strategy for writing files of aprox. 0.5mb to disk at arate of 30 files per second
  405. istringstream syntax error question
  406. Inline code in header files - learned my lesson, but one mystery remains
  407. Microsoft visual C++ .net 2003
  408. Number of ways to create an object
  409. model dialog
  410. Building schematic like gui- directions needed
  411. String tokens/parsing
  412. Compile error with overloaded functions
  413. static data member
  414. status of a process
  415. Problem with pthread_join
  416. MySql++ in VC++ 6.0
  417. code contains problem
  418. Compile-time matrix dimension checking and template friend question
  419. parser generator which supports unicode?
  420. Python
  421. How to measure Network Latency
  422. link time error - on SUN with Forte C/Workshop 6
  423. C++ and Networking
  424. Call of overloaded derived method problem
  425. array of structs
  426. list with different class objects
  427. HttpWebRequest Timout Error Problem
  428. borland c++ builder 6.0
  429. class pointers
  430. File Discriptors in C++
  431. initializing a const array in a class
  432. problems with startup code in static libraries.
  433. function pointer
  434. help : how to : array of method pointers
  435. AMD64 target
  436. what is different between <fstream.h> and <fstream>MS VC++
  437. Using operator->
  438. Meyers's preference for vectors over maps
  439. Converting string to integer
  440. simple class issue
  441. Static data memer
  442. enum value question
  443. integer division
  444. C++ on Unix - serious coding help needed. We're in the Silicon valley location
  445. C++ on Unix - serious coding help needed. We're in the Silicon valley location
  446. typeid() faster than dynamic_cast<>
  447. C++ static character array...
  448. which GUI tool to use?
  449. What's different between Library (.a) and Shared object (.o)?
  450. how to alloct dynamiclly with a class
  451. namespace,class problem
  452. Listing files within a directory in Windows
  453. what's wrong of my code
  454. Why does this work? (returning automatic string)
  455. Learning C++
  456. Simple questions on shift ops and promotions
  457. Spliting text into separate words
  458. Data Structure Programs
  459. Is a struct preserved when used into a cpp file?
  460. safe to return a 'const char *' from a local std::string?
  461. Debug memory allocation with STL
  462. Try blocks and not catching exceptions
  463. Pointer-to-member
  464. istringstream???
  465. Optimisation needed
  466. How people look up C++
  467. size_type, pos_type, etc.
  468. Insertion Sort using Binary Search
  469. Accessing the Systray; what language/function does this?
  470. C++ .NET and C# .NET
  471. how to return a char array
  472. C++ & MS Access
  473. Read from txt file
  474. what mistake I made in this head file?
  475. pre, post increment standard behaviour, and friend function declaration
  476. Problem with clrscr()
  477. memory usage
  478. problems understanding std::map
  479. design question - member function argument or pointer member
  480. difference between static and ordinary member variables
  481. automate word
  482. Multiple variable inialization
  483. initialize constant member array?
  484. Interesting pointer problem (g++ v 3.1.1-24)
  485. How to keep (and share) object in memory after program quits?
  486. Reading lines from a file
  487. help me? About "include files"
  488. Effeciency
  489. What are alternatives to VB Rich Text Box?
  490. string to integer conversion
  491. call by value / (const) reference
  492. assign a CString to a char *
  493. Help me understand Overriding a virtual function
  494. Urgent Help, some doubts
  495. I get compile errors when compiling this class
  496. *auto virtual* feature
  497. Why does it print to screen?
  498. Weird reference declaration?
  499. Who wishes for typecpy in addition to typedef?
  500. Where is Exception Object's internal data stored?
  501. A complete solution
  502. singleton
  503. std::endl
  504. Initializer for an array of pointers to arrays of strings
  505. Singleton template and derived class
  506. Use huge parts of RAM
  507. 2 Questions:
  508. Motif: scale widget Problem
  509. Good C++ debugger
  510. class A { private: static const int a[] = {100,200}; };
  511. Classes and interfaces
  512. How use the overload of>> (or<<) of a class in the overload of << and >> of another class?
  513. How to reuse a deleted pointer?
  514. Debug Assertion Failed! ARGH! NOT AGIAN!! lol
  515. Networking with ACE
  516. src file naming convention?
  517. Copy constructor hides default constructor
  518. copying window text....please help! this language is insane.
  519. '+' overloading
  520. sector , file and partition reading in C++
  521. Clear CheckBoxes
  522. help me understand this cin/fstream behavior
  523. Help for a Pascal programmer please?
  524. ifstread read
  525. Virtual function
  526. visualization of tree data (with QT)?
  527. Virtual Inheritance
  528. using map, list etc. in const methods
  529. Will it work?
  530. Dynamically declaring an array within a function
  531. asm
  532. Variable assignment and dependency tool?
  533. Can I put a class into a namespace?
  534. Order of initialisation of static objects in different translation units
  535. std::list.sort( compFunc ) error
  536. Chopping up a string of characters?
  537. Container Question
  538. is there a library for matrix manipulation?
  539. vprintf / va-arg on sttreams
  540. Problem which ifstream and ofstream class in VC++
  541. how to create GIPL file
  542. java like constructor calling constructor
  543. Problems using strings and cin.getline
  544. question about std::string/map
  545. Template operators
  546. std::string and char*, what am i doing wrong?
  547. platform independent serialization of a long
  548. Convert to binary base long double
  549. typeid and dynamic_cast, gcc 3.3
  550. Question: 'set_new_handler(terminate)' removes need to handle std::bad_allocexception?