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