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 Specialization
  2. Pre-Processing loop
  3. more about vectors
  4. Trick to low CPU usage?
  5. Polymorphism, pthreads, multi-threading, and libstdc++
  6. inspect for throws
  7. Problem with accessing objects of vectors
  8. It seems wrong to me
  9. Minimal C
  10. Given a date, how to find the beginning date and ending date of that week
  11. STL bug in VS.NET 2002
  12. Need help with a simple program
  13. forcing a compile time error
  14. how can I persist a pointer to virtual member function?
  15. [Offtopic]: Download Visual Studio .Net ISO
  16. about resizing vectors...
  17. Novice Question: Good example on use of Non-type template parameters?
  18. Accessing members of nested classes
  19. C++ Initialisation List
  20. What is a hook
  21. End-of-the-week fun
  22. Help with file management. Please help!!
  23. Creating and writing to Unicode file
  24. Debugging Runtime Error
  25. Extended ASCII characters in console app
  26. vector insert from a set
  27. Formatting
  28. Passing address of a member function
  29. reading from a file into an array
  30. std::auto_ptr and Unwind Order?
  31. enum
  32. ISO C++ forbids casting between pointer-to-function and pointer-to-object
  33. Help on Shell API to delete files/directories recursively
  34. Create compoent ocx - urgent
  35. bayes classifier and maximum likelihood function
  36. DLL/stl-container error
  37. Runtime linking
  38. Simple Recursion
  39. static error
  40. Private Inheritance is not subtyping
  41. Largest value of an unsigned integral type
  42. static constants...
  43. Troll Alert: isn't exactly rocket science
  44. Assigning to references
  45. Times
  46. this pointer problem
  47. Problem! (Easy for most of you i'm sure)
  48. Problem! (Easy for most of you i'm sure)
  49. when is object destroyed?
  50. A Shot in the Dark - mysql C++ api
  51. Virtual Destructor
  52. Cant debug that error is in adding recored or in displayig
  53. how to call function for array of object
  54. How to change font color on console
  55. Assigning to a reference
  56. Changing foreground color on console
  57. Binarysave string class?
  58. not all file read.
  59. Selecting implicit type conversions?
  60. Is it a question?!
  61. Objects in var. length arguments (?)
  62. how to connect ms sql 7.0 using in borland c 5.5
  63. istrstream class to be replaced
  64. template question
  65. template question
  66. Fixed precision floating point and locale facets
  67. deallocating memory twice
  68. Address-of operator
  69. Templates
  70. Deleting items from std::map in a loop
  71. need to catch up
  72. Circle class
  73. template parse error
  74. another bloody basic question
  75. Is this a bug in g++ or MSDEV?
  76. Virtual function pointers (& multiple inheritance?)
  77. find() syntax with obj member data
  78. Reference to temporary
  79. Beginner's literature recommendation?
  80. Help: virtual inheritance, non-default constructor
  81. Implementing singleton into multiply classes
  82. Differences between C++ and Java with this-pointer
  83. a simple question
  84. operator new/delete
  85. working with Date...
  86. Need design advice
  87. newton-raphson problem
  88. Mojo example class
  89. std::setprecision
  90. bug of VC6's _com_ptr_t might caused stack-overflow
  91. Yet another SMS sender
  92. Matrix initiation
  93. virtual functions and templates
  94. I can't execute my program(coded by c language) on AIX5.2(ML2)
  95. INT to STR
  96. STL and Visual C++ .net conflicts
  97. How to return reference to class object from functions?
  98. new to c/c++
  99. about vector and iterator
  100. Creating clickable image control
  101. How to represent a chunk of Constant Data
  102. Maximum Age for C++ Book
  103. Multiple inheritance & interfaces
  104. a question about clock() function
  105. pointer to owner?
  106. A richer stdlib idea
  107. static
  108. setting properties of objects from a different program
  109. AClass ac=AClass("name",23); VS. AClass ac("name", 23);
  110. copy constructors hurting performance
  111. word count
  112. width() and setw()
  113. circumventing recursive definition wrt template specialization
  114. Different C++ compiler exec. sizes
  115. Exception causes access violation
  116. locale question
  117. what() method of exceptions derived form std::exception
  118. genetic algorithm
  119. self referential template parameters?
  120. How to Cancel a Thread
  121. The temporary vs non-const reference love story
  122. c++ memory optimization
  123. stringstream question
  124. Help! dynamic classes (shapeshifter)
  125. template-id `hash_set<Tool*>' used as a declarator
  126. default values - the good, the bad and the ugly
  127. Does deleting a container of pointers also delete the (contained) pointers?
  128. Help with Array template
  129. New C++ Resource
  130. hash_map iterator
  131. pointer problem
  132. How do you keep advance() from going beyond end()?
  133. throwing errors in derived streambufs
  134. shadow template problem
  135. test
  136. static member function and thread
  137. Return an object declared on stack
  138. errors inside a constructor
  139. Template parameter to member function problem
  140. Visual C++ 6.0
  141. Algorytmy getetyczne
  142. template question
  143. How to use set_union algorithm?
  144. the difference between char a[6] and char *p=new char[6] .
  145. Persistent linked list (node with fixed size)
  146. static list in template
  147. segmenatation fault while allocating memory
  148. Indentation of preprocessing directives
  149. cryptography library
  150. Creating table of const ptr to member funcs
  151. functor
  152. function to format message & output to cerr/cout/ostream
  153. looping through hashmap
  154. namespace help
  155. include command
  156. templates help
  157. displaying the contents of a queue
  158. Fstream problem
  159. C++ and SSE
  160. good help websites for forking,shared memory, thread
  161. file copying in c++
  162. public function calls
  163. need help totaling one city at a time
  164. default parameter value
  165. Question about evaluating the arguments of printf (maybe OT?)
  166. how to avoid using another header file inside a header file?
  167. Casting float to int using (int)
  168. Template Friend Function
  169. Question about pointers?
  170. Missing something here...
  171. Dev-C++ and DevPak files, mxWindows
  172. Template where I need to know the type
  173. Are std::strings guaranteed to default-initalize to ""?
  174. gaussian mixture?
  175. c++ unary increment operator
  176. displaying the largest and smallest number
  177. Read in UTF-8 file
  178. Template instantiation! Linker Problem
  179. stl api docs - gcc-3.2
  180. strip on std::string
  181. EOF (end of file) problem
  182. floating point exception
  183. Please explain this to me !!
  184. Universal character names and Unicode
  185. nested loop use example
  186. An operator template??
  187. non-repeating numbs
  188. sending message to other windows...
  189. float data type question...
  190. name count
  191. reference vs object handle
  192. what runs before main()? debug trouble
  193. Munch for AIX 5.1
  194. this pointer
  195. Allocation Conflict Error
  196. stream converting
  197. Arrarys of reference
  198. Simple Pointer Question
  199. template and nested class problem
  200. instance counting
  201. restricted templates, enum
  202. Reassignment to a const variable that was declared in an if()
  203. singleton question
  204. mutex for c++
  205. Sequence of constructor calls and destructor calls.
  206. Howto access .RC/.RES Ressource files with portable C++ code ( BCC,MSVC,GNU-C++,OpenWatcom)?
  207. Prime Numbers
  208. Problem using enum with vector?
  209. Help: constructor syntax
  210. Pointers and Arrays in C
  211. In-place Class Functions
  212. When is 'this' const?
  213. UINT cast to int, UINT - variable, help
  214. printing hex values
  215. looking for compilers and/or platforms **without** C++ exception support
  216. clearing capacity af a vector
  217. S-Tree: self organizing trees for data clustering
  218. Array/Pointer is causing a STATUS_ACCESS_VIOLATION is g++
  219. Can't compile on HP 11 Platform
  220. Loki::Factory and Loki::TList
  221. reference-to-const
  222. Graphics problem...
  223. C++ library for numerical calculations
  224. program help
  225. UML tutorial with actual C++ example code?
  226. %n conversion in sscanf/VC++ 6
  227. Char Error
  228. Why?
  229. random_shuffle seed
  230. Please compile for me!
  231. Preprocessing numbers
  232. overloading op of class within a class
  233. function objects instead of function pointers?
  234. How to write C++ code that compiles in Windows/Linux
  235. Memory segment error in dlopen call
  236. passing int * * to function as const
  237. Printing with the given font
  238. 2 classes holding instances of each other ( but it won't work :( )
  239. Cool uses of custom attributes in C#
  240. Beginner C++ problem....
  241. Computing Fibonacci numbers as a performance testsuite
  242. Can't compile on HP 11.0
  243. overload resolution / integral promotion / standard
  244. Some RAMdisk solution?
  245. C++ books for intermediate/advanced?
  246. nonlvalue error
  247. Need help with a Work around
  248. a naive question about the exception in fstream
  249. Need template for list of name/value pairs
  250. output of the program???
  251. Question: Manipulating Arrays
  252. File writing performance
  253. rounding a float/double to nearest 1/10th
  254. Q: How to copy a polymorphic class?
  255. String class, how to implement sprintf?
  256. How to use the ssh protocol in c++
  257. Problem with xlC
  258. Type names defined in base template class not visible in derived class in gcc3.2?
  259. C++ compile error on Sun
  260. Problem with the function that takes some_object** as the argument
  261. Nodes and Linked Lists. Check my code?
  262. Compiler switches in the source code
  263. c versus c++, performance wise
  264. numeric library help
  265. Breaking into the debugger from C++code with HP aC++
  266. mfc dialogs in fullscreen exclusive apps
  267. virtual function template - design probelm
  268. why i++ instead of ++i in for loops
  269. How do I load data to a templatized class
  270. a template-based, DLL-capable classloader
  271. C++ books for beginner?
  272. A question about using struct in STL
  273. A question about using struct in STL
  274. c++: pointers to pointers
  275. C++: compiling header files
  276. c++: dynamic array
  277. how do I read unicode text files?
  278. Easiest way to store and save objects generated by a C++ program?
  279. How does vector construct/destruct objects?
  280. About Borland C++BuilderX's 2 questions
  281. const method question
  282. Multiple ineritance question
  283. problem with array of struct
  284. purify-like tools working also for fortan 90?
  285. Problem with push_back.
  286. Concerning string.cstr()
  287. Smart pointers of const objets
  288. Question: How do you feel about recursion?
  289. Using Classes
  290. Academic Research for USA I.T. Professionals (No e-mail required)
  291. File Input Error Help
  292. Correct syntax for class templates that declare friend functions
  293. passing a struct by value
  294. C++ to C
  295. Making a class more generic [part 2]
  296. Making a class more generic [part 1]
  297. Delegation
  298. Access violation error
  299. What is the meaning of returning a value of a static type
  300. Problem with input streams
  301. Help Please: References between Functions
  302. C++ for 6809?
  303. function error
  304. Non-Binary Trees
  305. Dangling Reference
  306. Singleton template
  307. initializer list question
  308. preserving capacity of a vector
  309. member function adresses
  310. allocating memory for std::string?
  311. Generic Abstract Factory
  312. Storing Variable State
  313. how to check validity in expression template
  314. __func__ macro emulation
  315. Controlling Windows Services
  316. Implicit conversion is evil?
  317. Order-preserving set difference
  318. Correct syntax for definitions of inner classes of a template class.
  319. How can I do this?
  320. Ulta Low Level Hard Drive Access:
  321. WINDOWS
  322. How do I write this in pointer notation?
  323. help
  324. C++ as a better C
  325. Code reuse in C++
  326. Market Confusion Solved
  327. Calling a ActiveX function from a console application
  328. Inserting into a queue
  329. calling GNUPLOT from a c++ program
  330. Passing the Functor-parameters in for_each() and transform()
  331. [WinAPI] WM_CHAR & DialogBox
  332. problems with pointers (i think)
  333. Question: Any idea of midi programming ?
  334. Bc4.5 to VC6
  335. STRANGE QUESTION : search engine query and web site dowload
  336. Byte I/O
  337. Specialization of a template within template
  338. dynamic multidimmensional arrays
  339. Undestanding proper ctime and clock() usage.
  340. Whoever loves C++ and java programming, come here
  341. Namespace & template puzzle
  342. File Manipulation
  343. loop files in folder
  344. implementation details
  345. binary tree
  346. Nasty code...but please critique it anyway :-)
  347. Empty the inbuffer
  348. How can underflow, overflow be tested for using C++?
  349. Built-in sorting algorithms?
  350. volatile
  351. compiling C code using aCC on HPUX
  352. Possible g++ bug in template parsing
  353. ActiveX DLL
  354. Baffled!
  355. syntax for a vector within a map
  356. Command line parser
  357. [Off-Topic] cvs
  358. Q: Optimization issues?
  359. fread gives only the first 4 bytes ??
  360. flyweight reference counting
  361. nonmember vs member?
  362. MyString Class
  363. Simple Multiuser access to file ?
  364. #ifndef #define #endif and multiple definitions problem
  365. How to divide typenames from a function declaration?
  366. Can I use delete with malloc'ed items?
  367. pointer to a method
  368. queue, deque, priority_queue
  369. Inheriting from std::vector?
  370. Iostream
  371. const and valarray reference
  372. Request for useful C++/Algorithms Sources
  373. my own streams
  374. traits help
  375. Pointers to non-static member functions, compiles with MSDEV, but not with GCC
  376. windows equiv to mmap()
  377. very difficult ISAPI filter question - help
  378. OCI links required
  379. about partial specialization
  380. private structure
  381. Builder / go to edit filed
  382. class static variables & __STDC_VERSION__
  383. Getting the units of a number
  384. Help on implementing COM on unix
  385. sorting a Vector
  386. ABNORMAL PROGRAM TERMINATION Control Panel CBUILDER 6
  387. overloading +=
  388. learning auto_ptr
  389. Coding classes with 1 to N relationships
  390. iterator help
  391. Adding a network printer on Win 98 and Win Me.
  392. Retrieve printer permissions programmatically
  393. STL and Balanced Trees???
  394. Addition of strings in C++
  395. Putting cursor at end of EditBox
  396. Can I use an Excel Add-In in my VC++ program?
  397. Is copy constructible
  398. list boxes
  399. Dynamic memory or...?
  400. this pointer getting screwed
  401. Effective Use of Low-Level C and C++
  402. short circuited expressions...
  403. Set file date
  404. A fatal exception
  405. Is there an inverse of gmtime()?
  406. null stl iterator ?
  407. Hex String to Long
  408. Why can't push a "const auto_ptr" into a "vector"
  409. overriding static and virtual members with same proto. What is the standard ?
  410. dynamic tables and serialization of vectors
  411. linkage
  412. Help! How to program about 2's complemet with 22 bits value?
  413. std::vector
  414. ZLib
  415. Bar: 'class' type redefinition compile time error
  416. affectation, et copie
  417. How to input 2 inputs in 1 line???
  418. some assistance with a linked list
  419. how to count words from text
  420. constructor and destructor
  421. displaying memory content in LINUX
  422. Question About Method
  423. C++ Compilers
  424. Why no copy_if?
  425. Pointer proxying with reference members
  426. How Do You Turn Off the Debugger?
  427. std::remove_if errors!
  428. c++ and databases
  429. How would Mr. Stroustrup implement his solution to 12.7[2]
  430. Is this the correct form of a copy constructor?
  431. silly question
  432. easy question part 2
  433. copy constructor
  434. Inherit a constructor with default arguments
  435. iterators, pointers and (T*)-1
  436. About const
  437. clarification on delete []
  438. Incorrect template code, or compiler/library bug?
  439. #if defined
  440. electronic version of a Book online
  441. file i/o with stream_iterators - error
  442. missing include files (sys/param.h, sys/socket.h, net/if.h, ...)
  443. dynamic polymorphism or std::list<boost::any>
  444. Visual C++ vector warning
  445. ostream::write() error result
  446. please help a rook!
  447. cannot run dbx to debug a core...
  448. C or C++ first?
  449. Template instantiation on HP aCC compiler
  450. Template specialization
  451. class question - please help
  452. how to use a STL map?
  453. cin question
  454. about: map
  455. easy question
  456. approx 100 assorted computer/ math/other books
  457. Template Friend Function, GCC and C++ FAQ Lite
  458. Linker error with static const field
  459. Corresponding forms of new and delete
  460. Accelerated C++ Sample Solutions
  461. friend vs member for comparison operators
  462. details in my previous Q?????
  463. Machine precision
  464. Machinista Festival
  465. so many warnings
  466. design question
  467. iterator design help
  468. coding a csv to xls tool
  469. casting in C++
  470. Sending http-request with multipart/form-data
  471. Can I use a C++ function pointer instead of a C one
  472. Grabbing video frames from webcam...
  473. Garbage Collection
  474. new/ resize
  475. Generating unique random numbers
  476. C++ and databases question
  477. string literals
  478. MemoryPool Class from Efficient C++ Failing
  479. operator delete(void *ptr, size_t size)
  480. Corresponding forms of new and delete
  481. C vs Perl
  482. Troube overloading operators
  483. C++ parser
  484. I cannot see the need for auto_ptr?!
  485. a quick Q??
  486. Searching for C(++) source code to digitalize voice from MICROPHONE
  487. I am selling many of my c++, java, Oracle and Game Programming books
  488. operator new and parameterized constructor
  489. std:stringstream reset
  490. C++ to java code converter
  491. Arithmetic conversions/promotion and templates
  492. cin.peek()
  493. memory access failure
  494. Critique requested for a smart pointer implementation
  495. Array of pointers to a vector
  496. iterating over containers
  497. nothrow and exceptions
  498. string to const TCHAR problems
  499. parser needed
  500. Assignment to templated derived classes
  501. operator inheritance problem
  502. DLLs and static members
  503. operator + on vector
  504. vector<int> fillVector(int arguments ...)
  505. unit test for basic_string?
  506. initializing references / null pointer
  507. Linux oddity
  508. Help with template code, and a question on numeric_limits
  509. template parameters in non-template class
  510. String of Spaces
  511. Learning C++
  512. ostream_iterator
  513. ostream_iterator
  514. Why can't a C++ string be used as the path name to open a file but a C-string can?
  515. Why does new allocate more memory than there is??
  516. digicam via c++
  517. Extracting a substring
  518. Dll with dialog box
  519. Q: Inheritance design issue
  520. Performance or other differences on if expression?
  521. size & time modification from files..?? (Builder)
  522. Registry question - please help
  523. ATL/COM Destructor Lockup
  524. allocation problem
  525. c++ debugger on unix platform
  526. Please Help!! I can't figure out how to build the simplest class
  527. Simple class design issue, pointer to parent needed
  528. how to instal allegor Game/Multimedia Library to Dev-C++
  529. static const class members
  530. Standard containers, delete, copy
  531. daoview.exe
  532. Windows IDE
  533. Help! Operator + problems
  534. vector use warnings
  535. associative containers: requirements
  536. Reading from the command line using stringstream
  537. Overloading +=
  538. limiting class template parameters
  539. variable number of arguments + function pointers
  540. C Library Wrapper in C++
  541. How to get parent menu of sub menu??
  542. File I/O Question
  543. C++ library for numerical computing
  544. C++ and GUI
  545. template question
  546. Please Help With C DLL
  547. declare array of objects in header file
  548. Continuously concatenating binary data
  549. Trouble with factory pattern
  550. Eight queens using stacks instead of recursion