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