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