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