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