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