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. Random file from a directory
  2. [OO question] Single container, multiple types
  3. Confusion with std::map
  4. Per thread rusage
  5. Files
  6. C++ unit testing
  7. I have a problem using template and typedef, someone can tell me what is wrong !
  8. Language Subtlety or Compiler bug?
  9. Linked list
  10. how to sort parallel arrays in c++?
  11. using memcpy to copy classes
  12. Streambuf and streams
  13. Problems with iterator in a member function in a templated class
  14. Limitations of initialization list
  15. problem when a map type variable uses an integer created with random() to access its elements
  16. Is PETE (Portable Expression Template Engine) still alive?
  17. Binary IOStreams
  18. g++ loop unrolling performance
  19. Is it safe for me to delete one of those two functions with the same name 'getTime'
  20. Loop Does'nt Work, Hard code does
  21. Linked list storing a queue
  22. Trouble with linked lists
  23. How to expand my compiler's ULONG_MAX ?
  24. finding an index in an STL vector<>
  25. move element in vector
  26. Killing processes
  27. Problem with constants (MSVC)
  28. Linked list and queue
  29. default parameters
  30. Tutorial for beginner/ Tutorial voor beginner
  31. The eight queens problem
  32. can't find library for iostream
  33. getline and linked list problem
  34. gcc linker won't handle class member
  35. Static memory overrun help
  36. Simple sample code required
  37. (default) constructor/object initializing problem
  38. double to int, a bit confused...
  39. fotre8 gives undefined symbols while forte7 doesn't
  40. default exception-handling
  41. getline problem
  42. Member vs Non member function
  43. Bentley-Sedgewick ternary QuickSort: C++/C implementation?
  44. What type is x in "char x[2];"?
  45. A container suitable for a "recent files menu"
  46. type info of exception
  47. changing delimiters for std::stream
  48. [Q] HOWTO overload '==' operator?
  49. Confused with the "virtual base class" concept
  50. To Moderator
  51. Default constructor
  52. Beg Class challenge for a returning student
  53. Sorting : Comparative performance measurement
  54. Q: Locale independant way to process special chars
  55. Time
  56. Makefile
  57. load a txt file and linked list
  58. std::string -> WCHAR*
  59. Unbuffered basic_streambuf Implementation
  60. Vector question
  61. how to write an operator
  62. WANTED: SOFTWARE INVENTIONS
  63. C++ random number generator
  64. [CORBA, Visibroker, C++] Array, sequence problem.
  65. Problem with Inheritance
  66. Problem with char type in structures (MSVC)
  67. loop in class definition ?
  68. difference between data hiding & watermarking
  69. Unbuffered basic_streambuf
  70. Matrix library
  71. C++ program for generating combinatorial objects
  72. To bean or not to bean
  73. :: Scope qualifier misunderstanding.
  74. How can I "reduce" the size of internal buffer used by std::string?
  75. fun with template-derived templates
  76. Why can't I use an Iterator with a Reference Parameter?
  77. Execution of x++
  78. static methods in class syntax
  79. Integrating numbers
  80. icc -axW problem
  81. fastcall
  82. Compiler Switch From GUI
  83. SImple list implementation
  84. error: jump to case label
  85. Can Iterators Trash The Heap?
  86. Difference Between List x; and List x(); , if 'List' is a Class?
  87. Problem with template using base class template in GCC
  88. ethernet address
  89. error LNK2019
  90. delete
  91. Adding empty copy constructor makes segfault go away?
  92. is there any known issue about gcc3.2 handling exception?
  93. ifstream::get() surprise
  94. compile error
  95. Copy constructor called from member function?
  96. OT & FYI: Accelerated C++ Missing Pages. Check yours!
  97. cdialog with no standard border
  98. Question
  99. Question
  100. reading files
  101. VC++: Where can I get libraries for using Secure FTP?
  102. Problem with implicit conversion
  103. output to 2 streams
  104. Default parameters in typedef for function
  105. Undefined symbol using STLport lib on AIX-4.3.3
  106. I need a decimal arithmetics library
  107. setting read and write point
  108. double problem
  109. Sockets in Visual Studio 6 on XP
  110. A religious question: int* i; /*or*/ int *i;?
  111. Should pointer members be zero initialized by default?
  112. Multiple precise: how to make 16bytes double ???
  113. Policies Vs. concepts
  114. help needed in macro syntax
  115. Simple Array Question - Help
  116. const and standard types
  117. generating strings
  118. please help me figure out
  119. Temporary objects as constructor arguments?
  120. Cpp source code
  121. LNK2005-error in Visual C++ v. 6.0
  122. Error when compiling with Cygwin
  123. vector::pointer confusion
  124. n00bie questions
  125. Program Crashing From Running Too Fast?
  126. C++ noob - compiler question.
  127. Programming question
  128. Can you make a template (w/ or w/o the pre-processor) solution to do this?
  129. stream input
  130. Converting Non-Unicode Characters
  131. access private member function
  132. std::vector / std::list - just wondering...
  133. multiple base objects, real-life scenario.
  134. multiple base objects - scenario.
  135. c quaery
  136. static member variable
  137. Sorting a map by value
  138. enhanced file info
  139. memory corruption while debugging
  140. If you're new and need a book
  141. to C/C++ fans
  142. Beginers Question about Getline
  143. Is this the right way to redirect output from a class to another?
  144. Problem with mysql api calls.
  145. Using the sizeof operator on a struct?
  146. Pattern match question
  147. how create shorter number?
  148. Get this example to work with member functions?
  149. References and multi-data lists
  150. Is it possible to put a class object in share memory?
  151. structs
  152. cin >> c
  153. shared_ptr + this
  154. the typename keyword - inheriting types from templated classes
  155. memset vs fill and iterators vs pointers
  156. Peer review requested: hat random container
  157. Clarification - Pointer to Function ..
  158. Ant vs. Make
  159. Help with simple file reading issue please
  160. sorry for my question
  161. Is it good practice for a function to return data?
  162. extract "set" bits including position from unsigned long
  163. ANSI C problem on P4 under Linux & Windows
  164. Why am I getting an assert failure message with this code?
  165. Shortest path algorithm (other than Dijkstra)
  166. c++ grammar
  167. undefined reference
  168. basic classes manipulation
  169. New compiler chokes on template class
  170. How to create a file in memory ?
  171. Problems inheriting multiple times.
  172. static_casts
  173. new to c++
  174. Noob to C++, trying to get syntax, etc.
  175. To const or to enum?
  176. design question
  177. Size of an empty class why 1 byte ?
  178. Smart char * class...
  179. undefined reference to `vtable for ...
  180. WinForms - kontrolka paska postepu
  181. Namespaces and performance
  182. Doors implementation on linux
  183. algorithms with input stream iterators
  184. cc1plus
  185. Debugging problem with VC++
  186. Hi
  187. Enumeration in C and C++
  188. Question on if/else statements
  189. Problem with fstream
  190. A tool to view instantiated templates?
  191. portected access: template derivation vs. class derivation
  192. constrained_value type for ranged integers etc.
  193. Return pointers or references?
  194. Newbee
  195. why catch (...) can not catch such exception
  196. header file dependency map
  197. C++ toolkit 2003: debugging programs
  198. any way to prevent 'x'+"yz" to compile ?
  199. Where to find the C++ standard?
  200. public keyword usage in managed c++
  201. String Foramt - parameters problem.
  202. Template-based implementation of Sutter's exception-safe operator= idiom
  203. Passing this as default argument
  204. Strange error while compiling a C++ file
  205. STL::find does unable to call overloaded operator==
  206. C++ for web development?
  207. How to expand my compiler's ULONG_MAX ?
  208. pointer to an elment in a stl vector
  209. ISAPI, CAPICOM , and Carriage Control Line Feed
  210. Great Gods of C++, Help A Poor Programmer
  211. Class type at compile time
  212. How to obtain the type of a local variable in a method in C++?
  213. <string> to lowercase
  214. Problem passing objects between functions
  215. precedence, sequence point, side effect
  216. itoa function in gcc
  217. Broken STL implementation?
  218. std::string::iterator use with char*
  219. efficient assignment ???
  220. Link Error
  221. my first template
  222. Open a specific page in a help file
  223. Multiple union member initialization
  224. New operator -- construction a side-effect?
  225. string parser
  226. How to create an initialised object declared as a class member variable?
  227. Quality of rand()
  228. dos promt staying open when prog runs
  229. How to check if a bit is off?
  230. std::string
  231. Trouble with bit fields
  232. accessors
  233. Conditional compilation sans the cpp
  234. xlC shared library
  235. delete NULL, what about delete[] NULL
  236. compiling with VC++
  237. what are static destructors? disadvantages? .. TIA
  238. Inheriting interators
  239. Linking third party Libraries
  240. inline text, large strings
  241. Virtual Assignment Operator in Protocol class
  242. the book c++ primer answer always say L&L
  243. Design of pointer_to<T> templates
  244. accessing a private member (illegally)
  245. Trouble with namespaces and unresolved externals
  246. Partial template instantiation?
  247. Rectangle: struct or class?
  248. File manipulation
  249. Help writing a web browser plugin using c++.
  250. Virtual dtor and placement new.
  251. Using a multimap
  252. edit control
  253. Convert vector<float> to vector<double>
  254. microcontroller bootloader in C
  255. Accessing a protected member of a member of type BaseClass????
  256. C++ Programm - Shutdown win2k
  257. C# group?
  258. help:how can i get the libray about bioinfromatics
  259. Is the FAQ availablbe on FTP?
  260. Reasonable expectation: for(it = v.begin(); it != v.end(); it++)
  261. Compiling boost using Intel 8 c++ compiler under Windows
  262. mem_fun with template function
  263. Questions on creating a virtual machine: Operations
  264. Borland C++ Serial Port communication
  265. A question on variable declarations/initializations
  266. Nested class
  267. Compile time check for virtual destructor
  268. C/C++ compilers recommendations please help
  269. Three programs with sizeof
  270. OpenGL in VC7
  271. c++ runtime implementation
  272. Pseudo destructor
  273. Static nested class
  274. using count and count_if on class objects
  275. How to get around the "long" 32/64-bit mess?
  276. I finally figured it out! namespaces and the ODR
  277. SDL_Main or WinMain@16 error
  278. kevelop
  279. sdl_main or WinMain@16 error
  280. Pointer convension, dot vs. indirection notation
  281. std::map question
  282. pointer to member function and pointer to constant member function
  283. Starting to use STL containers...
  284. Function specialization
  285. problem with "inline"
  286. Porting code, need guidance, Thx
  287. converting from string to ints/bits
  288. Simple Windows application
  289. Overload resolution & boost::bind
  290. MSFlexgrid Column width
  291. detecting arithmetic overflows - stdexcept help
  292. sorting list of pointers
  293. main argv command line
  294. Name-Based Object Creation
  295. What is a .hpp file.
  296. How can this not be?
  297. Equality on input iterators
  298. reverse engineering
  299. Sorry
  300. psapi.h strsafe.h
  301. passing a transform as a function parameter?
  302. window-handlers on windows
  303. structs ALWAYS on the stack?
  304. wrapping new
  305. Price of Creating Local Objects
  306. Tree in C++
  307. STL extension
  308. Preprocessor, nested files etc.
  309. Overloading composite operators?
  310. MSFlexGrid
  311. Qualcuno sa come funziona RegMon
  312. linkage issue
  313. Import Only std::string
  314. virtual for all derived class
  315. Serial Number evc
  316. Objects containing a smart ptr (pimpl) and stored in STL containers - help please
  317. Sorting a struct
  318. Purify reports UMR in wrong location
  319. struct problem
  320. Disabled out stream (operator overloading problem)
  321. Attempt at initialising a class with a vector "inline"
  322. Type identifier management and object factories
  323. how can I loop a std::list ?
  324. Problem inserting into Vector
  325. ---what does "virtual int xfunc() = 0;" mean ?
  326. strlen
  327. functors
  328. Array arguments
  329. Special linke list
  330. how can I access data with iterator?
  331. Problem with nested class or array overrun.
  332. why can I test for is_volatile<T> but I can't test for is_unsigned<T>?
  333. Handling directories with C++
  334. Problem with const reference as a parameter
  335. Keypress with virtual key. (keybd_event)
  336. new foo -vs- new foo()
  337. VECTOR problem
  338. How to convert from time to UTC?
  339. Design a new class or inheritance or else?
  340. borland c++ 6 program for snapshots from webcam
  341. sort indices
  342. vc++
  343. Text File parsing
  344. passing const ptr argument
  345. iterating ENUM
  346. Linked List Help please
  347. C++ casting
  348. [help] How to copy fast an array to another array?
  349. Proper way to put an abstract base class into a container
  350. Improper argument deduction???
  351. What does it mean int (*a)[10]
  352. Return an iterator?
  353. File seek
  354. Reprise: Template syntax help
  355. Open Source C++ Internet protocol library
  356. Template syntax help
  357. Is explicit template qualification required for explicit delete?
  358. & vs ptr
  359. Overloaded operators ++(), - - ()problem
  360. resource acquisition is initialization?
  361. use of strstream object of standard lib
  362. filesize error
  363. When new operator fails in pre-1997 C++.
  364. fstream.close()
  365. Using transform() in a function
  366. Porting binaries from Solaris/SPARC to Linux/Intel
  367. Member function templates in libraries
  368. Quick reference card
  369. grouping templates
  370. Template terminology question
  371. declaring variables inside for loops
  372. Templates: Members Vs. non-members
  373. TEXT( ) function
  374. iterators
  375. Boost Workshop at OOPSLA 2004
  376. Stack unwinding and destructors?
  377. Stupid compiler
  378. delete
  379. Size of a reference?
  380. Ant for C++ development
  381. Initialization of static varible in class template
  382. function non-template versus fully specialized function template
  383. static object?
  384. how second and first arg are binded?
  385. Productivity in programming of C++ programmers
  386. Value of float variable
  387. Observable behavior and instruction reordering
  388. IO Streams
  389. Inefficency in search_n
  390. Symbian
  391. playing with namespaces...
  392. "Assignment" through base class
  393. Cast to protected base fails even with explicit operator
  394. Questions of copying memory
  395. command line tool to convert VC project files to Makefile
  396. Shadowing a parameter
  397. How to define function which operates on iterator convertible toT*
  398. converting from base class to derived class
  399. Constness Complications
  400. Warnings for implicit casts to a narrower type
  401. How to Instantiate object pointers that are members of other objects .
  402. differences between c and c++
  403. How can I get microseconds in windows???
  404. name decoration
  405. Quick reference card
  406. bool specifics
  407. Virtual function parameter variance
  408. Deriving from std::basic_streambuf
  409. i = i++ for class types...still undefined?
  410. Boost::Bind strange compilation errors
  411. Why this is wrong in calling bind1st
  412. Declaring a Static Member of a Function Pointer
  413. Pointer to Member Functions and Inheritance
  414. Calling base class operator==
  415. float, double, long double
  416. Any forseeable disasters?
  417. GUI for Decision Support System
  418. Reading from an istream to a bool vector
  419. How should I do this ??
  420. parse error
  421. Qualifiers lost compiling STL code
  422. RasEnumConnections
  423. Friends of Templates
  424. Covariance
  425. What is CLI?
  426. can anyone help me with this?
  427. char array question
  428. Quick sort and memory problems
  429. static object?
  430. arrays that store pointers
  431. std::fill and containers of pointers
  432. References and function calls
  433. Pass data between C++ programs
  434. operator presence?
  435. operator + without =
  436. Something I don't understand in the FAQ
  437. C++ skills and commonly (?) used non-standard libraries.
  438. HELP: New to c++
  439. gcc strange error
  440. VC++6 missing storage-class or type specifiers
  441. Custom allocator sample code for vector
  442. where can i get the pure c++ code of the implementataion of CString::Fromat()?
  443. But..... WHY??? Access Violation
  444. abstract methods and inheritence
  445. i can't understand this statement: &origin + ( &Point3d::_y - 1 );
  446. Great way to get an Ipod...
  447. Deleting objects obtained from a STL library
  448. CPP builder 6 and MySQL with or without VCL ?
  449. object to standard output and input ( cout / cin )
  450. Can I always determine what I catch?
  451. What does it cost to try?
  452. DLLs using MinGW
  453. Pointer: why could a deleted pointer be dereferenced?
  454. Objects inside unions
  455. fclose() causing access violation in threadFunc
  456. typedef doubt
  457. Exception safe at what cost
  458. Design structure for a MMORPG server core written in C++
  459. Object factory and Intel compiler
  460. What are friend classes?
  461. Auto destruct
  462. overloading a function
  463. [LONG]Simple RTTI
  464. Implementing Mediator Pattern in C++
  465. Why can't a public member function see a private data?
  466. ---Hi, what mean, what help it can do?
  467. Iterate through member variables of a class
  468. C2C++ itch
  469. Resolution of virtual functions
  470. smart pointers
  471. Creating Barriers to Reverse Engineering
  472. "Undefined Behaviour" or "Non-portable"
  473. Optimization problem, for a sports tournament
  474. "C++ with Interfaces" (article in CUJ vol 22 no 9)
  475. containers or array types gubbins
  476. Remote ip status
  477. Templates within templates
  478. API Callbacks into Objects?
  479. cast operators...
  480. linking - QT app
  481. why does it crash?
  482. overload == operator for structure variables
  483. operator== (float, float)
  484. Why isn't the whitespace removed?
  485. Handling maps.
  486. cast operator for built in to class?
  487. calculate rank of matrix
  488. operator overloading...
  489. simple multiset question
  490. too much globals?
  491. pointer and array help
  492. template function as function parameter
  493. problem with creating new levels of logic
  494. Storing an integer: why "int"?
  495. Book
  496. Override virtual member functions in Subclasses
  497. How to plot Sin wave ?
  498. ofstream, copy algorithm .. more
  499. Print all possible routes in a graph between two nodes
  500. Template temporal value
  501. Some basic questions
  502. Compare enum types to...
  503. How to configure my PC into a server?
  504. Portable Sockets Wrapper
  505. get() function vs public member
  506. function Calling conventions
  507. What happened to LarchC++?
  508. How to debug a program only having .exe file
  509. Tic Tac Toe using recursion
  510. protected
  511. End of cin
  512. templating problem
  513. Porting VC6 to VC7.1, get error LNK2019
  514. Build Problem
  515. [Snippet] a Recursive Descent Parser via TDD - test.h
  516. [Snippet] a Recursive Descent Parser via TDD - recursiveDescentParser.h
  517. [Snippet] a Recursive Descent Parser via TDD - recursiveDescentParser.cpp
  518. using c++ to read an online file
  519. Template question
  520. What API replaces the unlock API that existed in gcc 2.9.3?
  521. my output
  522. .exe files...
  523. FAQ 25.1
  524. easy conversion between two basic_string types...
  525. vector::resize() and memory allocation
  526. how to exclue libm when compile C++ program with g++?
  527. Help: template function specialisation must accept scalar types only
  528. C/C++ for EPROM chip?
  529. Binary files, why does this code crash?
  530. Prob with delay timer
  531. seg fault on different linux boxes with C++.
  532. problem with dll
  533. Initialization notation
  534. Listing all the files in a directory...
  535. seeking xml load/save library for c++ ... plus some other questions
  536. Determining a functions calling address
  537. Giant C++ resources list, 2nd edition
  538. read - website CODE
  539. portability issues
  540. bitfield & union strange ?!
  541. Writie classes of some algorithms
  542. How to walk through a Stack without destroying it?
  543. Miranda functions and Initialization
  544. How do I increment a float point num
  545. controlling pins on lpt
  546. Advanced C++ writers
  547. Accessing private members
  548. efficient string tokenizer
  549. need help with mmx (vc++)
  550. Memory Cleanup problem