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