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. why this code doesn't work!!
  2. How to redefine operator delete/delete[] via macro?
  3. goolge a little
  4. Introsort
  5. Templates and Copy Constructors. Again.
  6. try-catch name
  7. capCapture frameRate problem. (URGENT)
  8. Weather Prediction Program Help
  9. "namespace" and "class"
  10. Will standard C++ allow me to replace a string in a unicode-encoded text file?
  11. hmm, what does it do?
  12. temlate class
  13. Visitor Pattern, Deep Copy & Double Dispatch
  14. Function pointers and dynamically loaded DLLs
  15. MAllocate memory for structures?
  16. Containing containers - handling interface ?
  17. What is happening here
  18. Compatibility of checks done by 'Forte Developer 7' & 'Sun studio 9' C++ compilers
  19. VC++: Cast operator not used?
  20. Which member functions do you provided for a class
  21. Efficiently Extracting Identical Values From A List/Array
  22. Supplement to my previous message
  23. It is very surprising ....
  24. polyfit / polyval
  25. Same template arguments, different specializations
  26. __LINE__ as template argument (VC++)
  27. string to byte array
  28. comparing date time
  29. STL sorting algorithms
  30. Shared libraries / C++
  31. Newibe C++ XML Questions
  32. what is .i file?
  33. Help with Global structs in headers and multiple definitions
  34. polymorphic return types in virtual functions
  35. what does this statement mean?
  36. "namespace" and "class"
  37. Matching words within two arrays
  38. Where to include header files / A question of style?
  39. Designing a proper server model
  40. Q: Reading indeterminate pointer -> Ref to Std?
  41. what to put in an IF statement?
  42. How should I interpret this set of laptop specifications?
  43. How do I get GLUT to work with GCC for Win32?
  44. whats this macro doing
  45. Question about overriding new and delete
  46. Big-O
  47. Help with string class
  48. Exception Handling and Refactoring Question ...
  49. Where do you buy your books from?
  50. template recursion depth
  51. LPTSTR to char *.. How
  52. functors and stl find_if
  53. Lost
  54. What exactly is a POD type
  55. random shuffling
  56. Convert a string to float and vice versa
  57. detecting if no exception was thrown
  58. C++ nothrow new() problem under Irix
  59. RTTI Question: typeid() for structures
  60. Modify files in C++
  61. debuggin win32 dlls called from Java JNI
  62. dereferencing pointer to base
  63. Design question: managing limited resources
  64. __DATE__ as ISO string
  65. include for command line arguments
  66. INTERNET CONTENT ADAPTATION PROTOCOL
  67. GMP: Cannot operate on vector<mpz_t>
  68. template class in DLL (g++/Cygwin)
  69. STL map question
  70. Please coment solution (Was: Design problem...)
  71. Unions and Pointer
  72. Cannot 'new' a GMP object
  73. Fast addition for n+1 or n+0
  74. template syntax...
  75. template syntax.../ resent
  76. Game Developers For Space Federation wanted!
  77. Why doesn't this modify the pointer?
  78. classes
  79. if?
  80. Why does overloaded operator= destroy my operands?
  81. Correct C++ tutorial part 6 "Functions, a.k.a. routines" available (Windows, mingw/msvc/std)
  82. preprocessor macros
  83. Converting String to Char Array
  84. Stop bashing macros ---- who says they are bad?
  85. Why call member function through this pointer?
  86. c++ system call invoke perl running visual c++ 6.0
  87. Using Reference of Pointers
  88. Accessing individual bytes of an integer
  89. cannot convert parameter from 'double (double)' to 'double (__cdecl *)(double)' error
  90. g++: integers as booleans, no warning?
  91. Hardware information
  92. Problema with string convertion and more...
  93. system, redirecting cout
  94. Design question; container choice...
  95. EHS 1.3.1
  96. Boost Logo Contest Extended
  97. Valgrind says "Invalid read of size 4". What's the problem?
  98. valid names for pre-processor defines
  99. C++ singleton pattern question
  100. Confusing Typedef/Struct, What Does This Do?
  101. is this typedef valid?
  102. Compiling libwww.a from source
  103. T val = ({ semicolon_separated_statements });
  104. Determining whether a macro has been defined
  105. need good IDE
  106. Slow C++?
  107. please let me know where to start?
  108. system() Function
  109. How to declare pointer to functions in structures?
  110. TCP/IP library?
  111. template type
  112. Proper Way to define an ASSERT macro
  113. A 'almost' three liner is killing me...
  114. Compilation Error/Warning - Help
  115. Is there a way to check if an email profile exist?
  116. Laptops, iPods, camcoders etcc....
  117. [Intel Compiler 8.1] C++ calling Fortran Routine
  118. Memory usage/Fragmentation
  119. template/member function puzzle
  120. Info-zip
  121. Clearing multidimensional STL vector
  122. Memory Allocation for Structure / Class
  123. reinterpret cast problem.
  124. how to overload an operator to assert object as boolean value ? (not !())
  125. C/C++ sources compiled with MINGW(DevCPP) as C++
  126. Help with research
  127. static + pointer and reaching the private field of another class
  128. Dereferencing a pointer to an array of pointers to objects
  129. TCP/IP
  130. How Hazardous is the following code
  131. Transfering control when using system()?
  132. Compilation error [sort of OT, qt related]
  133. Do you lose files at work?
  134. Displaying text file into a dialog
  135. template class member function specialization
  136. Iterators - how ?
  137. va_list help, please ...
  138. NULL pointer dereferencing - behaviour
  139. Containers & Allocators
  140. Visual Studio .NET 2003 Interesting Problem
  141. Deleting memory allocated to the derived class
  142. Efficient Logging in C++
  143. order of evaluation
  144. private inheritance from std::string error
  145. !(x>b)
  146. managing objects in std::list
  147. Memory leak...
  148. Special type of singleton needed
  149. CString process '\0' in the middle of string
  150. linkage
  151. Trouble in using std::map and its find member function
  152. again inline
  153. Many differerent problems with seg faults.
  154. Control never returns from malloc()
  155. name collisions in multiple inheritance
  156. method operator+ (try catch)/* Help needed*/
  157. Checkup: better way to test for file existence?
  158. Conversion operators and ambiguity
  159. Useful Forum for Help in General Programming
  160. returning a reference variable to itself
  161. Parser Generator for C++
  162. No compile-time error on modifying string literals
  163. Big and Little Endians
  164. Image getting skewed
  165. Member template function specialization in a template class
  166. Segmentation fault...
  167. Help understanding pointers to classes within containers...
  168. inline keyword and linkage
  169. c++ jsp xml combined ???
  170. link,ge related to long distant friendship
  171. Casting between signed/unsigned pointer types.
  172. malloc creates seg faults?
  173. Reading a tag and writing to std::cout.
  174. memcpy verses memmove
  175. remove() capability in fstream class/templates?
  176. How do I write a function that accepts a 'printf' type parameter?
  177. Gaps in memory
  178. Ultimate++ 0.98.4 released
  179. Opinion on Survey Request
  180. memcpy problem
  181. C++ class
  182. Template specialization for templated and primitive type template parameters
  183. Help with operator overloading of <<
  184. Conversion operators and ambiguity
  185. Help understanding pointers to classes within containers...
  186. Finding template argument of child
  187. convert string to float
  188. Duffers question (revision in MFC)
  189. delete causes crash with character arrays
  190. text-formatting program c++ problem
  191. scoped enum implementation
  192. How to optimize an algorithm for G4/Pentium 4
  193. Question about function objects (a bit lengthy)
  194. What does numeric_limits<>::digits10 represent?
  195. C++ vs C
  196. Java, C# replacing C++ as primary language for desktop development?
  197. std::Vector, classes and pointer questions
  198. A Few C++ Questions
  199. C or C++ as a second language?
  200. Lettura binaria di vector<string>
  201. How to use printf()-like formatting via string/iostream?
  202. Overloaded operators ---- members or friends
  203. Help Required: Operator overloaded function template and Friend
  204. autoscan automake and similar and deprecated standard libraries classes
  205. map of ostringstreams behaves unexpectedly
  206. .NET Event Handling (timers, Mouse movement)
  207. Find pairs that occur in two or more sets
  208. how to contact string in shell script
  209. Backward processing of an array
  210. tictactoe
  211. atoi function
  212. use class member function as a parameter
  213. indipendent output
  214. Restricted friendship
  215. asking for parentprocess
  216. Using Bloodshed DEV C++ a couple Questions?
  217. Confused with friendly operator overloading
  218. Behavior of ifstream::get(char*buffer, streamsize num)
  219. how to add at the end of the linked list
  220. unsigned short array to string
  221. Extending stl::list???
  222. MS Visual C++ 6.0 - character encoding
  223. I need Help
  224. Operator [] overloading
  225. problems with Overloading operators
  226. "Reconstructing" (Calling the constructor again)
  227. diff command?
  228. creating linked list
  229. What is the difference between new() and malloc()?
  230. how to export functions in c/c++ static libray?
  231. Exponential
  232. Why is this code valid C++?
  233. Hi, Python v.s. C++, which is better?
  234. Dos vs Unix style text files
  235. difference between static const and const at the namespace level
  236. Why is the copy ctor called twice here?
  237. Two shared object with same class name
  238. Borland C++ direct fpu commands
  239. Error reading files in ios::binary mode
  240. specifying istream separator sequence
  241. How objects are sharing the member function???
  242. A code fix for MSVC warning C4267 (64-bit compatibility warning, e.g. Boost Spirit)
  243. Named parameter idioms
  244. C++ string global variable
  245. MATRIXES - Dinamic Memory
  246. Getting a function pointer to an instance of a template
  247. passing a 2dimensional array of double to a function...
  248. global objects
  249. Please,help as soon as you can.
  250. Becoming familiar with memory management
  251. const in headers
  252. Another static question
  253. why .hpp?
  254. Dynamic types based on existing template code
  255. call non-const function
  256. un - using namespace?
  257. Sharing code between cases
  258. passing a type to a function?
  259. BSTR and a LPOLESTR
  260. What, if anything, is wrong with the following code fragment?
  261. C++ and C kernel
  262. Object persistence & serailization: patent from Microsoft
  263. 'CString' : undeclared identifier
  264. do I need to specify an = operator for this
  265. Create and modify Ini-files
  266. ## _delete
  267. object arrays
  268. Modifying the value of each element stored in a std::vector.
  269. algorithm for c++(g++) demangling
  270. Disabling base class conversions?
  271. File I/O help
  272. confusion with copy constructor and operator overloading
  273. Plugin Application Request
  274. Correct C++ tutorial part 5 "How to use libraries" available (Windows, mingw/msvc/std)
  275. template specialization of a template class
  276. remove an item in a STL list
  277. const function problem. casting to mutable?
  278. Inheritance and templates
  279. Using vector of references to a template class in the same template class.
  280. [BEGINNER] syntax for constructing class with members and base
  281. hello
  282. converting weird #define to const
  283. Changing Namespace at Runtime
  284. enums
  285. Is this codepiece legal c++? and/or portable?
  286. lower_bound - close, but no cigar
  287. Static build and Oracle OCI problem
  288. STL for_each
  289. printout statements
  290. Random numbers within a sphere?
  291. matlab into c++
  292. template class in DLL (g++/Cygwin)
  293. Access control and nested classes
  294. Run-time type id and Inheritance
  295. win32 apps
  296. References in C++
  297. namespace/static style issue
  298. Learning C++ - resources and ideas
  299. How to retireve a value returned by a Store Procedure with ADO
  300. About c++ license.....
  301. address of static const
  302. references
  303. No identifier required?
  304. Classes with the same functionality but not convertible
  305. Dereferencing adaptor?
  306. Initializing a vector with pointers to elements of another
  307. Working with COM/Serial/Parallel Ports?
  308. curious about typeid().name()
  309. C++ online information
  310. templates vs. virtual methods
  311. Function of ":" in a structure
  312. How to let a function return an array
  313. Problems with for_each and bind1st
  314. Please give me a pointer
  315. OT Exception handling testing
  316. Inheritcance, references, constructors
  317. segmentation fault on private variable
  318. Multiple definitions of a variable in C++ not permitted
  319. Retrieve and update from SQL
  320. An integer type with range checking.
  321. Compliance Checking (C++)
  322. const objects ->const member functions?
  323. Help me to write a programme
  324. problem with pointer to class method
  325. Overloaded typecast operators and copy constructors
  326. Accessing member data from another class with pointers
  327. Inserting a char into a string.
  328. method printing values from a vector not working
  329. time
  330. pointer confusion :(
  331. Compiler error C2664
  332. ofstream problem opening file
  333. storing password for e-mail app
  334. Under what circumstances can the STL move a vector?
  335. enum type
  336. Piping std::cout to a std::ostringstream.
  337. main function not found
  338. getline()
  339. Template Libraries
  340. classes, pointers, vectors, and memory allocation
  341. I need Help please
  342. New Promotion, need advice from experience people who deal with this situation.
  343. Self Assignment check in Copy ctor
  344. Sequence point problem?
  345. sizeof
  346. bug patten in C++
  347. bit of a maths quesiton
  348. Error when entering wrong data type in do-while loop
  349. drop-in replacment for function pointers
  350. Array Lookup [Was: Why is "Hello World" const char* ?]
  351. Simple Program using Arrays
  352. Can basic_string<>::c_str() throw exceptions?
  353. Scope resolution in needed to call a functor maker
  354. ok, I've found it:)
  355. borland builder C++ - wait() ??
  356. Why is "Hello World" const char* ?
  357. Stripping specific bytes of a file without opening the entire file...
  358. FAQ issue: Guaranteed value ranges of fundamental types?
  359. std::string operator< ?
  360. Using Borland C++ Builder under Windows AND Unix?
  361. rotate operators
  362. operator= and implicit type conversion - precedence.
  363. How to Ingore the input of std::cin??
  364. Accessing characters in character array
  365. "no matching function for call to" and templates and old code
  366. Function to convert all of the small letters to the capital?
  367. Display bitmap from array
  368. Function Pointer Question
  369. Your word on notation?
  370. Inheritance and sharing function names
  371. How about C++Test?
  372. error C2666 overloads have similar conversions
  373. g++ default #include's
  374. Exemplers in C++
  375. Trying to convert _btsrt_t to string
  376. static variable problem
  377. Pass array by value
  378. initialization of a struct in a vector
  379. parametre de fonction const
  380. const int NULL = 0
  381. c++ pointers
  382. wrting function using pointers and list
  383. Scheduled task
  384. Help needed!!
  385. Learning C++
  386. Calling member function in ctors and dtors.
  387. SFINAE compilation troubles
  388. Learning pointers in C++
  389. vector and sort problem
  390. GetCommandLineArgs implemention?
  391. question on template
  392. Setting up paper source
  393. unnamed namespace and friend
  394. STL tutorial...
  395. Which is efficient?
  396. Conversion constructors and template arguments.
  397. Filing problem!
  398. Graphic functions for DOS
  399. Large scale C++ software design,
  400. problems with .h files
  401. new site
  402. problem storing user input into string
  403. Filing problem!
  404. callbacks to member functions
  405. Programming Contest
  406. Exceptions and inheritance
  407. Handling Exception
  408. Global vs local streams in a multithreaded app
  409. Endianess...
  410. Easing Decoding of Template Error Messages
  411. Trim Left char tchar[64]
  412. Conditional code
  413. Template argument matching
  414. Explicit declaration
  415. question/clarification: pointer to function as passed parameter
  416. Algebraic Parser
  417. Template argument deduction and conversion operators.
  418. How do I export multiple classes from one library?
  419. infile.rdbuf() for empty file
  420. Variable Exchange Java <-> C++
  421. general arrays reuse-inheritance question
  422. sorting with std::map
  423. question about template
  424. Virtual function and overloading ?
  425. template type problem in msvc. and more
  426. I/O getline: which is a last character - delimiter or EOF?
  427. Need a C++ update
  428. Oring multiple values
  429. Help. Just getting started
  430. way to address objects in for loop
  431. Safe union of std::vectors
  432. Template functions vs. function objects
  433. Reverting to C in C++ Code
  434. return values for void functions
  435. New Scientific Library - Lang?
  436. I/O getline and small buffer
  437. Override virtual function w/ Object (not Reference) return?
  438. istream read not reading everything
  439. why this program is incorrect?
  440. std::copy for overlapping ranges?
  441. Java from C++
  442. Abstract and concrete classes in c++
  443. when overloadind input/output stream operator, why return type??
  444. why it fails
  445. implicit copy assignment operator
  446. multiple precision integers-string to int conversion routines
  447. Two programs accessing the same array
  448. What does 'extern "C++" ' mean?
  449. MS Visual Studio 6.0 compile failure
  450. stack vs heap destruction problem
  451. Vector Help Please!!
  452. Polymorphism
  453. Put Back Functions
  454. strncpy copying beyond max length
  455. STL container of auto_ptr
  456. I am sorry for this...
  457. static object initialization
  458. fast insertion and search - STL
  459. Conversation operator as a lval?
  460. Templates: Come solve this puzzle....
  461. What is affiliate marketing?
  462. listing directories and sub in C++
  463. Distinct keys in the multimap
  464. Java from VC++
  465. Intialisation order and statics
  466. STL in debug mode?
  467. What's the meaning of this sentence, "0;"?
  468. file length...
  469. HPUX, shared library and static member variables
  470. Convert string to binary
  471. Array of pointers makes an error
  472. Elementary question on const
  473. Covariant return types
  474. USB initialization
  475. Catching vector index out of bounds
  476. Linux compiler
  477. C++ Programmers needed
  478. c++ parser
  479. Project: KHTML-based browser for Windows
  480. Problems initializing a dynamically allocated 2D array
  481. Effective STL Item 4 (size() vs. empty())
  482. Foo(300) = Foo(500); Why does a compiler compile that?
  483. What's the difference betwwen explicit instantiaion and explicit specialization?
  484. VC++ project crashes in Windows 9x
  485. another weird unexplained anomaly!
  486. C++ anamaly
  487. Narrow Vs. wide streams
  488. stl c++ & map
  489. Pointer-to-member-function pointing to a member function of an inherited class
  490. Where to obtain a copy of the Standard?
  491. Exemptions?
  492. Why is my const pointer not behaving?
  493. class instances and threads
  494. Memwatch
  495. MFC question - can't bring up same dialog twice
  496. Question on delete [] vs just plain delete
  497. Mathematical Programming
  498. c++ header file
  499. Buttercup
  500. C++ property file
  501. boost::filesystem: Aborted
  502. getting an object's type
  503. Inheritance Question
  504. MFC
  505. Model View Controller - please clarify
  506. Overloading operator+
  507. Reference + initialiser oddity.
  508. Dynamic memory failure reason
  509. STL Question
  510. The C++ sockets library
  511. Simpler C++ Forum for beginer
  512. Linking with Static Libraries (linux)
  513. How to make a library that comples the users to define some function
  514. Iterator problem with templates
  515. question about strings
  516. how to start with templates ??
  517. why char * gets overwritten after some time in execution...
  518. structural inheritance bad?
  519. matrix copy problem
  520. overriding global new
  521. Should resource wrappers auto cleanup on destruct?
  522. Template Type Functions
  523. overriding global new and delete + STL
  524. stl wstring and string.
  525. string::compare
  526. How do I know if a file is using by an application?
  527. Catching class exception
  528. Helper functions
  529. What is an implicit extern "C" declaration?
  530. Array object operator overloading
  531. Method PrintLn (two classes)// need help
  532. Local class instances invalid template argument
  533. Is this (tiny) function portable?
  534. Are Anonymous arrays possible
  535. Is it legal to call functions in the initializer list?
  536. extern functions
  537. How to terminate a telnet session from within your C/C++ program
  538. Declare an array parameter to be const?
  539. class definition forgets values
  540. "typedef" and "enum" problem
  541. C++ won't survive the next 10 years
  542. referencing "this" in a static method
  543. Compiler advice?
  544. Pointer-to-member as template argument
  545. Pointer problem?
  546. reference to pointer of derived class
  547. C++ generic programming question - looking for suggestions (long)
  548. extern functions
  549. Class Pointer Problem
  550. Visual C++.NET Timer problem