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