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. Searching text in a file
  2. help lpz
  3. do {...} while () ;
  4. Cordic
  5. DBCS/Unicode
  6. problems in file handling
  7. The fastest way to fill 2D dynamic array with zeros
  8. need help with mingw
  9. MATRIX
  10. how do you sort records in a file
  11. Addition with pointers
  12. How portable is C++ today
  13. Invitation To Goldlynks Club And Enrich Yourself @ www.cashcards.net/rep/76574
  14. Conditional compilation inside a macro
  15. Spring cleaning CORBA.
  16. Dynamic Binding
  17. to improve programming in pointers
  18. mmap, why do not work?
  19. to improve programming in pointers
  20. Having problems with a loop
  21. Fibonacci Printer Program won't print to file correctly
  22. Q: overloaded operator[](int)const: influence on what version is used?
  23. How to encrypt a string with des in pure C?
  24. Questions about C++ tools on Linux, and Solaris, Eclipse-CDT
  25. Find out the index of a vector which has the min element
  26. function template and operator () overload
  27. elements common to more than one vector...
  28. Question about inheritance
  29. Can I print more accurate time?
  30. __FILE__ marco
  31. Can use of singletons denote poor project design?
  32. Embedded VC++ experts needed.
  33. Graph optimization
  34. Type safety
  35. specialization
  36. Changing which methods a class has by deriving from a template argument
  37. Way for computing random primes in standard C.
  38. add a null to a std::string.
  39. Frustration - Input Output Question
  40. Books
  41. Optimal Efficiency: dynamic_cast pointer or reference?
  42. 9 bits crammed in to 8 bits space...
  43. How to install lapack in fedora core 4?
  44. Whats the use of %p
  45. merge two binary trees
  46. fast insertion to the std::map
  47. Which graphical library for a multi-platform application?
  48. multiple mains()
  49. absolute newbie help on Visual C++ and .NET Framework 2.0 problem
  50. what is wrong with this
  51. printf() error with long double and null pointer.
  52. how to eliminate this warning?
  53. Likely/Unlikely and standards
  54. Gcc - 3.4.3 Help !!
  55. How to convert binary to hex using a macro?
  56. Compile errors in *.y file (yacc ???)
  57. comparing multiple strings
  58. How is reference implemented in C++?
  59. Is C++ developed in Microsoft .NET Framework considered a .NET application?
  60. Pointer assignment
  61. array duplications
  62. Finding 2 lists if there is equal element?
  63. help on type compatibility?
  64. virtual template members
  65. Static Ploymorphism
  66. getenv() in global space?
  67. Why doesn't this program work as expected?
  68. std::uninitialized_fill
  69. I'm losing the address of an object... segmentation fault!
  70. Is this legal?
  71. getenv() in global space?
  72. Good use of pointers?
  73. I'm not understanding something
  74. need some help...
  75. strcat and overwritten strings
  76. why delete operator crashes
  77. doubt about freeing memory
  78. _beginthread build problems
  79. Why delete operator crashes
  80. Looking for a C++ profiler
  81. Casting pointer to member
  82. C programmers needed!
  83. C++ Programmers Needed!
  84. Hare and tortoise
  85. How to use Functors with a function struct
  86. VLA Question
  87. How to write a simple simulator
  88. multiplication by 7
  89. GTK2: no images are displayed
  90. pthreads and gdb?
  91. Variadic macros
  92. Mapped function pointer with different parameters
  93. portable code and enums of various sizes
  94. Subtracting pointers: Which type to use to store the result?
  95. Output using c++ compiler
  96. strtok ? ?
  97. Question on Pointers
  98. reason for existance of function hiding
  99. remove entry from text file [NOT A HOMEWORK]
  100. Assembling a string
  101. constructing objects from a stream
  102. How to pass pointer to overloaded function?
  103. Create a template which declares STL iterator
  104. reading data from a file into a 2d array
  105. GetWindowEx() looping question
  106. Long and Int
  107. reading screen resolution
  108. Pro Bono programming
  109. multiply two arrays
  110. basic question for pointer
  111. Initializing multidimensional arrays in constructor
  112. problem in modular programing
  113. executing c++ program under unix, unable to run the application
  114. problem with return
  115. Calling function depending upon MACRO value
  116. Types longer than native machine word
  117. KPIC makes programs running crash when libraries are recompiled
  118. KPIC makes programs running crash when libraries are recompiled
  119. Error: glibc
  120. The Information Operations Roadmap
  121. validating an object pointer returned by an exported function
  122. Call stack of a SIGABRT, please help
  123. Casting a pointer to an int and back
  124. How to convert char* to WCHAR* in C
  125. control and data coupling
  126. A problem about type cast in bitwise shift
  127. Empty Main
  128. a stl map which use stl pair as the key
  129. using a vector of pointers in a for loop - C++
  130. Why I can't use for_each to call a member function with a ostream& parameter?
  131. Integer printer won't compile
  132. How to print ® symbol in C
  133. condition on template variables
  134. what's the difference between type struct and type class exactly?
  135. Is it possible to make void * safer?
  136. How to print ® symbol in C
  137. dos screens in c
  138. Write a transform_until template
  139. floating point to fixed point conversion
  140. Creating a packet for RAW socket transfer
  141. "c++ symphony" by Jerzy Grebosz
  142. API design question
  143. "c++ symphony" by Jerzy Grebosz
  144. Ever see anything like this?
  145. Tildes and accents
  146. initializing table in class
  147. a question about a string
  148. Calling a template function from another template
  149. Calling a template function from another template
  150. borland findfirst not sorting by file age
  151. passing objects through dll boundary?
  152. Log file deletion?
  153. Expert.C.Programming.pdf
  154. where
  155. passing objects through dll boundary?
  156. JNI:"undefined symbol" in "shared-library"
  157. template id does not match any template declaration?
  158. How to delete stl<map> element from iterator?
  159. iostream and memory-mapped file
  160. signed vs unsigned
  161. C Newb Killer - Bitwise operators
  162. Linking of <stdio.h>
  163. win32 FindWindowEx function
  164. static in [ ]
  165. How do I know if I am moving left or right in a binary tree?
  166. How can i calculate a execute Time of routine Or function?
  167. Does this program make any sense?
  168. Does this program make any sense?
  169. Portable 'lowercase' function for stl string?
  170. std::ostringstream
  171. what are the STDOUT, STDERR,STDUPDATE streams?
  172. ras api win98
  173. boss-worker model in C++
  174. biggest reason for using memory manager in large C project.
  175. help req. on controls
  176. STL Map: Sorting options?
  177. comile on winxp for Sun Solaris
  178. Namespace specialization
  179. what is corresponding code in c++ for malloc
  180. Character Constants
  181. to calculate bitsize of a byte
  182. is it possible to possible to create an iterator from a callback interace?
  183. What is the advantage of malloc over calloc
  184. Requirement of C++ professionals
  185. Which is better, C or C++?
  186. Which is better, C or C++
  187. String to Octal
  188. Why can't I use gdb?
  189. Weird realloc() error
  190. Checksum calculating program
  191. DOS Watcom C/C++ problem
  192. write to memory map I/O in a for loop
  193. C++: Help output nested strings
  194. PLEASE HELP Trying to use SSH programmatically to run program on remote host
  195. macro to print local information (about function name etc)
  196. ostream which uses my own output method
  197. How do I "read-in" numbers from the left?
  198. STL container questions
  199. templated class implementation in C
  200. const * and a problem with redirecting input
  201. How to print out
  202. Wierd Map Behavior
  203. how to print it out
  204. UB in assignment ?
  205. jump over lines in C
  206. Nested exceptions (ala Java)
  207. c99 docs - any good?
  208. c99 docs - any good?
  209. Internal Enum and Inheritance
  210. recursive factorial function.
  211. error in my vector program...
  212. 'C programmers' would have seen this a mile away
  213. inheritance
  214. Static Class configuration
  215. Class pointer vector and STL
  216. Variable length arrays Q
  217. Assigning a variable to a specific memory location
  218. Question to malloc
  219. const int FOO vs #define FOO
  220. Problem about Static
  221. Small Issues on Convention
  222. boolean arrays
  223. QUERY: strip trailing whitespace ... woes :S
  224. Using different types depending on run-time input
  225. ifstream binary read into unsigned char b[LENGTH]
  226. help plz
  227. New Forum
  228. equivalent c data types for vc++ data types
  229. linux compatible c datatypes for vc++ data types on windows
  230. millitime
  231. average
  232. int to char*
  233. clock()
  234. Template, Inheritance and Operator Overloading
  235. Seriously struggling with C
  236. What do these casts accomplish?
  237. istringstream and optimization
  238. emacs, linux and C
  239. ld: warning: creating a DT_TEXTREL in object
  240. C API?
  241. Exception class EInvalidOp: invalid floating point operation (x-posted w/ borland.cppbuilder.cpp)
  242. Destructors, pointers and scope
  243. new programmer
  244. help
  245. struct ptr within the same struct
  246. Pointer to pointers of structs.
  247. Implementing Just-In-Time Compilation
  248. Question about a prototype involving "const"
  249. preventing following stdout getting into the stdin-stream
  250. help!!
  251. Please, how to use a token to perform mathematicals operations in a C snipe program ?
  252. just a simple question
  253. Reading into linked-list from a file
  254. Call by value in C
  255. Confused about learning C++
  256. Built for speed - mmap, threads
  257. Getting more than one implicit conversion
  258. Sleeping in milliseconds
  259. some questions from a freshman
  260. How to convert an integer to ASCII character ?
  261. Hash Function (str -> 32 bits)
  262. programming skills
  263. "instantiated from here" compile error when using template
  264. Read only last line-
  265. gsl - can I solve n-order linear ode
  266. mystery code?
  267. copy algorithm:segmentation fault error appears
  268. object as a argument of the method in which the method is defined ?
  269. c++ lint tool
  270. need help with my C++ program
  271. same index, different containers.
  272. Problem with variation on the Singleton pattern
  273. Manually implementation of gotoXY( int, int ) function
  274. Designing a const-correct iterator hierarchy
  275. Static object initialization
  276. Exporting templates
  277. C vs. C++ vs. Java
  278. Method to Specify Uniqueness of Objects in an STL set?
  279. MFC in Linux
  280. STL VECTOR
  281. MFC in Linux
  282. help about project
  283. member template specialization
  284. Programming Source !
  285. ADO
  286. Not getting desired output
  287. Available C++ Libraries FAQ
  288. Trees in c++
  289. Trees in C++
  290. void* operations
  291. VC++ 101 book wanted
  292. Is there a pre-processor marco to get the class name?
  293. Gamma Inverse CDF
  294. array template
  295. How do I define a function in a class template?
  296. variable scope in threads
  297. how best to get the offset of a field within a struct?
  298. Loki library guide
  299. Inability to explicitly specialize a template class within another non-specialized template class
  300. Deriving from an iterator?
  301. C compiler and multi-core support
  302. function pointer to itself
  303. IT tests. C, C++, C#, VB.NET, ASP.NET, SQL, HTML, XML...
  304. Word Counts and Function recommendations
  305. making functors adaptable
  306. Saving old stream format and restoring it
  307. Sanity Check
  308. ASP, ASPX, PHP, JS, XSL comment remover for web applications
  309. Exceptions
  310. Static variable in a member function
  311. how to see the source code
  312. Is this string input function safe?
  313. UCHAR problem
  314. ansi to oem conversion with borland C3.1
  315. template: "typename" or "class"?
  316. function template arg deduction with arrays
  317. Using variadic functions within variadic functions
  318. problem with pointer to array
  319. file into dynamic arrays
  320. Should I include this <stddef.h> ?
  321. a simple problem about printf("%10.5f",f)
  322. a simple problem about printf("%f",f)
  323. Plauger, size_t and ptrdiff_t
  324. struggling with void pointers/functions/structures
  325. STL sort implementation
  326. new operator - difference in usage?
  327. Some working code for a change...
  328. why class keyword in C++
  329. Base class pointer in dervied class pointer
  330. Curbing the foul google interface
  331. Question about find_first_of of the STL string class
  332. Novell Programming Language
  333. Fibonacci...
  334. problem in declaration
  335. Chi squre
  336. on not casting malloc
  337. Parsing CGI input string
  338. Waring about pointers
  339. Writing BOOLEAN Array to a file
  340. Write BOOLEAN Array to File
  341. Can I use back_inserter as the output iterator?
  342. Cannot explain why the date is changed to 1792.
  343. getenv connected to argc corruption?
  344. How do I print a 0 in the beginning?
  345. types containing vectors or maps
  346. valarray construction from C-array
  347. Deletion of Union of Pointers
  348. What is the right syntax
  349. Good Programming Techniques?
  350. get_double input function (getchar+scanf)
  351. Evaluation of C program
  352. Hyper-text version of C++ standard
  353. stl vector no match for 'operator=='
  354. arrays and strings misunderstanding...
  355. scanf (yes/no) - doesn't work + deprecation errors scanf, fopen etc.
  356. How do you do old fashion CPP hackery in templates?
  357. Issues with npos? writing a non-boost string tokenizer
  358. Words Words
  359. dynamically sized block of memory
  360. compound intrest program(beginner)
  361. assignment
  362. Concurrent updates of the same file
  363. an interesting exercise by Accelerated C++
  364. How to encode/decode a HTML using C++??
  365. How to tokenize string without using strtok
  366. enum
  367. ?output
  368. Calling virtual function in constructor
  369. c
  370. How to call abstract function
  371. IsBaseOf function
  372. Library for parsing pdf docs?
  373. arrays again :-)
  374. Own filters(?) to streams
  375. Forward declarations
  376. simple intrest program(beginner)
  377. occurence problem
  378. Pointers and bit manipulation
  379. The best C book
  380. no appropriate default constructor available
  381. explanation needed on const pointers
  382. address of references to pointers
  383. STL map Unusual behaviour
  384. size_t or ssize_t
  385. web crawler in python or C?
  386. how long should it take to delete 34 million __int64 from a map?
  387. Is this correct
  388. how to see the 'cipher' text from the output?
  389. Endianness of machine
  390. sizeof problems, help!
  391. Copy elements from one STL container to another STL container
  392. Pointer to member-of-member???
  393. undefined reference to floor()
  394. Linked List Issue
  395. Undefined problem
  396. help getting average
  397. Into an array of structure arrays.
  398. std::bitset in union
  399. parking garage calculator
  400. Providing a Marhs Library
  401. ASCII file parser - to read between brackets ()
  402. parking garage calculator
  403. Header problems
  404. copy array - row-wise
  405. row-wise copying of 2D arrays
  406. Digits after the decimal point
  407. Calender Algo
  408. Pass a back_inserter as the output iterator in remove_copy_if algorithm
  409. LD errors when I link to archive, but not with the objects.
  410. Sanity Check -- Is this valid C++?
  411. Moving to static_cast and reinterpret_cast from old C-style cast
  412. containers and pointers
  413. upper_bound
  414. Passing zero to a 'const reference'
  415. Regular expressions: string substitution with pcre or any other library?
  416. Profiling evaluation tools?
  417. Profiling evaluation tools?
  418. Why can't a local structure be used in a vector?
  419. problem with map construction
  420. function change - is this a poor option
  421. Use of Assertions
  422. explicit invocation of a constructor template of a class template
  423. Problem with setjmp and long jump
  424. need help with program
  425. How to fputc 'EOF' to a FILE stream.
  426. strcat (run time error)
  427. Return a 'read only' view of a STL vector attribute
  428. question about struct??
  429. using htons()
  430. Question about my program
  431. change index between 0 and 1
  432. c++ utility class
  433. Other than VC++
  434. printf ultra-fast question
  435. How to create copy_if algorithm?
  436. Reduce Dependency ?
  437. problem with vector iterators
  438. Sorting lists containing big objects.
  439. template list prameter
  440. Is this fast?
  441. Map Seg Fault
  442. Book "Primer C"; advice needed
  443. String questions
  444. Help! Where is size_t ???
  445. compilers
  446. How to use Boost bind library with STL accumulate algorithm
  447. Seg Fault Help
  448. inheriting enums
  449. signed and unsigned types
  450. MS Visual Studio 2005 - Download Full
  451. Need help sorting a list please...
  452. STL transform algorithm
  453. Linking error
  454. Flexible arrays - v confused
  455. jni help...
  456. puzzles...puzzles...
  457. ternary tree (ann)
  458. Templated virtual member functions
  459. Are string literals local or otherwise temporary?
  460. static members of template classes optimized away?
  461. Nested class member pointer access
  462. Casting
  463. using STL set with objects
  464. NMAKE FATAL ERROR U1073
  465. Compailation
  466. Looking for source code for Linear programming
  467. Looking for Source code for Linear programming
  468. Overloading a function in C++
  469. Signal Handling in C++
  470. what does this friend declaration mean ???
  471. Design question: accessor VS attribute
  472. assert failure
  473. List Alg/code
  474. How do I (fseek, ftell, stat)?
  475. System("Ping") always returns 0
  476. fmod
  477. C Puzzles
  478. replacing array by vector type in existing code?
  479. C/C++ char pointer question
  480. C/C++ char pointer question
  481. Memory leaks reported creating simple array of class
  482. duplicate C++ code
  483. read a file line by line in c++
  484. Pointer problem: compiles but crashes
  485. const strings in class
  486. Quesiton with 'const'
  487. Casting a structure to an int
  488. help with 'left-right' cdecl rule
  489. Map Question
  490. preprocessor token
  491. Save BMP images through C
  492. What can I do?
  493. ISO C++ forbids declaration of 'vector' with no type
  494. Fast 1D DCT Implementation in C/C++
  495. Fast 1D DCT Implementation in C/C++
  496. Spaces in C
  497. Accelerated C++ exercise
  498. fork()
  499. Help with typedef
  500. Line overwriting
  501. Open Watcom
  502. style of constructor initializer
  503. Template<> confusion
  504. code optimization
  505. Pointers to elements in a Double-Linkedlist
  506. _tfopen()
  507. memmove() Usage
  508. call copy constructor in "=" operator
  509. compile error " instantiated from here"
  510. compile error " instantiated from here"
  511. Program reading from the keyboard
  512. outporb problem
  513. Is there any code analyzer for c/c++ header file
  514. Double Linked List test
  515. Password without a file
  516. Using accumulate algorithm with a set of pairs
  517. Bytes Razor starts today at 6am
  518. Bytes Razor starts today at 6am
  519. template class compiling problem
  520. operator== for nested classes.
  521. problem with string::resize
  522. cast of ostream& to and from void*
  523. Semantics of unary minus
  524. Functions with varying number of arguments
  525. Basic Bit Operation Question.
  526. Basic Bit Operation Question.
  527. compile visual studio 6 project with intel C++ compiler from the command line
  528. Complex objects initialized at compile time
  529. program that return an address of multi dimensional array
  530. initilization of composite types
  531. sizeof help cont., ignore other post please
  532. sizeof help
  533. sizeof help
  534. "Object-Oriented" C++?
  535. office automation help please
  536. Destructor Question
  537. Answers to Accelerated C++
  538. problem opening a file
  539. What does the array do?
  540. cflow equiv. for c++ (on Unix)
  541. Help with error message.
  542. getchar() reading alphanumeric data
  543. placement new versus .. more
  544. Problem using locales
  545. Trying to figure a Banking Program
  546. Trying to figure a Banking Program
  547. Segmentation fault in STL iterator
  548. Random Numbers
  549. Forward-declaring classes from different namespaces
  550. Make a Makefile