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. OT-Sort of--> Versioning
  2. more effective c++ item 31
  3. Compiling error
  4. Pointer question
  5. i've got strange destructor
  6. Use Class Definition From Different File
  7. auto_ptr
  8. Why isn't the whitespace removed?
  9. C++ philosophy - using clause in header files
  10. Extracting data from a date
  11. strstream.h header file?
  12. Othello Valid Move Logic
  13. vector inside a class
  14. Local objects in function not destructed on exception?
  15. Pointer to array of char
  16. input issue
  17. exceptions and prototypes
  18. unknown compile error
  19. instanceof
  20. indenting
  21. extracting int of string
  22. calling pure virtual in abstract class's constructor
  23. ABC inheriting from ABC
  24. memcpy()
  25. strange compiler error ( gcc 4.0.2)
  26. c+ header files
  27. unnamed namespace problem
  28. Is it possible to create matrixes with vector <vector <double >> ?
  29. Creating and using a lookup array
  30. Catching unknown exceptions
  31. Class data to byte stream transfer mechinisim
  32. convert double to string query
  33. defult reference parameters
  34. organizing elements of two sets for efficient search.
  35. Private inheritance renders class inaccessible
  36. Draw a line using Bresenhams
  37. Why virtual function can not be overloaded?
  38. tweaking the virtual function table pointer
  39. why we use letter 'm' for variable decleration
  40. Need Help with static struct class definition
  41. running another program from a C++ program
  42. What's the new features of c++0x?
  43. Why this warning here?
  44. template specialization
  45. "typedef typename" inside template
  46. lookup tables
  47. STL::vector problem
  48. do serious programmers have a life?
  49. 1D pointer to 3D array casting
  50. std::vector's reserve(), erase() and clear()
  51. Measuring a String
  52. Debugging bizzare error help needed
  53. casting pointers and dynamic binding
  54. Logging for C++
  55. garbage collector
  56. std::map & compare
  57. Force method call in destructor of a derived class?
  58. C++ and setting pointer to eof to add records
  59. Array of array recursion
  60. Regular expressions and I/O
  61. visibility/passing of variables
  62. template function compareLess
  63. code obfucation
  64. c++ interfaces
  65. int a, int b[a]
  66. pass by reference vs pass by pointer
  67. safept
  68. How do I initialize complex class static member?
  69. default argument in friend function of template class
  70. inserting into stl containers using boosts' lambda
  71. How does STL report out of memory errors?
  72. break
  73. Help with UNIONS
  74. Logic check please
  75. std::vector - works in BCB6 but not in g++
  76. concatenation operators
  77. Template specializations
  78. Commercial md2 and md3 use
  79. new to stl
  80. Object creation - Do we really need to create a parent for a derieved object - can't the base object just point to an already created base object
  81. read system-call
  82. Life time of static pointer to member function
  83. problem with char*'s and changing individual chars in it
  84. 3 files = 1 program HELP!
  85. Global object initialization
  86. Why is delete[] basePtr undefined if basePtr points to array of derived-class objects
  87. what is the different between glibc.* and libc.so.*/libstdc++*
  88. Cannot dynamic_cast the same object for the second time?
  89. strange multi-inheritance problem
  90. exception
  91. STL Vector vs Arrays
  92. How to implement malloc()
  93. SmartWin++, release candidate 0.99993 out...
  94. memcpy confusion
  95. ifstream and wifstream - combined
  96. set of structs (intersection)
  97. set_intersection
  98. is it safe to change the char* returned by ostrstream::str()?
  99. non-const for_each usage
  100. should this program compile?
  101. any potential multi-heritance fault?
  102. how much memory does an empty STL deque occupy?
  103. list::splice and iterator invalidation
  104. Date encoding as integer please help
  105. skipws
  106. Slicing problem
  107. g++ compile error
  108. Simple stack implementation
  109. question about polymorphism
  110. set and operators
  111. set and operators
  112. Is user login ?
  113. Beginner questions...
  114. is chmod(766) possible in C++?
  115. Boost program_options trouble
  116. Boost program_options trouble
  117. Newb float casting question
  118. Coding Problem, Help Needed
  119. Callbacks accross different threads
  120. Function Ptrs a bad practice in c+ ?? Array od Function Ptr - Indexing issue
  121. How to find memory leaks?
  122. is it a good idea to assign object to pointer without initialising it to NULL.
  123. fopen??
  124. Using Ptr of derived class to point to base class and viceversa
  125. Casting char to char*
  126. Casting char to char*
  127. How can i Create a EXE file in win32 use C++
  128. Inline assembler errors
  129. Inheritance & polymorphism
  130. [templates] is this code legal?
  131. Is C faster than C++
  132. Structured programming
  133. Help on OO leap year calculator
  134. Anti-rust programming language
  135. stl data structure to represent a tree
  136. sizeof(int) and sizeof(long int)
  137. reading tabulated files
  138. Explicit destructor calls from inside base class destructor
  139. Visual C++ and visualization
  140. Redefinition Error
  141. Recompilation problem
  142. Calling assembly from C++ and vice versa
  143. late binding for most drived class
  144. Cast from void* to base class virtual function problem
  145. template, implicit specialization?
  146. Error in using ams { } with C++.
  147. what is word boundary?
  148. How would I write a cell phone OS?
  149. "Aborted" (while reading file ?)
  150. how to overloading operator <
  151. Converting AnsiString to double
  152. Simple Database Interaction
  153. problem passing a static const int member by reference
  154. bmp//array questions
  155. specialize a template function that contains a template parameter
  156. hardware interaction
  157. Textinput with more than one line
  158. Kernel streaming
  159. Template.. iterator...
  160. char *string
  161. Converting Strings
  162. Exception handling stack trace
  163. templated exception type
  164. Casting Strings
  165. Overloading Operator <<
  166. std::allocator % HeapAlloc
  167. Compile error with SGI STL
  168. memory allocation problem
  169. Template construction in old gcc 3.3.3 does not compile in gcc 3.4.4
  170. questions regarding class
  171. new char[480000000] crashes
  172. how password is stored and check the authentication??
  173. template<T> operator+. linker error
  174. Convert double to string
  175. this pointer
  176. problem in using [ ] operator
  177. Openings in Webspectrum for JAVA NMS/EMS
  178. array
  179. std::wofstream
  180. valid main declaration
  181. stl vector help
  182. Display MS DOS's Size...by default...
  183. Calculating the log of a number
  184. namespace issue
  185. Calculating the nth root of a number
  186. passing character to function.
  187. need for typedef for instances of template classes
  188. Need Help with programming
  189. Converting a PRN file to a CSV using C++
  190. Redirecting printed messages to a file
  191. a question on my constructor "STRING (const char*)"
  192. Unused variables used for class constructors
  193. Segmentation fault
  194. Again: linking between C++ and Fortran results in incorrect result
  195. Challenge
  196. undefined symbol error
  197. Case-insentive
  198. setting values for all elements in hash to a value
  199. vector.size() and (signed) int
  200. memory allocation checking
  201. recursion order question
  202. It looks like bad programming, but is it?
  203. HTTP Client library - uploading files (POST method)
  204. Union Misalignment?
  205. Specialization problem
  206. Specialization
  207. Return appropriately by value, (smart) pointer, or reference
  208. this on reference counted objects
  209. how to improve custom String implementation
  210. Non Null Terminated string
  211. library problem
  212. can cout<<""; can cout<<""; contribute ?
  213. Porting from g++ 2.95/3.2 to g++ 4.01 template problem
  214. Simulate post at webpage
  215. is a char promoted to an integer in C++?
  216. same value enum
  217. Where can I get InfPrec?
  218. COBOL style C++
  219. seek() function
  220. How To Make Vector = Pointer
  221. Need Help Asap On Compiling!! By 10:00 Tonight!!
  222. Help with compiling.
  223. overloading operator >> to read a text file into a Matrix
  224. How does inlining work?
  225. Scope rules
  226. sort with vector<struct>
  227. Problem with EOF when using pipes and stdin
  228. Why file containing 256 bytes is 257 bytes long?
  229. type declaration
  230. call static method when class initialized
  231. c++ compilation problem
  232. passing through all elements in hash
  233. what is going on?
  234. problem with char* block[5000] and binary reading
  235. Problem in defining a map object
  236. Visual C++ to Borland Compiler
  237. integrate c++ in Java
  238. C++ XDK Question
  239. Problems when giving default value for 'const auto_ptr &' argument
  240. resurrecting cin
  241. Loki TypeTraits and compilation problems
  242. syntax
  243. Policies, traits, generics
  244. Problem in file writing.
  245. implementing begin()
  246. Macros and Executionspeed
  247. visual c++ debug dinamic objects
  248. Arbitrary number of arguments
  249. function sequence error on aix5.2
  250. C++ vs Java : Problem with Inheritence
  251. c++ array help
  252. C++ ARRAY HELP!!
  253. Who can help me about VC7.0
  254. how can i do this in o(n)
  255. Languages popularity
  256. adding huge doubles
  257. Is C++ any better than BASIC?
  258. Writing a function that can modify it's number of parameters at runtime using vectors?
  259. Help with vectors
  260. Function that calculates the arithmetic mean using vectors?
  261. Rounding
  262. returning const references/pointers from functions?
  263. Problem with distance and STL map
  264. Vectors and References
  265. Memory and References
  266. Best way to handle ownership
  267. in-class static array initialization HOWTO?
  268. What is encapsulation?
  269. Formatting
  270. queries about the FAQ's section 7.5
  271. Formatting
  272. Selectors and modificators trouble
  273. confused with garbage collection
  274. to over load =
  275. How to identify exception ?
  276. sizeof('x') in C and in C++
  277. Encrypted passwords
  278. Bug with access violation :(
  279. std::string vs. Unicode UTF-8
  280. data structure/algorithm problem
  281. Using external files throughout a program (please read before replying)
  282. Interfaces without ABCs?
  283. Cannot instantiate abstract class
  284. How watch for and extract single char from cin?
  285. Writing a destructive trojan with C++...
  286. PRNG writing
  287. designing a component system
  288. changing http
  289. which one to use? string or wsting?
  290. refs
  291. Othello A.I
  292. custom iterator
  293. STL learning
  294. pointers to member functions and virtual inheritance
  295. g++ wrarning hides constructor
  296. singleton for a parent with protected destructor
  297. template
  298. C++ teaching book
  299. Prefix increment/decrement results in lvalue, but postfix one results in rvalue?
  300. C++ delete throwing exception
  301. Factorial using C
  302. Why?
  303. question about .. my 'unpacker'.
  304. C++ and Java...
  305. How do you write an infinite precision number class?
  306. "no matching function for call to"?
  307. Getting the file size...
  308. c++ help....i'm stuck in the middle...
  309. const char *&
  310. is there any "join" implementation source code available?
  311. template
  312. Trouble with inheritance
  313. type cast and pointer
  314. Why doesn't it show the c'tor name in the list folowed by :: in VC++ IDE
  315. Recursive templates
  316. VS6 : Fatal error C1021: invalid preprocessor command 'using'
  317. referencing
  318. providing classes
  319. C++ Exception: Why does this program behave differently for pointer and array of pointer
  320. help! about Database, thanks
  321. Connot compile Qt
  322. string to int
  323. Reversing a number
  324. Help with rule of 3 pleae.
  325. Howcome?
  326. Is this program right?
  327. Custom bidimensional iterator and container
  328. argv[2] comparing with "d"
  329. partial template specializations w/ bcc
  330. "declaration of 'foo' changes meaning from 'struct foo'"
  331. const * volatile *
  332. the use of returning const &
  333. Adding digits
  334. "unable to match function definition to an existing declaration"
  335. easy way to read numbers from file
  336. Wrapper around C lib, problem with c_str and const
  337. matching callback parameters in generic algorithm
  338. linux base gui profiler for c++?
  339. pointers
  340. Code snippets etc...
  341. functors .
  342. Case statement
  343. Right triangles...
  344. c++ version of instanceof()
  345. Temperature conversion
  346. static variables in a class
  347. Templates...???
  348. Banging head against a wall
  349. Creating Triangles
  350. question on dev-c++ dllimport
  351. Using SFINAE with constructors
  352. question about data type
  353. C++ refresher projects after a 3 yr gap
  354. question about const
  355. vector of structs with vectors
  356. Vo2Ado
  357. Visual c++
  358. how do u overload operator << so that cout<<A prints out the letter A as well as the value of A
  359. const iterators
  360. Operator<<, in nested templated classes.
  361. Operator Overloading in Template Classes
  362. When is it nesessary with initialize list
  363. copy constructor, assignment operator in template
  364. Compile Error using C++ VS6.0 using Notes API
  365. using declaration and ADL
  366. my aplogizes
  367. Why the results are different?(about virtual function)
  368. pointer / deltaTime in OpenGL Game Programming book
  369. Specialization errors
  370. LOAD/SHOW/SAVE IMAGES VC++
  371. private friend member function - should this compile or not?
  372. Just wondering if anyone knows if there are converters to convert from: MS Visual C++ 6.0 or MS Visual Studio 2003 project files into UNIX autogen/configure/make files?
  373. About Mapping Intergral Constants To Types
  374. Difference between a type and a class?
  375. Please help a newbie to Visual C++...
  376. What am i missing?
  377. question about string compare stricmp
  378. null pointers questions
  379. Storing (0, 1, -1, U, X) in a variable
  380. Undefined reference to vtable
  381. Redefine a member variable in a derived class
  382. Win 32 bit Programming
  383. Reverse Newline character?
  384. problem between c++ and fortran memory boundary
  385. (Templated) Operator overload on return type.
  386. How to hide class member variable
  387. Particularizing Template Method
  388. Generating combinations
  389. xemacs,gdb,I can't input from the terminal in main function,but others functions well.
  390. an information 'bout |
  391. template sort
  392. how pointers behave with int and arrays
  393. difference between unsigned char and char in c
  394. BUS ERROR
  395. How to create a project file from make files in VC++
  396. std::sort using a member function as the BinaryPredicate
  397. Are Built-in Data Types also Classes
  398. Name Of Argument
  399. '::memcpy' has not been declared
  400. reading from text file
  401. save(char* filename)
  402. q: minimization/optimization library
  403. Strange debugging
  404. problem with library for pocket pc
  405. Enumeration of Array Indicies?
  406. void pointer
  407. SGI CC compiler: What happens if I use --> #include "unistd.h" and "stdio.h"?
  408. Upwards-casting question
  409. conversion, promotion, exact match
  410. leaving an if statement (should be easy)
  411. How does the compiler interpret a template argument (reference vs. non-reference) ?
  412. Is "a >= b" equivalent to "a - b >= 0"?
  413. STL map search
  414. name mangling vs name decorating...
  415. Template function adaptors
  416. How to tell if function has been declared?
  417. Flex, Bison and ifstream
  418. How to find: Fatal exception not rethrown
  419. Meta class programming question
  420. Help I need to call a member from assembler code (WIN32)
  421. sendInput() can't work at chinese char?
  422. Difference between struct and class in c++ and c
  423. Dark-corners floating-point behavior in C++
  424. a small code for filter non-chinese files.
  425. Smart Pointer Question
  426. a
  427. question about recognizing data
  428. Help with copy constructor
  429. 3rd Edition vs Special Edition
  430. inline function in a class
  431. Is this legal?
  432. write to output file Query
  433. Manipulate two 8-Bits using Carry?
  434. Templates, nested classes and static members
  435. GoF:"C++ [doesn't] treat classes as frist class objects"
  436. references
  437. double or float
  438. Sequences
  439. Init an array in a class
  440. interesting pointer problem?
  441. operator bool and warning C4213
  442. unqualified-id?
  443. sign_command (e.g not_negative) missing(?) in C++ (/C)
  444. Setting Right Alignment
  445. Methods of Objects
  446. Autokey Viginere Cipher
  447. Compiler errors
  448. displaying output from this program
  449. new to pointers
  450. Need advice, client wants cut of my money from other client..
  451. How to build a library from the C++ using template?
  452. how find a char most use in a stirng ?
  453. grave problem with ifstream::is_open
  454. tellg() for large filesizes
  455. answer?
  456. memory leaks
  457. xml parseing
  458. Portable SIP C++ Library?
  459. How do I get bitmap information of a button (HWND)
  460. B/B+ tree data structure?
  461. Inheritance
  462. Value of a pointer to base type when assigned to a derived type
  463. Quick question
  464. Issues with for loops
  465. how to construct a class with member type unknown till runtime?
  466. removing duplicate entries in a list.
  467. tree template
  468. Safe garbage collecting
  469. OStringStream
  470. template/friend problem
  471. Convoluted template declarations
  472. SIGSEGV : 11 error
  473. c++ templates question
  474. Converting Int to String...
  475. Default args for Class B an aggregate of Class A
  476. HowTo make template class part of static library?
  477. object adaptor
  478. private inheritance
  479. don't know where is the catch...
  480. C++ Reference anywhere on the internet?
  481. Specializing on a templated type
  482. Gui libraries for C++ in Windows
  483. override when using object composition
  484. complie question
  485. type conversion
  486. Polymorphic types without virtual functions
  487. Access of base class' private base class: qualification required, why
  488. pointer to function template parameter
  489. -> vs .
  490. Compiles with tolower from global namespace but not with std::tolower
  491. Heiptrw ho
  492. another template specialization
  493. What is vector?
  494. The adapter design patter
  495. Note, the below topic should not have that title
  496. Problems with Template Specialization
  497. Conversions and overload resolution
  498. Default Debugger for VC6 and .NET (VC7)
  499. Message archive
  500. Default arguments and constructors
  501. How can I insert a Backgroundimage in my C++ programm?
  502. Movie list
  503. How can I insert a Backgroundimage in my programm
  504. Hintergrundbild in C++ anzeigen
  505. operator char*()
  506. Get IOS to use a pipe? (subclass it?)
  507. fstream and ofstream
  508. C++ Templates book
  509. C++ and Robotics the relations?
  510. file I/O question
  511. std::fstream
  512. A question about "new" in the constructor argument?
  513. How to Return Function Pointer's Memory Address?
  514. Destructor??
  515. CGI/C++ Problem with Microsoft IIS
  516. write to output file query
  517. C++ Program Lists
  518. Date in array?
  519. Class and Property Representation in image
  520. how to get pid from system() call in c/c++?
  521. problem in dynamic cast
  522. Pointers to base class (invoking methods of child classes)
  523. experimenting with unions - byteswap approach..
  524. std::reverse_bidirectional_iterator out of date?
  525. Announcing: Relational Template Library
  526. Determining if object has been allocated using operator new
  527. how do u convert a vector<float> A to a vector<double> B
  528. fprintf( )
  529. Best way to initialize an array of strings
  530. typedef template class
  531. Sudoku++
  532. struct and constructor
  533. accessing member function from another class
  534. c++ & dealing with files
  535. Build errors on "trivial" proof of concept design pattern
  536. Multi-dimensional Pointers in C++
  537. Repost:C++ compiler implementation details
  538. query?
  539. Unmanaged void* to .Net System::Array
  540. Functions
  541. There's got to be a more elegant way
  542. Pimpl idiom and member function templates
  543. template function cant be found
  544. macro with user input
  545. Need grayscale image class help.
  546. fastest way of storing structured data
  547. STL : compiling
  548. null or nil or initialised std::list iterator?
  549. how to pass a 2-D array to a function
  550. Computer's drives