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