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