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. Destructors of Derived classes
  2. Can ANYTHING be inserted into STL vector?
  3. [C++] Timer WHILE waiting for input
  4. Multiple inheritance performance hit
  5. Ctor/Dtor order
  6. C++ linkage problems
  7. lower_bound
  8. Simple Template Question
  9. simple ? repost
  10. Problem with streambuf
  11. Reading and Writing GIF files
  12. Extremely Simple Question
  13. extremely simple question
  14. infile.get(x)
  15. virtual base classes and constructor calls
  16. vectors stl with pointers
  17. callback method
  18. 'inline' during declaration & definition
  19. static allocation
  20. BST & recursion
  21. help on project
  22. new not throwing bad_alloc
  23. dynamic_cast and references
  24. Execution
  25. float to string object in c++, help and discussion...
  26. Compiler's use of function parameters as temporaries
  27. containers of arrays?
  28. Is 'delete [] NULL ;' safe ?
  29. reading a mixed file
  30. Difference in mangling
  31. Class Templates
  32. outline
  33. File cannot open with ofstream constructor !
  34. about "export" keyword
  35. Objects, Pointers and References
  36. mix mode file reading/writing?
  37. std::uppercase & gcc
  38. Possible to use varags with member-function pointers?
  39. More instantiation and ctor call
  40. 3D Array
  41. return value of Iterator in a list??
  42. runtime performance impact of template usage
  43. Overloading + Operator
  44. Ending Function on Error then Continue in main()
  45. srand() question
  46. CPP with dynamic lib
  47. OOP and inline asm in VC++ 6
  48. Comp.Object FAQ - Version II Beta - Latest Object Oriented Resource - Please Participate!
  49. sgi rope experiences?
  50. Visual Studio Help
  51. Ant-contrib-0.3.jar sample and code does not work in harmony
  52. string-class
  53. order of initialization
  54. STL & reducing code bloat
  55. setting buffer size for fstream
  56. Strange Results with Overloaded Operators
  57. Creating c++ shared object library on Solaris
  58. Overloading by return type and a parameter value
  59. Need delays in display
  60. Help! Strange problem with pointer to vector
  61. odd behavior in STL
  62. Problem Linking Simple App
  63. Question about type conversion and casting
  64. New C++ Book - C++ For Artists: The Art. Philosophy, And Science Of Object-Oriented Programming
  65. How to erase node from deque?
  66. Oddity with pointer initializer
  67. Vectors: not worthless? (out of curiosity)
  68. ? Why c_str() ?
  69. Static function-vars and the compiler
  70. exercise problem -- not homework
  71. reading data from text file
  72. Instantiation of an Object only thru "new Operator"
  73. gnu souce code
  74. conceptual issue: using exceptions
  75. Passing a pointer to member function as a parameter to another member function
  76. Beginner probs with fstream
  77. Overloaded Operators Problems
  78. ifstream.read manual
  79. Inheritance with specialized members
  80. Type name expected: Errors
  81. Event in C++
  82. Sybase CT-library
  83. New to programming/C++ & looking for good information sources.
  84. Password for c++ files
  85. Is it safe to return "char*" from functions?
  86. C++ & 16-bit library
  87. ]bd ܤ ]bd
  88. DQueue
  89. Urgent:Is int an object
  90. OO classes design question
  91. A missing include file is a constraint violation.
  92. Why do I keep getting streamb.cpp error?
  93. Arrays of Variable Sizes
  94. passing around iostreams
  95. Style question involving inheritance
  96. Map Iterator is wrapped for keys and values - compiler error
  97. understanding function object
  98. Beginner Question--rand( )
  99. Forcing exception handling
  100. protected access
  101. C++ linking problem, mismatched ABI
  102. My_CSockets::OnReceive(int nErrorCode){ delete this;} /* stupid or smart? */
  103. string resize problem
  104. C++ callback function passed to a C program
  105. Include file minimization
  106. debug log infrustructure for a library
  107. Get/set value to members of a struct/class on fly
  108. keyboard, mouse and Win98
  109. string again
  110. Get/set value to members of a struct/class on fly
  111. VCOMM
  112. Should an object that totally encapsulates functionality have a "Run" function?
  113. Get/set value to members of a struct/class on fly
  114. intalling xerces
  115. Failure of new
  116. [Help] How to read this core?
  117. "illegal operand" error
  118. About wild pointer
  119. vector.reserve
  120. Get/set value to members of a struct/class on fly
  121. Binary file I/O
  122. getting keys out of a map
  123. Problem with templates and Dll export
  124. why is map::begin() returning const_iterator?
  125. Function size...
  126. Function size...
  127. namespace and operator==
  128. namespaces and forward declarations
  129. OO Design question: How to pass around very common classes
  130. template overloading / nested class
  131. write to debug window?
  132. isConst - help
  133. Constructors and class members
  134. C++ and cellular communication
  135. static object created via private ctor
  136. Invoking instance before main and memory allocation for static member
  137. Help me about Header Files
  138. Unnamed "Formal Parameter"
  139. SetDlgItemText() Error
  140. STLPort question
  141. How can I change all TCP/IP para from VC++
  142. Writing Compile-time Independent Code
  143. Q: how to get the error from fstream <<
  144. Best structure for this container class?
  145. Please explain why ?
  146. maintaining a build# with preprocessor
  147. isConst - Loki
  148. Question about ctime
  149. va_start and template functions do not compile under gcc 2.7.2
  150. TCP Connection with C++
  151. changing datatypes
  152. object member variables.
  153. Kdevelop c/c++ mix
  154. object member variables.
  155. Shutting down Windows 2K +
  156. array of vector!
  157. access to private function.
  158. vector question
  159. New to C++ on Linux
  160. I am confused with VTable ;-)
  161. Sub Linked List
  162. checking for printable characters
  163. checking for printable characters
  164. Proper use of static variables?
  165. streambuf::underflow() infinite loop
  166. Smart pointers - passing 'this' around
  167. gcc 3.3.1 compiling - object required
  168. Ms-Dos C++ compiler and good editor
  169. creating instance of a dialog
  170. are // comments legal at the ends of preprocessor lines?
  171. Templates and descendant classes
  172. Do I need to check for NULL before delete p?
  173. compile Bjarne Stoustrup's Matrix example under MS Visual C++ 6.0
  174. tolower used by transform
  175. Console Application / NCurses
  176. Does this allocate memory?
  177. porting Tcl/Tk gui for VisualC++
  178. "theory vs practice" ceases power
  179. linux tcp/ip: How to reverse resolve a hostname from an ip address?
  180. Linux Console Applications / NCurses
  181. correpted stack
  182. Linux Console Applications / NCurses
  183. create movie
  184. return from signal
  185. Visual Studio 6 on Win XP ...?
  186. overload new and delete for performance? (design)
  187. Backgroundprocess in C++
  188. Names namespace inside a .C file
  189. Pointer question
  190. Test routines
  191. Why is CString not preferred
  192. Can we have private constructors and destructors
  193. help on opening files in c++
  194. 32 bit vs. 64 bit systems
  195. memory usage question
  196. usage of rand()
  197. Initialised class member objects
  198. how do i get to the system in C++?
  199. Newb: Pointers, Refs, & Arrays
  200. Basic C++ design ..how to store text string constant
  201. Mapi Logon problem
  202. [help] const_cast
  203. protected inheritance modifier
  204. Can you compile this code for me please?
  205. Class Question
  206. constructor taking arguments
  207. how to catch the Arithmetic exception?
  208. Practical limit on size of class
  209. Troll Alert: Operator overloading a mistake?
  210. Setting a String to NULL in C++?
  211. Generate invalid float
  212. const and virtual usage
  213. Grantig friend status to template
  214. Date
  215. help with gcc 3.1 error message
  216. Converting an integer to a string.
  217. Explicit ctor/dtor calls
  218. What is the difference between "Borland C++" and "Turbo C++"?
  219. multiple processes
  220. linearly separable
  221. std::swap and exceptions
  222. public base class
  223. How to get web pages?
  224. Where could I find *.h ?
  225. Recursive delete problems
  226. Understanding Typecasting in C++
  227. Using time in C++ application?
  228. Switching on strings...
  229. delete, polymorphism, and multiple inheritence
  230. Cant understand this one
  231. Linking problem after porting to Mac OSX (_compress/_uncompress)
  232. STL information
  233. C and C++ - The Difference Please?
  234. C'tors and d'tors in templates?
  235. Template problem no. 2
  236. Template problem
  237. Howto: Class member function as callback function for dialog box
  238. Optimisation problems when mixing asm with C++
  239. void* used in arithmetics
  240. delete() confusion!
  241. Bitwise Operators
  242. C++ IDE recommendations? Pu239, Dev-C++, Chimera, Builder, vc++?
  243. Scene Management
  244. "delay" function
  245. std::string and char pointers
  246. returning vector reference
  247. Function Pointers
  248. Interaction between C and C++
  249. Another Question
  250. Stream Q
  251. Looking for a comm prog
  252. how to import a variable across files
  253. Invoking a function before execution of main()
  254. Formatted IO
  255. Flex source for parsing files with multiline comments
  256. MDI mit CView und CEditView (VC++6.0/MFC)
  257. overloding and const specifier
  258. Read an Hexa file
  259. structuring off-topicity
  260. How to change the the value which is pointed by a char pointer by a function?
  261. URGENTE Buon libro C++ in italiano
  262. vector<>.rbegin()
  263. about the mud
  264. Find the recorder drive letter
  265. single object across processes
  266. Size of classed with virtual functions
  267. Integer value wraparound -- what does the C++ standard say?
  268. const static linking problem
  269. Please help with STL
  270. [Rookie] Date-Function, calling external files
  271. window Title Bar
  272. Optimizing for Space and Time in Visual C++
  273. creating static array
  274. Development environment for c++ on Solaris or Linux
  275. object-oriented issue - when to use classes
  276. Hi im going to make a "time counter" from hours to hours and a loggfile export system
  277. bitset
  278. Accepting text from keyboard without displaying it on screen.
  279. DWORD date value
  280. Java vs C++
  281. Sending keystrokes to QT applications
  282. Why Are sring.assign & string.replace Behaving Abnormally?
  283. function definition problem
  284. Problem with seekg ?
  285. HELP
  286. Interfaces, multiple inheritence, and ambiguous access
  287. template class derived from non-template base class
  288. istream >> simple question
  289. Which Sun C++ compiler has the fix for std::basic_ios::copyfmt() warnings ?
  290. Wierd smart talkin'
  291. var coding with 10bits
  292. any references for c++
  293. Question about fwrite() function
  294. Weird thing with fstream
  295. Q: STL vector
  296. seconds to date
  297. friends, private, break of encapsulation?
  298. its delete[]
  299. Function call sequence
  300. Removing Binary Tree Node!
  301. dereferencing char array as int array
  302. linkage of class member functions
  303. auto_ptr to char[ size_t]?
  304. Should I learn C++ or Java now?
  305. asdf
  306. handling / resizing images (jgp, gif...) in vcpp 6.0
  307. Computer buying help
  308. Passing the value by reference is same as pointer by reference
  309. How can I improve streams performance?
  310. [vc] blocking unwanted hot keys
  311. Partial Specialization workaround
  312. help: ofstream doesn't always create files?
  313. Using Qt for possible multiplatform program???
  314. anyone who has Converted COBOL program to C/C++(mainframe)
  315. new literal && optimization
  316. Detection No of Applications running...
  317. Can I append text to a file?
  318. signal()
  319. fstream problem
  320. What is wrong with the "for" loop?
  321. replacement for <ctime>?
  322. Exception Handling
  323. ios::openmode
  324. Function prototype with optional parameters?
  325. Includefiles with initialised variables?
  326. is it a bug in gcc2.3.2?
  327. C++ manual on internet
  328. fstream.open( name, mode) fails
  329. vector of fstream
  330. Different types of object in a single list?
  331. reading .raw files (windows-linux)
  332. why I don't use references
  333. Efficiency
  334. Looking for memory pool library
  335. how to empty a stringstream?
  336. maps that don't insert default items
  337. const static member functions
  338. Virtual Destructors????
  339. Portably Selecting an Integer Type of a Specific Size?
  340. 2d Graphics in C++
  341. borland C++ VERSIONINFO error
  342. Design question for a C++ application which reads a binary file (IPM format)
  343. STL and over 2GB memory
  344. compound assignment operator
  345. Short question
  346. Multi Edit
  347. Visual C++
  348. Projects
  349. array's
  350. how to delete a file
  351. Iterator doubts, Decision on Iterator usage
  352. compilation error
  353. Double Quotes in C++?
  354. Dynamically created structures ???
  355. arrays of objects
  356. % operator -- did Python or C++/boost come first?
  357. constant member functions
  358. I have problem with the string precompiller
  359. compile error - operator overloading
  360. Error while porting a Program from SOlaris to Linux
  361. Why casting necessary?
  362. Help finding C++ resources with Tandem/NSK
  363. Template virtual member method is not allowed. How to bypass that?
  364. displaying image in CScrollBarView
  365. Calling copy constructor on void *
  366. virtual inheritance / dreaded diamond problem
  367. how can this be implement?
  368. How to access operator from base class?
  369. An allocated variable returning by a fuction is unallocated automatically ?
  370. copy constructor for classes that allocate resources..
  371. unformatted i/o
  372. How to do it: Pointer to Reference?
  373. compile error :(
  374. new form
  375. Typedef of a template?
  376. Example of a user-defined forward iterator?
  377. dynamic_cast<>
  378. static_cast<>
  379. Pushback
  380. Homework Help Due MON
  381. Need Help On Homework
  382. function square
  383. Truth Table help
  384. stdin stderr
  385. Where where where?!
  386. ios and other
  387. copy_constructor doesnt get called ... why ?
  388. Overloading operator []
  389. Show same text in different DC
  390. Memory leak in std::string
  391. auto_ptr
  392. Core dumping at push_back for a vector (On Linux and HP)
  393. problem with array..help
  394. What is this supposed to do?
  395. spot the bug
  396. a pair of questions
  397. Press any key
  398. syntax problem
  399. destructors for statically declared objects
  400. relative precedence of ?: and assignment
  401. library file vcl.h
  402. combo box help
  403. wchar_t wstring char string transformations
  404. Simple question about nested execution of constructors
  405. Is there any function in STL to get the equivalence of two sets?
  406. delete on delete !
  407. Allocating istringstream objects
  408. CAN ANY ONE HELP ME IN BUILDING SELF-PROGRAMING PROGRAMS?
  409. "memory leaks" in std::vector container?
  410. Confusion over including header files...Can you give me a quick hand?
  411. #if !defined() vs #ifndef
  412. Stringstreams and CStrings
  413. Connecting to a proccess through a port using C++
  414. Help finding a C++ programmer
  415. Can Visual c++ Studio be used to program Sound Blaster?
  416. ascii function?
  417. FlushConsoleInputBuffer AND logic check
  418. int to char[]: What's the reciprocal of std::atoi?
  419. STL list.size() operation - O(1) or O(n) ?
  420. list container question
  421. Problem with cin.getline();
  422. how to static_cast<MyClass* &>(p) ???
  423. Vector and ownership
  424. left shift then right shift an unsigned int
  425. Problem with linking in Borland Builder C++ 5
  426. Why can't '='(Assignment) operator be overloaded as friend function ?
  427. ifstream getline() problem
  428. endian
  429. Help with vectors
  430. Disable finstrument-functions option for included file
  431. VC++ - Capture and Show of an Image.
  432. template with static member
  433. Constructor Question
  434. writes to files passed as struct of ofstream objects fail
  435. How to use pthread_alloc
  436. FS: C++ Book & Disk
  437. Unsigned/Signed Mismatch
  438. C++ Beginner
  439. did any body know how to cross include head files?
  440. friend template function with multiple types
  441. Encrypt/Decrypt
  442. HTML
  443. site recommendations for C#.Net?
  444. variable length arguments
  445. Error: 'undefined reference' in g++ but gcc succeeded
  446. is this safe?
  447. Prototypes for functions with default arguments
  448. Overloading comma to give a concatenation operator: various problems
  449. Is there any difference? (about unary_function<>)
  450. IDispatch Invoke with VARIANT array
  451. Too many variables a problem?
  452. CLARIFICATION - Variable Declaration & Memory
  453. no ABC's in STL containers..
  454. vector of ostringstream
  455. Embedded product development and C/C++/Java
  456. visual studio question
  457. questions.open("help.me"
  458. SNTP protocol integrity in timelist system
  459. Truth Table
  460. Games
  461. Beginner questions to C++
  462. clearing a priority_queue
  463. template typedef as return type
  464. Generating a char* from a linked list of linked lists
  465. default parameters and inheritance
  466. new and delete, please help
  467. is it possible to get index of object in map ? (linux, gcc)
  468. MSVC 6.0 -- LNK1179(duplicate comdat) problem
  469. Problem with QT / Threads / Signals / Slots
  470. class inheritance and compilation problem. Linux RH6.2. g++
  471. generating infinit doubles
  472. Control two data sections
  473. GNU Common C++ Library
  474. Need help with OO design problem
  475. misunderstanding of 'static' behavior?
  476. destructor for vector
  477. Fixed sized output
  478. cast in C++
  479. D
  480. Trying to tokenize a string
  481. Templates
  482. "compile" problem
  483. socket problem
  484. Profiling multithreaded C++ code
  485. pointer to member / strange construction
  486. Question about Memory Pool Example in C++ Faq
  487. Return type autodetection in templates
  488. Allocation of memory for arrays, hoe does it work?
  489. compilation dependencies ..
  490. Help with Sorting Order, Please
  491. Any code on anti pop-ups/adds?
  492. enum constant members
  493. Searching text files
  494. Deep copy problems
  495. template instance in shared library on sun 5.7
  496. RFD: comp.std.csharp
  497. copy map to a list
  498. Alternate way to initialise static object.
  499. #define
  500. catching exceptions
  501. read a grayscale bitmap in C++
  502. lvalue with increment operators
  503. virtual dtors and multi inheritance
  504. 3D GUI for linux (need developers)
  505. ifstream([directory])
  506. template function
  507. parse error before `>' token
  508. Checking for "key pressed" in C++?
  509. enum !
  510. Saving a binary file help.
  511. Repost: An UML CASE Tool (OODesigner)
  512. group would be best to best learn about register/prm counteretc
  513. Can any body explain the output of following code
  514. Loop unrolling question. Does this make sense?
  515. reinterpret_cast - to interpret double as long
  516. Base32 Encoding
  517. Pointers *&
  518. C++ a good language?
  519. Formatting Excell doc from within MFC app
  520. GCC Manual
  521. Exception safety in the STL
  522. Loading classes from DLL
  523. Exception types thrown by delete?
  524. int to *char
  525. standard library algorithms
  526. Vector of Arrays in C++
  527. Check NGs:
  528. VC++ capabilities and advice...
  529. Proper Way to catch exception thrown by new keyword
  530. variable num args via 'va_arg'
  531. char s[] = "asdf" and extern char *s in separate files
  532. Will delete operator throw any exception?
  533. templates and friends
  534. Linker Errors
  535. map question
  536. Question about Windows GUI
  537. std::bitset construction with std::string question
  538. Concatenation
  539. Linking Problem
  540. Concatenate
  541. could you tell me what it means
  542. iterator / returning reference to local temporary
  543. encapsulate C callback function into a C++ class
  544. Is it STL thread-safe?
  545. declspec
  546. deleting list objects
  547. what is there to know about compiling?
  548. what are the major scientific libraries?
  549. looking for SNMP library for pocketPC/winCE
  550. looking for SNMP library for PocketPC/WinCE