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