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