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