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