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. 2-D vectors..string2int
  2. WANTED: Embedded C++ developers
  3. overloading operator<< as global friend funcion
  4. initializing a constant in the .h file?
  5. getline - 2 questions
  6. class derived from template class
  7. scanf and iostreams
  8. compiler error
  9. Where can i find the script language?
  10. Virtual Data?
  11. returning to deleted classes
  12. Is this code correct?
  13. method prolog/epilog
  14. STL containers header guards.
  15. error LNK2001: unresolved external symbol
  16. Passing Private Reference to Object
  17. pointer to reference adaptor
  18. C++ getting data from serial/parallel port, how to?
  19. C99 Complex number support in C++
  20. How Methods Return Objects
  21. help installing FFTW on Windows XP
  22. strange compiler message
  23. initializing static class variables
  24. default parameters: question
  25. memcpy char* to unsigned char *
  26. One more reason for using std::string instead of char * in C++ programs.
  27. Exception Specifications Using Undefined Class
  28. loading a CBitmap from a URL
  29. Feeling kind of stupid about pointers
  30. a very weird result
  31. Problem with fstream
  32. post message from App to Internet Explorer
  33. problem with destructor
  34. overhead of using std::sort
  35. Nodes with unlimited children.
  36. :: before function calls
  37. std::advance too much?
  38. what does the const mean??
  39. Undefined symbol: ._STL:: on AIX platform
  40. Usage of Hex Dump in C++ Programming
  41. is this defined behaviour in C++?
  42. how to dial no in C/C++
  43. Why Doesn't C++ Accept This OFSTREAM VECTOR?
  44. TList documentation
  45. Troubles writing an object to a file.
  46. Error message getting addresses.
  47. Table of pointers to templated functions
  48. Matrix optimization
  49. Timeless Classics of Software Engineering
  50. explicit default constructor
  51. style: for(nth_elem_in_list, end_of_list; next)
  52. std::vectro - append other vector container?
  53. Function Template Question
  54. atan2() and fmod()
  55. GUI Programming
  56. Question about friend member functions
  57. Dev-Cpp Win32 edition Can not Compile
  58. Dev-Cpp Win32 edition Can not Compile
  59. what's the difference between delete ptr and ptr=0 -dont they accomplish the same
  60. validates characters
  61. Behavior of compilers.
  62. getline function
  63. Complex Static Initializations
  64. Anyone want a copy of C Builder X Enterprise ?
  65. Vector Initialization Syntax
  66. how to define the working directory
  67. program that push some button automaticaly?
  68. Windows Application with RS232 output. URGENT and not to difficult for you!
  69. avoid destructor
  70. Book on Windows .h's
  71. init and set state of PRNG with VC++
  72. Detecting classes with virtual functions
  73. Synchronized Applications
  74. how do I get the name of a subroutine in c++
  75. How to write a portable function
  76. Problem evaluating conditional operator
  77. REQ: C++ Technical Interview questions
  78. How to get sizeof
  79. How to get the file no from an ostream object?
  80. a question not about C++
  81. Hello World...
  82. A simple way to track available memory in C/C++ and why is there so many different types of it?
  83. Binary Search Tree Input Problem
  84. C++ Books
  85. Forward declaration of a nested class
  86. byte B= 0x0F;// Hex. representaion --> How byte B=0001111 // Binary rep.?
  87. Wait for "signal" from another application and/or thread
  88. Vector reallocation
  89. Error launching acmboot when installing visual c++
  90. If std::vector <TMyClass> MyVector; --> How to remove MyVector[i] ?
  91. How does the constructor of vector work?
  92. transform(), iterators and pointers while computing Fibonacci numbers
  93. the standard....
  94. STL sort problem
  95. Curiously Recurring Template Problem
  96. Any compiler supports 16 bytes float on IA-32?
  97. Can some explain plz. Basic uses a C++ wrapper.
  98. Sets relations
  99. how to delete this?
  100. do you ever found memory leak with STL?
  101. New to the group - with question.
  102. Bit-fields and packing/alignment
  103. Python.h include not found
  104. is using tons of stl a correct method?
  105. Circular dependency - I think..
  106. STL queue technique
  107. Pointers vs References: A Question on Style
  108. Does C++ raealy exists !
  109. accessor/mutator - design 'flaw'
  110. the old virtual destructor nut
  111. Network programming conventions?
  112. Refutation of the DisProof of the Halting Problem
  113. career change question -- not C++ specific
  114. Virtual functions
  115. If declared as virtual in base, its derived version also is virtual. Why not for destructors?
  116. Tool for partial C++ preprocessing
  117. class declration
  118. private constructors
  119. C++ formatter/beautifier?
  120. Does my object exist? So why its HWND doesn't exist? That's a question... (CMonthCalCtrl control)
  121. C/C++
  122. When a default constructor necessary?
  123. assert-macro: brackets
  124. Help Returning string values within brackets.
  125. Static variables and threads
  126. Circular Class Template Friendship
  127. Problems with Standard Library
  128. returning static arrays
  129. Best graphics api for GUI?
  130. Help with controlling stdin/stdout for a child process
  131. Help: Double convert to Integer and Double....
  132. two visual c++ questions
  133. P((int));
  134. c++ fstream writing to existing file
  135. Adding Map Entries
  136. How to get name of calling function
  137. Question on Lists and Classes.
  138. Followup: NULL macro vs. 0 as null pointer?
  139. NULL macro vs. 0 as null pointer?
  140. TNT jump start
  141. Handling large files in encryption prog
  142. class factory linking issue
  143. Visual C++ or Borland C++
  144. virtual function and pure virtual function in the implementation of COM
  145. How to implement "__property" in ANSI C++ ?
  146. where can i download a complete copy of the win32 APi
  147. Executing the executable
  148. is there a tool to remove throw list declarations?
  149. Keyboard and mouse librarys
  150. Hint of operator overloading
  151. Help with "read" issue please
  152. GUI compliation problem in borland
  153. Function pointers & template functions
  154. How to reuse a friend operator?
  155. simple memory question
  156. Watcom and ELF...
  157. C++ Mentoring
  158. Multiple sort?
  159. Pointer Problem
  160. Intrinsic Minimums
  161. Searching Point x/y in a ordered List
  162. user definitions in the std namespace
  163. istream segfault
  164. Object construction
  165. Can I modify a constant variable through a pointer obtained from const_cast?
  166. Rotate non-rectangular region
  167. What's wrong here? Accessing members of a templated base class
  168. Allowing only certain classes as template parameters
  169. Static Variable Problems
  170. Which do you prefer, ``.cc'', ``.cpp'', or ``.cxx''?
  171. Usage of rdbuf
  172. Problem with C++ traits under OSX
  173. Exception Handling & Memory Leak
  174. std::map::iterator with STL algorithms
  175. Template specialization
  176. namespace question/problem
  177. Galois field arithmetic libraries in C++
  178. istream >> (my own string class) - low-level solution?
  179. How to browse Std C++ classes in linux
  180. Reference to array, NOT array of references!
  181. migrating recvmsg() to recvfrom()
  182. Windows Error at run-time...
  183. How can I clear buffer between getch & cin?
  184. Developers and Srchitects needed(C++ and C#)
  185. Operator overloading and inheritence: Code critique please
  186. Enumerations
  187. Visual C++ 6 Compilation Problem
  188. Hardcore C++ developers interested in NYC financial firms....
  189. namespaces and main()
  190. Copying with istream_iterator
  191. does STL hash_multiset erase invalidate the iterator?
  192. C-style casts for built-in types?
  193. Reading ints from ifstream to a vector
  194. bit field with Arrays
  195. Manage a dynamic vector in a structure
  196. menu-based console application
  197. iterator as a member?
  198. VC++ and WinNT Problem
  199. "Thinking in C++" in unix info format
  200. std::container - preallocation size?
  201. std::list - access at index?
  202. std::vector allocator?
  203. string comparision in a file
  204. pre startup initialization
  205. Pre / post conditions in error handling
  206. latest C++ standard
  207. Performance measurement and optimization levels
  208. Solution to the halting Problem?
  209. C and C++ compatibility issue
  210. map<string,set<strin> > compilation problem
  211. comparing strings
  212. string class won't compile
  213. Templates templates templates
  214. extern "C" and JNI
  215. std::list and a composite type ..
  216. fstream::open & seg fault
  217. Redirect COUT to file
  218. Visual C++ 6 Compile Error
  219. Linux & C++
  220. Known at compile-time
  221. problem with constructor/destructor?
  222. where to find info?
  223. What does the standard tell about NAN?
  224. Set NLS_NUMERIC_CHARACTERS
  225. accessing the vtable
  226. Formatting in C++
  227. different design considerations for objects and tables
  228. virtual keyword for the derived class
  229. output question
  230. does not compile with "using namespace std"
  231. variable-sized class
  232. template specialization
  233. Simple output issue - (I hope)
  234. A compilation error.
  235. Problem with a conceptual graph
  236. const parameters to template class member functions
  237. Valarray input from file
  238. Problems with iterators ans lists
  239. Can C++ do this?
  240. coupling definition?
  241. vector acces by index/iterator
  242. Sockets and filebuf with msvc 2003
  243. Complex const initialisation and Intel compiler remark
  244. A simple c++ question...
  245. Any small program in c++ compilable with gnu gpp compiler
  246. A Question about inheritance...
  247. convert the content of a string to an expression to check its correctness
  248. C++: 4 paradigms?
  249. ifstream / filebug / FILE*
  250. Image library design
  251. calloc.... Why?
  252. Calling a constructor?
  253. C++ Firewall
  254. Pointer and reference
  255. Collection class helper objects in classes?
  256. string or character to integer problem
  257. New To C++
  258. NMFTP component (BCB)
  259. Meaning of static object?
  260. c++ or c#
  261. is a static functions address constant?
  262. C++ guidance please!
  263. memory problem
  264. fitting code, statistical library
  265. solutions to strustrup's c++ book
  266. solutions to stroustrup's c++ book
  267. how to avoid stepping into STL code
  268. lvalue rvalue
  269. Scope of #define
  270. Runs with GCC, crashes with MSVC
  271. Using priority_queue
  272. #include headers that include this header
  273. memory access error in some simple code :)
  274. help to read files
  275. round
  276. Debugging array bounds
  277. Icons with alpha channel and MFC
  278. makedepend issue
  279. 'recursive' template problem
  280. Strstreambuf memory leak
  281. C++/CLI
  282. C++ 6.0 Enterprise Ed. installation on MS 2003 Cluster
  283. Tangled up in templates
  284. RoundTo
  285. Order of data member in a structure
  286. Learning (advanced) C++ -Websites
  287. How can I know the size of system stack?
  288. Is there a null ostream (like /dev/null) in cpp?
  289. YATQ (Yet Another Template Question)
  290. Custom ASSERT macro
  291. Solved
  292. tracking memory allocations by class
  293. template question
  294. Problem with inheritance
  295. libstdc++.so.5 vs. libstdc++.so.6 and externa libraries
  296. template function
  297. Very basic question, getting win api return value
  298. Force the linker to include referenced libs
  299. RFX_Long "Oracle Null value" returned as junk integer [DoFieldExchange]
  300. Confussed: Pointers in Kernigan & Richie.
  301. On-the-fly Le Chatelier
  302. Print elements of vector
  303. External structure definitions
  304. Class giving back information
  305. composition,aggreation and acquaintance?
  306. Is tree structure the right concept?
  307. Can anyone explain why output is garbage for char in a union in this code ?
  308. Make problem with MSVSC++
  309. Stop throwing C++ exceptions
  310. allocate memory for pointer
  311. STL: insert and find confusion
  312. Iterating through an array whose size is unknown?
  313. shared_ptr<> part of the standard?
  314. which group can i ask for makefile?
  315. deleting multible inherited objects using a base class pointer
  316. INetConnectionProps
  317. preprocessor, token concatenation, no valid preprocessor token
  318. Pthread sleep cycle problem
  319. Inherit from Intrinsic
  320. Dynamic Class Loading
  321. How can we define a funtion pointer to point a member function of a class?
  322. IPC mechanism Named Pipes or windows messages or sthg else ?
  323. IPC mechanism Named Pipes or windows messages or sthg else ?
  324. C++ Template Metaprogramming
  325. Pointer question
  326. boost::spirit::actor doesn't accept a std::vector<int>
  327. Is the Bridge Pattern the same as Herb Sutter's Pimpl Idiom?
  328. string comparison: signed or unsigned char?
  329. Defining many classes in a single file
  330. C++ Style Standards
  331. about: fstream << "\r\n"
  332. simple addition program, no output
  333. new question
  334. Rewrite TCP/IP From Scratch
  335. Value restriction
  336. [Fwd: inline functions and function pointers]
  337. strange runtime error caused by enum
  338. Nmake problem with inferences
  339. Novice Linker Errors
  340. Template code works with g++ but not MSVC++
  341. Persistent ios::setw()
  342. ostream_iterator from fstream
  343. grr... this old nut
  344. std::set
  345. #define macro to enclose an older macro with strings
  346. Undefined behaviour
  347. static template variable ???
  348. how does temporary address come?
  349. reinterpret_cast problem
  350. shortcut constructor syntax
  351. far pointer
  352. non-aggregate error
  353. bitfield optimizations
  354. atoi problem
  355. Get FILE * pointer from C++ stream?
  356. References and interesting declarations
  357. CString to const char conversion
  358. Very simple template question
  359. return memory to the OS
  360. Strange compile errors when merely including <map>
  361. Null Visualization
  362. OpenGL in C++ displayed on a web browser??
  363. Undefined symbol __rtaccess() error
  364. Codewarrior for MacOSX warning msgs
  365. Help @ C++
  366. Help @ C++
  367. Inheriting operator() and templates
  368. const_cast of `T* const t' to `T* t'
  369. Is it possible to find in what language a dll has been programmed?
  370. Building constructors with shared functionality
  371. inheritance question
  372. Pointers to functions: How is the proper function selected?
  373. How to convert a string to int or double
  374. smarter enums
  375. Array size
  376. survival of c++
  377. How to read numercial data from a file
  378. std::vector as a class data member. Is this wrong?
  379. Floating point arithmetic.
  380. Coupling of objects
  381. client-server data transfers appended with funny characters
  382. evaluate postfix problem
  383. New to "make". Help, please!
  384. Instantiation of classes
  385. A question from Bjarne S' book
  386. Deleteing automatic variables
  387. Resizing arrays in C++?
  388. Borland Builder C++
  389. Trouble passing a function template into "for_each" algorithm
  390. What does the standard say about this
  391. Advanced usage of macros
  392. Reading a file in OFF format
  393. a question about preprocessor
  394. What will be future of VC++
  395. Is it legal to type cast to DWORD* ???
  396. Fortran and C++
  397. add evaluate function (postfix)
  398. Curiously recurring template pattern
  399. Farpoint Spread
  400. confusion with Rogue Wave dcomplex.h
  401. Object Oriented Database for C++
  402. allocator requirements
  403. a brief help on generating fixed column text files
  404. help: class compile error
  405. Name Mangling in DDK
  406. parsing using strstr
  407. The old anagram problem with open address hashing HS77154
  408. Calling Unix Shell from C compiler
  409. New
  410. deallocating vector storage
  411. Visit Website??
  412. Good programming rules
  413. map with polymorphic key???
  414. Finding string with "wild" characters in another string
  415. Meaning of template construction
  416. why this code has compile error
  417. atlcom.h include file
  418. Network Protocol?
  419. Best way of comparing two containers?
  420. operator+ overload resolution
  421. can assert() hide debug dump out?
  422. C++ language parser?
  423. how to pass smart pointes to function.
  424. Could Someone Help me on this CODE.... THANKS!!
  425. Code -> flow chart conversion software
  426. Substitute 'float'?
  427. Extending string class
  428. Questionable compiler warning
  429. C++ for z/OS, bad return code on rename()
  430. C++ standard committee censor different opinions
  431. Friend a good idea here?
  432. inherited member function not seen
  433. how to read a file?
  434. std::string and integers
  435. c/c ++ projects
  436. 3rd RFD: comp.os.ms-windows.programmer.64bit
  437. Help with simple cin problem please.
  438. Changing namespaces
  439. Which is the better way to define methods?
  440. Is there anything in C++ akin to Java's class Object?
  441. A Question about std::map class
  442. How to read multiple items using read ifstream in C++
  443. Simple function arguments
  444. Class with all static members --> Is namespace() the right choice?
  445. circular dependencies and typedefs
  446. CDaoDatabase Field Limit?
  447. sumowanie czasu
  448. C++/CLI standard
  449. Accelarated C++ doubt.
  450. How to empty a file?
  451. copy an istringstream
  452. "endl and "\n"
  453. pair and make_pair
  454. How do I define my own namespace?
  455. A giant list of resources for C++ programmers
  456. Test
  457. Test
  458. Test
  459. Converting VB6.0 external dll function call to Visual C++ .NET
  460. A problem with a graph
  461. std::find_if, std::logical_or and short evaluation
  462. Test
  463. Test
  464. Call constructor/destructor of base class
  465. How to capture the name of a class in a string at compile time ?
  466. Any Generic ET framework?
  467. don't understand this deal with const pointers in this trivial example
  468. Dynamically appending custom data to an object
  469. Optional template constructor parameters?
  470. reference to reference and constness problems with bind1st
  471. Portability, where?
  472. Exception stack trace
  473. parent process ID
  474. Parentheses in the control expression
  475. Strange Conversion Error from double to int
  476. Stack unwinding
  477. std::partition
  478. std::map
  479. how to introduce a small delay without using cpu time too much
  480. set of T*; how to make T the key?
  481. singletons
  482. void* questions
  483. Exception handling help please
  484. how to order a struct?
  485. Who originated the term "Miranda function"?
  486. kruskal:minimum spanning tree. how to do?
  487. std::for_each question
  488. How do i correctly implement: two inherited (multiple), same-named,pure virtual methods inside a derived class?
  489. Wireless Networking
  490. Pointer to member data problems
  491. non-member extractors
  492. Difference between 1998 and 2003 C++ standard
  493. Rounding by prayer?
  494. Dinkum C++ Library
  495. management of many small objects
  496. trouble when overloading function used as predicate in std::sort
  497. Where can I get a copy of the ANSI/ISO C++ Standard?
  498. Enumerators, Templates, and Type Safety
  499. dynamic_cast problem
  500. which MFC dll is CArchive in?
  501. can I use base class pointer to swap the derived object in a vector?
  502. shared_resource<T>
  503. Request for Code Review
  504. Iniitializing static const data?
  505. weird behavior of algbraic evaluation in concatenated operators
  506. strange crashes, maybe related to memory problems, always occur in STL
  507. Alternatives to #define?
  508. Java to C++
  509. Avoiding rtti
  510. pointer to function
  511. Toolbar - Transparent Color
  512. Restarting windows from c++
  513. valarray<bool>
  514. Is C++ a type-safe language ??
  515. Repeated instantiation of a variable / performance?
  516. C++ compiler
  517. Template behaves differently with same types
  518. runtime access to program state via a hacked libpq sql interface
  519. Data Retrieval/Insertion Data Structure
  520. problem with SFINAE applied to class methods
  521. Preprocessor concatination of defines
  522. Visual C++ 7.1 Internal Compiler Error
  523. CString and array.
  524. Weak binding of member functions
  525. Read out pixels from .jpgs
  526. re-setting an array
  527. 'multiple definitions' problem
  528. Aborting CALL to stored procedure
  529. reference vs pointer .. ?
  530. how to write in terms of reference ?
  531. file access problem
  532. Can't access static member var from static method. Why?
  533. Problem with streams and 1.#INF
  534. string rtrim ?
  535. if you were god.....
  536. how read from LPT port?
  537. VC++ Compilers
  538. Virtual function question
  539. purify or code checking tools
  540. Address of union members
  541. accessor_cast
  542. void main
  543. Is this a bug of the compiler?
  544. How do I delete files from a directory?
  545. Nested Class vs Inheritance
  546. multi-inherit and pointer to pointer
  547. recursive declaration of variables
  548. Command pipes in C++
  549. USING DLL IN C++
  550. template and typeid