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. operator overloading and virtual funtions
  2. Bad Reference?
  3. C++ Builder 6 - Controlling the main form
  4. linked list program in c++
  5. in-place functor comparison instead of std::binary_function
  6. Delete node from singly linked list when header is not known
  7. Function / Method in class
  8. Making C++ classes available for C
  9. avoiding code duplication w/ type lists
  10. Linking C programs...
  11. Linker errors on Template function definitions
  12. Working with 3D matrices
  13. Seg fault when delete a pointer to vector<int>
  14. loop thru a STL list causes an infinite loop
  15. IT tests. C, C++, XML, HTML, .NET, SQL...
  16. const and non-const variables
  17. gcc error for Name lookup. - Item 32 exception C++
  18. symbol reference error while linking the object files
  19. Timer, threads, exceptions
  20. STL remove compile error
  21. 1D array values into a 2D array
  22. qsort of malloc'ed structs
  23. CAN WE TYPE CAST AN INTEGER AS (VOID *)X..(Like can I return a value (void *)x)
  24. Is there any command like Pause or Nope in C++?
  25. reading lines from file
  26. Global Array with size for input
  27. break outside a loop and a switch
  28. checking and verifying input line in a C program
  29. [MFC] CDataExchange::Fail() fails
  30. which clustering algorithm to use
  31. File I/o questions
  32. Implementing
  33. help with string reverse
  34. Operator < in map template
  35. C++ Network Solution -- Where should I begin?
  36. syntax question
  37. Problem with fopen
  38. UNIX command prompt
  39. custom allocator using templates
  40. Forward declare a templatized class
  41. question about function pointers
  42. Rot-13 encoding an std::string
  43. Masking a virtual function?
  44. Class inheritance question
  45. Passing a const object by reference.
  46. How can i get each coloumn of a 2D array as 1D arrays??
  47. Main loop helper functions
  48. NULL with representation other then all bits 0
  49. Online programming challeges?
  50. Please use wxWidgets
  51. More Solutions
  52. advantage of using typedefs
  53. Binary File Reader
  54. std::find / find_if versus for loop
  55. Casting return value to fit within constraints of error values (portability)
  56. How do you define key_compare and value_compare
  57. tightly coupled class design problem
  58. Random Colors For Use In Defining Different Regions
  59. writing binary data whose size exceeds unsinged it
  60. map inserts and efficiency
  61. How to pass this template template argument? (MSVC++ 8 error C3200)
  62. bitmap array
  63. ToString : convert types to string
  64. std::string, subscripting, and npos
  65. DOS interrupt
  66. Template Instantiation and member templates.
  67. Linux c app, called remotely by web.
  68. #include in header file for size_t
  69. how do increment operations work
  70. Forward iterators and past-the-end iterator
  71. About const references
  72. Help! Need to make my own color...
  73. source files vs. resource files
  74. Problems using recursion while browsing directories
  75. templated pointer function for simple array
  76. Subscript operator overloading with vectors
  77. second largest element in an array
  78. Permutation problem
  79. How to use wide char
  80. knight's tour helpppppp
  81. Bit-fields and integral promotion/UACs
  82. Comment on style
  83. Bitwise questions with the following code
  84. Binding
  85. Simple output problem
  86. vector erase
  87. Dataset always null
  88. How to find the dependencies among C files
  89. reda4win released
  90. Overwriting a portion of a binary file
  91. How to find the depencies among files in a project
  92. MS ACCESS and C++
  93. member initialization - no matching function - candidates are
  94. Socket class done the C++ way
  95. class design question
  96. s there something better than EnumPrinters?
  97. Main loop
  98. Multiple Double Linked Lists
  99. how to declare this template operator?
  100. extract data from file
  101. Veteran Programmers!
  102. Which members are created automatically, which members are not inherited?
  103. What is the advantage of inherit from unary_function template
  104. Enum to type (for static dispatching)
  105. Question about the clc string lib
  106. Which members are created automatically, which members are not inherited?
  107. What is the proper behavior of gmtime()?
  108. Removing elements in a list that are also in another list
  109. Removing elements from a list that are elements in another list
  110. const map templated 'find'
  111. Work it out
  112. Double getters
  113. Does c++ standart support thread? Is _beginthreadex the standard function?
  114. Segmentation fault in Matrix Multiplication
  115. Professional C software
  116. Importing Borland DLL to MSVC++
  117. can u tell me the reason that y we get this types of outputs
  118. std::string performance (Sun implementation)
  119. Help with FMOD
  120. code for two half diamond shapes
  121. %#08x formatting of printf
  122. 16x16Matrix
  123. Is out-of-bounds portable on a multidimensional array?
  124. char * pass-by-value
  125. user defined function that converts string to float
  126. which is faster
  127. What would new (char([0])) give?
  128. TTS(Text to Speech) Convertor.
  129. Cast vector<foo*> to vector<const foo*>?
  130. invalid lvalue in unary '&' .... why LKM
  131. invalid lvalue in unary '&' .... why LKM
  132. Are MAGIC numbers always bad?
  133. C++ POSIX implementation?
  134. Passing by reference... is it safe in this case?
  135. Another STL ?
  136. STL iterator/reverse_iterator
  137. simple drag & drop
  138. what is typecasting a pointer to the type (void *)p mean?
  139. I fixed a problem...Now, what exactly did I just do?
  140. Abnormal C++ Compile Time - How to debug?
  141. multiple inheritence contructor
  142. Macros (I know, yuk!)
  143. Random Access Iterator
  144. Return an iterator
  145. Question about operator new
  146. Loop over enum values
  147. cppmake
  148. Gerbage collection as a library
  149. Can I put this in a .h file?
  150. mouse click generation
  151. c as a beginner language
  152. Advice required on my ascii to hex conversion C++
  153. auto_ptr's exception safe
  154. what are the rules for writing header files?
  155. visitor pattern and COM like objects ?
  156. Solaris : Difference in g++ and CC compiler for variable length array declaration
  157. Regading interview Question.
  158. How do I detect infinite floats?
  159. Passing Through Constructor - Simple Error
  160. STL ??
  161. Critique requested.....
  162. How to use std::copy?
  163. collecting data from text file
  164. recursive
  165. SDX Dynamic Systems Simulation Software
  166. Best practices books
  167. Ada to C++ translator
  168. Nesting try blocks inside catch
  169. Whats going on - Char to Int Q:
  170. Double Linked List Code
  171. Using STL how do I convert a variable to a binary string
  172. inclusion compilation model question
  173. problem with code
  174. bitset solution
  175. union arrangement
  176. Help with template object
  177. reading data from a file
  178. STL iterator
  179. Converting a macro to a string
  180. Can C do this for me?
  181. Can C++ do it for me?
  182. Deprecated API?
  183. C++ Builder 6 - Password
  184. Little problem to use a priority queue
  185. database connection to oracle
  186. dtors that fail
  187. UDP broadcast problem
  188. experiment with std::fill
  189. The use of goto in C
  190. Error "type specifier omitted for parameter" in preprocessor directives??
  191. Pure Virtual Functions
  192. release build assertions/verifications
  193. making a VERY simple menu
  194. memory dump/re-read?
  195. First program
  196. Printf problem with big numbers....
  197. Interpreting error messages (gcc)
  198. bstr string to New character string
  199. is there any site which can provide any help on advanced C topics
  200. STL: copy vector of class ?
  201. static initializer order
  202. Running MS-DOS within a c++ program (Code)
  203. Definite type sizes
  204. explain the following declaration
  205. graph layout algorithm
  206. Help with std string
  207. Static String Concatenation
  208. Virtual Template or Template Virtual
  209. Remove items from a stl vector
  210. finding element width in dynamically allocated arrays
  211. Help with initialization of graph (Boost Graph Library)
  212. hello, every one , test,
  213. Interface
  214. global scope variable in .cpp file?
  215. input
  216. difference between -fpic and -FPIC
  217. PROBLEM when editing DAT file!
  218. Average All-Pair Path on a Graph
  219. Average All-Pair Shortest Path on a Graph
  220. does multimap insert invalidate iterator?
  221. "named parameters mechanism"
  222. Is this code ANSI-compliant?
  223. size of a class having enumerated data types?
  224. string
  225. Unexpected Result while compiling this code
  226. Smart Pointer library in C++
  227. memcpy a int to a char buffer ?
  228. C/C++ code to parse XML file
  229. garbage collection questions
  230. garbage collection questions
  231. C Programming
  232. Whats wrong with my stream ?
  233. Two-way pipes?
  234. Double Linked List
  235. Does structure order matter?
  236. Endianness (again)
  237. Debugging a Segmentation Fault in C++ STL code
  238. How to open a file in $PATH?
  239. How to determine the way data is stored in memory?
  240. question about operator new
  241. How to delete an array?
  242. how to use this utf8 interators to read from a file
  243. PostMessage() in vc++ thread not talking to main program
  244. 1)preprocessor warning ,2) argv[0]..btw, my first mail to clc :-)
  245. utility to view the expanded preprocessor macros
  246. How to install c++ on Windows
  247. hi all
  248. Runtime Structure Creation
  249. friend operator<< in template classes
  250. c++ as beginner...
  251. Specific sizes of variable types
  252. Video Streaming in Windows
  253. Selling my computer
  254. where does open open the file?
  255. malloc questions in C
  256. Debugging C++ program in GDB on linux
  257. Magic Wand Implementation
  258. Overloaded type converter STRANGE behaviour
  259. Automatic lvalue in functions
  260. Better casts?
  261. Replace simple function with object of same signature
  262. scanf function and 2-d arrays
  263. display from video card visual c++
  264. Test message - PLEASE IGNORE
  265. hi guys
  266. initialisation of static
  267. throw in destructors
  268. About the EOF
  269. Beginner excersice #1
  270. STL for loop ?
  271. question on the assignment operator
  272. List Iterator Not Incrementable?
  273. passing argument in STL loop ?
  274. what is causing this error?
  275. C programme
  276. ECMA-372 is stepping in on C++
  277. What is the advantage of Boost scoped_ptr?
  278. suggestions on improving source
  279. My C++ library
  280. Assignment through base class reference
  281. const correctness
  282. vector of vector of vectors
  283. cast vs. suffixes
  284. Question about Data Types and Shifting?
  285. strtok ( ) help
  286. ask for help on algorithm to trace a network
  287. NULL returned by fopen - where is a list of what's causing the error?
  288. loop -> for_each advanced
  289. loop -> for_each
  290. function call by value and by reference
  291. 夜行
  292. c pointers
  293. how to init a derived struct?
  294. order of #include statements
  295. Pointer arithmetic question
  296. GNU libstdc++ crash 64 bits gcc 3.4.2
  297. Having a bit of a blonde moment with malloc...
  298. Accessing Lvalue from function
  299. Where can I get the source for g++ 2.95.?
  300. making sure that the deallocated dynamically memory returns to the heap?
  301. error C2664: 'strcpy' : cannot convert parameter 2 from 'char' to 'const char *'
  302. STL vector with iterators
  303. Asynchronous functions
  304. c++ support for unicode, utf-8, encode/decode, ifstream, wstream?
  305. Initialize const or static map
  306. printer streams?
  307. can a function name be an identifier?
  308. STL and aCC
  309. Handling ThumbTrack Notification for Multiline Edit Control
  310. STL ?
  311. get filename from string
  312. C database.....
  313. standard header files
  314. drag and drop onto exe
  315. extracting rest of an istream (istrstream)
  316. function pointers
  317. C++ Interview questions for large C++ projects
  318. string.format help
  319. Funny! More offers to select a search engine! (oo)
  320. Any good way to extend std::swap?
  321. What does SIMENTRY mean?
  322. policy base class using static member functions
  323. policy base class using static member functions
  324. instance scope ?
  325. Shared string inside DLL
  326. Create a list of class as a member attribute
  327. sending <STX><ETX > charaters to RS232 port
  328. Any help?
  329. circle
  330. Circle code
  331. Forward declarations to static variables
  332. C++ Builder 6 - Datamodule
  333. String manipulation
  334. memset on structs with non-PODs
  335. indication
  336. Please review the code for determining execution time.
  337. paradox when constructor of an pure abstract base class called?
  338. sscanf and scanf behave differently
  339. memory mapped file stream
  340. "Virtual constructor" abstract base class - feasibility?
  341. c program binary/image in memory
  342. Welcome,bugs fixed under FireFox/NS/Mozilla/Opera!
  343. Help with program crashing...
  344. using streams for communication between threads...?
  345. doubt in strcmp
  346. about return type of an overloaded operator
  347. debug mode
  348. language law - how to describe the state of uninitialized static storage
  349. checking bits
  350. Overload operator error ?
  351. Execute a function in each element of the list conditionally
  352. Efficient list swap
  353. copying a file
  354. C++0x and file I/O
  355. pointer reference problem
  356. Question about STL erase function
  357. how to write only one parameter in a file
  358. string to class type using typeinfo
  359. Visual Studio 2005 C++ Resouces
  360. Saving BLOB data using C++ In one insert statement into Oracle
  361. memset a member array of a packed structure
  362. Dual-Graph Library
  363. printf - Can't print "print\my\message"
  364. C++ Builder - how to read and write the registry
  365. stoopid begineer with a question
  366. iota
  367. C++ strings
  368. reading from a binary file
  369. How sizeof() works?
  370. function prototypes
  371. templates problem
  372. using "!!" in "c"
  373. reading TCP header
  374. ostringstream and memcpy
  375. Funny! More offers to select a search engine!
  376. Funny! More offers to select a search engine!
  377. where can I get FAQ?
  378. Concurrent Pascal vs. c++ ?
  379. Available C++ Libraries FAQ
  380. Return value of system
  381. #define and typedef
  382. implementation dilema
  383. Decent Reference Site
  384. return the file contents into an array or string
  385. A C Question.
  386. problem with array and classes
  387. problem with operator<<
  388. Relative prevalence of "good" C++
  389. Unwanted debug messages
  390. The floating point environment
  391. New to C: Getting Application error when running program
  392. size of a variable from a pointer
  393. trouble including "iostream" "fstream"
  394. No argument constructor and function prototype
  395. difference between a namespace and class with just default constructor
  396. parsing files
  397. Need 2 values from function
  398. Newsgarbage user-controlled tech news site goes into beta!
  399. Newsgarbage user-controlled tech news site goes into beta!
  400. error: 'std::ios_base& std::ios_base::operator=(const std::ios_base&)' is private
  401. Malloc and sizeof
  402. std::map with user defined data
  403. STL algorithm VS Java loop
  404. ))))
  405. classes pointers
  406. About The Switch
  407. Passing an evaluated variable to new in allocating a derived class
  408. c++/stl development top nyc financial firm
  409. unions & structs...
  410. pointers
  411. why return causes an Illegal syntax??
  412. porg question
  413. * Need help Implementing a script (or macro)
  414. confused
  415. Barton-Nackman and compilation under Solaris
  416. design guidance
  417. Directory Structure
  418. Recast a member variable in derived class?
  419. Function to search for Characters
  420. make a program using C,C++
  421. as small as possible
  422. C++
  423. map whose key_type is the pointer to an object
  424. slicing copy, what's wrong with abstract class?
  425. opening a sequence of files
  426. project in c
  427. Calling static function using uninitialized pointer??
  428. Turbo Pascal
  429. #define errors
  430. Is it possible to access this newsgroup using Thunderbird?
  431. std::list iterator usage
  432. pros and cons using reference-counter VS reference-link
  433. from vector of pairs to a map
  434. Overloading 'casting' operator
  435. DLL, XML, What the H-E-Double Bang
  436. auto_ptr and PIMPL
  437. Buffer overrun - exit or abort?
  438. Question about Effective STL item 7
  439. difference between generics and templates
  440. typedef in C++
  441. STL string - converting to low case
  442. Physical Location of #define Symbols
  443. c++ float and integer
  444. JOB OPENINGS
  445. Error in program. cannot convert from 'char []' to 'char [10]'
  446. COPYING (not extracting) data from an istream object
  447. Rounding floats/doubles
  448. multiple return paths question
  449. use of static
  450. Setting member variables before constructor call
  451. decimal constants
  452. invoking member functions without creating an object or pointer of the class?
  453. Accessing web through C/Perl in Unix
  454. ejo
  455. how to implement a "typoef" thingy.
  456. alignment
  457. borland c installation
  458. SOCI 2.0 - a database library
  459. Problem with member and non-member binary operator in template class
  460. Cube root computation
  461. CFP: LASER Summer School on Software Engineering
  462. CFP: LASER Summer School on Software Engineering
  463. Global variables.
  464. fgets
  465. pragma
  466. How C++ Exception handling works ?
  467. missing #endif problem
  468. Implementing library algorithms
  469. Passing different variable types to a function
  470. some problem of a.out
  471. Want to shift bits with addition of 1
  472. looking to use graphics, can't find any thing
  473. confusion over static variables
  474. virtual functions
  475. auto_ptr memory leak with arrays?
  476. Printing a char * to a file
  477. Variable declaration and initialisation
  478. NULL pointer and null references
  479. Tightening up Shootout code
  480. Clear Thinking Power for Comp Developers
  481. operator overloading true and false
  482. Clear Thinking Power for Comp Developers
  483. a little problem
  484. key-value pairs: key consists of 3 ints
  485. Checkpointing Routines
  486. How standard atoi works?
  487. memory leak in threaded getpwuid_r() usage
  488. Portability / compatibility issues
  489. Ken Thompson - Reflections on Trusting Trust
  490. macros with an example program to new learner
  491. a little advice
  492. Removing a vector element using std::swap and std::vector::resize.
  493. How can a string by accidently modified?
  494. Pass String from Visual Basic GUI to a C++ DLL?
  495. debugging -- behaviour to be explained.
  496. return "chars"
  497. New to C++ need help
  498. Function inlining
  499. Using time_put and time_get from <locale>.
  500. Compile error with virtual inheritance: const <anonymous>** - AGAIN
  501. save to file
  502. why i can not convert a char ** to a const char ** ?
  503. Template class - Compilation problem
  504. Templates and Inlining
  505. C++ Beginners question
  506. About retrieve an arbitrary byte among four bytes of an int.
  507. template in error
  508. debugging a memory violation problem
  509. constructor and initializer
  510. debugging runtime error
  511. detect necessary #includes
  512. Why (type*)pointer isn't equal to *(type**)pointer?
  513. Question about Boost.lambda example
  514. The bad coder joke =D
  515. The bad coder joke =D
  516. template problem in MSVC6 - getting wrong parameter type
  517. Unable to compile using boost::date_time library
  518. Calculating distances in O(1)
  519. Is my understanding of containers valid?
  520. What to do when base class is not specified as virtual?
  521. Peeking an entire line from an istream
  522. stl: what member function need to exist in class for list implementation
  523. Need a queue in C
  524. STL bind1st question
  525. Efficient division/remainder in C
  526. Problem: global variables and singleton
  527. Any memory leak for this Singleton Implementation
  528. diamond inheritance, constr. question
  529. Conversion of char * to bool
  530. Moving Project From VS 2003 to VS 2005
  531. STL vector VS list
  532. Problem with Accessors
  533. How does free() know how many elements should be freed in a dynamic array?
  534. How do free() know how many elements should be freed in a dynamic array?
  535. Temporary varriables and thread safety
  536. wait in c
  537. Find duplicate entries in STL algorithm
  538. Compile error with virtual inheritance: const <anonymous>**
  539. How/why does this work?
  540. The difference between C and C++
  541. assign value in const variable
  542. Error trapping
  543. valarray addition and overflow handling
  544. How to activate a running Windows application
  545. loop -> for_each
  546. When to use private inheritance
  547. getting current date in C in the VC environ
  548. File-splitting Function: Uses FILE * - better way with ifstream?
  549. Macro GCC????
  550. typedefs, qualified identifiers, class names and name lookup