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