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