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