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. Regular expressions and I/O
  2. visibility/passing of variables
  3. template function compareLess
  4. code obfucation
  5. c++ interfaces
  6. int a, int b[a]
  7. pass by reference vs pass by pointer
  8. safept
  9. How do I initialize complex class static member?
  10. default argument in friend function of template class
  11. inserting into stl containers using boosts' lambda
  12. How does STL report out of memory errors?
  13. break
  14. Help with UNIONS
  15. Logic check please
  16. std::vector - works in BCB6 but not in g++
  17. concatenation operators
  18. Template specializations
  19. Commercial md2 and md3 use
  20. new to stl
  21. Object creation - Do we really need to create a parent for a derieved object - can't the base object just point to an already created base object
  22. read system-call
  23. Life time of static pointer to member function
  24. problem with char*'s and changing individual chars in it
  25. 3 files = 1 program HELP!
  26. Global object initialization
  27. Why is delete[] basePtr undefined if basePtr points to array of derived-class objects
  28. what is the different between glibc.* and libc.so.*/libstdc++*
  29. Cannot dynamic_cast the same object for the second time?
  30. strange multi-inheritance problem
  31. exception
  32. STL Vector vs Arrays
  33. How to implement malloc()
  34. SmartWin++, release candidate 0.99993 out...
  35. memcpy confusion
  36. ifstream and wifstream - combined
  37. set of structs (intersection)
  38. set_intersection
  39. is it safe to change the char* returned by ostrstream::str()?
  40. non-const for_each usage
  41. should this program compile?
  42. any potential multi-heritance fault?
  43. how much memory does an empty STL deque occupy?
  44. list::splice and iterator invalidation
  45. Date encoding as integer please help
  46. skipws
  47. Slicing problem
  48. g++ compile error
  49. Simple stack implementation
  50. question about polymorphism
  51. set and operators
  52. set and operators
  53. Is user login ?
  54. Beginner questions...
  55. is chmod(766) possible in C++?
  56. Boost program_options trouble
  57. Boost program_options trouble
  58. Newb float casting question
  59. Coding Problem, Help Needed
  60. Callbacks accross different threads
  61. Function Ptrs a bad practice in c+ ?? Array od Function Ptr - Indexing issue
  62. How to find memory leaks?
  63. is it a good idea to assign object to pointer without initialising it to NULL.
  64. fopen??
  65. Using Ptr of derived class to point to base class and viceversa
  66. Casting char to char*
  67. Casting char to char*
  68. How can i Create a EXE file in win32 use C++
  69. Inline assembler errors
  70. Inheritance & polymorphism
  71. [templates] is this code legal?
  72. Is C faster than C++
  73. Structured programming
  74. Help on OO leap year calculator
  75. Anti-rust programming language
  76. stl data structure to represent a tree
  77. sizeof(int) and sizeof(long int)
  78. reading tabulated files
  79. Explicit destructor calls from inside base class destructor
  80. Visual C++ and visualization
  81. Redefinition Error
  82. Recompilation problem
  83. Calling assembly from C++ and vice versa
  84. late binding for most drived class
  85. Cast from void* to base class virtual function problem
  86. template, implicit specialization?
  87. Error in using ams { } with C++.
  88. what is word boundary?
  89. How would I write a cell phone OS?
  90. "Aborted" (while reading file ?)
  91. how to overloading operator <
  92. Converting AnsiString to double
  93. Simple Database Interaction
  94. problem passing a static const int member by reference
  95. bmp//array questions
  96. specialize a template function that contains a template parameter
  97. hardware interaction
  98. Textinput with more than one line
  99. Kernel streaming
  100. Template.. iterator...
  101. char *string
  102. Converting Strings
  103. Exception handling stack trace
  104. templated exception type
  105. Casting Strings
  106. Overloading Operator <<
  107. std::allocator % HeapAlloc
  108. Compile error with SGI STL
  109. memory allocation problem
  110. Template construction in old gcc 3.3.3 does not compile in gcc 3.4.4
  111. questions regarding class
  112. new char[480000000] crashes
  113. how password is stored and check the authentication??
  114. template<T> operator+. linker error
  115. Convert double to string
  116. this pointer
  117. problem in using [ ] operator
  118. Openings in Webspectrum for JAVA NMS/EMS
  119. array
  120. std::wofstream
  121. valid main declaration
  122. stl vector help
  123. Display MS DOS's Size...by default...
  124. Calculating the log of a number
  125. namespace issue
  126. Calculating the nth root of a number
  127. passing character to function.
  128. need for typedef for instances of template classes
  129. Need Help with programming
  130. Converting a PRN file to a CSV using C++
  131. Redirecting printed messages to a file
  132. a question on my constructor "STRING (const char*)"
  133. Unused variables used for class constructors
  134. Segmentation fault
  135. Again: linking between C++ and Fortran results in incorrect result
  136. Challenge
  137. undefined symbol error
  138. Case-insentive
  139. setting values for all elements in hash to a value
  140. vector.size() and (signed) int
  141. memory allocation checking
  142. recursion order question
  143. It looks like bad programming, but is it?
  144. HTTP Client library - uploading files (POST method)
  145. Union Misalignment?
  146. Specialization problem
  147. Specialization
  148. Return appropriately by value, (smart) pointer, or reference
  149. this on reference counted objects
  150. how to improve custom String implementation
  151. Non Null Terminated string
  152. library problem
  153. can cout<<""; can cout<<""; contribute ?
  154. Porting from g++ 2.95/3.2 to g++ 4.01 template problem
  155. Simulate post at webpage
  156. is a char promoted to an integer in C++?
  157. same value enum
  158. Where can I get InfPrec?
  159. COBOL style C++
  160. seek() function
  161. How To Make Vector = Pointer
  162. Need Help Asap On Compiling!! By 10:00 Tonight!!
  163. Help with compiling.
  164. overloading operator >> to read a text file into a Matrix
  165. How does inlining work?
  166. Scope rules
  167. sort with vector<struct>
  168. Problem with EOF when using pipes and stdin
  169. Why file containing 256 bytes is 257 bytes long?
  170. type declaration
  171. call static method when class initialized
  172. c++ compilation problem
  173. passing through all elements in hash
  174. what is going on?
  175. problem with char* block[5000] and binary reading
  176. Problem in defining a map object
  177. Visual C++ to Borland Compiler
  178. integrate c++ in Java
  179. C++ XDK Question
  180. Problems when giving default value for 'const auto_ptr &' argument
  181. resurrecting cin
  182. Loki TypeTraits and compilation problems
  183. syntax
  184. Policies, traits, generics
  185. Problem in file writing.
  186. implementing begin()
  187. Macros and Executionspeed
  188. visual c++ debug dinamic objects
  189. Arbitrary number of arguments
  190. function sequence error on aix5.2
  191. C++ vs Java : Problem with Inheritence
  192. c++ array help
  193. C++ ARRAY HELP!!
  194. Who can help me about VC7.0
  195. how can i do this in o(n)
  196. Languages popularity
  197. adding huge doubles
  198. Is C++ any better than BASIC?
  199. Writing a function that can modify it's number of parameters at runtime using vectors?
  200. Help with vectors
  201. Function that calculates the arithmetic mean using vectors?
  202. Rounding
  203. returning const references/pointers from functions?
  204. Problem with distance and STL map
  205. Vectors and References
  206. Memory and References
  207. Best way to handle ownership
  208. in-class static array initialization HOWTO?
  209. What is encapsulation?
  210. Formatting
  211. queries about the FAQ's section 7.5
  212. Formatting
  213. Selectors and modificators trouble
  214. confused with garbage collection
  215. to over load =
  216. How to identify exception ?
  217. sizeof('x') in C and in C++
  218. Encrypted passwords
  219. Bug with access violation :(
  220. std::string vs. Unicode UTF-8
  221. data structure/algorithm problem
  222. Using external files throughout a program (please read before replying)
  223. Interfaces without ABCs?
  224. Cannot instantiate abstract class
  225. How watch for and extract single char from cin?
  226. Writing a destructive trojan with C++...
  227. PRNG writing
  228. designing a component system
  229. changing http
  230. which one to use? string or wsting?
  231. refs
  232. Othello A.I
  233. custom iterator
  234. STL learning
  235. pointers to member functions and virtual inheritance
  236. g++ wrarning hides constructor
  237. singleton for a parent with protected destructor
  238. template
  239. C++ teaching book
  240. Prefix increment/decrement results in lvalue, but postfix one results in rvalue?
  241. C++ delete throwing exception
  242. Factorial using C
  243. Why?
  244. question about .. my 'unpacker'.
  245. C++ and Java...
  246. How do you write an infinite precision number class?
  247. "no matching function for call to"?
  248. Getting the file size...
  249. c++ help....i'm stuck in the middle...
  250. const char *&
  251. is there any "join" implementation source code available?
  252. template
  253. Trouble with inheritance
  254. type cast and pointer
  255. Why doesn't it show the c'tor name in the list folowed by :: in VC++ IDE
  256. Recursive templates
  257. VS6 : Fatal error C1021: invalid preprocessor command 'using'
  258. referencing
  259. providing classes
  260. C++ Exception: Why does this program behave differently for pointer and array of pointer
  261. help! about Database, thanks
  262. Connot compile Qt
  263. string to int
  264. Reversing a number
  265. Help with rule of 3 pleae.
  266. Howcome?
  267. Is this program right?
  268. Custom bidimensional iterator and container
  269. argv[2] comparing with "d"
  270. partial template specializations w/ bcc
  271. "declaration of 'foo' changes meaning from 'struct foo'"
  272. const * volatile *
  273. the use of returning const &
  274. Adding digits
  275. "unable to match function definition to an existing declaration"
  276. easy way to read numbers from file
  277. Wrapper around C lib, problem with c_str and const
  278. matching callback parameters in generic algorithm
  279. linux base gui profiler for c++?
  280. pointers
  281. Code snippets etc...
  282. functors .
  283. Case statement
  284. Right triangles...
  285. c++ version of instanceof()
  286. Temperature conversion
  287. static variables in a class
  288. Templates...???
  289. Banging head against a wall
  290. Creating Triangles
  291. question on dev-c++ dllimport
  292. Using SFINAE with constructors
  293. question about data type
  294. C++ refresher projects after a 3 yr gap
  295. question about const
  296. vector of structs with vectors
  297. Vo2Ado
  298. Visual c++
  299. how do u overload operator << so that cout<<A prints out the letter A as well as the value of A
  300. const iterators
  301. Operator<<, in nested templated classes.
  302. Operator Overloading in Template Classes
  303. When is it nesessary with initialize list
  304. copy constructor, assignment operator in template
  305. Compile Error using C++ VS6.0 using Notes API
  306. using declaration and ADL
  307. my aplogizes
  308. Why the results are different?(about virtual function)
  309. pointer / deltaTime in OpenGL Game Programming book
  310. Specialization errors
  311. LOAD/SHOW/SAVE IMAGES VC++
  312. private friend member function - should this compile or not?
  313. Just wondering if anyone knows if there are converters to convert from: MS Visual C++ 6.0 or MS Visual Studio 2003 project files into UNIX autogen/configure/make files?
  314. About Mapping Intergral Constants To Types
  315. Difference between a type and a class?
  316. Please help a newbie to Visual C++...
  317. What am i missing?
  318. question about string compare stricmp
  319. null pointers questions
  320. Storing (0, 1, -1, U, X) in a variable
  321. Undefined reference to vtable
  322. Redefine a member variable in a derived class
  323. Win 32 bit Programming
  324. Reverse Newline character?
  325. problem between c++ and fortran memory boundary
  326. (Templated) Operator overload on return type.
  327. How to hide class member variable
  328. Particularizing Template Method
  329. Generating combinations
  330. xemacs,gdb,I can't input from the terminal in main function,but others functions well.
  331. an information 'bout |
  332. template sort
  333. how pointers behave with int and arrays
  334. difference between unsigned char and char in c
  335. BUS ERROR
  336. How to create a project file from make files in VC++
  337. std::sort using a member function as the BinaryPredicate
  338. Are Built-in Data Types also Classes
  339. Name Of Argument
  340. '::memcpy' has not been declared
  341. reading from text file
  342. save(char* filename)
  343. q: minimization/optimization library
  344. Strange debugging
  345. problem with library for pocket pc
  346. Enumeration of Array Indicies?
  347. void pointer
  348. SGI CC compiler: What happens if I use --> #include "unistd.h" and "stdio.h"?
  349. Upwards-casting question
  350. conversion, promotion, exact match
  351. leaving an if statement (should be easy)
  352. How does the compiler interpret a template argument (reference vs. non-reference) ?
  353. Is "a >= b" equivalent to "a - b >= 0"?
  354. STL map search
  355. name mangling vs name decorating...
  356. Template function adaptors
  357. How to tell if function has been declared?
  358. Flex, Bison and ifstream
  359. How to find: Fatal exception not rethrown
  360. Meta class programming question
  361. Help I need to call a member from assembler code (WIN32)
  362. sendInput() can't work at chinese char?
  363. Difference between struct and class in c++ and c
  364. Dark-corners floating-point behavior in C++
  365. a small code for filter non-chinese files.
  366. Smart Pointer Question
  367. a
  368. question about recognizing data
  369. Help with copy constructor
  370. 3rd Edition vs Special Edition
  371. inline function in a class
  372. Is this legal?
  373. write to output file Query
  374. Manipulate two 8-Bits using Carry?
  375. Templates, nested classes and static members
  376. GoF:"C++ [doesn't] treat classes as frist class objects"
  377. references
  378. double or float
  379. Sequences
  380. Init an array in a class
  381. interesting pointer problem?
  382. operator bool and warning C4213
  383. unqualified-id?
  384. sign_command (e.g not_negative) missing(?) in C++ (/C)
  385. Setting Right Alignment
  386. Methods of Objects
  387. Autokey Viginere Cipher
  388. Compiler errors
  389. displaying output from this program
  390. new to pointers
  391. Need advice, client wants cut of my money from other client..
  392. How to build a library from the C++ using template?
  393. how find a char most use in a stirng ?
  394. grave problem with ifstream::is_open
  395. tellg() for large filesizes
  396. answer?
  397. memory leaks
  398. xml parseing
  399. Portable SIP C++ Library?
  400. How do I get bitmap information of a button (HWND)
  401. B/B+ tree data structure?
  402. Inheritance
  403. Value of a pointer to base type when assigned to a derived type
  404. Quick question
  405. Issues with for loops
  406. how to construct a class with member type unknown till runtime?
  407. removing duplicate entries in a list.
  408. tree template
  409. Safe garbage collecting
  410. OStringStream
  411. template/friend problem
  412. Convoluted template declarations
  413. SIGSEGV : 11 error
  414. c++ templates question
  415. Converting Int to String...
  416. Default args for Class B an aggregate of Class A
  417. HowTo make template class part of static library?
  418. object adaptor
  419. private inheritance
  420. don't know where is the catch...
  421. C++ Reference anywhere on the internet?
  422. Specializing on a templated type
  423. Gui libraries for C++ in Windows
  424. override when using object composition
  425. complie question
  426. type conversion
  427. Polymorphic types without virtual functions
  428. Access of base class' private base class: qualification required, why
  429. pointer to function template parameter
  430. -> vs .
  431. Compiles with tolower from global namespace but not with std::tolower
  432. Heiptrw ho
  433. another template specialization
  434. What is vector?
  435. The adapter design patter
  436. Note, the below topic should not have that title
  437. Problems with Template Specialization
  438. Conversions and overload resolution
  439. Default Debugger for VC6 and .NET (VC7)
  440. Message archive
  441. Default arguments and constructors
  442. How can I insert a Backgroundimage in my C++ programm?
  443. Movie list
  444. How can I insert a Backgroundimage in my programm
  445. Hintergrundbild in C++ anzeigen
  446. operator char*()
  447. Get IOS to use a pipe? (subclass it?)
  448. fstream and ofstream
  449. C++ Templates book
  450. C++ and Robotics the relations?
  451. file I/O question
  452. std::fstream
  453. A question about "new" in the constructor argument?
  454. How to Return Function Pointer's Memory Address?
  455. Destructor??
  456. CGI/C++ Problem with Microsoft IIS
  457. write to output file query
  458. C++ Program Lists
  459. Date in array?
  460. Class and Property Representation in image
  461. how to get pid from system() call in c/c++?
  462. problem in dynamic cast
  463. Pointers to base class (invoking methods of child classes)
  464. experimenting with unions - byteswap approach..
  465. std::reverse_bidirectional_iterator out of date?
  466. Announcing: Relational Template Library
  467. Determining if object has been allocated using operator new
  468. how do u convert a vector<float> A to a vector<double> B
  469. fprintf( )
  470. Best way to initialize an array of strings
  471. typedef template class
  472. Sudoku++
  473. struct and constructor
  474. accessing member function from another class
  475. c++ & dealing with files
  476. Build errors on "trivial" proof of concept design pattern
  477. Multi-dimensional Pointers in C++
  478. Repost:C++ compiler implementation details
  479. query?
  480. Unmanaged void* to .Net System::Array
  481. Functions
  482. There's got to be a more elegant way
  483. Pimpl idiom and member function templates
  484. template function cant be found
  485. macro with user input
  486. Need grayscale image class help.
  487. fastest way of storing structured data
  488. STL : compiling
  489. null or nil or initialised std::list iterator?
  490. how to pass a 2-D array to a function
  491. Computer's drives
  492. separating delcaration and definition of full template specialisation - how?
  493. C++ based fast parser for delimited records
  494. Help needed! in deciding career with C++ or Java
  495. Lifespan of anonymous instances
  496. C++ Library for Socket
  497. Is this thread safe?
  498. Precision of clock()
  499. Precision of clock()
  500. returning user control during expensive loop
  501. Problem: about negative right shift
  502. Buff's device
  503. Parameter mismatch with ?: operator
  504. Available C++ Libraries FAQ
  505. Doubt in GotW #27 - forwarding functions
  506. Load XML from webpage to use with TinyXML
  507. getline()
  508. new, delete, STL
  509. How to create Pointer Array
  510. C++ code statistics
  511. Access superclass' method in a template
  512. Settling ideas
  513. Opening a txt file to view ( i.e. readme.txt)
  514. 2 questions on primitive types
  515. help
  516. delete element from list
  517. Struct Help...
  518. in-place set_intersection
  519. How to eliminate the bitmap difference in little endian and big endian?
  520. Roots of a polynomial
  521. STL iterators
  522. I/O waring :failed to load external extity ""
  523. Messed Up Char Array
  524. [MSVC++]Inline Assembly
  525. Some questions about inheritance
  526. implementation approach ..
  527. set the stdin & stdout for an external program
  528. sqlext.h - ODBC link time error - dev-c++ IDE with mingw compiler
  529. Detecting member function constness
  530. namespace clarification
  531. templating operator[]
  532. program error
  533. STL complient container?
  534. reference vs pointer
  535. vectors and arrays
  536. cout related problem (I think)
  537. Why STATIC keyword is needed?
  538. My own sprintf(...)
  539. MISRA-C++
  540. problem with templates and inheritance
  541. C++ compiler implementation details
  542. Standard Serial Port Access
  543. Creating a txt file every for cicle
  544. Destroying set of smart pointers segfaults
  545. Arrays and Pointers
  546. Arrays and References
  547. passing a 2d array as a paramater
  548. Reference Counted Smart Pointers And STL Containers
  549. 3D array to 2D ptr casting...
  550. ensuring non-const equivalents