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