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. Need help with Visual C++ error message
  2. VC++ vs C++
  3. creating STL-like iterators
  4. reserve with std::priority_queue
  5. Request for code review
  6. integer types
  7. how to implement a remove_if predicate with iterators vector
  8. disabling RTTI
  9. DLL Definition files
  10. Vector question
  11. erase elements while iterating on a map
  12. Global namespace pollution
  13. Please help on 3 questions
  14. Help with Visual C++.NET
  15. Strange Linker Error
  16. template inheritance and the output operator
  17. pointer to function. why doesn't this compiler
  18. Searching: Extendible Hashing Algorithm (OOP)
  19. Allocator probmels
  20. What do other's make of this code?
  21. dll troubles
  22. sterling commerce = white supremacy
  23. float/double equality in template definition without rtti
  24. Commenting out debug code
  25. how to enable highlight function?
  26. need an efficient data structure
  27. read fixed width numbers from stringstream
  28. std::map performance
  29. Inheritance problem ...whats next?
  30. macro magic: include a while loop and return result?
  31. Design Patterns for C++ Object Serialization/Deserialization?
  32. Explicit function vs. overloaded operator?
  33. C++ Fortran mixed programming
  34. type of sizeof
  35. shifting bits, shift 32 bits on 32 bit int
  36. what does default operator= do?
  37. compiling socket client and server on cygwin
  38. documenting exceptions
  39. c++ linker error, please help!
  40. DFT routine
  41. cool thing with memberfunction pointers as parameters
  42. return type
  43. includes -- best form?
  44. Network Flow and random help please
  45. Initializer and comma seperated lists
  46. Local structs as template parameters
  47. big numbers in C++
  48. Problem with HTML files in C++
  49. lootery ball progam
  50. help in designing class
  51. Call A from B
  52. virtual base class
  53. scope, static and linkage
  54. Win2k/2003 DLL memory limit?
  55. atl oledb from console
  56. Self refrence to class type in template
  57. pass an array throuh a function
  58. char[] = "FFFFFF" to 3 unsigned char.
  59. Alexei's singletons
  60. software developers' kit
  61. #include -- double quotes vs. angle brackets
  62. Explicit calls to unexpected()?
  63. Inheritance, vectors and copy
  64. Tools advice for C and C++ programmers using XML
  65. Template Expansion
  66. 'virtual' can only be used....
  67. Member Templates
  68. OT - Victor.. please email me
  69. 2 variable "nested" loop with TMP
  70. posibilities of 'RETURN'
  71. is "using namespace std" good style?
  72. assign value from a volatile variable
  73. How to resolve "undefined reference to..." problems?
  74. smtp server look up
  75. How is string::c_str() usually implemented?
  76. exception handling and reference
  77. help in designing class
  78. how to set the environment ?
  79. seeking in cout text
  80. run program at a specified time
  81. at run time, a message is send to my e-mail address
  82. Loop problem, HELP please!
  83. Base64 Encoding/Decoding Implementation....
  84. Assignment Operator in ABC
  85. vector sort: sort() vs stable_sort()
  86. pointer versus reference in constructors
  87. sort() falls into wild state while stable_sort works fine
  88. Strange linking behavior when overriding global new and malloc
  89. Rejecting negative number
  90. HELP: wxValidator and undefined reference to `vtable ...` under linux
  91. Simulating mouse clicks
  92. Discoverable objects in C++, any tools?
  93. std::vector performance
  94. How to define a constant integer inside a class with keyword const ?
  95. Editors
  96. Using iterators inside templates
  97. Library Problem
  98. Charts+.net+c++
  99. reading a whole file?
  100. Partial accessibility to a class's interface
  101. does anybody some code for this
  102. Sorted Linked List
  103. Dynamic allocation of a 2 dimensional array
  104. std::Vector, SmartPointer and const_cast
  105. deleting a composite, double-delete problem
  106. How to implement "information hiding" into my code?
  107. console stream
  108. Display a C++ window in a java GUI
  109. Color in c++
  110. BoundsChecker
  111. simulating "static pure virtual" methods
  112. returning a const char*
  113. Comparing 2 versions of C++ framework
  114. const functions
  115. super constructor in C++
  116. xlC,xlC_r
  117. xlC,xlC_r
  118. string to integer
  119. Interpret istringstream::tellg as character position?
  120. Variable name...
  121. I encoutered some trouble while using ODBC
  122. Problem with callbacks with arguments
  123. cout & cerr
  124. can't compile!
  125. enum type and classes
  126. Problem with fstream and operator>>
  127. skipping an element in an array
  128. reading data problems
  129. Template problem
  130. redirecting cout to dialog window
  131. Help: ifstream not getting passed to a function
  132. C++ Program to delete itself after execution ?
  133. Books (Sort of OT)
  134. Extension .inl
  135. using friend function template in class template
  136. Quick Question Quick Answer
  137. C# vs Java run on every machine?
  138. Is this a partial specialization issue?
  139. Template issue
  140. file io question
  141. get(char*, num, delim) question
  142. struct ATypeDef [ 5 ] { float Name, Amount; };
  143. virtual destructor
  144. including c libs in c++ code?
  145. VC++ or Java to support serial port driver?
  146. Pulling the type declaration out of a variable?
  147. file binary and template
  148. IT CAREERS
  149. Smart resource manager
  150. when is destructor invoked?
  151. Template problem with visual studio.net
  152. istringstream question
  153. Registering .Net tlb in VC++
  154. Windows app + Xserver + cygwin
  155. Testing (in)equality against a const float
  156. equivalent of Java's getErrorStream in C++ - need to capture standard error
  157. Template Instantiation
  158. templatized logging
  159. why overloading isn't happened?
  160. Redirecting CPP and LINK32 in MSDEV 6.0 to another compiler.
  161. redirecting streams
  162. Trouble creating a thread
  163. multiple updates in for statement
  164. Constructing a Class Given a String
  165. Object Oriented Programming (OOP)
  166. mix Visual c++ 2003 with Fortran IFC 8
  167. better design for catching errors
  168. Compiler
  169. Allocating Four Dimensional Dynamic Arrays...
  170. SGI STL Library on Opteron
  171. inserting and popping an element from a queue.
  172. very simple string* question
  173. Protected access modifier working ???
  174. Precision Change - Float to String
  175. Empty base class (like Java's "interface")?
  176. float and double question
  177. One Container question
  178. Template member function default argument
  179. inline virtual functions.
  180. sort and get index?
  181. Tools to analyze memory usage within a program
  182. COpy object
  183. Interaction between two programs
  184. Proper Use of NULL
  185. Item 13 in Meyer's Effective C++
  186. Moving text file contents into a std::string
  187. How can a Static member function know all instances?
  188. Is argv writeable?
  189. Is argv writebale?
  190. Conflicting behavior of MS and Borland
  191. Deriving subclasses of std::exception and throw()
  192. pointers and linked list
  193. design - class to represent a variable
  194. simple delete question
  195. MFC prob,..urgent
  196. vector question
  197. Linking to Static library of C
  198. Any ideas on how to implement this? (hierarchy related)
  199. peg triangle puzzle solver
  200. Processing std::strings into data
  201. Which is easier to learn - .NET or J2EE?
  202. c++ Final class ?
  203. binary_function and bind1st
  204. What's wrong Overloading []
  205. Great IT site to help you keep your skills up to date!
  206. Usual arithmetic conversions + integral promotion for short?
  207. members in class template not inherited?
  208. GOF Interface Problem
  209. unhandled exception : Privileged instruction
  210. How to Init static variable in Template
  211. Hashing
  212. Exportable class functions as stand alone functions to .DLL or .SO
  213. How do header files work?
  214. test ignoreit plz
  215. assignment behaviour problems
  216. Why is not defined operator+ for vector?
  217. catching EOF errors
  218. sdaf
  219. Inline and template file extensions?
  220. using declaration
  221. Forgive me: V Quick OT question
  222. i want to be a good c++ programmer what i ahve to do
  223. i want to be a good c++ programmer what i ahve to do
  224. Function pointers
  225. static member
  226. What is the name of sorting algorithm used in list (STL) class?
  227. function use error...?
  228. Proper Usage of Shared Memory
  229. friend classes
  230. stl::fstream O_RDWR | O_CREAT
  231. cpu scheduling problem
  232. template parameter friend, it this valid ?
  233. Problem With this Code...Please Help
  234. Is init done for arrays in classes?
  235. Is init to 0 done for arrays in classes?
  236. NonCopyable
  237. Hashing function
  238. char + short = char*
  239. wave file
  240. How change text colour?
  241. Recent file list - FULL PATH?
  242. .h for standard headers
  243. Sorting by class value
  244. Construction of member objects
  245. ios.h
  246. Linux/Win
  247. Generate a random number question
  248. STL auto-sort function
  249. Pease help
  250. fstream::read(..);
  251. Observer pattern
  252. derivable classes
  253. Why can't I compare addresses of template classes?
  254. Generic state space search library
  255. can't find iostream.h
  256. delete a composite
  257. Abstract Class
  258. Function prototype & implementation mismatch
  259. Interchanging variables between functions
  260. nested templating
  261. overloading std C functions with a namespace
  262. pointer to map is not behaving properly across function calls (for VC++ compiler)
  263. sample server
  264. Intrusive list
  265. Deviation of double
  266. fstream..
  267. what to do with template classes in template unsupported compiler ?
  268. Microsoft Visual C++
  269. C++ .. Lint warning
  270. Templates, syntax and allocation!
  271. Any Boost Experts out there for Boost.Regex?
  272. is this code valid ?
  273. c
  274. Exceptions vs Status codes
  275. Dynamic allocate memory problem
  276. linking C with C++
  277. We need some help installing IP based CRM software.. IP based call center software ***
  278. Static Members and Inheritance
  279. The future of C++
  280. REFERENCES REVEALED
  281. the difference _cdecl from _thiscall...?
  282. Return speed
  283. strcpy
  284. unique numbers using srand( ) and rand( ) functions in C++
  285. linker errors when I use template friends?
  286. Memory leak
  287. ctime Help
  288. How Do I Prevent Copying From Base Class?
  289. Subscriber callback interface design
  290. Formatted input interpretation
  291. Macro var args
  292. Where too now?
  293. I want to get member function pointer...
  294. Questions
  295. C++ member pointers and anonymous structs/unions broken?
  296. A difference? Purpose of ->*?
  297. fgets and newline
  298. Text templates: "embedded c++"
  299. Can't decipher compiler error
  300. Rogue-Wave Class-Library (Tools.h++)
  301. tcp packets and the < operator
  302. << "\t";
  303. Reading text file containing accented vowels
  304. Interview Questions
  305. Namespaces
  306. trying to understand Inheritance, Polymorphism and templates
  307. std::toupper
  308. Test Post
  309. Test - SH
  310. Function Pointers
  311. std::map -- Function Objects??
  312. Get system() error message
  313. What goes where in which files
  314. Function call, postfix inc and exception behavior
  315. How to reuse a ostrstream?
  316. Intermediate to Elite: Making the jump
  317. Calling another constructor from a constructor
  318. how to implement "contains a member" template ?
  319. Passing 2D Dynamic Arrays to Functions?
  320. error C2385: 'p2in1::Eject' is ambiguous
  321. instance based callbacks
  322. Is it possible to define extern "C" types inside a template?
  323. Character classification: novice question
  324. calling a function in cpp
  325. How function calls work
  326. Return by value -- primitive type vs class type
  327. CfP: OMG's Software-Based Communications (SBC) Workshop
  328. INSERTING 3 SPACES TO OUTPUT
  329. extern "C" Problem (currently runs well without using them and CC,)
  330. istream_iterator<>
  331. Writing Singleton Classes
  332. We need some help installing IP based CRM software.. IP based call center software
  333. static variables question
  334. STL std::map erase
  335. Language support (UTF-8 with std::string and std::cout) help
  336. C++: Static member functions and 'const'.
  337. binary IO
  338. STL & Generating exponents, permutations, arrangements, and combinations
  339. Compile-time constant quiet NaN (double) ???
  340. need help with recursion
  341. Question on Copy constructor!!
  342. pointing to a member function/method within another function
  343. list<class A*> l;
  344. How much was read during istream::read ?
  345. Allocation schema w.r.t. padding and alignment...
  346. How to create an array of data types only
  347. If vector contains only different elements
  348. Deleting all but the first element in a set
  349. Can a successfully compileable template definition fail on instantiation?
  350. Why Are the Visual Studio C++ 6.0 Executable Files So Big?
  351. OnButton
  352. Creating an Icon For my App
  353. typedef, member function and const meat different compilers
  354. How is a "static library" different from a "DLL"
  355. save memory to disk
  356. best way to initialize static member objects
  357. std::map replacement
  358. String tokenizer comments desired
  359. Finding static constructors with possible out-of-order initialization
  360. Compiling MIPSpro C program using MIPSpro C++ compiler on SGI system
  361. template function specialization query
  362. ANSI/ISO C++ committee website moved
  363. regex compilation under VC++
  364. Hiding cursor
  365. template for "is static castable"
  366. anagram problem
  367. Problem while including iostream.h in files targetted by ns2.26 make
  368. ReadDirectoryChangesW problem
  369. Type Library Version
  370. From unformatted to formatted input
  371. Unexpected Result
  372. do need Interfaces for COM
  373. exit, signals and exceptions
  374. avoid stack creation?
  375. structs terminology
  376. Trouble with using "system function"
  377. return value of function
  378. Pointer changed unexpectedly.
  379. Internal Compiler Error // Stupid Standards?
  380. Strange vector problem
  381. Old Microsoft Visual Studio Library files
  382. How can I build a cpp file not in a project?
  383. Typed arrays (was: Is it ANSI or is it compiler dependent?)
  384. Please Help me on this Program
  385. Efficent use of the string class
  386. Is this code correct?
  387. MS C++ .net 2003
  388. Crash with hostent data retrieve
  389. string searching
  390. OT John Harrison
  391. Clean code vs. efficiency
  392. Copying struct with array
  393. (PALM OS) Need Software Engineers help with Syncing application
  394. Forward declarations
  395. mixed c / c++ files
  396. textfile
  397. Cyclic Dependency problem
  398. Compiler compiler with C++ as output
  399. best result function
  400. Make one GUI containing java and C++ componants ?
  401. Put array into vector...
  402. not null
  403. Algorithm to generate different combinations based on N numbers
  404. Integrating FILE * and int file handles
  405. Can't make sense of a template.
  406. determine operating system
  407. Using Polymortphism with streams
  408. Template Nightmare
  409. Converting a string to an integer
  410. could you give me the URL of the last standart C++
  411. ECOOP 2004 - Call for Participation
  412. using of "static const" in class with no imediately init
  413. vector with deep copy
  414. stl containers disappear
  415. byte order problem
  416. automatic conversion of template arguments?
  417. Tools for viewing 'translation units'?
  418. Design Problem Aggregation
  419. question about object destruction
  420. inheritance - problem with identyfing object
  421. Handling Class Construction Errors
  422. Are files in the same directory as a file being compiled automaticallyfound by a standard following compiler?
  423. UDP sockets
  424. reading a textfile
  425. beginner c++ homework questions --=[let me try one more time]=--
  426. plugins
  427. memory allocation logging for leak detection - problem with globals
  428. Associated classes
  429. beginner c++ homework questions... if anyone knows how to do this, any help would be greatly appreciated TIA
  430. this is the end()
  431. Streamable File Format + Interactivity
  432. Need Help: C++ Delete Known File
  433. Where to start
  434. Is it ANSI or is it compiler dependent?
  435. question about object instantiation
  436. More problems with subscript operator
  437. command line arguments
  438. Defining a 32 Bit Integer on every platform?
  439. what is wrong here? (templates)
  440. tolower function in C
  441. static & template
  442. Class search function
  443. look for congruence
  444. templated ctor with non-type template argument
  445. Passing Stream object by reference
  446. accessing/overloading parent overloaded operators
  447. getting pixel info from an image file
  448. creating an int from bits
  449. Advice on DLL parameters please
  450. overload []
  451. Avoiding a reference to a reference using iostream
  452. mutable member and const method help
  453. filesize of an ofstream
  454. reporting programming error
  455. read/parse flat file / performance / boost::tokenizer
  456. String or char[] - that is the question
  457. Tensor
  458. C++ Exercises
  459. C problem, likely simple but I can't see it!
  460. Compilation error in "Hello World" program.
  461. Search function
  462. const overload
  463. Abort instead of throwing exceptions
  464. arrays
  465. gcc -pthread option for Linux
  466. Comparing Memory Allocation Methods
  467. get filename from ifstream?
  468. Class problem
  469. TPrinter with network printer
  470. is this class POD ?
  471. Question regarding operator[]() and const
  472. getting New line character
  473. Correct use of templated class'es inner structs/classes?
  474. sort and reading a textfile
  475. exit, signals and exceptions
  476. Calling a function in another class
  477. Search engine source
  478. function static variable expression
  479. Can I trust a vector to stay put if I don't add to it?
  480. Warning: skipping non-radio button in group
  481. End line of text based network protocol
  482. Accessing Active Directory : unresolved token on REFIID types
  483. Why doesn't this work?
  484. Problem with the compiler?
  485. How to printf some infromation in .SO file in Linux
  486. stringstream vs ifstream - one BIG difference
  487. g++ errors out Pass by Reference function call in C++ --- Please HELP
  488. Indentation level woes
  489. input/output to text file
  490. USL v.s. STL
  491. Unhandled Error c00000fd
  492. Commenting C++ code - TIPS
  493. is this valid ?
  494. BIG PROBLEM: How to detect wrong input stream?
  495. UML for C# programmers
  496. How to fix "Warning: should not initialize a non-const reference with a temporary"?
  497. Convert Access into C++
  498. kinda wild ptr??
  499. How to design such class
  500. Question of function argument
  501. Using "numeric_limits<double>::min()" in MFC application
  502. FTP-Copy with C++
  503. static variables in derived classes
  504. pclose: returning termination status of command
  505. Maximum for Arrays in C/C++
  506. friend access from nested class
  507. Help...
  508. define string class which implements linked list at backend
  509. newer versions of header files
  510. Visual C++ bug?
  511. Accessing files in a permissions protected windows folder
  512. container access design headache
  513. Weirdness: (-0.666667 + 0.333333)
  514. where? heap or stack?
  515. Any idea why do this program crash when I throw derived object as shown ?
  516. ansi status of 'using'
  517. Full specialization of a member function template of a class template
  518. Visual C++ 7.1 INTERNAL COMPILER ERROR -- crossposted clc++ and microsoft.public.vstudio.general
  519. Visual C++ 7.1 INTERNAL COMPILER ERROR
  520. Implementing custom iterators
  521. heap allocating classes
  522. Idiom for modifying base behavior?
  523. Problems compiling templates
  524. How to hide command line arguments in a windows application
  525. template trick?
  526. using list
  527. accept upper or lower case Y/n
  528. unresolved external when using templates
  529. access public function of derived class through base class pointer
  530. nmake question ...
  531. Stream input, critique my code?
  532. shared libraries version
  533. fread perform differently from Window to Linux
  534. Sun C++ compiler: How to change template instantiation directory
  535. std::string to integer type
  536. Plotting XY data
  537. arrays of objects
  538. Newbye quetion: Why a double can store more number than a long ?
  539. C++
  540. 2 straight forward Questions
  541. Array problem
  542. Pointers and variables
  543. clearing a vector
  544. Two-Dimensional Bubble Sort
  545. bleading edge by Jack Reeves
  546. passing an argument by reference
  547. Global objects
  548. using-declaration vs. using-directive
  549. Passing Dynamic Arrays to a function?
  550. Making explorer style folder view...