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