View Full Version : 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

  1. Simple parser question...
  2. problem with memcpy and pointers/arrays confusion - again
  3. Does this look correct?
  4. Does this look correct?
  5. Macro
  6. copy constructor
  7. simple return question
  8. p[assing by reference
  9. ambiguous call to member
  10. problem with a makefile
  11. structure initialization
  12. strange output
  13. Problem of finding funtion names in any C file
  14. linked struct
  15. Unknown Compiler Warning
  16. Pointer and Array
  17. Need Web reference and forums to learn C++
  18. How to use a vector data member when the class object is a vector?
  19. Garbage in a char* (getting rid of it??)
  20. Can a base class be its own factory?
  21. how about the function strtok()
  22. How can I use a function pointer to non-static member function of a class.
  23. Strange class definition
  24. Please comment on my integer to string code.
  25. PCI Slot/Card Question
  26. about c/c++ 问题!
  27. PCI Slot Question
  28. errno questions (leading to a slightly OT follow-up question)
  29. Please Comment on this Integer to String Code.
  30. To delete few lines and add few lines at the end of a text file using c program
  31. Output the whole value of a double
  32. Structures problem
  33. returning a pointer to a member function
  34. loop scope
  35. Parsing file to extraction records
  36. Where can I find more about string literals?
  37. tapping into STL mempool
  38. Which one is pure virtual function ?
  39. how to print the hello
  40. Obvious error, which actually compiled
  41. how many ways to convert a integer to a string
  42. overriding template function doesn't work?
  43. dynamic field names
  44. combining workspaces
  45. Stream buffers and rdbuf() question
  46. combining workspaces
  47. Query reg. C Program
  48. Help w/ converting FSA to NFA program
  49. simple output problem
  50. Creating object from the child of an abstract class causes to linkage errors
  51. Traversing Huffman Tree
  52. Need a C/C++ programmer for a freelance project
  53. Need a C/C++ programmer for a freelance project
  54. vector pushback compilation error
  55. UTF-16 & wchar_t: the 2nd worst thing about C++
  56. template class data member not found!
  57. Problem Solving Skills for Engineers
  58. Problem Solving Skills for Engineers
  59. Portable alignof
  60. Class Limits
  61. the easy way to check if the string is a number or not?
  62. Class and member templates, Default template argument, and Specialization
  63. questions about STL erase example
  64. How to seach a 2d array for another smaller 2d array
  65. A quick check...
  66. Variable Length Argument Lists -- A kind of template?
  67. bug in Screen Saver sample in Visual Studio 6.0
  68. fix code
  69. Interpreted Languages...
  70. Overriding a virtual function and changing its return type --- dependency issues
  71. Is there an easier way to work with pointers (sample code included)
  72. INT_MIN as decimal
  73. On-Line C++ Programming Tests
  74. casting from member to union
  75. Sun C 3.0 -> 5.8 Compilation
  76. /usr/bin/ld: ../../dist/lib/libjsdombase_s.a(BlockGrouper.o)(.text+0x98): unresolvable relocation against symbol `std::basic_ostream<char, std::char_traits<char> >& std::endl<char, std::char_traits<char> >(std::basic_ostre
  77. can a file be deleted from a stack without decrementing the TOP variable
  78. system() Statuscode
  79. Using the % operator with preprocessor constants
  80. C++ Beginner Guides
  81. windows messages and TracePlus Win32
  82. windows messages and TracePlus Win32
  83. How predicates are evaluated
  84. c with Oracle
  85. Memory allocation in Structure to Structure
  86. pointers
  87. Debug Assertion Failed! File: winocc.cpp
  88. Constructors in C++
  89. From COM Server(VC++) Can we call functions in the Activex Control (OCX file).
  90. Regarding Static
  91. output to a file (stream performance)
  92. Output of a program
  93. unexpected result
  94. Strange behaviour of long long and unsigned int
  95. Implementation Problem.
  96. Pointers to Arrays
  97. fscanf reading lines
  98. delete Vs. delete []
  99. external linkage or internal?
  100. Strange memory access error after calling dll
  101. Program to prove logical validity
  102. question on std::search_n
  103. compiling and executing a c++ program in QT designer in fedora core 1
  104. Is this a abstract classe
  105. default parameter with ...
  106. function linked but not getting called.
  107. can a rpogramm which was compiled in Windows XP run in Windows 2000?
  108. distance between two iterators in map
  109. exception handling ?
  110. convert int to char
  111. reading the number of unknown rows and columns
  112. string variable
  113. C user interface
  114. unexpected result
  115. When is an unnamed automatic variable destroyed?
  116. Qt gives "undefined reference" error when compiling
  117. Passing a three dimensional array
  118. Need help with a simple program
  119. why both value_type and reference
  120. data retrieving through ODBC in C++
  121. interlocking class definitions?
  122. pthread and multiple CPU
  123. Counting number of strings literals in double dimentional char array
  124. Passing reference to derived class object to base class constructor
  125. typedef or derive?
  126. Need help regarding building a small C++ to C compiler.
  127. Compare every bit of char versus unsigned char
  128. Volatiles in assignment expressions
  129. Convert an integer to a string? Plan B?
  130. C++ in Russian (Cyrillic) Alphabet?
  131. Regarding this problem
  132. smtp coding problem
  133. Regarding this problem
  134. Having problems with loop
  135. What's this in C?
  136. Program crashes on calling virtual function
  137. hi favour to u get advantage from this
  138. Visitor design pattern - breaking dependence on the target hierarchy
  139. hi favour to u get advantage from this
  140. strange link problem
  141. pointer to member type deduction
  142. Turbo C help
  143. Inherited members from templated class
  144. Create program to count words in a file
  145. Malloc, return address order.
  146. Why the commented code make things wrong?
  147. Sorting output
  148. Optimizing function pointer usage
  149. Felix 1.1.2 Release Candidate 4
  150. Member function pointer
  151. std::string and const char[] conversions
  152. How does this (program) array work?
  153. help!
  154. C/Hardware Verification
  155. How can exit(n) give a function the return value?
  156. Help - just a few lines of code needed
  157. Visual C++ Exceptions
  158. inline functions not inlined
  159. Microsoft C/C++ 7.0 compatibility
  160. Making Fatal Hidden Assumptions
  161. Coming back to C++...
  162. Serial Port commmunications
  163. Best way to exploit "export"
  164. Declaration of variables
  165. fifo
  166. external linkage of variable (IBM XL C++ on AIX)
  167. C compiler needed
  168. Small, non-validating XML parser/walker/reader?
  169. Small, non-validating XML parser/walker/reader?
  170. compilation error help required from gurus of c++
  171. Empty base member optimisation with multiple inheritance
  172. niiiiiiiiiiiice!
  173. Can negating a non-negative signed integer value ever overflow?
  174. stream to file a matrix
  175. Pure Virtual Function Hiding
  176. HELP: Visual C++ 6.0 to Visual Studio.NET 2003 woes......
  177. protected member and templates
  178. exported functions, what to do with it.
  179. Software copy protection
  180. Optional elements in a structure declaration? ( URGENT)
  181. How big number of INT can we use?
  182. reading file into string array
  183. what does a c program really represent
  184. list<WS<W> >
  185. Question about STL containers in multithreaded environment
  186. fread hangs before reaching eof()
  187. Private Virtual inheritance problem.
  188. printf argument
  189. "Copying" iostreams
  190. What does this mean ?
  191. mixing signed and unsigned
  192. How to call default constructor from other constructor of the same class?
  193. accessing protected mode registers via assembly in C
  194. what's the difference between *a = *b and a = b
  195. Best way to do a lookup tree
  196. 'restrict' in plain English?
  197. A traversal problem
  198. Automation Problems
  199. Get PNG file info using C
  200. Unknown function
  201. vector resize from within function
  202. multiple parameters with vectors
  203. Multiple successive merges with STL's merge
  204. what is the difference between getch() & getche()
  205. what is the difference between getch() & getche()
  206. slow complex<double>'s
  207. abstract class question
  208. question about operator overload and abstract class
  209. problem with std::map
  210. Can't understand template (Short Code I promise!)
  211. How can I remove an item in STL iterator?
  212. Zero always == 0000 0000
  213. build question: Finding available c++ compilers
  214. Malloc & sbrk
  215. Template Arguments Deduction Context?
  216. What do covariant return types buy us?
  217. Our Toolbar Featuring The Oscars Now Has Video! Check It Out If You Love Movies & Oscar Gossip!
  218. initialization and assignment.
  219. How c++ pronounce?
  220. Regarding for This Ptr.
  221. Source Code
  222. Help:the problem of Ring of Josephus
  223. vector of vectors erase question
  224. Segmentation fault in copy algorithm
  225. simulate getch()
  226. Iterator Issue
  227. understanding constructors and initializers
  228. string conversion problem
  229. g++ and tail recursion
  230. overwrite contents of existing file / manipulation ..
  231. This is ridiculous!
  232. functions that return pointer to function
  233. Proper way to wait for menu command and return?
  234. Programmer wannabee question about sscanf
  235. Data type Qualifers
  236. Overloading operator<< to output private class-data
  237. STL string find_first_of ( infinite loop )
  238. Gems -- #include <gems.hpp>
  239. Making a string into a c++ line of code
  240. two-dimensional array
  241. How can I const cast a reference
  242. str.find(str1) usage ?
  243. compiler madness??
  244. (float / double)
  245. pointer to class member function
  246. Basic class question
  247. when should multiple definitions of global variables trigger link time errors?
  248. How to make a struct contain a ptr to itself?
  249. when should multiple definitions of global variables trigger link time errors?
  250. MBR,C++ and system booting
  251. To Cut,Copy and Paste items to a linked list
  252. To Cut,Copy and Paste items to a linked list
  253. To Cut,Copy and Paste items to a linked list
  254. To Cut,Copy and Paste items to a linked list
  255. Preprocessor
  256. To cut,copy and aste items to a linked list
  257. who can type this programme
  258. I am a new user.......
  259. * in front of function name?
  260. hi
  261. Is this a abstract classe
  262. modulo for floats?
  263. Calling C function in C++ without deafult arguments
  264. Source Code Spell Checker
  265. Source Code Spell Checker
  266. A structures inner pointer
  267. How slow the 64 bit integer calculation?
  268. Large Scale C++ Software Design, by John Lakos
  269. delete this
  270. typedef /struct and the scope problems
  271. Initializing a class member variable which is a reference to an array
  272. Formulas from the c89 draft
  273. findbugs for C/C++?
  274. Passing args to main( )
  275. copy constructor Q
  276. Missing return value of a function
  277. C and C++
  278. Socket Help
  279. BST permutations
  280. How to avoid runtime switch/case code based on data type?
  281. multibyte length
  282. Just a dodgy compiler?
  283. Converting Packed Decimal in C++
  284. threaded system design advice?
  285. Trying to return a reference...
  286. Problem with sql parameters...
  287. A constant integral
  288. Operator overloading & inheritance question
  289. C++ Exception handling
  290. C++ Exception handling
  291. Call function at runtime
  292. "using"
  293. what the meaning of this?
  294. Global variables in modules---preserving values between module calls
  295. Whats more efficient and why?
  296. How to get next character?
  297. Benefits of using const functions
  298. segmentation fault using boost::program_options on Linux
  299. GCC time.h problem.
  300. Why do so many new style ansi streams and files etc, still use old style strings?
  301. code to flow
  302. Dealing with a large integer
  303. incompatibility of PGI compiler ?
  304. compilation issue
  305. Problem while linking .a file
  306. having "throw" write to a file before actually throwing
  307. C Lessons Project
  308. C Lessons Project
  309. Interview question - any suggestions
  310. tough interview question
  311. tough interview question
  312. getopt and getopt_long for Windows?
  313. Problem with File
  314. what is atoi( )
  315. Why this program is crashing ???
  316. order in if(expression)
  317. Efficient techniques to handle large binary files
  318. System time in miliseconds
  319. 2 questions about struct copy
  320. MST
  321. Bounded Array class
  322. Private constructor,Static constructor
  323. template for class method problem
  324. Wrap up Text
  325. Wrap up Text
  326. __declspec(dllexport) equivalent under linux / osx with g++ ?
  327. Makefile running a list of files
  328. scanf(), ungetc() behaviour.
  329. How to initialize array in class
  330. Serializing Enums
  331. Compile error listing
  332. Wrap up Text
  333. friend and unnamed namespace
  334. Anyone can give some instructions on the function of this asm?
  335. Types as tags and RTTI for flow control
  336. address of a struct or a pointer to a struct?
  337. vector of vectors push_back question
  338. std:map inheritance with MFC problem
  339. Online C test
  340. Why this doesn't violate One definition rule and how the linker resolves this
  341. Avoid using malloc?
  342. 25 Year Recruiter Gives You Inside Job Tips
  343. Write a program to play a "Dots and Boxes" game variation
  344. Write a program to play a "Dots and Boxes" game variation
  345. NULL pointer dereferencing?
  346. A simple 'C' problem
  347. Advice, references to implementation of a map or similar data structs
  348. Number of standard functions
  349. accessing multiple properties through a single set/get
  350. Problem with String Append or Cout
  351. Compile time constants in classes
  352. The 3n + 1 problem (Acm's problem set,help)
  353. sdp lib for C++
  354. Problem with enum and struct
  355. C++ FAQ
  356. determining function name in runtime
  357. main-return ???
  358. VC 6.0 Question
  359. Data Structure in C -.o0 Queue 0o.-
  360. Replacement for offsetof
  361. How to initialize a global variable prior to another?
  362. My BOINC,LINUX,Parallel Computing related blog
  363. bhaviour of front method on an empty map
  364. My BOINC,LINUX,Parallel Computing related blog
  365. Rgarding the diffrences in obj files
  366. pointer and reference confuse
  367. Linked list program question..
  368. Ceil double problem
  369. Use of explicit
  370. How to program to an interface
  371. overloading, function pointers, and templates
  372. How to change the following string into the floating point value?(urgent)
  373. single link list , binary search
  374. warning variable 'will be initialized later'
  375. pointers
  376. Help needed Please!
  377. problem calling method from parent of an object if object relayson template arguments of current template class?
  378. A question of fork() function
  379. 25 Year Recruiter Gives You Inside Job Tips!
  380. How to use a PDB file
  381. A question about mmap() function
  382. A simple qustion about C++ syntax
  383. Friend brings a friend.
  384. Friend brings a friend.
  385. Help! SIGBUS (object specifc hardware error) when call function getline
  386. returning char
  387. non-pointer type warning when initializing vector with NULLs
  388. Eclipse, Windows, cygwin and MinGW
  389. exporting inline functions
  390. call by reference
  391. matrix stuff (solving b = A*x) --> using numerical recipes
  392. Data Structure in C
  393. dynamic_cast segmentation fault
  394. Thought you could do this?
  395. delete this
  396. Common Iterator for the same container
  397. Common Iterator for different containers
  398. Object as Argument?
  399. boost::filesystem::create_directory()
  400. Duplicate global constants
  401. Wide Characters
  402. underscore names
  403. C All-In-One Desk Reference For Dummies.pdf
  404. exclusive error handling for ofstream closing
  405. Constructor in C++
  406. Help Me
  407. displaying 24 bit colours using C
  408. Get Value of Digit
  409. design patterns in c
  410. Image reading program
  411. Making all members of pimpl classes public
  412. Help with passing integer poniter to function
  413. Bug with vectors
  414. U++ 602 released
  415. Software copy protection
  416. convert argv[] to u_int32_t and checking it.
  417. read SD-Card serial
  418. how to do an infinite loop
  419. design patterns
  420. Interfaces in c++
  421. how to include color palette for a 8-bit BMP
  422. c++ program to covert an array into 8-bit BMP file
  423. get the file names?
  424. name lookup in derived class
  425. using scanf() in while loop
  426. Square root of a number.
  427. Reading from a file into an array of structures
  428. 25 Year Recruiter Gives You Inside Job Tips!
  429. Memory Corruption Problem
  430. Menu looping
  431. problematic recursive include with String and Exception
  432. inline functions and argument lists
  433. strcmp vs. string::compare(const string &)
  434. OT The Art
  435. Image Compression using DCT algorithm C++ source code
  436. "corrupted double-linked list error
  437. Private member accessors methods for objects
  438. how to format it for scientific number output?
  439. Launch of User Interface Community
  440. Launch of User Interface Community
  441. Is there a good online reference for C++ libraries?
  442. a question of style
  443. Memory allocation related question
  444. Prime Factors
  445. Polymorphic Function Pointers
  446. database with c++ dynamic serving
  447. Printing Patterns using for loops
  448. Portable Code that supports Unicode
  449. stdint.h and portability
  450. IO stream
  451. Working with bytes in C++
  452. strlen, strcmp and strcpy functions
  453. owernship of ying and yang objects
  454. please explain clearly what actually happens after i click on COMPILE
  455. string input
  456. How do you get a list of files currently in a directory??
  457. Hellp with type promotion
  458. webcam
  459. Typedef or not
  460. Help with C books
  461. Quickest way to find the rank of a <map>
  462. About black box testing in c/c++
  463. Help in c pointers
  464. thread argument problem
  465. thread argument problem
  466. about the array
  467. How to serialize the Tree - strcture data in C
  468. A small question
  469. Basic Confuse : about pointer & reference in class
  470. character array correction
  471. returning array to function
  472. Adding large numbers in C
  473. System error on pointer program
  474. Help Badly needed- replacing rules & strings
  475. Basic Managed C++ questions
  476. Can someone recommend a good licence management software
  477. Help Badly needed- FSA and ASCII stuff
  478. Does bit operation always work more efficiently than math operation?
  479. float
  480. malloc behavior on failure
  481. static inline functions
  482. variable declaration
  483. Access Violation rtrim function
  484. Overloading a function with const input parameter?
  485. strcat - strange behavior
  486. Is this a valid delete
  487. OT The Art
  488. 8 bit bit field?
  489. Fixed/Block Floating Point Arithmetic Support...
  490. Fixed/Block-Floating Point Support ...
  491. Which web browser you are using
  492. need help getting the results of the system function into a variable
  493. Rusty Surprises!
  494. private static member access by a friend class
  495. Real Time Type Information
  496. Double to string conversion
  497. variables & method naming conflicts
  498. Writing Data to Bit Field
  499. is it possible to bind 2 default parameters using function object(STL)?
  500. Driver Files in C++
  501. __int64 convert to int
  502. Is there a better way to simulate randomly choosing from weighted set
  503. About rand() in C
  504. Dos 16-bit proteced mode programming
  505. How to find at Runtime, if Created class object is instance of given class declaration
  506. How can I keep reference to an input parameter of a function?
  507. static variable memory storage
  508. how to pass arguments with two dimensional array???(Help!)
  509. GCC in linux 2.6.8
  510. what is the difference in this pointers decalarition
  511. abstract class problem
  512. Sorting Array of Structures
  513. Question on const int as demension of an array
  514. Virtual Methods Question
  515. what's reason to have a segmentation error?
  516. To find the area under the curve using C
  517. RFC: IP-DOS (tm) IdeaFarm (tm) Piggyback Distributed Operating System
  518. pre/post increment/decrement return type?
  519. Sorting Array of Structures
  520. On-Line IT Support (High-Paying with Benefits)
  521. On-Line IT Support (High-Paying with Benefits)
  522. Getting value of char in a string
  523. Inputting data with strings, and declaring variables for them
  524. Position File Pointer to newline immediately on some condition
  525. Help with Tokenizer Please
  526. templates
  527. private functions inside a function
  528. STL, std::transform and member functions
  529. food for thoughts
  530. #defines and multiline expressions
  531. Dirent.h
  532. pointer woes
  533. templates
  534. OOP can be simply summed up as 'passing messages to objects'
  535. Beginner Question - Data Types
  536. meaning of these symbol?
  537. [SDL] Problem
  538. Random Number Generators....
  539. Why won't set<string> iterator work?
  540. computing average value
  541. If you're interested in the OSCAR'S, check out our toolbar which has piles of 1 click links to everything OSCAR!
  542. C code for maximum sqaure that can fit in butterfly curves
  543. Putting implmentation in .h files?
  544. code to kill App
  545. Doubt about std::ifstream's getline() and seekg()
  546. Need suggestions for C links.
  547. why use "protected" instead of "private"?
  548. overlay class over memory
  549. template compile error
  550. Private access in an implementation still allows public access in an abstract interface