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. static list in template
  2. segmenatation fault while allocating memory
  3. Indentation of preprocessing directives
  4. cryptography library
  5. Creating table of const ptr to member funcs
  6. functor
  7. function to format message & output to cerr/cout/ostream
  8. looping through hashmap
  9. namespace help
  10. include command
  11. templates help
  12. displaying the contents of a queue
  13. Fstream problem
  14. C++ and SSE
  15. good help websites for forking,shared memory, thread
  16. file copying in c++
  17. public function calls
  18. need help totaling one city at a time
  19. default parameter value
  20. Question about evaluating the arguments of printf (maybe OT?)
  21. how to avoid using another header file inside a header file?
  22. Casting float to int using (int)
  23. Template Friend Function
  24. Question about pointers?
  25. Missing something here...
  26. Dev-C++ and DevPak files, mxWindows
  27. Template where I need to know the type
  28. Are std::strings guaranteed to default-initalize to ""?
  29. gaussian mixture?
  30. c++ unary increment operator
  31. displaying the largest and smallest number
  32. Read in UTF-8 file
  33. Template instantiation! Linker Problem
  34. stl api docs - gcc-3.2
  35. strip on std::string
  36. EOF (end of file) problem
  37. floating point exception
  38. Please explain this to me !!
  39. Universal character names and Unicode
  40. nested loop use example
  41. An operator template??
  42. non-repeating numbs
  43. sending message to other windows...
  44. float data type question...
  45. name count
  46. reference vs object handle
  47. what runs before main()? debug trouble
  48. Munch for AIX 5.1
  49. this pointer
  50. Allocation Conflict Error
  51. stream converting
  52. Arrarys of reference
  53. Simple Pointer Question
  54. template and nested class problem
  55. instance counting
  56. restricted templates, enum
  57. Reassignment to a const variable that was declared in an if()
  58. singleton question
  59. mutex for c++
  60. Sequence of constructor calls and destructor calls.
  61. Howto access .RC/.RES Ressource files with portable C++ code ( BCC,MSVC,GNU-C++,OpenWatcom)?
  62. Prime Numbers
  63. Problem using enum with vector?
  64. Help: constructor syntax
  65. Pointers and Arrays in C
  66. In-place Class Functions
  67. When is 'this' const?
  68. UINT cast to int, UINT - variable, help
  69. printing hex values
  70. looking for compilers and/or platforms **without** C++ exception support
  71. clearing capacity af a vector
  72. S-Tree: self organizing trees for data clustering
  73. Array/Pointer is causing a STATUS_ACCESS_VIOLATION is g++
  74. Can't compile on HP 11 Platform
  75. Loki::Factory and Loki::TList
  76. reference-to-const
  77. Graphics problem...
  78. C++ library for numerical calculations
  79. program help
  80. UML tutorial with actual C++ example code?
  81. %n conversion in sscanf/VC++ 6
  82. Char Error
  83. Why?
  84. random_shuffle seed
  85. Please compile for me!
  86. Preprocessing numbers
  87. overloading op of class within a class
  88. function objects instead of function pointers?
  89. How to write C++ code that compiles in Windows/Linux
  90. Memory segment error in dlopen call
  91. passing int * * to function as const
  92. Printing with the given font
  93. 2 classes holding instances of each other ( but it won't work :( )
  94. Cool uses of custom attributes in C#
  95. Beginner C++ problem....
  96. Computing Fibonacci numbers as a performance testsuite
  97. Can't compile on HP 11.0
  98. overload resolution / integral promotion / standard
  99. Some RAMdisk solution?
  100. C++ books for intermediate/advanced?
  101. nonlvalue error
  102. Need help with a Work around
  103. a naive question about the exception in fstream
  104. Need template for list of name/value pairs
  105. output of the program???
  106. Question: Manipulating Arrays
  107. File writing performance
  108. rounding a float/double to nearest 1/10th
  109. Q: How to copy a polymorphic class?
  110. String class, how to implement sprintf?
  111. How to use the ssh protocol in c++
  112. Problem with xlC
  113. Type names defined in base template class not visible in derived class in gcc3.2?
  114. C++ compile error on Sun
  115. Problem with the function that takes some_object** as the argument
  116. Nodes and Linked Lists. Check my code?
  117. Compiler switches in the source code
  118. c versus c++, performance wise
  119. numeric library help
  120. Breaking into the debugger from C++code with HP aC++
  121. mfc dialogs in fullscreen exclusive apps
  122. virtual function template - design probelm
  123. why i++ instead of ++i in for loops
  124. How do I load data to a templatized class
  125. a template-based, DLL-capable classloader
  126. C++ books for beginner?
  127. A question about using struct in STL
  128. A question about using struct in STL
  129. c++: pointers to pointers
  130. C++: compiling header files
  131. c++: dynamic array
  132. how do I read unicode text files?
  133. Easiest way to store and save objects generated by a C++ program?
  134. How does vector construct/destruct objects?
  135. About Borland C++BuilderX's 2 questions
  136. const method question
  137. Multiple ineritance question
  138. problem with array of struct
  139. purify-like tools working also for fortan 90?
  140. Problem with push_back.
  141. Concerning string.cstr()
  142. Smart pointers of const objets
  143. Question: How do you feel about recursion?
  144. Using Classes
  145. Academic Research for USA I.T. Professionals (No e-mail required)
  146. File Input Error Help
  147. Correct syntax for class templates that declare friend functions
  148. passing a struct by value
  149. C++ to C
  150. Making a class more generic [part 2]
  151. Making a class more generic [part 1]
  152. Delegation
  153. Access violation error
  154. What is the meaning of returning a value of a static type
  155. Problem with input streams
  156. Help Please: References between Functions
  157. C++ for 6809?
  158. function error
  159. Non-Binary Trees
  160. Dangling Reference
  161. Singleton template
  162. initializer list question
  163. preserving capacity of a vector
  164. member function adresses
  165. allocating memory for std::string?
  166. Generic Abstract Factory
  167. Storing Variable State
  168. how to check validity in expression template
  169. __func__ macro emulation
  170. Controlling Windows Services
  171. Implicit conversion is evil?
  172. Order-preserving set difference
  173. Correct syntax for definitions of inner classes of a template class.
  174. How can I do this?
  175. Ulta Low Level Hard Drive Access:
  176. WINDOWS
  177. How do I write this in pointer notation?
  178. help
  179. C++ as a better C
  180. Code reuse in C++
  181. Market Confusion Solved
  182. Calling a ActiveX function from a console application
  183. Inserting into a queue
  184. calling GNUPLOT from a c++ program
  185. Passing the Functor-parameters in for_each() and transform()
  186. [WinAPI] WM_CHAR & DialogBox
  187. problems with pointers (i think)
  188. Question: Any idea of midi programming ?
  189. Bc4.5 to VC6
  190. STRANGE QUESTION : search engine query and web site dowload
  191. Byte I/O
  192. Specialization of a template within template
  193. dynamic multidimmensional arrays
  194. Undestanding proper ctime and clock() usage.
  195. Whoever loves C++ and java programming, come here
  196. Namespace & template puzzle
  197. File Manipulation
  198. loop files in folder
  199. implementation details
  200. binary tree
  201. Nasty code...but please critique it anyway :-)
  202. Empty the inbuffer
  203. How can underflow, overflow be tested for using C++?
  204. Built-in sorting algorithms?
  205. volatile
  206. compiling C code using aCC on HPUX
  207. Possible g++ bug in template parsing
  208. ActiveX DLL
  209. Baffled!
  210. syntax for a vector within a map
  211. Command line parser
  212. [Off-Topic] cvs
  213. Q: Optimization issues?
  214. fread gives only the first 4 bytes ??
  215. flyweight reference counting
  216. nonmember vs member?
  217. MyString Class
  218. Simple Multiuser access to file ?
  219. #ifndef #define #endif and multiple definitions problem
  220. How to divide typenames from a function declaration?
  221. Can I use delete with malloc'ed items?
  222. pointer to a method
  223. queue, deque, priority_queue
  224. Inheriting from std::vector?
  225. Iostream
  226. const and valarray reference
  227. Request for useful C++/Algorithms Sources
  228. my own streams
  229. traits help
  230. Pointers to non-static member functions, compiles with MSDEV, but not with GCC
  231. windows equiv to mmap()
  232. very difficult ISAPI filter question - help
  233. OCI links required
  234. about partial specialization
  235. private structure
  236. Builder / go to edit filed
  237. class static variables & __STDC_VERSION__
  238. Getting the units of a number
  239. Help on implementing COM on unix
  240. sorting a Vector
  241. ABNORMAL PROGRAM TERMINATION Control Panel CBUILDER 6
  242. overloading +=
  243. learning auto_ptr
  244. Coding classes with 1 to N relationships
  245. iterator help
  246. Adding a network printer on Win 98 and Win Me.
  247. Retrieve printer permissions programmatically
  248. STL and Balanced Trees???
  249. Addition of strings in C++
  250. Putting cursor at end of EditBox
  251. Can I use an Excel Add-In in my VC++ program?
  252. Is copy constructible
  253. list boxes
  254. Dynamic memory or...?
  255. this pointer getting screwed
  256. Effective Use of Low-Level C and C++
  257. short circuited expressions...
  258. Set file date
  259. A fatal exception
  260. Is there an inverse of gmtime()?
  261. null stl iterator ?
  262. Hex String to Long
  263. Why can't push a "const auto_ptr" into a "vector"
  264. overriding static and virtual members with same proto. What is the standard ?
  265. dynamic tables and serialization of vectors
  266. linkage
  267. Help! How to program about 2's complemet with 22 bits value?
  268. std::vector
  269. ZLib
  270. Bar: 'class' type redefinition compile time error
  271. affectation, et copie
  272. How to input 2 inputs in 1 line???
  273. some assistance with a linked list
  274. how to count words from text
  275. constructor and destructor
  276. displaying memory content in LINUX
  277. Question About Method
  278. C++ Compilers
  279. Why no copy_if?
  280. Pointer proxying with reference members
  281. How Do You Turn Off the Debugger?
  282. std::remove_if errors!
  283. c++ and databases
  284. How would Mr. Stroustrup implement his solution to 12.7[2]
  285. Is this the correct form of a copy constructor?
  286. silly question
  287. easy question part 2
  288. copy constructor
  289. Inherit a constructor with default arguments
  290. iterators, pointers and (T*)-1
  291. About const
  292. clarification on delete []
  293. Incorrect template code, or compiler/library bug?
  294. #if defined
  295. electronic version of a Book online
  296. file i/o with stream_iterators - error
  297. missing include files (sys/param.h, sys/socket.h, net/if.h, ...)
  298. dynamic polymorphism or std::list<boost::any>
  299. Visual C++ vector warning
  300. ostream::write() error result
  301. please help a rook!
  302. cannot run dbx to debug a core...
  303. C or C++ first?
  304. Template instantiation on HP aCC compiler
  305. Template specialization
  306. class question - please help
  307. how to use a STL map?
  308. cin question
  309. about: map
  310. easy question
  311. approx 100 assorted computer/ math/other books
  312. Template Friend Function, GCC and C++ FAQ Lite
  313. Linker error with static const field
  314. Corresponding forms of new and delete
  315. Accelerated C++ Sample Solutions
  316. friend vs member for comparison operators
  317. details in my previous Q?????
  318. Machine precision
  319. Machinista Festival
  320. so many warnings
  321. design question
  322. iterator design help
  323. coding a csv to xls tool
  324. casting in C++
  325. Sending http-request with multipart/form-data
  326. Can I use a C++ function pointer instead of a C one
  327. Grabbing video frames from webcam...
  328. Garbage Collection
  329. new/ resize
  330. Generating unique random numbers
  331. C++ and databases question
  332. string literals
  333. MemoryPool Class from Efficient C++ Failing
  334. operator delete(void *ptr, size_t size)
  335. Corresponding forms of new and delete
  336. C vs Perl
  337. Troube overloading operators
  338. C++ parser
  339. I cannot see the need for auto_ptr?!
  340. a quick Q??
  341. Searching for C(++) source code to digitalize voice from MICROPHONE
  342. I am selling many of my c++, java, Oracle and Game Programming books
  343. operator new and parameterized constructor
  344. std:stringstream reset
  345. C++ to java code converter
  346. Arithmetic conversions/promotion and templates
  347. cin.peek()
  348. memory access failure
  349. Critique requested for a smart pointer implementation
  350. Array of pointers to a vector
  351. iterating over containers
  352. nothrow and exceptions
  353. string to const TCHAR problems
  354. parser needed
  355. Assignment to templated derived classes
  356. operator inheritance problem
  357. DLLs and static members
  358. operator + on vector
  359. vector<int> fillVector(int arguments ...)
  360. unit test for basic_string?
  361. initializing references / null pointer
  362. Linux oddity
  363. Help with template code, and a question on numeric_limits
  364. template parameters in non-template class
  365. String of Spaces
  366. Learning C++
  367. ostream_iterator
  368. ostream_iterator
  369. Why can't a C++ string be used as the path name to open a file but a C-string can?
  370. Why does new allocate more memory than there is??
  371. digicam via c++
  372. Extracting a substring
  373. Dll with dialog box
  374. Q: Inheritance design issue
  375. Performance or other differences on if expression?
  376. size & time modification from files..?? (Builder)
  377. Registry question - please help
  378. ATL/COM Destructor Lockup
  379. allocation problem
  380. c++ debugger on unix platform
  381. Please Help!! I can't figure out how to build the simplest class
  382. Simple class design issue, pointer to parent needed
  383. how to instal allegor Game/Multimedia Library to Dev-C++
  384. static const class members
  385. Standard containers, delete, copy
  386. daoview.exe
  387. Windows IDE
  388. Help! Operator + problems
  389. vector use warnings
  390. associative containers: requirements
  391. Reading from the command line using stringstream
  392. Overloading +=
  393. limiting class template parameters
  394. variable number of arguments + function pointers
  395. C Library Wrapper in C++
  396. How to get parent menu of sub menu??
  397. File I/O Question
  398. C++ library for numerical computing
  399. C++ and GUI
  400. template question
  401. Please Help With C DLL
  402. declare array of objects in header file
  403. Continuously concatenating binary data
  404. Trouble with factory pattern
  405. Eight queens using stacks instead of recursion
  406. compile hello world
  407. WO : A new Object Oriented Language (Open Source)
  408. Where to Start?
  409. test
  410. Problem with push_back,help me ASAP
  411. Passing return as reference to another function
  412. To STL or not to STL
  413. Conflicts with Nested Namespaces
  414. alternative to rdbuf()->in_avail()? [was is cin always hte keyboard's input]
  415. std::vector<>::clear semantics
  416. Library to use
  417. template problem with ostream operator
  418. _T Dev c++ problem
  419. testing input values
  420. Placing bytes into a stream
  421. template problem with ostream operator (Borland compiler)
  422. Word Histogram in C++??
  423. Switch Optimization
  424. template problem with ostream operator (Borland compiler)
  425. help with functions.
  426. Taking first coarse in c++
  427. test
  428. Word blocking
  429. string --> int[]
  430. Question about definition files and DLLs
  431. multi-dimensional array
  432. return values and type conversions
  433. visual studio - academic VS regular
  434. Clarification related to template definition?
  435. Function pointer member variable to non-member function
  436. Problem understanding automatic objects
  437. reformatting a string - help please
  438. Function pointer member variable to non-member function
  439. Erasing map elements by iterator
  440. converting std::string to std::wstring
  441. GUID is undefined ???
  442. friend template function
  443. is cin always the keyboard's input?
  444. solution: an in-language way of mapping class names --> strings
  445. Working of the delete [ ] operator
  446. log file
  447. std::ostream manipulator
  448. VC++ 6: Customize classwizard templates?
  449. polling streams
  450. Struggling Comp Sci Student
  451. Mouse and Keyboard sluggishness
  452. Determining member order
  453. dev-c++ gdb
  454. how can two class reference each other?
  455. what is wrong with all that authors?
  456. create pointer to list
  457. VS03: overloaded non-member operator(<<) for templated class
  458. Dynamic sized structs
  459. Type cast erorr - from 'void *' to 'int (*)[3]'
  460. C-style string parsing
  461. template and forward declaration
  462. Database help
  463. A constructor question
  464. visual c++: problems with pointers
  465. explicitly initializing
  466. [lame] overloaded fun. virt. and inherity
  467. (DirectShow) AVI player using CFrameWnd class ???
  468. Issue with Sopen() and dropping a network connection.
  469. unexpected result using std::list
  470. visual c++ : inside for loop scope declaration problem
  471. reading a line from a file
  472. getopt
  473. log file
  474. Question about XmlDocument->Save method (C++ .NET)
  475. please help... ...me learn C++ please please please :)
  476. compiling problem with ms visual c++
  477. Microsoft Speech SDK
  478. Java plug-in
  479. bitmap in embedded c++ for wince included
  480. converting pointer to const ref
  481. using a custom class in a list
  482. Problems with mod
  483. cin and cin.clear() problem
  484. Using "const" : why does compile fail
  485. this in constructor
  486. Using printf on char array
  487. Abstract constructor initialisers
  488. help. how to blank off when info from file...
  489. need a graph isomorphism algorithm
  490. Control the appearance of a launched application
  491. strange function behaviour
  492. DLL importing simbols from EXE
  493. Why is MAXINT doubly defined in system include files
  494. Help needed in running a c++ program as Windows Services
  495. unresolved symbol with shared library
  496. How to pass a function name as an argument?
  497. have a short, need to extract 8 bits so I can have a char
  498. word
  499. Syntax for defining non-inline func. in Templates
  500. Invoking methods on objects returned from functions
  501. outputing hexidecimal using cout
  502. Does Visual C++ support member function template?
  503. custom iterator for multiple arrays
  504. const keyword
  505. problem related to the sort function provided by STL
  506. Good C++ course
  507. Optimizing array accesses
  508. Unknown delay
  509. Converting pointer-to-member to int
  510. new
  511. [RTTI] cast base class pointer to <templated> derived class pointer
  512. Visual Studio Resource Editor Bugs
  513. Windows C++
  514. operator overloading & STL
  515. visual c++???
  516. how to read powerpoint file
  517. visual c++
  518. Operator overloading problem
  519. Checking if iterator points to a specific element
  520. Classes from pointers?
  521. Launch application
  522. View applets in an application
  523. Installing underC :: the C++ interpreter
  524. Some Exercises
  525. Compile error C2664 - Why??
  526. Memory leakage in set class
  527. How to move a Visual C++ Workspace
  528. design issues: variables at class scope
  529. Invisible streaming?
  530. Loki test
  531. Dynamic Allocation of 2D array of <class>
  532. bigInt operator* help
  533. transformation -
  534. Interesting parameter overload prob...
  535. Does Visual C++ support member function template?
  536. Problem using I/O manipulators
  537. private member functions
  538. why does it crash?
  539. INTERNAL COMPILER ERROR C1001: msc1.cpp (line 1794) error at every std include file: stdio.h, windows.h, ansi_c.h ????
  540. Doubt in distinguishing between modules and user-defined types main features.
  541. std::map::find() throws exception when map is empty?
  542. matching { } syntax style
  543. Literal Pool
  544. Network programming
  545. overloading operators
  546. function pointer and member function pointer question
  547. Crystal C++ Export To Excel
  548. Fibonacci numbers
  549. STL sort not working??
  550. expression template help