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