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. Thread time - strange delays
  2. Writing portable libraries
  3. overloading cout
  4. whatz wrong in std::vector< myclass >::iterator
  5. What is a good setup for cross platform development?
  6. CReBar, Resizing Window
  7. ostringstream clear
  8. Stack operations
  9. graphics and mouse programming.
  10. memcmp() and strcmp()
  11. passing and declaring vectors and matrices?
  12. Question about shifting return values
  13. how to increase heap size for a process
  14. array of char array in headerfile (string list) - some questions
  15. Setting first and second of pair<>
  16. error Message: "only const static integral data members can be initializedinside a class or struct"
  17. I/O std::basic_streambuf put and get areas?
  18. Overloading Operators
  19. Question about inheritance and pointer assignment
  20. Understanding problem with multiple inheritance
  21. why is abs function complaining about double?
  22. Confuse with local char*
  23. install
  24. Having trouble with char*
  25. C++ Meta Programming language
  26. Default behavior on SIGTERM?
  27. problems with chr[]
  28. Preprocessor defines
  29. C is better than C++ for small projects, right?
  30. iterate forward OR reverse
  31. How to deal with a platform-dependent issue.
  32. C++ Standard
  33. Refs. in std::vector, ctor arguments, etc
  34. Unsure what "*this = 0;" does
  35. iostream under Cygwin
  36. C++ teaser: Is this a compiler bug, or is this expected behavior?
  37. Template to catch all functions ?
  38. Restrict template to class type
  39. Memory leak in Vector
  40. clear the screen through program on linux
  41. The New C Standard
  42. clearing contents of ostringstream object
  43. Help with Formatting
  44. How to hide the dialog when execute a dialog based application in VC?
  45. getline and EOF question
  46. map to vector
  47. Pre-Processor code generation
  48. What to name container "flavors"?
  49. Unknown size of Foo in Bar.cpp!
  50. std::string::c_str()
  51. modifying new[]'d objects
  52. Level 4 Warning Question
  53. map to vector conversion inside class
  54. 128 bit number implementation
  55. generic properties from objects
  56. Omitting function default args when no prototype is available?
  57. Kill current c++ programm process
  58. Singleton question
  59. why C++ object can access its data member without via getter function??
  60. check if string contains numeric, and check string length of numeric value
  61. How to serialize a STL vector?
  62. How to solve this gracefully?
  63. C standard library header files in C++
  64. std::string = char* + std::string
  65. A problem with Constructors...
  66. Available C++ Libraries FAQ
  67. static stuff
  68. timers in c++
  69. constant member functions of a class
  70. Alternatives to the C++ Standard Library?
  71. Passing a 2 dimensional array from c++ to fortran
  72. Help: ofstream issues
  73. I need help getting started.............
  74. Going wide and international
  75. Creating Sorting class
  76. Boost / Phoenix
  77. Simple string manip question
  78. When is a base class protected member not visible in a derived class?
  79. Programming Contest: Fit pictures on a page
  80. test
  81. Template pseudo-specialization through compile-time assertions
  82. Templates & Typdefs with g++ v4.0.0
  83. operator with differing return type?
  84. performance/style of memory allocation
  85. Invoking C++ functions in C
  86. Add a method to an STL container?
  87. Question on avoiding page faults
  88. how to use fortran modules in c++
  89. Openssl and DES sample code
  90. How to document ownership?
  91. just want an ipod
  92. references on pointers
  93. How to dump inheritance information of c++ binaries?
  94. VC++ bug or not?
  95. Timeout value on Socket Connect
  96. Inheritance or aggregation in the first variable?
  97. No pshpack1.h in g++?
  98. Touble with passing a reference to vector of vectors of objects
  99. Virtual Function Performace: Say what Stan?
  100. virtual inheritance.
  101. Static variables inside member functions
  102. char ch[] = ""
  103. confusing statement in Deitel book
  104. Is this ambiguous?
  105. C++ wish list and beyond
  106. MS VC++ 6.0 object memory layout
  107. C++ and Tk
  108. Cannot export class symbols
  109. c program, file size limit, how to solve? 2G bytes limit.
  110. c'tor not called?
  111. Is this possible to do in C++ {Novice Programmer}
  112. mem.h doesn't seem to be available in g++
  113. Finding class symbols dynamically
  114. Dealing with dead sockets on a winsock2 sever
  115. bit insertion and extraction
  116. Variable offset and multi inheritance
  117. OSS2005 Proceedings online
  118. Bitfields
  119. Templates, token-pasting, defines and literals...
  120. XML parser
  121. About Efficient c++
  122. Command line EXE is slow, fast in Visual C++ environment
  123. Returning a value and retain the original values
  124. Reading value of a StatusBar (wx) control
  125. multithreaded c++ program gives segmentation fault coredump
  126. Casting class1<class2> to class1<class3 >
  127. How does sampling Profiler work?
  128. float
  129. template static data member definition
  130. char * convert to LPCWSTR
  131. (VC7) Basic Object Const/Dest question
  132. How to write a program which can support plugin
  133. virtual function
  134. Enum range
  135. please help - seg fault in std::set
  136. overloading ->
  137. const function
  138. STL and linked lists
  139. Template problems in Visual C++ 6
  140. C++ objects that act like Java/C# objects.
  141. HELP: unfamiliar C++ syntax
  142. Open default mail client
  143. Hyperlinked C++ BNF Grammar
  144. HELP: cpu load graph plotting program
  145. using fortran modules in c++
  146. strings stl
  147. Replacing Strings Binary
  148. singleton with multithreading
  149. catch with no return value....
  150. g++: Creating DLL from .a files
  151. HI
  152. Empty classes, default ctors and const objects?
  153. Little Patch Program in C++
  154. template <typename T> struct polymorphic : public T ???
  155. Question to FAQ 35.12
  156. Forward declaration & incomplete template type
  157. Include Problem
  158. VC++.NET 2003 - halp - string
  159. i need advice
  160. check derivations of pointer types (without dynamic_cast!)
  161. Strange dynamic_cast problem
  162. computing limit of basic data types ?
  163. static member initialization
  164. Static member initialization
  165. Exception handling and heap corruption
  166. undefined reference to main and other functions
  167. enum creates undeclared identifier (only sometimes?)
  168. Using Function
  169. member function reference when extending an STL class
  170. Bridge application: Best connectivity solution
  171. Problems compiling simple C++ code (also problems with std::string)
  172. is STL multimap "find" order stable?
  173. Case Sensitivity in Windows 2000 Filenames?
  174. No buffered I/O in the Standard Library?
  175. MFC
  176. How to overload operator= to have both deep copy and shallow copy semantics
  177. Time typedef structure
  178. Necessity of pure virtual destructor?
  179. set begin() retrieved the minimum element?
  180. The design of C++0x
  181. Style: use of member references in derived classes?
  182. parse error in gcc but success in vc.net, call a non_template class's template member function from a template class's member function!
  183. COM Objects and mutex
  184. Reporting formatted input operations that fail
  185. Casting to void*, result unexpected.
  186. C Plus
  187. this->(i,j) doesnt work but this->_ij_val(i,j) does
  188. Difference between using function overloading and function templates
  189. C++'s interface with the Real World
  190. Passing ellipsis to C
  191. DOS window stays open when executing from a batch file
  192. usb to serial adapter problem
  193. bvh hell
  194. simple memory allocation question
  195. Linking Error, 3DS Max Exporter
  196. setting default value for a parameter of a class member function
  197. memory leakage in c++
  198. list of all windows from taskbar
  199. Precidents, Precision, or Plain Screwed Up?
  200. We could omit curly brackets in function declaration?
  201. Destructor call at overwrite?
  202. Initializing static const members with gcc 4
  203. fasteste way to fill a structure.
  204. GUI
  205. Illogical std::vector size?
  206. Creating an Object in a C function
  207. Overloading/Overriding ?
  208. array of TCheckBox - is it possiible?
  209. recording massive data stream
  210. null FILE* pointers
  211. Listing all variables of a source code
  212. Using strtok, need to insert null into vector
  213. "delete this" question
  214. warning: namespaces are mostly broken in this version of g++
  215. help with the project
  216. self initialization (??)
  217. Looking for some serious C++ development ?
  218. C++ ActiveX python javascript communication trouble.
  219. explode a DVD VOB with c++
  220. template default parameters?
  221. C++ and DVD VOB explode
  222. smallest positive double number
  223. Regardng algo book
  224. STL vector memory leaks
  225. Question about virtual inheritance
  226. map::erase
  227. extern "C" nests suspiciously
  228. setting default value for template parameter list
  229. Running exe file?
  230. unicode std::string
  231. Unable to write to memory error
  232. pointer to a class
  233. Access a list of vectors
  234. Temporary objects as arguments to constructor calls
  235. FAQ (somewhat OT)
  236. My New C++ Project
  237. Memory and pointers
  238. C++ can do it for me?
  239. #import ???
  240. Deconstructor fails to clear everything
  241. derived class constructors
  242. trz e...ferttr. erwwrw..wewwrw..frrwererwe.
  243. "dynamic_cast" with instance of an abstract class ?!?
  244. parsing floats out of alphanumeric strings using strtok
  245. static member constness
  246. getters and setters
  247. Template problem
  248. Converting Visual Studio C++ to G++
  249. why fopen( ) can't open a big data file? (single file, as big as 29G)
  250. Does this exist?
  251. Webserver with VC++
  252. could ptr->() and ptr->[] be implemented in C++0X?
  253. Inheritance of overloaded functions
  254. declaration of `const AreaSet &CObeyFile::AreaSet () Declaration of "const A &B::A() const" changes meaning of A from "class A"
  255. Problems with inserting into map
  256. How can I know size of avaible memory in heap?
  257. Memory overwritten with structures
  258. template function with default parameter value
  259. x-platform binary IO of floating points
  260. Is this legal in Standard C++ ?
  261. Borland incompatibility... I think
  262. Template specializations
  263. How to define friend template function?
  264. Creation of temporary objects in loop
  265. I don't get it
  266. UML - modeling recursive functions with state diagrams
  267. file opening errors
  268. Removing dead code and unused functions
  269. Help??
  270. Help??
  271. CD AUDIO
  272. [STL] Segmentation fault on using std::sort
  273. a functions that returns an array
  274. Is this an OO concept?
  275. STL sort compare function problem
  276. in-place new allocations
  277. Getting text from a textbox without MFC
  278. opening files in a loop
  279. q: Pointer vs Reference question
  280. Exception in destructor?
  281. QMimeSourceFactory overwrite data()
  282. Can I create a map<string, ofstream> object to hold ofstreams by key value?
  283. Overloading a virtual function with non-virtual: no-go?
  284. undefined refrence
  285. XML Library
  286. Structures
  287. static and dynamic C runtime libraries?
  288. Problems with EM_GETLINE for RichEdit
  289. Implicit Typename Deprecated?
  290. How to use Templates to return different types
  291. why this works?
  292. Templates and pasring
  293. Any authoritative discussion on smart pointers?
  294. C++ way of strtol
  295. typeid(T).nameOfTheBeast()
  296. read memory address
  297. How to replace many substrings?
  298. unsure where to post it os related
  299. incompatibility of argument with prototype
  300. UML and Class Template
  301. ARM endianess?
  302. weird segmentation fault in linux
  303. constructor
  304. Template parameters in constructor
  305. How to deal with time in C ?
  306. Namespaces and shared libraries
  307. fixed point math testing?
  308. stl question
  309. "Overloaded" method vanished
  310. mutex problem
  311. PLEASE HELP !! Why does extern "C" not work for gcc 3.2.3
  312. Timer thread
  313. stringstream used to convert int to string does work only once?
  314. PLEASE HELP !! Link errors
  315. Is this defined?
  316. Opening files in "exclusive mode"?
  317. question about templates
  318. default params to clsas member functions
  319. Putting alternate versions of typecasts in your code.
  320. Does assignment operator have to behave exactly like copy constructor
  321. Submitting HTML parameters to activeX control
  322. Databank for hearing aids
  323. pure virtual class
  324. Cross Platform Plug-in architecture and IPC
  325. pointers for derived and base class
  326. Transferring vector content
  327. Controlling number of instances of a program (Cross platform)
  328. Stuctures of variable length
  329. C++ Lists
  330. Folder Autocreation
  331. ptr in collection item
  332. Referencecounted object vs. referencecounted handles
  333. C++ string class tokenizer method?
  334. Overloading in subclass
  335. templates & polymorphic classes
  336. Strange Problem
  337. [Q] Virtual destructors and linking
  338. i++ , or ++i, which is faster?
  339. about the safety of auto_ptr<class T>
  340. using a c++ interpreter as a macro system
  341. Copy file.
  342. filestream problem
  343. Virtual Functions
  344. Singleton class with static member variables
  345. Problem with compiling c++ sources for windows
  346. new keywords for (C++)++
  347. Tool which expands implicitly inline inline functions
  348. Operator Overinding
  349. Rename a file using the standard C++ library?
  350. which data structure can I use?
  351. Want workaround for msvc compiler (VC++ 6.0).
  352. what diffierent between ios_base and ios ?
  353. C++ logging
  354. Problems in Visual Studio .net Editor
  355. STL set and its iterator.
  356. comparing multiple values...
  357. #include <boost/intrusive_ptr.hpp>
  358. Curious template behavior, g++ and xlC and icpc
  359. searching 2. disk of Borland C++ 3.1
  360. Suche 2. Diskette zu Borland C++ 3.1
  361. Can't Convert BYTE to WORD?
  362. [winapi][command at]
  363. C/C++ linkage issues
  364. is it safe to point to an element in a dynamically allocated array?
  365. Problem with compiling c++ sources for windows
  366. Memory leak with new / delete
  367. std::getline weird problem
  368. Data type of numers typed into code...
  369. Link question
  370. How to calculate size() from iterators
  371. A Surprising Partial Specialization
  372. strsep() function Problem, please help
  373. Some interview questions
  374. Well, I'd like some opinions on my code
  375. Little Endian to Big Endian for 32 bit
  376. Full specialization of template member function
  377. retrieve an exception while parsing special characters
  378. Strange infinite looping
  379. mystery about global object functions?
  380. Can I program the Matrix in C++ ???
  381. Little Endian to Big Endian
  382. undefined outcome
  383. std::map<int, std::string[2]> problems
  384. Posting to the moderated group
  385. Design Problem...Factory or not
  386. Designing better structures for animation tool
  387. Private static
  388. UI for C++ application?
  389. segmentation fault at destruction of stl vector
  390. Virtual Function
  391. overload new , size is strange
  392. Password change in C++
  393. Using a struct in a vector.
  394. what virtual functions?!
  395. why virtual base dtor gets called?
  396. Overloading operators using templates...
  397. question on template template parameters
  398. Type promotion rules?
  399. Does omitting the "signed" keyword change semantics?
  400. How to run a shell command from a c++ code?
  401. Method pointers / callbacks
  402. Modifying the contents of a file
  403. find() question
  404. standard library manual
  405. Storing different types in container
  406. Installing MinGw
  407. Picking out integers from a binary character string
  408. Test yourself for Performance
  409. Survey: What IDEs do people use?
  410. C++ STL vector, sort questions
  411. C++ for windows specific code
  412. Looking for STL benchmark code
  413. question about 2d matrix and pointer in the function definition
  414. Reading unsigned values from string streams.
  415. initialising a vector
  416. Initial value generator
  417. VC6 recursive template enum definition
  418. STL conatainer with a comparison function, what is the standard?
  419. File and directory navigation in C++
  420. File length for fstreams
  421. [C++] String Tokenizer with Delimiter {Novice Programmer}
  422. Question regarding class inheritance
  423. Inheritance question
  424. Making a class that accepts a user-defined STL coparison function
  425. Problems with C and C++
  426. Memory allocation using New
  427. Why and when Template Metaprogramming
  428. Class template and static member function
  429. Bjarne Stroustrup says
  430. Calling all C++Builder programmers your articles/tips wanted
  431. subclass initialization
  432. wchar vs std::string
  433. something like kbhit
  434. extern "C" linker error ---- please explain
  435. which are the operators that can be overloaded ??
  436. Question about C/C++ struct memory layout compatibility
  437. What do they call this kind of constructor?
  438. VC++ 6.0 / 7.0 compilation difference ?
  439. Question about a command..
  440. private virtual
  441. Detecting ostream manipulators
  442. why overload operator as friend ?
  443. how to catch uncaught exception
  444. Read text file into std::string.
  445. C++ Programming Style Guidelines
  446. Why Can I Modify A const std::vector& ???
  447. std::cout and NULL character pointer
  448. Need speed increase while reading large chunk of data.
  449. controling allocated resources
  450. [q]operator & (getting address)
  451. [C++] Segmentation Fault {C++ Novice Programmer}
  452. function pointer
  453. Unique elements problem
  454. Info on Static Variables Needed by SHIKHAR
  455. Design Woes.....
  456. inheritance
  457. How to replace underscore with space in std::string
  458. Unicode in C++
  459. Strings and refs, need comments on code
  460. Template function specialization/overloading
  461. Inheritance question
  462. ARRAYS
  463. Strings vs char* and strcpy()
  464. double or float error
  465. URI manipulation library?
  466. howto generate and show vcl components onto Form at runtime?
  467. static_cast<unsigned>
  468. create an object into a specific address
  469. Code Snippets
  470. c style casting
  471. Multi-Dimension Array Question
  472. About the third parameter of std::sort in VC6.
  473. rvalues and constant reference to a pointer ?
  474. Alternative to Transport Variables
  475. How to get wireless signal strength?
  476. Compiler not recognizing myArray[0];
  477. Virtual Destructors and array of objects
  478. Segmentation fault
  479. passing large arrays to functions
  480. operator overloading and inheritance help
  481. Type for string index
  482. I want to get into software development and need HELP!
  483. RichEdit hook using visual c++
  484. C++ FAQ
  485. iterate over the files of a directory
  486. Strange Exception Specification Behaviour
  487. std::cerr
  488. Strange problem about static data
  489. default typedefs initlisation
  490. How Dare Could America Industrial Property Office Be In Conspiracy With Jungang International Patent Office To Make An Extravagant International Crime ?
  491. What is callback function
  492. Software developers in Adelaide SA
  493. Can I give C++ code base from CVS to Doxygen for web interface?
  494. How to start if i wanna make a 2d game?
  495. How to speed up ftell()/fseek()
  496. sqlcxt crash
  497. Calling all C++Builder programmers your articles/tips wanted
  498. Calling all C++Builder programmers your articles/tips wanted
  499. factory instance question
  500. Callback functions problem
  501. C++BuilderX 1.5 Mobile
  502. pointer be changed strangely
  503. Design Problem: "Smart Paramaters"
  504. Better template error reporting
  505. pointer be changed strangely
  506. Interview questions
  507. What does % really do?
  508. Inline member functions
  509. When to use exceptions
  510. question about OO.
  511. boost/lambda and structures
  512. Endianness and streams
  513. Templates and copy constructor
  514. polymorphism
  515. scope resolution operator
  516. virtual
  517. New with 3 Questions
  518. Sending commands to a Telnet program
  519. How can I create simple applications for Windows?
  520. Operator overloading wierdness
  521. Working with vectors
  522. When static_cast should be used?
  523. using list in cpp with BOOST
  524. How to use stream with enum?
  525. charting
  526. operator overloading and destructor problem
  527. Incomplete types, "Cons" lists, inner classes
  528. Input should allow only alphabetical letters, regardless of case
  529. Simple c++ program linker error
  530. DLLs
  531. Data structure for Counter frequence of Pairs
  532. Announcing RPSL: a GNU autotools-based build system
  533. How to read this kind of file?
  534. Indexing large data
  535. What is the return value of this function
  536. Future of unmanaged C++ ?
  537. Structure layout
  538. HASH_MAP
  539. C++ value class that preserves and simplifies radicals?
  540. Comeau compiler
  541. using BOOST with C++
  542. How to make the operator < ( ) work ?
  543. Q: Exceptions and when to use them
  544. Regarding FAQ 36.8: populating the map automatically
  545. difference between a structure and a class
  546. Obj* ptr = new Obj(X)
  547. Endianness
  548. How to create Form without parent in Builder C++?
  549. map::insert gives compile error when copy constructor is added.
  550. C++ in depth