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. Gprof problem with dynamic library
  2. wchar_t to char
  3. Initialize an array inside a class
  4. strange difference between gcc versions
  5. Is this an ambiguity in the C++ standard?
  6. 2 byte float in MSVC++
  7. std::vector::resize ,
  8. Java date to C++
  9. how to read a file line by line?
  10. pointer to member reference
  11. Counting Words
  12. problem with inheritance and virtual function
  13. std::string and global symbols
  14. Memory locations in other programs
  15. anything whcih can be done with ternary but not with if else
  16. Banking Problem
  17. initialization of built-in types
  18. Dev c++ bold convention
  19. New Kid in the Block
  20. namespace issues
  21. Ordinary unary function to STL adaptable unary predicate how?
  22. some questions . please give feedback
  23. C++ Standard
  24. What is wrong with this statement?
  25. need help with string
  26. order of STL functions
  27. need help with link list
  28. STL adaptors help needed...
  29. overwrite an fstream object
  30. the c++ standard on static constants
  31. Creating windows
  32. The current state of affairs of C++
  33. Are references to not-quite-objects legal?
  34. Non-Blocking Input in C++
  35. fail to open the file
  36. how to read a spice nelist file(*.sp) and turn the schematic into a matrix?
  37. Compiler returns error, can't figure out why
  38. for(x = 0; x < 9; x++) when is x incremented?
  39. Logging class and overloaded stream operators
  40. How to assing this to NULL?
  41. pointers in memory
  42. Preventing a member func from being overriden
  43. skip blank lines
  44. Circular including, help!!
  45. mixing c++ and c
  46. Strings
  47. Strings
  48. Dangling pointer quiz question
  49. FFT library
  50. How to write to the beginning of a file
  51. bibliotela FFT
  52. Need help to understand the message WM_COMMAND
  53. template with C++ Pre-processor concatenates ##
  54. Why wont this line compile?
  55. User Defined Types & static const
  56. C Programming help requested
  57. program help needed
  58. Print value of char
  59. Wired things happen with g++-3.3.5
  60. enum scope
  61. std::vector removing a random element
  62. template member function
  63. stdc++ fstream file permission
  64. standard c++ basic_fstream question
  65. DLL throwing application error
  66. split string
  67. Reference variable question?
  68. File Saving
  69. [BR] GTK+ com C++
  70. How to overload operator* for this template?
  71. what is possbole cause?
  72. argument contravariance
  73. derivations
  74. fastest way to update?
  75. Help
  76. Accelerated C++: Clarification on the wording of exercises
  77. macros.h, where is it?
  78. What's the rule of default argument of function in C++?
  79. Template args and static const members
  80. a good example why it is a pity that sizeof() is not overloadable?!
  81. Scope of std::vector
  82. Signal handling in C++
  83. define struct
  84. virual inheritance and base class initialisation
  85. what is wrong with this code
  86. LSP and subtypes
  87. Application Close
  88. Can pure virtual function be called in base class constructor?
  89. Overloading operator>> question
  90. Weird result from function
  91. policy based design, and traits
  92. install gcc 2.95 and STL
  93. Operator precedence.
  94. Possible scopes of a destructor
  95. is this compilation right?
  96. Beginner question(s): Passing string into method
  97. Beginner question: Pass object as class parameter
  98. New Website
  99. Insert tab
  100. Static polymorphism -- what's wrong?
  101. argument contravariance
  102. Pairs, lists and a recursive type
  103. On right track?
  104. how to compile ...
  105. Is main() required?
  106. reverse_iterator to iterator
  107. const correctness
  108. Removing the leading and tailing blanks
  109. checking if the value is an number or a character, is there such function?
  110. C++ C# Delphi
  111. static member variables
  112. Passing bitset to function
  113. Where should I instantiate manager class?
  114. Console app closes after execution
  115. More file details (id3, thumbnails, etc.)
  116. what does const mean when it comes *after* the function definition
  117. C++ Builder TXMLDocument Documentation
  118. result covariant
  119. Ultra-basic C++ question
  120. c++ code error - (working with vortexes)
  121. nasty hacks
  122. Please help with Serial Comms
  123. string with mutiple characters
  124. Currency Conversion using OO
  125. using...
  126. Need a little help with system fuction c++
  127. Currency Conversion using OO
  128. How to compile C++ program with templates to pure C or C++ program without templates?
  129. variable as an array size
  130. template with stdarg: enum problem
  131. Implicit cast to object that implements overloaded operator
  132. GUID problem
  133. Unexpected behaviour with virtual base classes
  134. weird includes // glGenTextures
  135. more information from catch(...)
  136. Overloaded template function
  137. decimals
  138. A question about my C++ program and MSWindows :)
  139. Strange linking error with template
  140. overide?
  141. Policy based design
  142. string troubles
  143. problem passing value
  144. Access violation on copying array contents.
  145. Writing a Webservice Client
  146. regarding FAQ 8.5
  147. Preprocessor concatenation of operator and ...
  148. Redudant virtual keyword?
  149. overloading operator+ question
  150. Help with ReadFile()
  151. Policy based design
  152. Currency Conversion using OO
  153. Accessors/modifiers naming convention
  154. how to declare/define a simple template.
  155. C++ and eclipse
  156. C++ - STL usage 'Advice'
  157. C++/JNI
  158. namespace std and standard headers
  159. how to read the contents of a xml file as std::string
  160. Making a library
  161. dev-cpp
  162. Please help: swap char problem in c++
  163. Is there any method to supervise the memory's waste?
  164. virtual abstract functions
  165. inline methods and pointers to members
  166. Help!
  167. Visual C++
  168. When to destroy, when not to destroy
  169. constructor help
  170. STL:: Questions on set_intersection
  171. problem with double's precision
  172. Private inheritance question
  173. Returning reference to template class object..
  174. Better data structure?
  175. ifstream.seekg failing
  176. Dangling references?
  177. Cannot compile simple example
  178. string::c_str() and char*
  179. How to add and call a do-nothing non-default constructor?
  180. Boost.graph - changing edge end-points or copying an edge
  181. How to detect non-implementation
  182. Problem only in release version!
  183. command way for string manipulation?
  184. IDE C++
  185. templates vs inheritance
  186. why does this crash?
  187. Porting to a new compiler, that doesn't support virtual functions...
  188. How to declare a static fstream within a class?
  189. converted long to double lost significant digits...
  190. Graphic Library for 2D plot!
  191. Global template specialization in namespace -- alternative?
  192. return statement check
  193. how can see the memory usage for one process in Windows/Solaris?
  194. Ways to solve a puzzle in C++ -- variety
  195. I am a friend of Victor Bazarov cpp guru quesitons
  196. C++ hardcore
  197. getset vs public-private
  198. Searching within an abstract data type (ADT)
  199. Dynamic memory
  200. Help with std::locale
  201. Displaying two different data types with operator ?
  202. end-of-line character problem while reading stream characters and wrinting into array
  203. huge dictionary
  204. Problem using rand() function
  205. ways of mapping c++ classes into DBMS tables
  206. arithmetic overflow with enum
  207. Q: incremential redefinition by the precompiler OR workaround
  208. Trouble with pointer to a function
  209. having linking troubles
  210. Compile flex & bison
  211. How to initialize an array member in the member initialization list?
  212. redirection casting?
  213. Why an Abstract Base Class cannot be instantiated ?
  214. C++, VBS, or Batch for text file creation / modification
  215. friends in a class
  216. Function that swaps arguements - is this right?
  217. void argument
  218. circular list search
  219. ambient swap template not found.
  220. C++ --ContourCube VCL for Borland C++ Builder
  221. Random Addition
  222. STL code
  223. When templates in C++
  224. Why might you define an abstract member funcion?
  225. is operator= not polimorphic (virtual)?
  226. Constructor
  227. Understanding Separate Compilation
  228. Projects
  229. how to access help for MS Visual C++ 5.0 compiler (AKA Developer Studio 97)
  230. pthread problem related to c++
  231. undefined symbol + shared object + template
  232. Any Sample???
  233. Pointer to class member array ... element? Possible?
  234. Default construction versus construction with initial values
  235. Creating a custom project in VC++ .NET 2003
  236. Creating a sustom project in VC++ .NET 2003
  237. exponent format.
  238. example of operator += .... is it a bug?
  239. Extract/Include bites in binary file
  240. wcout' is not a member of `std'
  241. std::string sprintf
  242. PC Speaker Music
  243. Problem with templates
  244. Source Code (C++) Comprehension Tools
  245. include each other's header files...problem
  246. Selection of partial specialization blocked by namespace confusion
  247. String Problem?
  248. file size...
  249. exceptions and stack objects
  250. Hello world not working on Unix :(
  251. cin.ignore();
  252. Design Problem
  253. question about mouse buttons
  254. Arrays vs Vector Help
  255. confused about arrays
  256. Passing by reference / "Unhandled exception: User breakpoint"
  257. switch case failure
  258. changing char to wstring, how?
  259. static member function in class template
  260. Members and Templates
  261. Templates and helpers.
  262. Binary data in std::list
  263. MACROs are ugly but...
  264. kdevelop or eclipse
  265. Help me design my scheduler
  266. Can static member funcs be friends?
  267. Hyperthreading??
  268. "Debug Assertion Failed" On Smart Pointer
  269. java-like properties files (key/value)?
  270. where does system stack grow in cpp?
  271. novice question
  272. Error C2064 : term does not evaluate to a function using 1 arguments
  273. Problem with boost::regex_replace
  274. crash on return
  275. uses of the copy constructor
  276. How do I use wchar or wstring?
  277. ? about priority_queue how make objects unique
  278. I just don't get it, really, I don't getline(char*,streamsize);
  279. changing words to ASCII
  280. Converting a String to an Integer
  281. STL multi-dimensional vector computations on rows and columns using iterators
  282. jumping beens, well... jumping programs, aaahuuu-aah
  283. Warning : Possible use of null pointer
  284. STL multi-dimensional vector computations on rows and columns using iterators
  285. STL multi-dimensional vector computations on rows and columns using iterators
  286. C++ Libraries generated in windows Can be reused in Linux?
  287. C++ code in C file
  288. Intrusive pointer problem
  289. Virtual destructor
  290. change clock's precision
  291. Threading Library
  292. what is at 0 address in a program?
  293. ostrstream and memory leak
  294. Copy Part of String Into Other Strings
  295. Sun of digits in a number
  296. forward declaration of inherited classes possible?
  297. strcmp() vs. std::string::operator==
  298. 52 choose 7
  299. why virtual constructor
  300. why virtual constructor
  301. Default template arguments in function templates
  302. read and calculate values from output files
  303. String Parameters to Template Classes
  304. bitwise..
  305. Visual .NET not complaining on a C++ semantic error
  306. Const correctness for pointer data members
  307. list remove and insert
  308. Problem with initialization of poiter to the file stream
  309. structure and constant memebers
  310. validity/visibility of vars
  311. FreeBSD, gcc 3.3.6 from ports, and nss_dns.so.1
  312. Problem in Singleton
  313. STLport-4.5.3 and native (Microsoft) stl
  314. You opion on "should the limit in bitfields be removed?"
  315. You opion on "should the limit in bitfields be removed?"
  316. multimap and user defined object
  317. dynamic object arrays
  318. where do exception specifications go?
  319. Reference Variable as an Alias... Huh?
  320. Best way to parse a small txt file
  321. Help Problem with Lvalue required
  322. Difference between struct and class
  323. C++ Word automation Extract text
  324. string as a return type
  325. string as a function return type
  326. Req - C/C++/Unix-Fulltime Position
  327. template iterators
  328. Pointer and assignment question
  329. You Can FIND any thing u want
  330. WM_MOUSEMOVE
  331. What's wrong with this code ? (struct serialization to raw memoryblock)
  332. Pointers to nested structs
  333. difference between single and multiple exceptions
  334. allocator for map
  335. overhead
  336. types of a pointer
  337. function call misinterpreted as a variable
  338. virtual function and vtable
  339. Problem in private inheritance
  340. serializing an arbitrary data structure into a flat buffer (raw contiguousmemory block)
  341. Md2SUM how it works?
  342. sizeof arrary
  343. virtual static int xyz; // if bjarne cannot think of it ...
  344. Assignment Overloading
  345. Cross-platform development tool
  346. object reuse question ..
  347. Casting pointer to members
  348. wxwindows gui library
  349. oop design for a chat room
  350. Crashing with cstdio file class
  351. Opinions on application design?
  352. strings
  353. delete from a file, maybe overwrite!?
  354. Server app speed - Java vs C++
  355. how to compile .c on Windows
  356. Typical Exception Handling Implementation
  357. Encryption doesn't work right
  358. NaN in C++
  359. nonmember function swap used in assignment
  360. cout won't print string
  361. "Reverse" polymorphism
  362. #include errors
  363. C++ joke post --troll like style
  364. STL BOOK
  365. Color in win32?
  366. time problems
  367. Saving to a database
  368. Using a loop to do this...
  369. library for querying virtual polygon over raster spatial data
  370. Constructor help
  371. what is funtion for delay in VC
  372. Anyway to break input into tokens in STL?
  373. Can't figure out syntax error with templates/member function pointers
  374. grammar for c++ for coco
  375. Xerces, howto parse stringstream and validate with xsd-file
  376. enum visibility problem
  377. serialization of structure into a raw memory block
  378. Operator= overloading question
  379. Need help choosing a C++ development tool set - TIA for responses :)
  380. Bimodal random generation - help
  381. name conflict
  382. "LNK2019 - Unresolved external Symbol" while using templates
  383. New to C++; Examples in Physics and Chemistry.
  384. ifstream can't open file
  385. cast ambiguities
  386. How to obtain library name at compile/preprocessor time?
  387. Troubles with building boost 1.32
  388. First CFP for ADVIS'2006, Fourth Biennial International Conference on Advances in Information Systems
  389. Are there tools for working with .ini files?
  390. LINK : fatal error LNK1195: target machine 'ARM' requires '/SUBSYSTEM:WINDOWSCE'
  391. c++ array conventions
  392. Best performing use of boost::spirit
  393. Problem with Composition Relation/Forward Referencing.
  394. switch case error
  395. single double precision question ....... more
  396. Question about language compliance
  397. operator []
  398. struggling with a design approach ......
  399. uninitialized bool
  400. CoCreateInstance fails returning class not registered
  401. Weird Output
  402. Here is my idea on how to do this program, but I cannot put it into action
  403. errata page
  404. I need help with a program
  405. calling the method from the parent class
  406. for loop
  407. What is the relation/difference between a header file, dll and library?
  408. passing void function pointer
  409. Kdevelop/Kcachegrind
  410. dev-cpp icon issue
  411. class library in c++
  412. How to do this in c++
  413. Q about default function parameters
  414. socket programming windows Dev-cpp environment
  415. setjmp/longjmp in Symbian OS
  416. [Project] List & ConstIterator
  417. assignment operator overload error??
  418. oo in c++...and may other
  419. Recursive templates
  420. copy constructor in g++
  421. How to measure code-efficiency?
  422. What is NP-complete?
  423. Removing all elements from STL queue
  424. primitive range
  425. inheritance question
  426. taking a pointer from iterator
  427. pssible confusion about iterators
  428. Pixel Manipulations
  429. Loki Typelists
  430. class with destructor inside a vector...?
  431. Binary
  432. Partial specialization ambiguity resolution
  433. subset function for string
  434. Why can type conversion operator not be qualified with explicit?
  435. meters 2 ft/in problem
  436. error C2664 with InterlockedExchangePointer
  437. sizeof(std::string) seems to small
  438. C-Array iterator C++ compliance problem
  439. c++ question
  440. ctor using template pattern?
  441. peek() and tellg()
  442. Need help - dynamic memory allocation, objects and functions
  443. Need to volatile a by-reference parameter?
  444. arrays
  445. I need a function that extracts all string from /this config
  446. creating an array of pointers
  447. / operation
  448. system call
  449. Template recursive class
  450. Value of INF (double)
  451. destry array of defined type
  452. Selectively Public Function
  453. intersting problem with inheritance and iterators
  454. Creating functions sequentialy
  455. collocated architecture versus distributed architecture
  456. distributed computing choices
  457. select() for iostreams
  458. sandbox is the same as development machine?
  459. interfacce in c++
  460. integral vs. user-defined type check
  461. va_arg only for bult-in types?
  462. Function pointers in typedef templates under Linux
  463. vector functions
  464. How is memory deallocated after an exception in a constructor?
  465. Templates and friend operator
  466. static local variable in a member function.
  467. linker error when using template class in Dev-C++
  468. Convert float/double to wchar_t (unicode)
  469. Possible problem with iterators in STL
  470. Does c_str property of string class allocate memory?
  471. multidimentional array
  472. forward declaration?
  473. inheritance not allowed
  474. ambiguous definition
  475. the function in_avail()
  476. The best OOP languages??
  477. Templates, friends, operators .. what more do we need to have fun?
  478. Object ownership and memory management
  479. How to tell if a number has decimal places different than 0
  480. C++ equivalent for strftime()?
  481. A doubt on assignment operator.
  482. Pitfalls and problems in this code?
  483. error in file input
  484. Spreading a class across several compilation units
  485. an error i coudnt understand
  486. template linker error
  487. SFINAE problem.
  488. Generate All Subsets
  489. quick watch of an overloaded operator
  490. Prevent a class instance being created on the stack. Possible somehow?
  491. [Linker error] undefined reference to `WinMain@16'...
  492. OT-Sort of--> Versioning
  493. more effective c++ item 31
  494. Compiling error
  495. Pointer question
  496. i've got strange destructor
  497. Use Class Definition From Different File
  498. auto_ptr
  499. Why isn't the whitespace removed?
  500. C++ philosophy - using clause in header files
  501. Extracting data from a date
  502. strstream.h header file?
  503. Othello Valid Move Logic
  504. vector inside a class
  505. Local objects in function not destructed on exception?
  506. Pointer to array of char
  507. input issue
  508. exceptions and prototypes
  509. unknown compile error
  510. instanceof
  511. indenting
  512. extracting int of string
  513. calling pure virtual in abstract class's constructor
  514. ABC inheriting from ABC
  515. memcpy()
  516. strange compiler error ( gcc 4.0.2)
  517. c+ header files
  518. unnamed namespace problem
  519. Is it possible to create matrixes with vector <vector <double >> ?
  520. Creating and using a lookup array
  521. Catching unknown exceptions
  522. Class data to byte stream transfer mechinisim
  523. convert double to string query
  524. defult reference parameters
  525. organizing elements of two sets for efficient search.
  526. Private inheritance renders class inaccessible
  527. Draw a line using Bresenhams
  528. Why virtual function can not be overloaded?
  529. tweaking the virtual function table pointer
  530. why we use letter 'm' for variable decleration
  531. Need Help with static struct class definition
  532. running another program from a C++ program
  533. What's the new features of c++0x?
  534. Why this warning here?
  535. template specialization
  536. "typedef typename" inside template
  537. lookup tables
  538. STL::vector problem
  539. do serious programmers have a life?
  540. 1D pointer to 3D array casting
  541. std::vector's reserve(), erase() and clear()
  542. Measuring a String
  543. Debugging bizzare error help needed
  544. casting pointers and dynamic binding
  545. Logging for C++
  546. garbage collector
  547. std::map & compare
  548. Force method call in destructor of a derived class?
  549. C++ and setting pointer to eof to add records
  550. Array of array recursion