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