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. Problem with declaring a template friend.
  2. Slight problem using user-defined types with STL sets
  3. differences between malloc and operator new..
  4. convert signed int to unsigned int
  5. Automatic type conversion.
  6. Which is preferable std::auto_ptr or boost's smart pointer?
  7. recompiling..
  8. Urgent : help needed on web server implemenation
  9. Polymorphism
  10. API for c++
  11. Virtual Inheritance
  12. 2D array of structures
  13. ntifs.h help
  14. Saving a map
  15. ntifs.h Help
  16. What is the correct type for iterating through vector?
  17. multimap help
  18. How to realize a getch function in standard C/C++
  19. In place construction without placement new
  20. c++ integer data types
  21. returning a vector from a funciton
  22. Multithread or Multithread DLL?
  23. Announcing version 0.1 of the OOTL
  24. '&&', '||' and '!' operators allowed in template arguments?
  25. Simpletron Question
  26. Shortcuts disabled ?
  27. Use Global Variable or Global Struct???
  28. Announcing OOTL version 0.1
  29. Do I need the C-style struct instantiation in C++ at all?
  30. Project help
  31. GCC 3.3.4 setting Stack and Heap
  32. universal selector
  33. operator*(Foo) and operator*(int) const: ISO C++ says that these are ambiguous:
  34. a static array:smart_hash
  35. Compile .c file as C++ in MS Studio
  36. Hex to dec conversion for large numbers
  37. Class B using Class C, and Class A using both B and C
  38. c++ whizez wanted - perth WA. for stsistics and mathematical algorithem in c++
  39. Multi-column sort (urgent help needed)
  40. function template specialization ambiguity
  41. Is there way...?
  42. Structs n00b question
  43. Text removing using a macro in a namespace
  44. find number of digits
  45. const cl& vs cl
  46. C/C++ undefinded symbol problem
  47. Storing my recipes
  48. Printing from c++
  49. link against stl (different implementation of)
  50. Cannot convert to `int' in initialization
  51. Could anyone tell me about template partial specialization..?
  52. 2nd Editions of C++ Books?
  53. virtual constructor
  54. virtual constructor
  55. overloading in C
  56. question about constants in C++
  57. Lifetime of a function argument.
  58. assignment of vectors
  59. COM server/dll software
  60. how to add a debug hook - via trampoline or direct VTABLE access?
  61. Problems with strtok() returning one too many tokens...
  62. A Question about std::list
  63. A question about istringstream
  64. pointer to member usage ?
  65. RAW Image data reading ERROR
  66. Unicode and stream
  67. 2D arrays: are all elements in a 2d array guarenteed to be contiguous?
  68. error: `Klasa1' is inaccessible
  69. MSVC15 - forcing vtables into the _TEXT or _CODE segment
  70. Links
  71. Do all pointers have same size?
  72. Modifying static member variable via a ctor in a DLL
  73. Friend function problem
  74. Two questions - thanks!
  75. Static member and namespace - a puzzle.
  76. Backtracking Search Function Trouble
  77. Order of #includes
  78. Passing address of a C++ function to Fortran - syntax??
  79. Accessing inherited operator<< in base class from derived class
  80. Nested classes
  81. A question about library extensions and namespaces
  82. Container << Object
  83. Linking problems - could namespace be the issue?
  84. Reading and Writing to Binary Files
  85. Is 'using namespace std;' valid without 'namespace std {};' first?
  86. constructor
  87. Sort Function
  88. Two questions about lifetime and scope.
  89. Derived member variables.
  90. Three questions about lifetime and scope.
  91. Keyword register
  92. template trouble
  93. Pointers to partially specialized template methods, type confusion
  94. Need Code Beautifier for C++ with command line capabilities
  95. ilog2() for very large numbers
  96. list iterator is invalid after calling cout <<
  97. value of preprocessor symbol?
  98. Book on templating
  99. delete
  100. c++ on linux
  101. CSV file conversion...
  102. std::string::push_back vs. std::string::operator+=
  103. Memory leaks from Purifier
  104. Pointer discussion
  105. resetting ostringstream ?
  106. clrscr Compiler Independent functions
  107. bitwise copy
  108. Self Organizing Map and MSVC
  109. Instantiation of static variable in template class fails, why??
  110. A short question about resolving Overloaded Function Templates
  111. What would be the O/P? and Why?
  112. Temporary file with streams
  113. About c++ pointer
  114. Map of vectors how? <Long>
  115. Is there "reflect" solution in C++?
  116. Stream from file descriptor?
  117. DLL links to modified function???
  118. I found this great little site
  119. architecture design
  120. PLEASE HELP! Strange gcc compilation error
  121. math syntax checking
  122. How to round off a number to certain significant figures using C++?
  123. Question about memory allocation
  124. Union or class hierarchy
  125. the difference between standard c and standard c++ about their underlay realization mechanism
  126. Class design question.
  127. size of string
  128. a basic question about STL
  129. New C++. Why the flowing code cannot be compiled?
  130. please help (novice)
  131. v[j] > v[j + 1] ??
  132. Automatic C++ header generation?
  133. ftp-connection under dos6.2
  134. Undetectable wrapper
  135. I can teach anyone how to get what they want out of life.
  136. Increasing contiuous memory block available fpr MFC application
  137. vector indices
  138. profiling
  139. valarray as a class member
  140. External linkage with anonymous namespaces
  141. Mars Rescue Mission Challenge
  142. Unique Integer Types -- a useful C++ trick
  143. Random number generator and seeding
  144. Linker errors with templates
  145. template method question
  146. Linker errors with templates
  147. include problem
  148. Undefined reference to vtable
  149. Benchmarking
  150. access control?!?
  151. heap monitoring tool
  152. I see no difference in an inheirited non-virtual method and an inheirited virtual method
  153. How can I implement a plolimorfic queue in a type-safe manner ?
  154. Plugin-able application
  155. Function inheritance
  156. What the diff between a virtual method and an inheirited method
  157. How to replace: #if VAR1 == 100 ... #elif VAR2 = 1 ... #endif, With #ifdef VAR1 ... ? ... #endif
  158. operator new & delete overriding in template
  159. Reaching into the default namespace when using another namespace.
  160. array question
  161. typedef'd return type of a template class member function: take 2
  162. Smart pointer dumping core and specialization question
  163. typedef'd return type for a template class member function
  164. When debug, I how to out put the name of the function.
  165. Array of structures
  166. Why am i getting same file pointers every time
  167. std::cout and static initialisation order
  168. How to compile this C Code in Dev-C++??
  169. conflicts with library
  170. Error compiling template function within class template
  171. Need help - Advanced architecture
  172. Error compiling template function within class template
  173. why doesn't this compile?
  174. Position Available C++ USA
  175. STL hash_set problem, SGI impl
  176. When is a good time to explicitly call a destructor ?
  177. code completion, STL
  178. network monitoring
  179. virtual function phenomenon
  180. New in C++:Abstract Data Types(ADT) - Base Class
  181. I wrote a Pascal compiler in C++ and use it now !
  182. Need some help with inheritence with STL
  183. Ask for book information
  184. explicit call to copy constructor and operator = needed
  185. Why does C++ need delete[] ?
  186. outputting debug info
  187. Web Crawler
  188. fstream in non-current directory
  189. A question about recursion and stacks of objects.
  190. stack vs. heap. a loaded question.
  191. Implement a Pragma.
  192. HELP PLEASE - need Aloha protocol C++ simulator source code
  193. Class constructor: no call to methods possible?
  194. <string>: Handling of "\0" and copy into char x[];
  195. Memory Management
  196. How to create a Directory in C++?
  197. create compiel time warning
  198. KeyPressed function?
  199. Question: implicit invocation of destructor?
  200. g++ 3.3.2 unsuports defaults aragument, does it ?
  201. Specialized templates
  202. static class member variables
  203. Can I tell in the destructor if an exception occured ?
  204. Trouble casting a struct with bit fields
  205. delete by base class pointer?
  206. Client SOAP in C++
  207. expression of a function object
  208. How do I use two different class interfaces to the same underlying data?
  209. Any users of Logo around? - Survey
  210. text fixed with graphics and eqations
  211. how to prevent the allocation of previously used memory by malloc?
  212. Encryption using an offset file
  213. std::string question
  214. Catching std::strings and c-style strings at once
  215. 26766 Mining the Web: eigenVectors, Kriging, Inverse DistanceWeighting Searches 26766
  216. Copying one text file to another
  217. can not reference make_pair?
  218. ECS: Elements of C++ Style Automation Testing
  219. C/C++ code beautifier
  220. Cyclic dependency
  221. What's next?
  222. memory management and containers
  223. How do I put this statement in the class definition
  224. embedding passwords/other sensitive strings into a C++ program
  225. Where in the class definition should these be put
  226. Visual C++ in a medical device?
  227. Smart pointer implementation
  228. programming a network adapter
  229. developing c code to access partition table
  230. How To Reduce Number Files by Putting file1.c and file2.C Together
  231. Post Message
  232. Help with Visual Studio configuration
  233. function templates
  234. why reference ?
  235. floating point problems?
  236. Compilation problem when upgrading from g++ 3.3 to g++ 3.4
  237. Destruction order (e.g. singletons)
  238. Creating pythagorean triples from input.
  239. How to clean ostringstream?
  240. get_item_price
  241. Function to do nothing
  242. Class that can log what it's doing...sometimes
  243. defining wide-character strings with macros
  244. video/movie (mpeg, qt, whatever) creation info... where to find
  245. Calling function that may throw an exception
  246. open-source object-oriented and agile C++ library
  247. Question about definitions
  248. Smart pointer template question
  249. ISAPI Filter and sessions
  250. Why I can't have a reference to an unsized array ?
  251. std::complex
  252. Method inlined in source1.cpp and called in source2.cpp
  253. when to use "new"
  254. const member fn changes static data
  255. Disabling dialog being displayed in Windows taskbar
  256. Removing elements from std::vector.
  257. default constructor in Java versus C++
  258. Banker's Algorithm
  259. Bit-shifting to multiply and divide?
  260. Questions about edit box in VC++ 6
  261. implementing remove in std::allocator
  262. How many virtual functions before needing dispatch tables?
  263. Windows 64 Bit Programming
  264. Random number if range is greater than RAND_MAX?
  265. Does std::set have an efficient copy?
  266. Array of Strings
  267. Adding Objects
  268. ptr to member
  269. constructor call
  270. Checking for memory leaks: valgrind versus insure++
  271. Container class. compiler error
  272. Linking error in VC++ 6
  273. C++/C-library linking (pslib)
  274. const?
  275. Parallel programming
  276. Design question (specifically, script interpreter)
  277. Does anyone knows how to "disable multiple instances of application"?!
  278. C++ cross platform frameworks
  279. Op or punctuators
  280. How do you pass a Vector to a function?
  281. constructor and destructor when initializing sized vector
  282. templated data member
  283. Recursive Calls with Ellipses
  284. Fetching binary file linked in URL
  285. std::map problem
  286. What are makefiles useful for?
  287. C++ & parsing streams
  288. Please Help
  289. strang behaviour std:vector and XString in VC6.0
  290. using this in static member function
  291. Template copy constructor question
  292. Visual C++ 6.0 Plugins?
  293. Can't use ofstream??
  294. copy construction
  295. HTTP Post
  296. Extracting from istream into stringstream
  297. possible compiler bug?
  298. Survey: Frequency of usage of smart pointers
  299. maintain project
  300. difference between return &*i and return i;
  301. STL vector searching question
  302. system() or _popen()?
  303. A good job for Win32 C++ programmer in NY
  304. class types as proxies to an array
  305. ifstream problem
  306. Quickest way of reading a binary file into a vector<char>?
  307. why the RTTI cannot tell the const qualifier of variables
  308. Is STL queue Thread Safe?
  309. [win32] invalid conversion from 'void*' to 'HBRUSH__*' ?
  310. Question: Comparing template singleton variants
  311. B+ Implementation in vc++
  312. Can anyone recommend a good course??
  313. why I have not cast from object to reference
  314. STL inplace_merge on user-defined objects
  315. Linker errors on Compaq comiling C++ application using STL
  316. Essential Mathematics for Games and Interactive Applications
  317. error: `EBUSY' undeclared (first use this function)
  318. why i can't compiler code in 64 mode
  319. C++/CLI
  320. Variable Optimization Question
  321. Program not running correctly
  322. RAII for value objects
  323. passing parameters by const& ... can it be overdone?
  324. explicit conversion
  325. Temporaries - when do they begin, when do they end?
  326. Aspi Information required...
  327. Variable number of arguments when calling a DLL function
  328. How to access object file in visual studio.net
  329. Pointers and references
  330. Inline functions and performance
  331. operator new, delete, static variable lifecyle and more
  332. operator new, delete, static variable lifecyle and more
  333. I think it cannot be done but why not?
  334. namspace qn
  335. How to capture WebBrowser's OnAfterPrint event in C++?
  336. Retaining a handle on a std::indirect_array<>
  337. Simple UNICODE question
  338. The real issue with accessors and mutators
  339. do static functions get inherited?
  340. braindead languages?
  341. Output location in an array
  342. how to understand references to variables and references to constants are distinguished?
  343. const qualifier problem
  344. static data-member undefined external
  345. STL Sort
  346. Design question: N-dimensional tensors
  347. Problem with macro expansion
  348. iostream & Adding Console I/O to a Win32 GUI App
  349. template from MSVC++ to Linux gcc 3.3.4
  350. linkage of object declared outside main
  351. Derived methods hiding inherited methods
  352. Arguments *Against* Exception Use
  353. class for "updatable enum"
  354. static data-member treated as extern
  355. a question about overloading operator<<
  356. Game Control Storage
  357. How to make a "long&" parameter optional
  358. How to design this?
  359. test (sorry)
  360. listing files in a directory
  361. By reference or by pointer
  362. Nested template type access
  363. Access violation - Malloc problem
  364. eMbedded Visual C++, hide/show toolbars
  365. why?
  366. conversion: errno => exception
  367. Memory Leak in this simple C++ program, a compiler bug ?
  368. ncurses
  369. stl-list in 2 dimensions
  370. assigning void * w/o cast
  371. visual c++ 2005 express edition beta
  372. Accelerated C++: [1,rows] Not so fast
  373. initializing embedded anonymous struct static members?
  374. Calling a object's overloaded operator with a pointer to that object.
  375. Pattern for this? Or something?
  376. object of a class as its member???
  377. Learning Borland C++ Builder uses
  378. Where have all the umlauts gone?
  379. C++ coding standarts and how to structure "bigger" projects
  380. Detecting binary verses text file streams
  381. c++ and database
  382. Failure while assigning values to a variable: Aborted
  383. Please help with C++ Makefile and % Operator
  384. Data Structure and making the size change
  385. ASN.1 - DER
  386. Question about over loading
  387. hello
  388. initializing non-static consts
  389. 'class' type redefinition
  390. 'class' type redefinition
  391. PDF/HTML Output Class
  392. Storing downcast objects in a vector
  393. map within map
  394. install source code to a drive other than "C:\" ?
  395. std::streambuf::setg & std::streambuf::setp success or not?
  396. Loading file into an array
  397. Singleton problem
  398. syntax of stringizing macro
  399. Templatized 'Random' member function.
  400. STL alternatives?
  401. unsigned long long and bitset quirk
  402. mem leak in Singleton?
  403. Left/right side of assignment
  404. Inheriting from STL bitset
  405. C++ design question
  406. System Tray
  407. Question about delete
  408. library problems
  409. Variable sized type
  410. Vector and derived classes objects
  411. c++ libray for http protocol
  412. no subject
  413. Is there a design pattern for this?
  414. comma
  415. Interface inheritance
  416. creating and using .lib files
  417. Constant Variable
  418. Types defined inside templates
  419. Problems with multiple CPP files in my project
  420. LLONG_MAX vs ULLONG_MAX
  421. Snipe hunting in C++
  422. Giving the preorder & inorder lists, How can be constructed the corresponding B-TREE ?
  423. How to disable "using namespace"
  424. Address of a reference?
  425. using ofstream to alter file contents WITHOUT overwriting them
  426. Object Initialization Question
  427. std::string and \0
  428. World's First Book on Professional Data Recovery Programming
  429. Why Does C++ Name-Mangle Identifiers?
  430. Boost Spirit Question
  431. Is this a compiler problem ?
  432. double delete
  433. silly question about inheritance
  434. performance
  435. Nice way to do help screen output?
  436. Question about dangling pointer
  437. Boost sanity check
  438. Why is this expression illegal?
  439. passing an array of LPSTR to C++ by reference
  440. Seeking Borland C++ 4.5x
  441. truncate end of file
  442. Accessing COM ports in Win32
  443. Programmers Wanted - Poland, Warsaw - full time
  444. templates and translation units
  445. Is this binary search correct
  446. Template class partial specialisation problem
  447. C2064: term does not evaluate to a function ( While using STL map)
  448. constructor initialization list
  449. new line character is considered as two characters
  450. Obtain the hardware installed in a linux machine.
  451. C and Flash integration problem
  452. fstream question
  453. Override/redirect a function call from a dll
  454. Virtual inheritance...
  455. Problem with Windows XP
  456. node name or ip?
  457. Perstistence of Class Static Data Members
  458. Output not right
  459. Date conversion algorithm - Help needed
  460. Exception handler for STATUS_GUARD_PAGE exception.
  461. quicksort template
  462. stack overflow just because of a double array[500][500]?
  463. how to "new" a two-dimension array in C++?
  464. archive
  465. searching keys in std::map using map::upper_bound
  466. template specialization problem, but only with char*
  467. C++ sucks for games
  468. getting items from Hashtable
  469. reinterpret_cast and enumerations
  470. Simple question with array of strings
  471. address-of a template class template member function
  472. copy constructor question
  473. Link Error 'Multiply Define Symbol'
  474. prolem in calling mysql C API in C++ project
  475. abstract class and pure virtual
  476. Constructor Filter Through... ?
  477. namespace and #define
  478. [named pipe] i wanna know about validate of pipe handle of client
  479. simple and basic c++ question
  480. How to distribute classes in .cpp and .h files
  481. upper limit - no of fstreams
  482. Borland Builder C++ 6 It's tutorial on the Editor
  483. rainflow count
  484. bound template parameter as argument to friend member functiondeclaration
  485. explict keyword for constructors with no arguements ?
  486. explict keyword for constructors with no arguements ?
  487. Design pattern question
  488. Fatal Error C1083...Please Help
  489. Wonder why this error...for this .h file
  490. Access violation with AnsiStrings
  491. World's First Book on Professional Data Recovery Programming
  492. Interfaces and functions...
  493. Web Cam, Notification of Broadcast
  494. How to test memory allocation with new ?
  495. Winsock try catch exceptions
  496. VC++ .h files (No Build Tool)
  497. Does list.clear() delete the objects in the list? If not, what is the correct method?
  498. Debugging class into dll
  499. Design Question
  500. using namespace directive in header file
  501. named pipe problem on linux
  502. problem with boolean flags
  503. [C++] Rewinding an isteam and GNU G++
  504. Range-Checked Vector Problem
  505. Circular dependeny: Forward declaration does not help!
  506. Using STL on SGI
  507. Compile error: invalid type modifier within pointer declarator
  508. non-delay mode read from cin
  509. Compiler warning when using vector of pointers
  510. C++ Function Pointers
  511. Is f() lvalue?
  512. MathCode C++
  513. C++ Coding Standards : 101 Rules, Guidelines, and Best Practices
  514. Address of temporary objects
  515. how to save to a text file
  516. KBits
  517. Best IDE platform: Eclipse?
  518. std::find requiring operator!=
  519. Fox: best GUI Lib?
  520. More 2D array with pointers
  521. Code critique please
  522. unsigned int const does not match const unsigned int
  523. placement new and exception
  524. why size of *this and size of basic and derived class different?
  525. don't sync() on an fstream at EOF
  526. Some of the recent developments of the ISO C++ front
  527. crash when run out of memory
  528. Casting struct to char array (was: Linked List problem)
  529. #define and commas
  530. [STL] hash_map problem
  531. C++ compatible with C ?
  532. templated function with vector
  533. serial keys/validation keys
  534. embedded directory paths
  535. reassign keys in an STL map
  536. Destructor not called
  537. macro substitution
  538. ostrstream question
  539. Explicit and partial template specialization nested in classes.
  540. Problems with ....hmm, linker perhaps
  541. JKop bashing thread
  542. enums in C and C++
  543. static data member lost?
  544. new algorithm
  545. one question about comma
  546. algorithm help
  547. how to save to a text file
  548. Passing function addresses as parameters (Calling convention problems)
  549. strange compile problem with make
  550. Header files