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