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. dynamic_cast: 'a' is not a polymorphic type
  2. Possible to check for specialisation?
  3. Changing text color in a game
  4. Storing variable number of data in a class
  5. C++: Pointer to a string in a class
  6. Thread problem (constructor+assignement in one step?)
  7. Convert Borland C++ Project to Visual C++
  8. different applications...different entry points
  9. any one got notes
  10. Giant C++ resources list, 4th edition
  11. Passing member functions to C functions?
  12. files in C++
  13. small question: can't compile manually
  14. inheritance problem (perhaps...)
  15. Code review / suggestions - Log / Instrumentation class
  16. IS this multi-task safe
  17. how to read this string
  18. strtol exceptions
  19. Array of Pointers to Objects
  20. multiple symbols at link time
  21. BYTE* array into a list
  22. how to store different types of data in deque?
  23. Template class operators overloading difficulty
  24. Tutorial for new user?
  25. c++ non-lang tuts, but on linking, libraries, workspaces and includes
  26. Which specialization is selected?
  27. help loading url jpg to win32 app
  28. What does this line mean?
  29. MySQL and C++
  30. class objects to database translation
  31. data members as "protected"?
  32. DATETIME like YYYYMMDDHHMMSS
  33. ostream like interface to a string?
  34. How to monit internet connections??
  35. Starting .exe "single threaded"
  36. A problem with overloading << (compiler = djgpp)
  37. An easy way to turn strings in to data types
  38. Pointer to Pointer or not?
  39. I want to write HAL in C++ !
  40. Declarations and Definitions: Grammar
  41. Possible to avoid RTTI?
  42. Will this be hard/expensive to inline?
  43. How define a list of integer poiinters(STL)?
  44. INI files
  45. Detecting modem hangup with socjet
  46. intel compiler
  47. How to use #ifndef #define, etc, in a macro definition
  48. book query
  49. Open a file with a constructor
  50. initializing structs
  51. copy map to ostream_iterator
  52. Exception guarantees for STL container constructors
  53. Console Apps.
  54. please help with decrypting g++'s error-messages
  55. -output-def, -soname using gcc
  56. Faster way to write binary using fstream??
  57. Device Context of Entire Screen
  58. Reading from standard in
  59. What is the replacement for ios::noreplace in std?
  60. Template Class Specialization Question
  61. Implicit typename
  62. STL string inheritance
  63. built dll in release mode, adding event log entries referencing code
  64. Makefiles written in C++ and automatic compilation with GPLed Lake
  65. how to use boost.thread
  66. how to bypass password field of executable file
  67. error: declaration of `operator==' as non-function
  68. Null Reference
  69. Returning by value (here we go again!)
  70. Global templates and namespaces
  71. boost::checked delete
  72. Multiple inheritance and casting
  73. Compilation problem when upgrading from g++ 3.3 to g++ 3.4
  74. is there any way to check asynchronously whether stdin contain data to read?
  75. overloading template operator arguments?
  76. is there any way to check asynchronously whether stdin contain data to read?
  77. static const members of template classes?
  78. Which would you prefer: base class or two pointers?
  79. Executing function from super class to inherited class.
  80. Unkillable process because of using semaphores?
  81. Problem with volatile modifier
  82. Copying STL Lists
  83. Can I write a recursive type definition ?
  84. Partial Spezialization of member function
  85. copy of stream
  86. flush on close()?
  87. const char* argv
  88. Pointer to class or object
  89. Storage of C++ Class Hierarchy
  90. USB hot-plug detection
  91. Implementing a templated "round" function?
  92. "Function template" problem
  93. Overloades member function
  94. An issue of visibility and "identity" of classes
  95. Used Cisco at Optimum Data
  96. complex for loops?
  97. Problem with Visual C++ 7.1.3088 and bit-fields?
  98. Calling functions in other files...
  99. Blocking virtual methods
  100. Returning NULL references...
  101. PVCS Version Manager api's
  102. Does this make sense? Calling C++ inside extern "C" block
  103. end of std::list
  104. refrence from return value ?
  105. Cross platform development
  106. Problem with structs and mem. allocation
  107. pure virtual
  108. Use of new in C++
  109. Why isn't failbit reset on close() or open()??
  110. How to check whether my GCC compiler support C99 standard or not?
  111. vector::push_back performance
  112. dat file
  113. Embedded class' or VC++7 compiler's problem ?
  114. functions
  115. lost article: creating a COM-like framework for C++
  116. Principle Engineer needed
  117. Calculating time required to recieve packets...
  118. Base clase constructor
  119. sockets: C++ server, IDL client
  120. cannot find strstream in /usr/include/c++/3.3.3
  121. Multiple inheritance design question
  122. will linker leave out unused symbols from binary?
  123. [sorry if ot] [mingw] Resources?
  124. protected by instance, not by type?
  125. #include optimization
  126. ? about file formats
  127. A problem with the default constructor
  128. What's Wrong with these code?
  129. fstream ?
  130. C/C++ link problems
  131. clearing a stringstream
  132. [CORBA] C++ Language Mapping
  133. boost::dynamic_bitset...
  134. mvc++4
  135. Best compiler out there?
  136. about pointer
  137. execute a new programm without beeing blocked
  138. Pointer or Reference
  139. Link error using pointers to functions with templates.
  140. How does #define operate ?
  141. Automatic Startup of Visual Studio
  142. Mimic virtual functions with templates
  143. std::exit Ambiguity?
  144. CompareWithoutRegardToCase
  145. Promotion converts long int to int implicitly ?
  146. delete op question. do I need to cast?
  147. how do i link 3rd party lib on windows ?
  148. HOW TO: round float numbers?
  149. Run-time Execution - Assert Failure
  150. anything wrong with conversion operator?
  151. Wrong usage of static_cast: is output undefined or predicted?
  152. EFAULT error in accept socket call
  153. Is 'int' a class defined in C++ standard library ?
  154. Problem with a static member in a class ?
  155. Help on makefiles
  156. Using garbage collection in C++
  157. A Question about getline
  158. Templates and Inheritance
  159. legacy code compatability mode
  160. UIR
  161. File Access
  162. How can I run server and client applications in two different computers?
  163. Inheritance, Class declaration and header files
  164. Dying words... exit atexit abort
  165. Perform output if stream is good
  166. How to observe the compution result?
  167. what is file scope?
  168. Who can provide some simple example code about TCP with C++?
  169. ++u or u++ which is faster?
  170. template and preprocessor
  171. Passing template struct as an argument to a template function
  172. Two questions for help!
  173. B manual
  174. objects with member references..
  175. "reading" a pixel on the monitor screen
  176. "reading" a pixel on the monitor screen
  177. How can we concatenate a string with a float?
  178. User defined message management on MFC 7.1
  179. Passing optional argument by reference
  180. Designing a template class for memory access (part 2)
  181. Computing AST
  182. Creating GUI's in C++ Builder 6
  183. IPrintOEMUI::DeviceCapabilities -> recursive implementation?
  184. Numerical modelling
  185. Class with method that returns different pointer depending on implementation?
  186. Serial
  187. Factory method and const specifier
  188. convert a stream of bits to a primitive...
  189. Syntax question function pointers
  190. Help with STL allocators
  191. Can someone tell me why? (Unary pre and post increment operator
  192. About Ordered singly linked list..
  193. program to numerically integrate
  194. Reference Question
  195. API for C++--Thanks all
  196. Large swap allocation bug
  197. Help Requested for Legacy Code
  198. Designing a template class for memory access
  199. What's the use of operator()?
  200. boolean logic question
  201. Unexpected behaviour
  202. How to make a C++ array which have size bigger than 32767
  203. Stlport linking errors with xlC on AIX
  204. member function names identical to class names
  205. IEEE 754 floating-point "exception" -> C++ exception
  206. IXMLDOMElement from IXMLDOMNode - how ???
  207. Tutorial/Help on programming Genetic Algroithms in Java/C++
  208. How can I check if a thread is alive?
  209. WlxLoggedOnSAS called from Winlogon while WlxWkStaLockedSAS still executing
  210. API for C++
  211. How can I creat a time function or a class?
  212. Exporting Symbols From C++ Object File
  213. Inline virtual method
  214. Detecting the gcc version in the source code
  215. Beta Test for MPC Compiler/IDE
  216. why doesn't this template work
  217. Problems with void Template Type Parameters and Zero-Length Arrays
  218. Construction of function return value
  219. source code for process program
  220. Refering to a template name
  221. Does any body has been done Advamce C++ from ACC Austin?
  222. Iinitialisation via default constructor semantics
  223. How can I creat a time class?
  224. Advance C++
  225. SQL oriented scripting language that can be executed from a C++ code
  226. compressed suffix trie
  227. ABI related question
  228. template class in STL container
  229. Default Initialization Vs. Value Initialization
  230. Handles and pointers
  231. Math symbol (blas/lapack) linker error's
  232. Looking for a SIP server in C++
  233. extern and static
  234. XMLDomElement problem
  235. map & iterator
  236. corba enum question
  237. "memset" vs "= {0}"...Are they equivalent if your initializing variables?
  238. Initializing a static variable inside a namespace
  239. oo2generics...
  240. Constructor protected
  241. Migrating from Borland OWL to something more up-to-date
  242. simple outfile question
  243. Copy vector to set
  244. thread lockup when comiling with optimizations.
  245. Singleton with Factory Method possible?
  246. Filestream/operater overload help
  247. AutoPointer template
  248. Snmp
  249. parse tilde delimited file
  250. Help for SWF!
  251. The 'finally' debate
  252. SQL oriented scripting language that can be executed from a C++ code
  253. error: parse error before `(' token
  254. NEW STEP IN THE FIGHT AGAINST SOFTWARE PIRACY
  255. What's a smart pointer?
  256. Arguments for templates with value parameters
  257. map & find()
  258. strnicmp in stl string class?
  259. help with exception class
  260. Memory Padding and alignment
  261. How stupid can a compiler be?!
  262. Initializer list and instance variables
  263. Puzzle: Add One Without Using + OR -
  264. Multiple operator() overloading for functor object
  265. Does C++ have sequence points ?
  266. [.NET managed c++] Calling parent constructor.
  267. [.NET managed c++] Runtime modification of method attributes.
  268. Just how bad is this code?
  269. Casting smart pointers
  270. Function call selection using ternary operator
  271. std::string, Append a number
  272. How to create Excel-files?
  273. Prevent starting up twice
  274. polymorphism and binary operations on objects
  275. inheritance / overloading
  276. Overloaded subtraction operator - memory problem
  277. How c++ Compiler understands the which is the private func and which is the public fun ????
  278. protected member class and operator overloading
  279. C and only C language has a standard 64 bit integer type ?
  280. templates and cyclic dependencies
  281. std::string and strtod()
  282. signed int overflow
  283. Class design question
  284. Issue with Pre-Redmond Mailing
  285. Preprocessor
  286. Questions of storage in C++
  287. error: no match for 'operator>' ...
  288. Books, Books, Books...
  289. structs for data transfer?
  290. Anything more precise than long double
  291. Can't use object as a case label!
  292. times' undeclared (first use this function)
  293. Mozilla C++ programming practices
  294. about base class's protected member
  295. #define vs. const
  296. compilers & stack machines
  297. Function Question
  298. C++ Objects, Stack or Heap? [Noob question]
  299. RFC: Enum aggregation
  300. BEFORE I EXPLODE
  301. Can a function return statement be elided?
  302. Comparing Linux C and C++ Compilers: Benchmarks and Analysis
  303. Need Resources on Network programming in Turbo/Borland C++ (Chat server and client)
  304. templates / overloading operator()
  305. Question about many #define
  306. Overloaded assignment operator
  307. size_t
  308. Passing a structure of arrays to a socket...
  309. Computing pi to nth terms?
  310. Help with explicit instantiation
  311. inherit both iterator and std::vector?
  312. Command line argument problems
  313. what is the difference between with & and withou &
  314. collect2: ld returned 1 exit status
  315. Inline classes and template templates... confused
  316. Can I delete without calling the destructor ?
  317. Returning STL containers by value corrupts heap...
  318. Daylight saving
  319. Beginner needs resources on x86 architecture
  320. DECIMAL to double convertsion
  321. Multiple definitions
  322. file open error
  323. I cannot use the AfxBeginThread, please help. Urgent
  324. how to do this
  325. strange namespace behaviour
  326. Link error when using static members
  327. Text search algorithm (implementing telephone book)
  328. virtual functions vs speed
  329. seeding function
  330. new to c++... need help with istringstream and operator overloading
  331. STL and pooling memory
  332. Win XP, SMTP, and Socket Error 10053
  333. fopen / OPEN_MAX
  334. 65536 Switch Cases
  335. ugu
  336. Question about passing by value
  337. a function which returns a vector
  338. classes in a class
  339. 2003 and 1998 C++ standards?
  340. Thank You From Zerotype
  341. Validity of the this pointer before the object is constructed
  342. C++: can someone explain to me, a C/Hw guy, what the diff is between a reference (&) and a pointer?
  343. "convertable to T"
  344. Can anyone recommend any Audio Processing libraries?
  345. template specialization compile error
  346. Press any key to...
  347. Sort 3 numbers in a single line.
  348. cross-calling class template methods
  349. inline functions
  350. making guis with CreateDialog
  351. Help: How many explicit specializations required?
  352. Nested classes
  353. how to clear the stdout ?
  354. Keyboard Input
  355. How to restrict overiding a function in derived class?
  356. google "top coder" contest = stacked against C++ coders
  357. Returning arrays and Objects in C++
  358. Book Suggestions
  359. [a litle OT] network programming
  360. Calling FFTW from C++? (x-posted)
  361. Retuncode:"The stub received bad data" in XP SP2 - where does this come from?
  362. Include Excel-File in exe-File
  363. string class problem
  364. encapsulation
  365. Simple way of detecting shutdown?
  366. Compare without regard to case
  367. dlls / templates / #includes etc.
  368. class definition - namespace nomenclature clarification
  369. boost
  370. Find all file in a directory
  371. incrementiing const_iterator
  372. (UINT16 *)&apple
  373. problem compiling singleton template class
  374. Counting template classes at compile time
  375. C++ for combinatorial optimization problems
  376. Templates and virtual base class
  377. Gmail invitation
  378. Program help
  379. memcpy?
  380. Template instantiation of std::list<> with incomplete type
  381. Local static variables
  382. Member Function Callback
  383. When to use a namespace
  384. Need help regarding std::list
  385. Graphics in C++ Builder6 (PNG Files)
  386. C++ Builder6 - Ever seen this before?
  387. what wrong with this:
  388. accurate timer
  389. How do I compile a c++-program as assembly?
  390. Mysterious copy of exception object (C++)
  391. Questions of copy constructor
  392. a thread safe stack?
  393. How can I set a breakpoint in template function
  394. conflict std::vector and delete operator?!
  395. How can I return a value in template function?
  396. Problems with new File Open Dialog in a 16 bit Application
  397. [expect] strange error (re)
  398. precedence
  399. get today's date in mm/dd/yyyy format
  400. size of object
  401. Execution Problem w/memory object
  402. ofstream problem
  403. sprintf problem
  404. Detecting DTFM
  405. Looking for a direction
  406. Passing an array to a function using a constant/variable
  407. string stream question
  408. Transmit data through COM port in Visual C++
  409. flexibility of operator new
  410. undefined reference to `vtable for Tuner' ??????
  411. Geting info
  412. redefinition, different types
  413. new to fstream
  414. Writing 10
  415. #if #endif ?
  416. Problem in deleting the dynamic memory in a parent thread that is allocated from a child thread
  417. gui
  418. Strace?
  419. Where to find newsgroups on Genetic Programming ?
  420. Any recommendations for a socket library?
  421. How to force a program to write into his exe
  422. find all permutations
  423. Trouble with OnDraw function
  424. Linker Error when using C++ Templates.
  425. return value from object in a vector
  426. Info on std::string
  427. Static and global constructors
  428. Trying to templatize an algorithm.
  429. getting numbers from string
  430. SGI had it right a decade ago!
  431. What's the rule for using forward declarations?
  432. Why doesn't C++ program automatically ?
  433. why are thrown objects copied twice?
  434. How to initialize a member of union type
  435. Internals of an object
  436. override delete operator to set to NULL
  437. Another beginner question DevC++
  438. meanings of dialets or implementation of a programming language
  439. Verifying valid input in a loop
  440. Simple question: Cannot convert 2D array to pointer-to-pointer
  441. STL headers in VC.Net
  442. random number generator
  443. static member initialization in templates
  444. Syntax Erros Borland 2.0
  445. static data member
  446. c++ web scripting
  447. Socket Client recieving Multiple Packets
  448. Won't call a const member function
  449. Container with heterogenous pointer to data member.
  450. Inheritance & Template parameters
  451. Timer or Timeout Class for Linux AND Windows ?
  452. Russian Win2K - File Information Functions Fail
  453. Trying to make a thread
  454. max no of parameters a function can take?
  455. array of objects
  456. Reference/value semantics in constructors.
  457. <unistd.h> for windows platform
  458. perfomance penalty in using execption handling..
  459. c++ and windows XP
  460. Is there possiblitity to portable way to serialize enum type?
  461. Template Stringizing-How should it work?
  462. What to do with a linker warning about a public symbol from the STL library defined in two modules?
  463. How to assign values to a UINT8 variable?
  464. strdup in Borland C++Builder
  465. Is there possiblitity to portable way to serialize enum type?
  466. template<int __inst> ...
  467. __default_alloc_template gone
  468. dynamic allocation vs array
  469. Is there any faster way than dynamic_cast to find the object run time type?
  470. Make errors
  471. Deleting a map of pointers with functors
  472. how to set watchpoint in Workshop for C++
  473. Building my first program. Link errors
  474. Is there possiblitity to portable way to serialize enum type?
  475. Mapping of constants to data members of a class?
  476. [MC++] how to make global managed array?
  477. Need help with STL.
  478. Why does it insist on calling the parent's on_mdiactive() and not the child's?
  479. ILINK32 Errors: Error: Unresolved external
  480. error C2146 and error C2501
  481. why it does not sleep?
  482. Default value for a const reference parameter
  483. Link C++ object with C object
  484. unresolved external symbol
  485. Initialize / Uninitialize static variables problem
  486. how to copy from std optput ?
  487. Policy Based Design
  488. Static Member Functions
  489. std::string stupid question
  490. return vs exit
  491. Formatting output of an array
  492. 'Screen-Keyboard' after click on an edit-box
  493. Borland's 'Make' Utility Question [ OT ??]
  494. What storage does std::string::c_str() use?
  495. C++ Data Structure???
  496. how to locate memory error
  497. Linking static const class members?
  498. The best, (right?), way to trim a char*
  499. Many Text Relocations In Shared Object
  500. Text-templating library for C++
  501. run-time vs compile-time
  502. passing class object to pure virtual fkt
  503. Creating myclass::iterator type?
  504. How to simulate 8bytes double???
  505. Multidimensional Dyamic Array in class
  506. operator overloading
  507. What is the " ^ " function?
  508. template of class function?
  509. awsome site
  510. size limitation in named pipes
  511. C++ Compiler with a -Wwarn-use-of-strcpy or similar option??
  512. A very stupid question. Visual C++ 2005.
  513. Do I need a delete in the constructor too?
  514. A summary of the #include liability
  515. what's the .net replacement for ios::nocreate
  516. unable to start debugging
  517. stupid error
  518. calling virtual function from base class
  519. Casting between different template classes
  520. how make cast from ifstream to istream in MS Visual C++
  521. spawn under windows
  522. real-time 3d terrain engines using directx 9
  523. Which cast in mutiple inheritance?
  524. a flat distribution
  525. Is this what delagates do?
  526. Passing a struct as reference
  527. Code Browser for C++ on UNIX.
  528. A random number generator
  529. passing classes to functions, not objects
  530. Suggestion
  531. Root valueProblem - Help
  532. Winsock and HTTP
  533. Why "this" is a pointer, I just realized!
  534. ReRef : Reseatable Reference
  535. ostreams and vector<vector>s
  536. Memory allocation with void pointer
  537. The getline function
  538. Which way to handle events?
  539. the minimum size when using strncpy(...)
  540. Are the Standard Header available in source form?
  541. Function Returning a local object???
  542. Class object factories, references to a **class**
  543. Explicit template instantiation from template function doesn't compile?
  544. pascal_set update
  545. C++ Standard Conforming Compiler
  546. Cin and hold the screen
  547. I/O exceptions weirdness
  548. malloc(0)
  549. How can I achieve this behaviour?
  550. Pascal-like set class