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