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. how to "new" a two-dimension array in C++?
  2. archive
  3. searching keys in std::map using map::upper_bound
  4. template specialization problem, but only with char*
  5. C++ sucks for games
  6. getting items from Hashtable
  7. reinterpret_cast and enumerations
  8. Simple question with array of strings
  9. address-of a template class template member function
  10. copy constructor question
  11. Link Error 'Multiply Define Symbol'
  12. prolem in calling mysql C API in C++ project
  13. abstract class and pure virtual
  14. Constructor Filter Through... ?
  15. namespace and #define
  16. [named pipe] i wanna know about validate of pipe handle of client
  17. simple and basic c++ question
  18. How to distribute classes in .cpp and .h files
  19. upper limit - no of fstreams
  20. Borland Builder C++ 6 It's tutorial on the Editor
  21. rainflow count
  22. bound template parameter as argument to friend member functiondeclaration
  23. explict keyword for constructors with no arguements ?
  24. explict keyword for constructors with no arguements ?
  25. Design pattern question
  26. Fatal Error C1083...Please Help
  27. Wonder why this error...for this .h file
  28. Access violation with AnsiStrings
  29. World's First Book on Professional Data Recovery Programming
  30. Interfaces and functions...
  31. Web Cam, Notification of Broadcast
  32. How to test memory allocation with new ?
  33. Winsock try catch exceptions
  34. VC++ .h files (No Build Tool)
  35. Does list.clear() delete the objects in the list? If not, what is the correct method?
  36. Debugging class into dll
  37. Design Question
  38. using namespace directive in header file
  39. named pipe problem on linux
  40. problem with boolean flags
  41. [C++] Rewinding an isteam and GNU G++
  42. Range-Checked Vector Problem
  43. Circular dependeny: Forward declaration does not help!
  44. Using STL on SGI
  45. Compile error: invalid type modifier within pointer declarator
  46. non-delay mode read from cin
  47. Compiler warning when using vector of pointers
  48. C++ Function Pointers
  49. Is f() lvalue?
  50. MathCode C++
  51. C++ Coding Standards : 101 Rules, Guidelines, and Best Practices
  52. Address of temporary objects
  53. how to save to a text file
  54. KBits
  55. Best IDE platform: Eclipse?
  56. std::find requiring operator!=
  57. Fox: best GUI Lib?
  58. More 2D array with pointers
  59. Code critique please
  60. unsigned int const does not match const unsigned int
  61. placement new and exception
  62. why size of *this and size of basic and derived class different?
  63. don't sync() on an fstream at EOF
  64. Some of the recent developments of the ISO C++ front
  65. crash when run out of memory
  66. Casting struct to char array (was: Linked List problem)
  67. #define and commas
  68. [STL] hash_map problem
  69. C++ compatible with C ?
  70. templated function with vector
  71. serial keys/validation keys
  72. embedded directory paths
  73. reassign keys in an STL map
  74. Destructor not called
  75. macro substitution
  76. ostrstream question
  77. Explicit and partial template specialization nested in classes.
  78. Problems with ....hmm, linker perhaps
  79. JKop bashing thread
  80. enums in C and C++
  81. static data member lost?
  82. new algorithm
  83. one question about comma
  84. algorithm help
  85. how to save to a text file
  86. Passing function addresses as parameters (Calling convention problems)
  87. strange compile problem with make
  88. Header files
  89. return i++
  90. Is there a data type in C++ called inline?
  91. TCP socket program where each node initiates connection with some nodes and accepts connection with the others
  92. objectStream in C++?
  93. Friend function of a template class
  94. Any way to speed up "new"?
  95. using map item without assigning onw first?
  96. Disable "New Hardware found"
  97. use of argc and argv
  98. how do I overload (type) operator?
  99. Printing 2D Arrays with Pointers
  100. Question: Program crashs without reaching the breakpoint set at the beginning of main()?
  101. ifstream --- error maybe?
  102. The history of throw?
  103. Is this valid?
  104. mul. inheritance & overloading operator new/delete solved by virtual base inheritance?
  105. typeid operator
  106. I need big integer library.
  107. multiple inheritance and overloading operator new/delete
  108. C++ to C++ transformer
  109. Create a list of numbers
  110. Portable way of obtaining current working directory......
  111. What can cause a fopen call to lock up?
  112. Don't no whether to laugh
  113. n00b help
  114. linker problem LNK4089 with WS2_32.dll
  115. Help with compiler errors for an old code
  116. Another help on fstream
  117. istringstream "hexadecimal string" value
  118. help for function pointers
  119. Operators that cannot be Overloaded - WHY?
  120. conversion of string to all lower case
  121. multiple inheritance and overloading operator new/delete
  122. Vector
  123. static const help
  124. A few floating point issues
  125. Linking libraries
  126. Reading command line parameters when main does not pass them??
  127. how to initialise a reference in g++
  128. Your C++ Homework
  129. Object of Combination, an example of C++ templates programming
  130. back_inserter() on strings
  131. operator overloading
  132. Classes/library which opaques jni.h
  133. Pure virtual called -- why uncaught by compiler?
  134. linking to a .so object's functions?
  135. float to char*
  136. Avoiding const_cast ?
  137. get a row from a 2-D array
  138. Global const strings
  139. Extending a class - initialising new members.
  140. Name for a common idiom
  141. use of member functions in constructors
  142. Union with anonymous struct
  143. Problem with hierachy and constructor
  144. Static Variable running init
  145. Marshalling in COM
  146. Changing Directories
  147. Template confusion
  148. a+b+c is not equal to a+(b+c)
  149. explict keyword for empty constructors ?
  150. abstract classes not detected by compiler
  151. Problem with pair container typedef
  152. png.h RGB-palette conversion help
  153. The right way to implement a common datasource for a hieracy of classes?
  154. diamond inheritance hides non-default constructor
  155. microsoft visual c++ path problem
  156. Problem with Event sending using ATL
  157. Call Stack
  158. C++ sucks for games
  159. partial template class
  160. size of empty struct ?
  161. Dynamic analysis tools information
  162. Trouble with Strings
  163. Printing stl::list objects in gdb
  164. screen capture problem
  165. test
  166. Array
  167. syntax error befor '::' token... what to do ???
  168. Where do I go from here? (Learning C++)
  169. Openning a file while in an object
  170. Toward an Introspection Open Standard
  171. Auto get()s and set()s
  172. Errors got when declaring member functions to be inline
  173. Why Use Classes?
  174. Visual Studio 2002 Enterprise Developer NEW IN BOX on ebay
  175. dll and c++
  176. RAII / handling failures during destruction - advice required
  177. vector: erase() and rbegin()
  178. Obtaining the position of an element with a collection
  179. Problem using mem_fun.
  180. C++ is EVIL, it's the computer language of SATAN ! ! !
  181. Subtracting large numbers usng linked list
  182. Trouble with operator overloading/type conversion
  183. Integer input
  184. Throwing a simple exception
  185. using templates and map
  186. Keeping a binary search tree complete
  187. my first 3D Multiplayer game using directplay (troubles with AppWizard's code)
  188. Don't understand this C++ exercise
  189. what is "in memory compilation"
  190. Making an input stream fail.
  191. linkage error when initializing static member array
  192. Deletion of a matrix
  193. runtime log
  194. Getting the type of a variable?
  195. std::vector<string*> crash...
  196. Compiling cgicc w/ MinGW?
  197. question about const and text segment
  198. Small code review
  199. iterators
  200. help with my c++ example
  201. class problem
  202. problem with STL container and dynamic classes
  203. what kind of bug?
  204. ifstream with files > "GB
  205. Standard Library function converting char[] to int?
  206. Clearing input buffer
  207. iostream trouble (accessing basic_ios)
  208. Temporaries, non-const yet r-value?!
  209. Conflict with <fstream> and <vector>
  210. c++ named pipe example
  211. rand() function doesn't work well??
  212. One Big (std::) Header File?
  213. flush the stream
  214. Converting from binary to long
  215. weird error
  216. STL template
  217. where is std::string defined?
  218. Urgent: Need info on C++ Linking
  219. Probably a Stupid Mistake
  220. STL: Searching with binders and predicates
  221. pow() question
  222. Yves Meynard's Enumeration class (CUJ Web exclusive, May 2003)
  223. borland c++ 5.01?
  224. Survey - Common Programming bugs and Bad practices
  225. bitmap backgrounds?
  226. vulnerabilities
  227. Cannot See It!
  228. include
  229. MSSQL from DOS
  230. Problem initializing class with literal array!
  231. streams and functions
  232. Object Argument passing in pthread_create
  233. USB programming
  234. libstdc runtime error on Unix box
  235. Code Problem
  236. Implementing deque with a couple of vectors?
  237. Problem with usage of STL release Dll with debug application
  238. Plz send me some good online link for memory model in C
  239. std::map insert core dumps
  240. templates in a std::vector??
  241. Arrays over vectors?
  242. __lll_mutex_lock_wait ()
  243. help needed with some c++ programs... urgent
  244. (ot) A Big Thank You?
  245. Question about Extended ASCII character set, and fstream
  246. about constants...
  247. Anyone know of a good ODBC Database Class?
  248. defining new types
  249. dynamically instantiate a class
  250. Calling a C library function from within C++
  251. templated constructor specialization?
  252. Sentinels and nested if
  253. EDG possible sozeof BUG
  254. dereferencing memory location some time after deleting the same one
  255. why is this still working??
  256. Copying objects and arrays
  257. When is a static data member defined?
  258. string & array
  259. How to static link .dll files (not MFC) into .exe file in Visual C++ 6.0?
  260. STL & Multithreading
  261. Function Pointers
  262. Convert a char array to a managed system string
  263. casting problem
  264. virtual base class overhead
  265. Why being an indifferent typist may be harmful
  266. generic programming and dynamic polymorphism
  267. a[3} slower than a.x; a.z; a.z
  268. std::max_element
  269. test
  270. inline functions and return by reference.
  271. Vector Elements
  272. testing
  273. testing
  274. pointer to structure?
  275. namespaces conflict?
  276. Reading specific memory address into variable
  277. What's static link at runtime?
  278. No out_of_range exception for "iterator + n" vs. vector.at( n )
  279. Refreshing application during SQL - command
  280. Multithreading library
  281. Portable libraries for Mac/Win/Lin?
  282. Connecting Access Database
  283. Command line interpreter
  284. Printing "long double" type via printf() on MinGW g++ 3.2.3
  285. case insensitive string::find
  286. POSIX Time
  287. No scientific notation?
  288. Dereferencing pointers
  289. A fast column based Cholesky factorization in C++ needed
  290. C++ IS OLD TEHNOLOGY!
  291. initalizing vectors
  292. Where is the specification for <complex.h>
  293. question about excerpt from "Accelerated C++"
  294. contradiction in TC++PL?
  295. Windows App - C++
  296. No Macros, No for loops, Pure C++
  297. Beginning C++
  298. about cout output format
  299. sscanf feature in C++?
  300. Winsock - Empty Receiving Buffer
  301. [Q] Impact of Unseen Types
  302. Numerical methods with C++: Any book recommendations
  303. [URGENT]Signal Handling
  304. strcpy and the copy constructor
  305. [URGENT] fgets reading last line in file twice
  306. Nested namespaces
  307. [BCB] moving components at runtime
  308. [g++ mingw eclipse] How do I setup Eclipse to use MinGw's g++ compiler?
  309. Hmm... inheritence... hmmm
  310. Unwanted / unnecessary prompt connecting to DB
  311. Fun with valarray.
  312. Help on code for dynamic matrix using pointers
  313. Anyone Know of Good Date/Time Classes?
  314. Stupid Question #119
  315. Template functions and overloading
  316. Inputting integers with commas
  317. [not-in-charge]
  318. Inheritance and object factories...HELP!!
  319. agile
  320. compile time efficency / run time flexibility - best of both worlds
  321. Incredibly simple graphics question
  322. seeekg/tellg not working properly?
  323. Who can help me?
  324. realloc vs vector
  325. finding the class address
  326. one more
  327. the last one
  328. help to solve this
  329. what's the scope of i ?
  330. Strange problem with storing inherited classes - HELP!
  331. physical constants header file
  332. count of pointer to array question
  333. Code review requested, Accelerated C++
  334. calling parent virtual function wtih out calling it
  335. Challenge: Triangles puzzle
  336. problem with select() and sockets...
  337. Forward References
  338. map::reserve
  339. using namespace std;
  340. can you make the anticheatpatch?
  341. Rules for #define
  342. Why does this crash?
  343. What the hell is going on??????????????????
  344. homogeneous container
  345. Determining a variable's type
  346. Placement operator new/delete question
  347. Why Is This Bad Code?
  348. Use of lower_bound
  349. Summary of C++ (ANSI/ISO) standards
  350. C++ and C difference
  351. [Fwd: <string>.replace]
  352. [Fwd: perl AUTOLOADER vs c++]
  353. Messy static Downcasting, any alternatives??
  354. std::replace() usage. what is wrong ?
  355. How do we define the implementation language?
  356. Which book is talking about standard c++?
  357. (Why) Can't char* template parameters be const?
  358. Easy Question
  359. malloc to new
  360. a question declaring a STL container holding iterators
  361. Base or deruved object?
  362. Template problem: Why does this work?
  363. Casting Function pointers : Can anyone correct this MS Knowledge base Example pls ?
  364. std::vector show as a bitmap with VC++
  365. pointer calling trouble
  366. Clarification of enumeration
  367. Source Control Review
  368. Retrieving fstream filename?
  369. How can I bind two argument member function?
  370. Why filename uniformity is important. *.c++ *.h++
  371. C to Java Byte Code
  372. References to multidimensional array
  373. References to multidimensional array
  374. dangling reference
  375. [Q] const declaration in .h file
  376. Making lokal defined Multidimensional Array Global
  377. Standard C++ and old-C++ headers
  378. Broken header files on 'Je me lance!' CD
  379. Looking for a ASCII flowchart utility
  380. Macro Destroyer
  381. Initialized object solutions
  382. Problem with std::string erase function
  383. Problem with std::string erase function.
  384. Problem with std::string erase function.
  385. Assigning std::sqrt to function pointer
  386. initializer lists and user-defined containers
  387. File to Structure?
  388. Looking for IDL generator.
  389. Vectors in STL
  390. Why isn't this template being instantiated?
  391. sizeof(enum) == sizeof(int) ???
  392. Return by reference
  393. Copy Constructor and memory allocation
  394. An exponentiation function for int?
  395. #pragma problem?
  396. malloc error
  397. how to take a reference of inserted items?
  398. question about <list> and pointer to its items
  399. cannot pass objects of non-POD type
  400. using hash_set in gcc3.3
  401. c++
  402. UNICODE support
  403. Things I hate about C++
  404. FFTW execution
  405. my first in newsgrop!!
  406. intercepting output to cout
  407. cannot convert char** to const char**
  408. Please help! How do I create a serializable object in C++(NOT VC++)
  409. Friend Class Blackjack and Bet
  410. template compile errors
  411. odd problem with static initializers
  412. Question about delete/new
  413. Debugging, PDB files
  414. How to do that
  415. how to get the CPU time with VC++ (win)?
  416. desperate need of help
  417. variable scope
  418. friends namespaces and operators
  419. Object Initialization
  420. AnyClass
  421. Tab control in mfc
  422. Can't spot source of corruption!
  423. static template functions inside classes
  424. Reading a file from a specified range
  425. Linker error LNK2001 with bools
  426. How to initialize a const array class member?
  427. const_cast undefined results
  428. vector and bool
  429. java
  430. authentication
  431. Multiple Inheritance and iostreams
  432. Socket programmin on Sun Computer
  433. Normal Distribution random number generator
  434. File locking
  435. Graphics...
  436. Compile
  437. ok my bad
  438. Function pointer to member functions
  439. How do I find out a remote machine's IP address?
  440. How can I use a non-trivial constructor with as little code duplicationas possible?
  441. Can a template class have a static data member of type T?
  442. lifetime of static objects
  443. A simple class?
  444. Bit-twiddling with floats
  445. reference to array?
  446. TRUE, HANDLE definitions. Where ?
  447. std::size_t Which header file?
  448. Performance of hash_set vs. Java
  449. How to use vector with classes in it as return type?
  450. most accurate printf("%f")
  451. umm... something... template(s)... something else... pointer(s)... and such... 0.o yah, I'm hopeless and clueless o.0
  452. Linked List in Java
  453. Difference between int() and (int)
  454. Converting enums to pointers
  455. Templated identity matrix with parameterize order?
  456. Why doesn't this work? (pointers)
  457. Default parameter of a pointer
  458. Diagnostic required?
  459. avoiding object files
  460. XML parsing with xerces
  461. opening a file in text mode
  462. Inheritance & Templates
  463. Cutting From RichEdit
  464. C++ documentation...
  465. segmentation fault on delete object (which belongs to some class under a hierarchy)
  466. C++ help
  467. Exceptions vs. Error Codes
  468. is it string's getline or just me?
  469. RichEdit & Streams
  470. Threads
  471. C++ Threads
  472. NEED SOME HELP GUYS.... :(
  473. Self-assignment?
  474. Make t2 const: T1 (&aPlus(T1(&t1)[S],T2(&t2)[S]))[S]
  475. how to convert char to binary?
  476. is this portable
  477. Fail to initialize struct from fstream
  478. Calling parent constructor from child constructor
  479. Supressing sign extension
  480. STL binary search
  481. Any new development of C++
  482. isdigit() for characters greater than 127
  483. Fun with error messages
  484. accessing variables from more than one .cpp file
  485. problem compiling functor with sort
  486. Map with key in another namespace
  487. Optimization by hand.
  488. Access a class as if it were POD
  489. Array problem
  490. Problem with unique and a binary predicate?
  491. compiling time
  492. Unable to delete [] char* in MSVC 6.0
  493. Memory Mapped IO and Sample code for win2000
  494. Creating POSIX threads with a class function
  495. Access to public base classes protected functions in objects differentfrom this
  496. Writing a float or double's byte values
  497. A little design question
  498. Hi , the following program segfault with g++3.3 , works with g++2.95 why ????
  499. "Non-constant" constant can't be used as template argument
  500. C++ Classes within DLLs?
  501. Little help on stream...
  502. Beginner learning how to build a Router Simulator?
  503. Returning an array?
  504. the colon (:) in a struct
  505. Valid code?
  506. How to generate a EV_RING event in rs232 serial COM port? visual c++ 6.0
  507. Change resource dll list while runtime
  508. Missing objects (c#)
  509. Template function as argument to another template function
  510. Value initialization. . .
  511. Pulsed Event?
  512. Retrieve z/OS Dataset Allocation Parameters
  513. auto_ptr vector discards qualifier
  514. devX Singleton threadsafety
  515. 'delete &Buffer' is legal ?
  516. C library errors -> C++ exceptions
  517. advantage of returning values through the argument list
  518. Template classes and inheritance
  519. c++builder exceptions
  520. THE SINGLETON PATTERN?
  521. How to generate UML for C++ code in windows system?
  522. RefCounts
  523. function pointer as template argument
  524. Exception-safe constructors
  525. OT but may be significant
  526. Help needed - template type issue
  527. How to create a bitmap?
  528. Comparator template argument in recursive templates?
  529. need help with a While i'm a beginner
  530. Workaround for static methods that need to be virtual
  531. Please use wxWidgets
  532. I need help! How do I update an Access database from a Vc++ application?
  533. compiler error in spite of correct code
  534. huge vector
  535. Custom streambuf class
  536. Operator overloading on "default" operator
  537. alternative to RTTI needed
  538. Polymorphism, again
  539. Automatic detection of "dead" headers?
  540. Yet Another Question About Smart Pointers (YAQAS)
  541. help: reference to a pointer
  542. loadable plugin architecture for g++
  543. help: copy of pointer & values
  544. cin is eating my output
  545. Problem with my automatic pointer implementation
  546. vector<FakeBool>
  547. File descriptor turns to 0!
  548. Automatic Conversion of STL Containers: e.g. from vector<derived*> to vector<base*>
  549. Please help on ostream output error
  550. elements not inserted into map<char*, ..> ?