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