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. Changing Directories
  2. Template confusion
  3. a+b+c is not equal to a+(b+c)
  4. explict keyword for empty constructors ?
  5. abstract classes not detected by compiler
  6. Problem with pair container typedef
  7. png.h RGB-palette conversion help
  8. The right way to implement a common datasource for a hieracy of classes?
  9. diamond inheritance hides non-default constructor
  10. microsoft visual c++ path problem
  11. Problem with Event sending using ATL
  12. Call Stack
  13. C++ sucks for games
  14. partial template class
  15. size of empty struct ?
  16. Dynamic analysis tools information
  17. Trouble with Strings
  18. Printing stl::list objects in gdb
  19. screen capture problem
  20. test
  21. Array
  22. syntax error befor '::' token... what to do ???
  23. Where do I go from here? (Learning C++)
  24. Openning a file while in an object
  25. Toward an Introspection Open Standard
  26. Auto get()s and set()s
  27. Errors got when declaring member functions to be inline
  28. Why Use Classes?
  29. Visual Studio 2002 Enterprise Developer NEW IN BOX on ebay
  30. dll and c++
  31. RAII / handling failures during destruction - advice required
  32. vector: erase() and rbegin()
  33. Obtaining the position of an element with a collection
  34. Problem using mem_fun.
  35. C++ is EVIL, it's the computer language of SATAN ! ! !
  36. Subtracting large numbers usng linked list
  37. Trouble with operator overloading/type conversion
  38. Integer input
  39. Throwing a simple exception
  40. using templates and map
  41. Keeping a binary search tree complete
  42. my first 3D Multiplayer game using directplay (troubles with AppWizard's code)
  43. Don't understand this C++ exercise
  44. what is "in memory compilation"
  45. Making an input stream fail.
  46. linkage error when initializing static member array
  47. Deletion of a matrix
  48. runtime log
  49. Getting the type of a variable?
  50. std::vector<string*> crash...
  51. Compiling cgicc w/ MinGW?
  52. question about const and text segment
  53. Small code review
  54. iterators
  55. help with my c++ example
  56. class problem
  57. problem with STL container and dynamic classes
  58. what kind of bug?
  59. ifstream with files > "GB
  60. Standard Library function converting char[] to int?
  61. Clearing input buffer
  62. iostream trouble (accessing basic_ios)
  63. Temporaries, non-const yet r-value?!
  64. Conflict with <fstream> and <vector>
  65. c++ named pipe example
  66. rand() function doesn't work well??
  67. One Big (std::) Header File?
  68. flush the stream
  69. Converting from binary to long
  70. weird error
  71. STL template
  72. where is std::string defined?
  73. Urgent: Need info on C++ Linking
  74. Probably a Stupid Mistake
  75. STL: Searching with binders and predicates
  76. pow() question
  77. Yves Meynard's Enumeration class (CUJ Web exclusive, May 2003)
  78. borland c++ 5.01?
  79. Survey - Common Programming bugs and Bad practices
  80. bitmap backgrounds?
  81. vulnerabilities
  82. Cannot See It!
  83. include
  84. MSSQL from DOS
  85. Problem initializing class with literal array!
  86. streams and functions
  87. Object Argument passing in pthread_create
  88. USB programming
  89. libstdc runtime error on Unix box
  90. Code Problem
  91. Implementing deque with a couple of vectors?
  92. Problem with usage of STL release Dll with debug application
  93. Plz send me some good online link for memory model in C
  94. std::map insert core dumps
  95. templates in a std::vector??
  96. Arrays over vectors?
  97. __lll_mutex_lock_wait ()
  98. help needed with some c++ programs... urgent
  99. (ot) A Big Thank You?
  100. Question about Extended ASCII character set, and fstream
  101. about constants...
  102. Anyone know of a good ODBC Database Class?
  103. defining new types
  104. dynamically instantiate a class
  105. Calling a C library function from within C++
  106. templated constructor specialization?
  107. Sentinels and nested if
  108. EDG possible sozeof BUG
  109. dereferencing memory location some time after deleting the same one
  110. why is this still working??
  111. Copying objects and arrays
  112. When is a static data member defined?
  113. string & array
  114. How to static link .dll files (not MFC) into .exe file in Visual C++ 6.0?
  115. STL & Multithreading
  116. Function Pointers
  117. Convert a char array to a managed system string
  118. casting problem
  119. virtual base class overhead
  120. Why being an indifferent typist may be harmful
  121. generic programming and dynamic polymorphism
  122. a[3} slower than a.x; a.z; a.z
  123. std::max_element
  124. test
  125. inline functions and return by reference.
  126. Vector Elements
  127. testing
  128. testing
  129. pointer to structure?
  130. namespaces conflict?
  131. Reading specific memory address into variable
  132. What's static link at runtime?
  133. No out_of_range exception for "iterator + n" vs. vector.at( n )
  134. Refreshing application during SQL - command
  135. Multithreading library
  136. Portable libraries for Mac/Win/Lin?
  137. Connecting Access Database
  138. Command line interpreter
  139. Printing "long double" type via printf() on MinGW g++ 3.2.3
  140. case insensitive string::find
  141. POSIX Time
  142. No scientific notation?
  143. Dereferencing pointers
  144. A fast column based Cholesky factorization in C++ needed
  145. C++ IS OLD TEHNOLOGY!
  146. initalizing vectors
  147. Where is the specification for <complex.h>
  148. question about excerpt from "Accelerated C++"
  149. contradiction in TC++PL?
  150. Windows App - C++
  151. No Macros, No for loops, Pure C++
  152. Beginning C++
  153. about cout output format
  154. sscanf feature in C++?
  155. Winsock - Empty Receiving Buffer
  156. [Q] Impact of Unseen Types
  157. Numerical methods with C++: Any book recommendations
  158. [URGENT]Signal Handling
  159. strcpy and the copy constructor
  160. [URGENT] fgets reading last line in file twice
  161. Nested namespaces
  162. [BCB] moving components at runtime
  163. [g++ mingw eclipse] How do I setup Eclipse to use MinGw's g++ compiler?
  164. Hmm... inheritence... hmmm
  165. Unwanted / unnecessary prompt connecting to DB
  166. Fun with valarray.
  167. Help on code for dynamic matrix using pointers
  168. Anyone Know of Good Date/Time Classes?
  169. Stupid Question #119
  170. Template functions and overloading
  171. Inputting integers with commas
  172. [not-in-charge]
  173. Inheritance and object factories...HELP!!
  174. agile
  175. compile time efficency / run time flexibility - best of both worlds
  176. Incredibly simple graphics question
  177. seeekg/tellg not working properly?
  178. Who can help me?
  179. realloc vs vector
  180. finding the class address
  181. one more
  182. the last one
  183. help to solve this
  184. what's the scope of i ?
  185. Strange problem with storing inherited classes - HELP!
  186. physical constants header file
  187. count of pointer to array question
  188. Code review requested, Accelerated C++
  189. calling parent virtual function wtih out calling it
  190. Challenge: Triangles puzzle
  191. problem with select() and sockets...
  192. Forward References
  193. map::reserve
  194. using namespace std;
  195. can you make the anticheatpatch?
  196. Rules for #define
  197. Why does this crash?
  198. What the hell is going on??????????????????
  199. homogeneous container
  200. Determining a variable's type
  201. Placement operator new/delete question
  202. Why Is This Bad Code?
  203. Use of lower_bound
  204. Summary of C++ (ANSI/ISO) standards
  205. C++ and C difference
  206. [Fwd: <string>.replace]
  207. [Fwd: perl AUTOLOADER vs c++]
  208. Messy static Downcasting, any alternatives??
  209. std::replace() usage. what is wrong ?
  210. How do we define the implementation language?
  211. Which book is talking about standard c++?
  212. (Why) Can't char* template parameters be const?
  213. Easy Question
  214. malloc to new
  215. a question declaring a STL container holding iterators
  216. Base or deruved object?
  217. Template problem: Why does this work?
  218. Casting Function pointers : Can anyone correct this MS Knowledge base Example pls ?
  219. std::vector show as a bitmap with VC++
  220. pointer calling trouble
  221. Clarification of enumeration
  222. Source Control Review
  223. Retrieving fstream filename?
  224. How can I bind two argument member function?
  225. Why filename uniformity is important. *.c++ *.h++
  226. C to Java Byte Code
  227. References to multidimensional array
  228. References to multidimensional array
  229. dangling reference
  230. [Q] const declaration in .h file
  231. Making lokal defined Multidimensional Array Global
  232. Standard C++ and old-C++ headers
  233. Broken header files on 'Je me lance!' CD
  234. Looking for a ASCII flowchart utility
  235. Macro Destroyer
  236. Initialized object solutions
  237. Problem with std::string erase function
  238. Problem with std::string erase function.
  239. Problem with std::string erase function.
  240. Assigning std::sqrt to function pointer
  241. initializer lists and user-defined containers
  242. File to Structure?
  243. Looking for IDL generator.
  244. Vectors in STL
  245. Why isn't this template being instantiated?
  246. sizeof(enum) == sizeof(int) ???
  247. Return by reference
  248. Copy Constructor and memory allocation
  249. An exponentiation function for int?
  250. #pragma problem?
  251. malloc error
  252. how to take a reference of inserted items?
  253. question about <list> and pointer to its items
  254. cannot pass objects of non-POD type
  255. using hash_set in gcc3.3
  256. c++
  257. UNICODE support
  258. Things I hate about C++
  259. FFTW execution
  260. my first in newsgrop!!
  261. intercepting output to cout
  262. cannot convert char** to const char**
  263. Please help! How do I create a serializable object in C++(NOT VC++)
  264. Friend Class Blackjack and Bet
  265. template compile errors
  266. odd problem with static initializers
  267. Question about delete/new
  268. Debugging, PDB files
  269. How to do that
  270. how to get the CPU time with VC++ (win)?
  271. desperate need of help
  272. variable scope
  273. friends namespaces and operators
  274. Object Initialization
  275. AnyClass
  276. Tab control in mfc
  277. Can't spot source of corruption!
  278. static template functions inside classes
  279. Reading a file from a specified range
  280. Linker error LNK2001 with bools
  281. How to initialize a const array class member?
  282. const_cast undefined results
  283. vector and bool
  284. java
  285. authentication
  286. Multiple Inheritance and iostreams
  287. Socket programmin on Sun Computer
  288. Normal Distribution random number generator
  289. File locking
  290. Graphics...
  291. Compile
  292. ok my bad
  293. Function pointer to member functions
  294. How do I find out a remote machine's IP address?
  295. How can I use a non-trivial constructor with as little code duplicationas possible?
  296. Can a template class have a static data member of type T?
  297. lifetime of static objects
  298. A simple class?
  299. Bit-twiddling with floats
  300. reference to array?
  301. TRUE, HANDLE definitions. Where ?
  302. std::size_t Which header file?
  303. Performance of hash_set vs. Java
  304. How to use vector with classes in it as return type?
  305. most accurate printf("%f")
  306. umm... something... template(s)... something else... pointer(s)... and such... 0.o yah, I'm hopeless and clueless o.0
  307. Linked List in Java
  308. Difference between int() and (int)
  309. Converting enums to pointers
  310. Templated identity matrix with parameterize order?
  311. Why doesn't this work? (pointers)
  312. Default parameter of a pointer
  313. Diagnostic required?
  314. avoiding object files
  315. XML parsing with xerces
  316. opening a file in text mode
  317. Inheritance & Templates
  318. Cutting From RichEdit
  319. C++ documentation...
  320. segmentation fault on delete object (which belongs to some class under a hierarchy)
  321. C++ help
  322. Exceptions vs. Error Codes
  323. is it string's getline or just me?
  324. RichEdit & Streams
  325. Threads
  326. C++ Threads
  327. NEED SOME HELP GUYS.... :(
  328. Self-assignment?
  329. Make t2 const: T1 (&aPlus(T1(&t1)[S],T2(&t2)[S]))[S]
  330. how to convert char to binary?
  331. is this portable
  332. Fail to initialize struct from fstream
  333. Calling parent constructor from child constructor
  334. Supressing sign extension
  335. STL binary search
  336. Any new development of C++
  337. isdigit() for characters greater than 127
  338. Fun with error messages
  339. accessing variables from more than one .cpp file
  340. problem compiling functor with sort
  341. Map with key in another namespace
  342. Optimization by hand.
  343. Access a class as if it were POD
  344. Array problem
  345. Problem with unique and a binary predicate?
  346. compiling time
  347. Unable to delete [] char* in MSVC 6.0
  348. Memory Mapped IO and Sample code for win2000
  349. Creating POSIX threads with a class function
  350. Access to public base classes protected functions in objects differentfrom this
  351. Writing a float or double's byte values
  352. A little design question
  353. Hi , the following program segfault with g++3.3 , works with g++2.95 why ????
  354. "Non-constant" constant can't be used as template argument
  355. C++ Classes within DLLs?
  356. Little help on stream...
  357. Beginner learning how to build a Router Simulator?
  358. Returning an array?
  359. the colon (:) in a struct
  360. Valid code?
  361. How to generate a EV_RING event in rs232 serial COM port? visual c++ 6.0
  362. Change resource dll list while runtime
  363. Missing objects (c#)
  364. Template function as argument to another template function
  365. Value initialization. . .
  366. Pulsed Event?
  367. Retrieve z/OS Dataset Allocation Parameters
  368. auto_ptr vector discards qualifier
  369. devX Singleton threadsafety
  370. 'delete &Buffer' is legal ?
  371. C library errors -> C++ exceptions
  372. advantage of returning values through the argument list
  373. Template classes and inheritance
  374. c++builder exceptions
  375. THE SINGLETON PATTERN?
  376. How to generate UML for C++ code in windows system?
  377. RefCounts
  378. function pointer as template argument
  379. Exception-safe constructors
  380. OT but may be significant
  381. Help needed - template type issue
  382. How to create a bitmap?
  383. Comparator template argument in recursive templates?
  384. need help with a While i'm a beginner
  385. Workaround for static methods that need to be virtual
  386. Please use wxWidgets
  387. I need help! How do I update an Access database from a Vc++ application?
  388. compiler error in spite of correct code
  389. huge vector
  390. Custom streambuf class
  391. Operator overloading on "default" operator
  392. alternative to RTTI needed
  393. Polymorphism, again
  394. Automatic detection of "dead" headers?
  395. Yet Another Question About Smart Pointers (YAQAS)
  396. help: reference to a pointer
  397. loadable plugin architecture for g++
  398. help: copy of pointer & values
  399. cin is eating my output
  400. Problem with my automatic pointer implementation
  401. vector<FakeBool>
  402. File descriptor turns to 0!
  403. Automatic Conversion of STL Containers: e.g. from vector<derived*> to vector<base*>
  404. Please help on ostream output error
  405. elements not inserted into map<char*, ..> ?
  406. Equivalent of fprintf's -20.15g formatting with C++ formatted streams ?
  407. Sizing Array Value in variable
  408. dynamic_cast: 'a' is not a polymorphic type
  409. Possible to check for specialisation?
  410. Changing text color in a game
  411. Storing variable number of data in a class
  412. C++: Pointer to a string in a class
  413. Thread problem (constructor+assignement in one step?)
  414. Convert Borland C++ Project to Visual C++
  415. different applications...different entry points
  416. any one got notes
  417. Giant C++ resources list, 4th edition
  418. Passing member functions to C functions?
  419. files in C++
  420. small question: can't compile manually
  421. inheritance problem (perhaps...)
  422. Code review / suggestions - Log / Instrumentation class
  423. IS this multi-task safe
  424. how to read this string
  425. strtol exceptions
  426. Array of Pointers to Objects
  427. multiple symbols at link time
  428. BYTE* array into a list
  429. how to store different types of data in deque?
  430. Template class operators overloading difficulty
  431. Tutorial for new user?
  432. c++ non-lang tuts, but on linking, libraries, workspaces and includes
  433. Which specialization is selected?
  434. help loading url jpg to win32 app
  435. What does this line mean?
  436. MySQL and C++
  437. class objects to database translation
  438. data members as "protected"?
  439. DATETIME like YYYYMMDDHHMMSS
  440. ostream like interface to a string?
  441. How to monit internet connections??
  442. Starting .exe "single threaded"
  443. A problem with overloading << (compiler = djgpp)
  444. An easy way to turn strings in to data types
  445. Pointer to Pointer or not?
  446. I want to write HAL in C++ !
  447. Declarations and Definitions: Grammar
  448. Possible to avoid RTTI?
  449. Will this be hard/expensive to inline?
  450. How define a list of integer poiinters(STL)?
  451. INI files
  452. Detecting modem hangup with socjet
  453. intel compiler
  454. How to use #ifndef #define, etc, in a macro definition
  455. book query
  456. Open a file with a constructor
  457. initializing structs
  458. copy map to ostream_iterator
  459. Exception guarantees for STL container constructors
  460. Console Apps.
  461. please help with decrypting g++'s error-messages
  462. -output-def, -soname using gcc
  463. Faster way to write binary using fstream??
  464. Device Context of Entire Screen
  465. Reading from standard in
  466. What is the replacement for ios::noreplace in std?
  467. Template Class Specialization Question
  468. Implicit typename
  469. STL string inheritance
  470. built dll in release mode, adding event log entries referencing code
  471. Makefiles written in C++ and automatic compilation with GPLed Lake
  472. how to use boost.thread
  473. how to bypass password field of executable file
  474. error: declaration of `operator==' as non-function
  475. Null Reference
  476. Returning by value (here we go again!)
  477. Global templates and namespaces
  478. boost::checked delete
  479. Multiple inheritance and casting
  480. Compilation problem when upgrading from g++ 3.3 to g++ 3.4
  481. is there any way to check asynchronously whether stdin contain data to read?
  482. overloading template operator arguments?
  483. is there any way to check asynchronously whether stdin contain data to read?
  484. static const members of template classes?
  485. Which would you prefer: base class or two pointers?
  486. Executing function from super class to inherited class.
  487. Unkillable process because of using semaphores?
  488. Problem with volatile modifier
  489. Copying STL Lists
  490. Can I write a recursive type definition ?
  491. Partial Spezialization of member function
  492. copy of stream
  493. flush on close()?
  494. const char* argv
  495. Pointer to class or object
  496. Storage of C++ Class Hierarchy
  497. USB hot-plug detection
  498. Implementing a templated "round" function?
  499. "Function template" problem
  500. Overloades member function
  501. An issue of visibility and "identity" of classes
  502. Used Cisco at Optimum Data
  503. complex for loops?
  504. Problem with Visual C++ 7.1.3088 and bit-fields?
  505. Calling functions in other files...
  506. Blocking virtual methods
  507. Returning NULL references...
  508. PVCS Version Manager api's
  509. Does this make sense? Calling C++ inside extern "C" block
  510. end of std::list
  511. refrence from return value ?
  512. Cross platform development
  513. Problem with structs and mem. allocation
  514. pure virtual
  515. Use of new in C++
  516. Why isn't failbit reset on close() or open()??
  517. How to check whether my GCC compiler support C99 standard or not?
  518. vector::push_back performance
  519. dat file
  520. Embedded class' or VC++7 compiler's problem ?
  521. functions
  522. lost article: creating a COM-like framework for C++
  523. Principle Engineer needed
  524. Calculating time required to recieve packets...
  525. Base clase constructor
  526. sockets: C++ server, IDL client
  527. cannot find strstream in /usr/include/c++/3.3.3
  528. Multiple inheritance design question
  529. will linker leave out unused symbols from binary?
  530. [sorry if ot] [mingw] Resources?
  531. protected by instance, not by type?
  532. #include optimization
  533. ? about file formats
  534. A problem with the default constructor
  535. What's Wrong with these code?
  536. fstream ?
  537. C/C++ link problems
  538. clearing a stringstream
  539. [CORBA] C++ Language Mapping
  540. boost::dynamic_bitset...
  541. mvc++4
  542. Best compiler out there?
  543. about pointer
  544. execute a new programm without beeing blocked
  545. Pointer or Reference
  546. Link error using pointers to functions with templates.
  547. How does #define operate ?
  548. Automatic Startup of Visual Studio
  549. Mimic virtual functions with templates
  550. std::exit Ambiguity?