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