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. how to simplify many OR in if statement?
  2. Allocate Memory Problem
  3. Two classes dependent on each other, generating "syntax error: identifier 'NAME' "
  4. Question about C++ Allocatars
  5. Looking for a C++ Large Number Class
  6. Assignment operator
  7. Why not use valarray<valarray<T> > ?
  8. detecting basic types
  9. Turbo Charge your PC's Performance
  10. Not splitting words in output
  11. What is the proper way to do this...
  12. Preventing memory fragmentation
  13. Setting union member in structure
  14. Defense against INVADERS!!
  15. Obtain error message?
  16. Can I use MT-safe stream as a pipe between two threads? A TANGLED question about standart C++-library.
  17. Multithreading beginner problem
  18. Pointer to class member as a function name
  19. Internet related libraries
  20. copy a file
  21. HELP: vector & polymorphism
  22. exended character set
  23. Abstract Data Types - Separating Interface from Implementation
  24. Popup through screensaver?
  25. ALSA general help
  26. Should this compile without cast?
  27. Scripting Language Tutorial
  28. Shutting down windows...
  29. Static Member Functions and inheritence
  30. How to create a jump table in c or c++ ?
  31. ostringstream, ends: what am I missing
  32. call_with_second
  33. Counting Objects - Best Method
  34. replacing c_str with operator asterix
  35. POSIX Threads causing memory leak
  36. Compare strings
  37. A not very well publicized fact about C++ templates
  38. Can't get Sams example to work (re-opening file)
  39. I'm Looking For A *Good* C++ Reference Book
  40. combining two stl vectors
  41. why doesn't this work?
  42. Q: Casting and using the pointer
  43. Dev-CPP
  44. Error Opening multiple files
  45. Ptrs to member funcs & inheritance
  46. getline and substr
  47. Boost..
  48. need help for simple c++ programming
  49. C help: how to activate arrowkeys and stack of earlier commands
  50. How to convert between iterators and pointers?
  51. Blocking functions
  52. Portable endianess
  53. C++/MFC Graphics
  54. transfering variable length argument list
  55. vector declaration inside class
  56. Questions about defaut template type argument
  57. Dinkumware STL, MFC and memory leak
  58. attribute bag class
  59. Visual CPP
  60. cannot convert `xyz' to `xyz*' in assignment
  61. g++ const 'this' problems
  62. Class Member Getting Corrupted
  63. Having trouble achiving OOP zen
  64. Seperate compilation (header files n' their implementations)
  65. template specialization hides other specializations-msvc6
  66. Query: Will a MutexGuard object release before a function return value is copied?
  67. Store pointers in a vector?
  68. When is static is deprecated?
  69. Help
  70. Intel c++ 8.0: how to build .dlls and .libs??
  71. Intel c++ 8.0: how to build .dlls and .libs??
  72. Intel c++ 8.0: how to build .dlls and .libs??
  73. Error using ofstream close()
  74. stream in multiprocess (multithread) apps
  75. how to include dll
  76. from base class calling methods defined in derived classes through pointer to member functions
  77. How to get two bytes form a buffer?
  78. After sorting a vector, how to get max in this vector?
  79. Error: Link.exe
  80. C++ Simulator of a Universal Turing Machine
  81. I wanna know one grammar
  82. Making a shared container that behaves like std::vector.
  83. Is this portable?
  84. Template binary tree structure in standard library?
  85. Is it the BUG of VC 7.1
  86. dynamic binding
  87. op.conversion enum->char
  88. can i use installshield to deploy an ocx?
  89. Files in Folder
  90. Testing if file open() command successful
  91. array too large?
  92. What method of DB access is best from c++?
  93. Virtual function from constructor
  94. Trying to launch a page from the code.
  95. Dependency Inversion Principle Dilemma
  96. A Forward Iterator type / class?
  97. Address of a result?
  98. How to access symbol when its dimensionality is not known till runtime (About to giveup)
  99. What is wrong with this?
  100. About ActiveX
  101. Templates and typedef
  102. library for SVD with m<n
  103. how copy the content of the "fstream::rdbuf()" to a string?
  104. UNICODE ostream
  105. Help Please: Finding out the Iterator to the Child node in binary heap
  106. Two pointers to the same obejct, two differnet values...
  107. Template functions & class templates syntax
  108. difficulties with sprintf function
  109. "inline"?
  110. Different bit storing
  111. A strange problem with IE and the browser helper object
  112. floating point exception
  113. Why do we have to manually separate interface and implementation?
  114. template functions calls within non template classes. How to do it?
  115. using templates as class members.
  116. Unsatisfied symbols
  117. simple naming convention question
  118. inheritance
  119. Internal Structure of the DIR ommand of MS-DOS purely for a floppy drive media
  120. Question about fscanf ..
  121. Questions about constructors
  122. virtual destructor Vs virtual method
  123. prova
  124. Casting
  125. Another String reversal question
  126. need suggestion about random selection
  127. C++: Uninitialised Variable Passed as a Parm
  128. char conversion problem
  129. need files for "OOP in C++" by Lafore
  130. newb: using user installed lib in cygwin
  131. vector::resize parameters
  132. list <string> algorithms
  133. Function/pointer help
  134. Template parse error
  135. sizeof operator
  136. Respecting the standard
  137. In-memory array output stream?
  138. member to pointer conversions - mommy look what I found
  139. c++, swig and mpatrol
  140. why plus can be minus. Another of Microsoft's trick?
  141. multistreaming
  142. How to edit MSVC 7.1 VC++ directories by script
  143. Makefile Macro Substitution Help
  144. Please help - class / templates use?
  145. return statement in C++ constructor
  146. STL list
  147. 2 questions: speed of memset() and pointer to multi-arrays
  148. Sockets
  149. new vs. malloc
  150. running program as a background process
  151. visual basic from visual C++
  152. how static_cast and dynamic_cast implemented?
  153. Problem exporting class with stl member
  154. C++ active web pages???
  155. Help a beginner
  156. Nasty Bug: First exception error.
  157. Ordering of class definitions
  158. change character in file
  159. Creating a file that doesn't exist
  160. Operator function not working
  161. I/O buffers
  162. Conways Game of Life Source code
  163. static members of template classes
  164. Problem of Pass by Reference in C++
  165. Why won't this hash_map compile?
  166. map that maps to iterators in the same map ?
  167. The >> token
  168. Which derived class is it?
  169. Angle class - how is my code ?
  170. "Optimization" with source file contaiing only static functions and initializations
  171. What to learn?
  172. Pre-Allocate a General Class Instance
  173. how to declare a structure and a class interlinked
  174. Strange template problem.
  175. .
  176. Is -> syntactic sugar?
  177. Replace a character in a string.
  178. Two dimensional array problem
  179. Problem writing a .wav file
  180. Is there a reference counted implementation of std::vector?
  181. Is there any support for network programming in C++
  182. access violation when unallocating a string
  183. msdev /make problem
  184. Design question: using malloc?
  185. floating point round in C++
  186. Rewriting the file
  187. why doesnt this work?
  188. Huge file hash
  189. What is "POD"
  190. Need help with stl vectors (?)
  191. operator overloading q'n
  192. Need help with STL
  193. Member Functions in class scope are auto inlined?
  194. Private constructor
  195. The performance cost associated with std::vector.
  196. Clarification of the scope of this group
  197. drag&drop - how can I make it work?
  198. enum question...
  199. istream_iterator and ostream_iterator problem
  200. P++
  201. Working with list box and text boxes
  202. Can anyone sell me VC 4.0 or 5.0?
  203. C 99 -- C++ 2003 diffs
  204. how to call an external program?
  205. Need help with STL (?)
  206. [RQST] Virtual disk
  207. What is some basic stuff?
  208. Regular Expressions and String Replacement
  209. Need to translate from Delphi to C++
  210. need to translate from Delphi to C++
  211. Dividing strings filled with numeric values
  212. Linkage and calling convention
  213. Can a template function return a template type?
  214. Array of object from varius subclasses
  215. counting_iterator with transform_iterator ?
  216. Correct use of locales?
  217. How to extract size of a packet?
  218. How to make function final in CPP
  219. Can nested class members access private members of nesting class?
  220. for loop?
  221. function object inheritence
  222. Multidimensional Arrays
  223. Char type array
  224. managed & unmanaged question
  225. CRT, Member Initialisation, static data, constant data, global objects
  226. You know the default error beep in windows? How exactly do you dothat?
  227. std::endl type unknown
  228. system date
  229. Sorting via template metaprogramming - critique requested
  230. what is wrong in my leap year?
  231. Where's the bug?
  232. Can one class have two names?
  233. non-static const array class-member
  234. C++ to Delphi conversion help required
  235. Questions about Getting const_iterator out of iterator class
  236. Recursive Function Help (pls) pt 2
  237. implib for mingw
  238. signed/unsigned..?
  239. Using Class Templates
  240. Mysql with C++
  241. Serial port, dlportio and Win2000
  242. Design question: interrelated classes
  243. MSVC7: Comdef.h(266) - missing ')'
  244. implib from dll
  245. Scope Resolution Operator
  246. error 2666?
  247. recursive function help (pls)
  248. load bmp
  249. ofstream is_open
  250. changing char value
  251. Function pointers problem
  252. What modules are available for Http connections in C++
  253. Casting to a 'different' class...
  254. Help for C++
  255. ISO/ANSI C++ Standard copy
  256. direct access to hidden variables
  257. Linking errors. - VC++ - Unresolved external Symbol
  258. Legacy source code resources?
  259. Question About Casting
  260. memory leaks question
  261. Two templates with overlap.
  262. (Programming) Various Syntax styles
  263. How to distinguish between Events and States?
  264. Internet Checksum
  265. Class division
  266. fstream lock question
  267. A function that returns a pointer...??
  268. HELP: Floating point overflow (possible OT)
  269. New Programmer
  270. Error creating a node
  271. Why is the Base class Constructor getting called twice
  272. ambiguity of post-increment and post-decrement
  273. Efficiency of map and vector iterators
  274. Am I an idiot?
  275. template-id 'VISDictionary<const char *, VISNamedContainerTypeCode *>' used as a declarator
  276. Protecting object data from member functions
  277. Do I need delete or delete [] here...
  278. Creating an object that is read from an input stream.
  279. usage of undefined class
  280. using member data as default argument
  281. Online book?
  282. stream constructors and derived classes
  283. oo-problem
  284. Fileless C++ environments
  285. Changing a variables data type
  286. GNU GMP arbitrary precision limitations + question
  287. Why does this work?!?
  288. Portable code
  289. Can't access WHAT private member?
  290. std::map copy constructor problem
  291. Your preferred books
  292. Your preferred books
  293. using getdate() how can i get todays date in mm/dd/yy format? any sug please
  294. map::iterator error
  295. CryptGetUserKey works in WinXP but fails in Win2000
  296. gets and cin
  297. writing in to files
  298. STL multi_map entry size?
  299. Function objects as parameters.
  300. Function objects as parameters.
  301. Question about constructors ...
  302. Converting datetimes from/to UTC/GMT including daylight saving
  303. Order of evaluation: int a=1, b=a+1;
  304. Equivalency Semantics, Operator Overloading
  305. using a bitset
  306. Is code generated in this template situation?
  307. int to char
  308. Access control + overloading + overriding
  309. Optional parameters in stored procedure call
  310. How to disable debugger-related warnings!?!
  311. Casting to const.
  312. What is lvalue?
  313. string class question ....
  314. About MutipleInheritance
  315. Why c++ string can't be used in a dll?
  316. string class question..
  317. About the size of structure
  318. how does pragma pack work?
  319. How to...
  320. Borland C++ 5.5.1 CommandLineTools: ilink32 error 128
  321. I need some help/pointers/comments to get me started, I am stuck
  322. How to implement a buffer (memory?) pool
  323. Reading binary data from file
  324. POD-ness of a type
  325. Wireless Search with Summarized Results/Web Pages, powered by Google!
  326. Feeding Time
  327. decision tree help
  328. Library in library...
  329. S.i considered a variable?
  330. More new MyClass; vs. new MyClass();
  331. boost::shared_ptr and operator->()
  332. Constructor(?) inside a struct
  333. static_cast vs. C-stype cast
  334. dinkumware 402 linking with g++ 3.x/ _Winit undefined ref
  335. array exception safety
  336. Is there a temporal object created?
  337. assignmnet to int form float/double
  338. virtual inheritance problem with class template specializations
  339. is const function faster than non-const?
  340. Binary trees
  341. what is different?
  342. Need help on remove_if
  343. soundcard input
  344. overloaded operator new
  345. Question about an extern int
  346. Sound card input
  347. Homework Help
  348. accessing protected data members of instance of parent class
  349. ncurses help
  350. multidimensional arrays (vector)
  351. is there a difference between new MyClass; and new MyClass();?
  352. Is this object destroyed?
  353. C++ link to 3dstudio
  354. Q: Allocating memory correctly
  355. Strange compiler error
  356. linking problem
  357. unique numbers using srand( ) and rand( ) functions in C++
  358. numeric_limits<> specialization
  359. C ++ programming here my codes
  360. Webcam
  361. SMTP server C++ class
  362. C ++ programming again
  363. enum fails with using declaration
  364. C++ programming
  365. Object initialisation and constructors
  366. variable type
  367. Template parameter matching and const
  368. runtime access to program state via a hacked libpq sql interface
  369. Problem with textfile
  370. source code for independent component analysis ??
  371. RTTI?
  372. Composite class problem
  373. Difference between inline initialization and definition.
  374. Typecasting char pointer to structure
  375. getting list<string> sort() to use my operator< ??
  376. need some oversight
  377. Retrieving numbers from a string
  378. activation record instances
  379. Rusty C++
  380. value_type of a back_insert_iterator
  381. using declarations with nested typedefs
  382. mindless: Do you have a good name for a class that...?
  383. std::size_t
  384. access to class members from a Fortran subroutine
  385. generating C equivalent from C++ code
  386. Concept of nested classes
  387. reference VS. pointer
  388. STL Question: Safe to use elements after erasing them from the collection?
  389. Design problem
  390. Class methods operating on arrays of objects of the same type as itself.
  391. Iterator/pointer arithmetic
  392. HTML Parser C#
  393. CGI and C++: continual updates
  394. look for C++ "Keith Gorlen smalltalk like classes" or NIHCL to reduce memory footprint used by STL
  395. News test !?
  396. images and text
  397. How to avoid ambiguous constructors?
  398. pipe(), fork(), exec(), ... providing input to and capturing output of a child process
  399. Unable to print function names in stacktrace
  400. VC++ CListCtrl question.
  401. Utility classes?
  402. Memory Leak Error
  403. zApp and MFC
  404. How do copy Strings from a single dimensional array to double dimensional array
  405. removing the cursor from a cpp app
  406. User-defined exceptions
  407. A different kind of adaptor iterator
  408. typedef not being seen
  409. Operator Overlading Problem
  410. cout << "едц"
  411. ActiveDirectory_and_Ldap_lerner_searchforHelp
  412. Cygwin vector problem
  413. F2C for Microsoft Visual Studio
  414. passing a struct
  415. Protected classes within classes
  416. Preferred C++ compiler for Windows
  417. Null output stream?
  418. Removing a node from a binary tree
  419. deleting an object twice?
  420. simple list efficiency question
  421. Help Please: Making a function template accept a default argument
  422. Types defined in std::
  423. Garbage collection?
  424. overloading ! operator for factorial
  425. how do I get a Resource ID of a CBitmap?
  426. friend template doesn't work for MS VC 7.1 ?!
  427. Strange Infinite Loop in My Code
  428. Integer sizes
  429. Can private methods be overriding?
  430. Is there a class for a dynamicly resizable array?
  431. Converting Fortran module<->C++ structure
  432. How do you know datatype when using Templates?
  433. Is `new classname' the same as `new classname()' ?
  434. Templates with static member in header file
  435. which program will run better:)
  436. mixing C++ with C
  437. template deduction of array size
  438. solution for max_length_string (?)
  439. Getting the exception object within catch(...)
  440. preprocessor implementation GURU question
  441. g++ and gcc
  442. what are these files?
  443. C++ as OOP language
  444. Nested templates explicit specialization
  445. bitset assignment
  446. Deleting array allocated with new
  447. From float to std::string
  448. Error while defining char array
  449. Accept either an iterator or a reverse_iterator
  450. Namespaces in MSVC Dll.
  451. Smart Pointers
  452. Templated Copy Ctor
  453. Template specialisation of class with base class template ?!
  454. sign of a value
  455. Is it OK to specify a _private_ member function as a friend?
  456. linking problem ...
  457. Bit manipulation question
  458. Open Specified Port
  459. How is "static const int" better than "static enum"?
  460. How is member initialisation ordered?
  461. STL sets and MultiSets
  462. [C++] strange problem with std::ostringstream
  463. Creating an automatic logger
  464. Best way to eliminate warnings ?
  465. looking for a "tree" class
  466. how to get the names of the files in a directory on the linux and windows platform
  467. Creating STL Containers in Shared Memory
  468. compilation problem... WHY?
  469. operator problem in struct
  470. What's wrong with this?
  471. A question about ## vs. juxtaposition
  472. Q: Why are there file access modes?
  473. Virtual Funtion Questions
  474. DETOURS
  475. When should use "new"?
  476. std::cin woes ---- C style macros to the rescue
  477. good online STL/C++ lib references?
  478. STL find & compare
  479. Can I check the type of a void pointer
  480. Precompiler question
  481. Effect of goto on local variables
  482. help with classes
  483. classes, strings, learning in VS.NET
  484. How to print an array using << operator:Beginner's question
  485. freopen & cout
  486. Is it legal that a function pointer to "function with default arguments"?
  487. REQ: Help With List Class - Linked List Based
  488. how do i access data member from other class
  489. Curiosity...
  490. Scientific calculations using long double
  491. Template class operator= error
  492. Simple pointer question (:)
  493. Koenig lookup problem???
  494. Extern variables and linking
  495. when memory exhaust,how we can catch the new operator exception.
  496. C++ implementation references
  497. C Standard Library reference
  498. stl list and find
  499. std::generate() functor argument with member functions
  500. fileToString
  501. writing text to a file...
  502. pointer to a member function
  503. MFCO42D.DLL
  504. [q]: stl on max os x
  505. Efficient evaluation of step functions
  506. leading zeros - wrong int
  507. why new dynamic stack allocation in C++?
  508. ar loses std::list symbols
  509. MakeFile
  510. templated return
  511. operator delete
  512. (double one=1.) != 1. ?
  513. On which processor does a thread run?
  514. warning: member functions are implicitly friends of their class
  515. sizeof(object) is different in ANSI and Unicode
  516. 2-dimensional vector (using STL)
  517. problem on creating functor for std::sort
  518. A question about arrays.
  519. the C++ standard
  520. Macro invocation
  521. Is array of POD still a POD type?
  522. Doubt in C++ Templates - Josuttis.
  523. const member functions
  524. const member functions
  525. const member functions
  526. const member functions
  527. General File Handling (Class Structure Preservation) Question
  528. TABS and web pages
  529. ISO C++ compile error
  530. STL for Fibonacci Heap??
  531. struct problem
  532. Do I need to use destructor here?
  533. another boring class question
  534. private member prob
  535. Calling C functions from Tk script.
  536. Big variable
  537. new & exception handling
  538. Refactoring browser for C++ ?
  539. Second argument to operator=
  540. hash_map
  541. 2d arrays and strings
  542. B+-tree
  543. Reference parameters
  544. a library with sockets and files?
  545. sizeof operator doesn't work properly in call with static data members
  546. New Forums
  547. dynamic array or STL vector
  548. forward declaration related problem
  549. Finding the levels of a Binary tree
  550. Include declarations and related definition