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