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. Renaming files in C
  2. PRNG Algorithm for RAN()
  3. Ease of use...
  4. make .so file
  5. makefile under borland command line
  6. converting to time_t
  7. How to define C macro
  8. What is formfeed
  9. Stack Variables
  10. allocate an array
  11. HELP!! Where am I going wrong?
  12. put an integer at the end of string
  13. sorting a linked list
  14. question about header files
  15. Help Interpreting a GDB error msg
  16. How to determine the size of dynamical arrays?
  17. acceptable to mix C/C++?
  18. Help terminating a simple while statement
  19. how to define global variable in main()
  20. which signal woked sigsuspend up?
  21. struct manipulation
  22. Help!-Errors while running this snippet code
  23. Looking for opinions on a C technique
  24. enum with unsigned char size
  25. Equivalent of stdarg.h but on the calling side ?
  26. How to make a program compile by Cygwin executable in Windows ?
  27. How to omit a header?
  28. static in front of function declared locally
  29. extracting data from a file
  30. Clarification related to memory mgmt of char * inside a function ...
  31. Help with code for slef similar melodies
  32. initialization of char *
  33. Passing a 2 dimensional array to a Function
  34. easy but couldnt see the error
  35. Charles Petzold talk - DoesVisualStudioRotTheMind?
  36. Template Magic to create variable length arguments to a function?
  37. multiply random number
  38. UNICODE
  39. New to Progamming -- What language to learn?
  40. Is it standard C++ code?
  41. leading underscore
  42. Sharing a Generic Ostream Iterator
  43. writing and readig on virtual interface /dev/tapX
  44. What is wrong here?
  45. string ok as public causes core dump as public
  46. const , static, MACRO
  47. MSDN Library.
  48. hash_map
  49. Please explain it
  50. Method which returns vector on unknown type
  51. Output problem
  52. declaration of `operator/' as non-function
  53. Virtual Member templates
  54. initiating a 2d array of a class
  55. Using "C" modifier to prevent C++ name mangling for DLL function??
  56. Struct in struct
  57. read data from file into structure in C++ ?
  58. candidate operator for convolution?
  59. Non-default constructor allowed in struct?
  60. O(1) append to set
  61. File full of '^@' characters after binary write
  62. Template template parameters, or something
  63. Wrapper objects
  64. Is there a better, more efficient way to write this program?
  65. DIAMOND SHAPE
  66. DIAMOND SHAPE
  67. passing a variable no. of arguments into sprintf (...)
  68. Objective evidence comparing languages?
  69. How to build read-only file into exe file?
  70. Accessing private member functions
  71. Hey,anyone recommend me a c++ class frame of FEM program?
  72. Catching standard exceptions
  73. using function pointer class members.
  74. Template parameter Deduction
  75. Can't Write Static Function
  76. STL / C2784 Problem
  77. Global (static) Var in a library initialization question.
  78. Accessing a Structure Using a Pointer
  79. Square root program doesn't produce the right value
  80. template blankets name of base class function
  81. Reset ifstream peek value?
  82. search and replace
  83. C++
  84. SPLint for C++
  85. Reference-counted error objects
  86. erase in a vector
  87. Need help with prime numbers program
  88. Parsing a string using istringstream
  89. Storing values to array
  90. how to get ostream_iterator to work
  91. partial sum
  92. pointer to member function
  93. .NET and unmanaged C++ communication
  94. Clashes between type conversion and operator[]
  95. how to initialize a class static member variable of composite type
  96. What the operator can be used without quantify with namespace?
  97. Alternate implementations
  98. Problem with defining template friend function of a template class.
  99. Simple question about string type
  100. queue question
  101. Program to change the Sound Recording Source
  102. How to convert from dynamic polymophism to static polymophism?
  103. How can I define a datatype with size constraint?
  104. Getting file descriptors from ifstream
  105. STL 2D Vector Questions
  106. Friend Functions and Scope
  107. Input/Output with files
  108. why get different result of a simple code on different compiler?
  109. Reference varible
  110. Does anyone have papers from Celebrating 20 years of C++
  111. Does anyone have papers from Celebrating 20 years of C++
  112. is there any reason not to inherit from std::exception
  113. What the assignment operator from other type(with template) doesn't work?
  114. typdef'ing a enum and all its enumerators
  115. Whats this Error mean?
  116. How can I insure that the objects of a class must be allocated in the heap?
  117. Help on ofstream ?
  118. Problem with ifstream::getline
  119. virtual functions: how is direct call to base class method handled
  120. How to reference out of namespace friend
  121. Windows Explorer Drag and Drop for CLI Arugments
  122. question about the stl erase-remove idiom
  123. Educational Software
  124. insertion operator and namespace?
  125. anon enums porting problem
  126. Named Pipe hangs
  127. getline and vector don't work together?
  128. Extract function result type
  129. Passing pointer to template function as argument to pointer to template function
  130. An off-topic question
  131. fstream error on SUN
  132. Fibonacci search
  133. multiset example
  134. scansoft dragon to insert into project
  135. char* dynamic strings - the right way
  136. How to compile?
  137. simple Inheritance problem
  138. Delete Characters from char array
  139. Nested Vector Nester Classes are Nested in my Brain
  140. Any package for printing out type information for debugging programs using templates?
  141. Complex number prints wierd
  142. typecasting pointer issues
  143. is there an ssh library
  144. Access contents of pointer to std::vector
  145. ATL question
  146. hash_map, Standard Template Library
  147. Help in STRING compare ?
  148. New to C++
  149. How to forward declare classes within namespace?
  150. new spec c++
  151. Doubt on pointers
  152. In a multithreaded application,should processors be equal to no of threads?
  153. Multi-threaded application - Should num of processors equal num of threads?
  154. Identifying extended ASCII subset
  155. Usage of default constructed slice allowed in valarray? [long]
  156. Grill My Dijkstra
  157. exception : 0xC0000005: Access Violation
  158. callback to a member function
  159. puzzles with abort() and assert()
  160. why forward declarations
  161. How do I declare a template class variable and make an instance seperately?
  162. Can I use typedef to define types used in the return type in template function?
  163. overloading >>
  164. Is there any STL like and compatible database library?
  165. Is there any new C++ compiler standard conformance test result?
  166. How to instantiate template when it is arguments satisfy some condition?
  167. using initializer list
  168. Where max and min int are defined?
  169. Creating a scrollable window for runtime created controls
  170. Prototype of "main"
  171. c++ profiler
  172. pbx phone system
  173. More complex expression template
  174. Ätzendes Naspace-Problem
  175. Using std::stringstream to convert a char to int
  176. static aggregate initialization inside of class
  177. issue with scope
  178. SMTP client
  179. valarray
  180. Variable resets to zero
  181. what is template?
  182. Destructor not called for inherited class through a template class
  183. Java equivalent of stringstreams?
  184. Templates, policy-based design, partial specialisation and pointers
  185. can anyone coach me in C++
  186. Its been so long Help?
  187. c++ library for windows
  188. Is this good OOP?
  189. Deallocating memory for non members?
  190. Stupid C++ ?
  191. Can operator [] accept two arguments?
  192. Enum list as array index problem
  193. What do i use to write programs in Windows?
  194. to synchronise a c++ stream from a queue to write to disk
  195. Why this does not compile?
  196. A dynamic bitset?
  197. Macro expansion of '#__LINE__'?
  198. hmm please help...
  199. Comparing signed and unsigned values
  200. Array of References
  201. The program is receiving SIGABRT signal.
  202. problems with template iterator
  203. Data implementation hiding in a class
  204. SONY computers - are they Factory infected
  205. Computer machine info
  206. Returning a pointer to a nonstatic member function?
  207. Read only access on an already open file
  208. basic question -- when a pointer is equal to 0
  209. Can I refer to an "optional module" from my factory?
  210. Stack overflow and memory problem?
  211. Need to input into browser window
  212. std::exception .. more
  213. please i need some advice on optimization
  214. POINTER EQUALS AN ARRAY
  215. Initializating members with new
  216. string transform with different input and output
  217. How do you type test in C++... Newb question :)
  218. compile time optimization problem
  219. BlowFish decrypting
  220. beginner
  221. Template instantiation question
  222. STL Algorithm Example
  223. Caution SONY Music CDs have trojan Malware
  224. Why compilers do not "p = NULL" automatically after programs do "delete p"?
  225. operator overloading
  226. Vector Of auto ptr of class help (Please!)
  227. wrapping int
  228. Opening files
  229. Plugin methods in (ANSI) C++ ?
  230. variable argument list ....
  231. template object as a template parameter ?
  232. difference of POD struct array and flat array
  233. Calling Inherited Constructors
  234. proper way to delete elements from a vector
  235. undefined reference
  236. Compiler error instantiating iterator for vector of pointers
  237. read-only access to a data member
  238. Two favorite features of C++, and over-rated, and misued features
  239. STL algorithm to find max value in a set or map?
  240. Compare string in C++
  241. weird compiler error---HELP!
  242. Help Needed for Computer Science Class
  243. Why "gets" has not been deprecated yet?
  244. compiler says operator< needs exactly ONE argument (not two--why?)
  245. c++ tutorial in pdf?
  246. Unexpected behavior in STL "includes" algorithm
  247. How to get started? help ><
  248. Question about Operator overloading
  249. I need help calculating the sum of the numbers of an integer
  250. fundamental memory clearing question
  251. computer programming
  252. Get Mode. Can't convert int to int[]
  253. Local Pointers
  254. Simple Sine Wave Array
  255. Language features
  256. STL transform algorithm
  257. are cout and printf thread safe?
  258. What is wrong with the following program (using an empty class to choose overloaded function)?
  259. error
  260. use of local class
  261. Has Bjarne Stroustrup finished his XTI(eXtended Type Information)?
  262. Why does program only count 3 chars
  263. STL problem.
  264. cout with setw ?
  265. Object-level signal delivery
  266. what is C++/CLI ???
  267. reading cin - finding duplicate words
  268. order of bit fields
  269. private pure virtual function
  270. A GTK/GTKmm question
  271. Convert string to code
  272. Get Program Files folder name
  273. if data is always between 0 and 7, can it be stored in 4 bits?
  274. Copy constructors
  275. operator delete question ?
  276. class versus struct
  277. Build environments for C++?
  278. Unicode case conversion
  279. How to manage the code?
  280. Curl dosent in my c++ app dosent seem to be working in apache cgi
  281. Implementation of Factory Patern using C++ DLL's
  282. gcc doesn't try Koenig lookup
  283. Book recommendations
  284. Simple simple program error...please help
  285. U++ 511beta available
  286. C++ algorithm for combinations of vector elements
  287. unicode and linking problems
  288. pointers to member functions
  289. operator new local to a class is required ?
  290. Logical Error. Not Returning
  291. Real player crash application
  292. abou setenv
  293. No appropriate default constructor
  294. C#
  295. typedef struct
  296. Simple Question? Conversion Error.
  297. problem compiling a .rc file
  298. char.getline
  299. exception handling
  300. anonymous struct
  301. Operator [ ]
  302. enums clash
  303. i want to convert real float number to 32bit IEEE binary format in C++ ? plz help me
  304. C++ Programming is so much fun
  305. recursive functions
  306. Interpreting #define statement
  307. Binary Search Tree link to parent
  308. 'atoi' : cannot convert parameter 1 from 'char' to 'const char *'
  309. Question about pure virtual functions
  310. Dynamic Matrix
  311. conversion constructor called twice - why?
  312. Basic questions re threads and cleaning up
  313. set comparison method for class variable
  314. Conversion: via constructor or operator
  315. Some std::string questions
  316. template instantiation syntax
  317. How to establish a delimiter pattern for input streams
  318. Mergesort and couting the amount of inversions
  319. copy constructor - optimized away or not?
  320. what is the quickest way to check if I have write permissions to and existence of the file
  321. Can I compile C/C++ Debug version partially?
  322. I cannot deallocate space.
  323. std::string and bufferoverflow problem
  324. std::string and bufferoverflow problem
  325. what is a better style?
  326. help(about buffer)
  327. Compile error: no appropriate default constructor available
  328. constructor ambiguity
  329. What are top-down and bottom-up approach in C++ design?
  330. How do you call a regular member function from a static member function?
  331. variable
  332. Graphic window
  333. Type and value of basic_string::npos
  334. Array Problems
  335. cpp for cgi, design question
  336. Split A Macro (mockpp)
  337. Visual C++ Open/Save Dialog question
  338. Const reference to a temporary object - Why?
  339. ctime
  340. c++ function pointer
  341. Can't view .hpp source
  342. a manipulator wrapped inside a struct/class does not compile
  343. Instantiation
  344. Template to remove reference.
  345. Loops and compitency of recent CS grads
  346. infinite loop
  347. for loop speed problem
  348. valarray subclass value assignment
  349. help with Borland C++ V.4.52
  350. help with Borland C++ V.4.52
  351. Partial key match in a map
  352. GCC
  353. bitset<> consumes input in the reverse order.
  354. sort a struct of arrays
  355. Calculations inline with conditionals
  356. C++ IDE for Linux
  357. The default constructor
  358. Internet Programming
  359. Assertion Failure
  360. Prevent a parent object's destructor from being called?
  361. How to convert from std::list<T*>::iterator to std::list<const T*>::iterator?
  362. Crash course in VC++?
  363. curious behaviour in virtual destructor inside base class
  364. operator<< recursion
  365. Simple fwrite after getc macro question..
  366. sets with different comparators have same iterator type; standard?
  367. My lallocator<T>
  368. multiple inheritance - vtable issue
  369. problem declaring vector iterator in class template
  370. Reference to a reference
  371. two-dimentional array with non constant variables
  372. how to add date in c++ program
  373. Nested namespace problem. Please help.
  374. Selecting between file and cout depending on parameters
  375. Template Question
  376. weird question
  377. What is the difference between dynamic memory allocation,and stack allocation ?
  378. An unhandled exception of type 'System.NullReferenceException' occurred
  379. VC++.NET
  380. Classes & data members
  381. Interesting Copy Constructors!!
  382. Video Mixer Renderer 9 (VMR 9) Wapper Dll for VB6
  383. odczyt dysku ???
  384. Appended mode ?
  385. A question about inheritance
  386. paired map question
  387. conversion constructor
  388. Unpack Files to memory and then run them (like thinstall)
  389. Automagic determination of definition based on definition location.
  390. design quandry ..
  391. returning vector
  392. After object delete, when the heap memory returned to OS?
  393. Is metaprogramming suitable for iterative method
  394. Pointers and polymorphism explained [preview, PDF, part of my attempted "Correct C++ Tutorial"]
  395. Any body can give me some advice on how to find the memory leak!
  396. what is the difference between "struct" and "class"?
  397. minimum disjoint path covering of a graph - algorithm needed
  398. malloc family in C++
  399. std::vector resize crash
  400. memory leak
  401. STL map error (I don't get it..)
  402. 840802 - custom controls in a property page
  403. std::list problem
  404. parsing email
  405. God, software patents, I hate you, die.
  406. C++ Help with displaying code from file
  407. New object-oriented parallel pattern matching algorithm
  408. Logging class and overloaded stream operators [question #2]
  409. struct + char buffer = alignment problem (bus error)
  410. XVT ListBox- Horizontal scroll
  411. Why does address-of-char give me non-terminated c-string gibberish?
  412. Preprocessor to unroll loops
  413. argument dependent lookup
  414. strange behaviour of ^ (basic question)
  415. Contiguous storage for <vector>
  416. SmartWin++ change of license to BSD!!
  417. Too much CPU in video-capture session
  418. push2talk emulator!
  419. map, iterators and swap
  420. std::string - undefined behavior?
  421. how to make this programm with class????
  422. Memory leak in server application without traceing to debug
  423. What do you expect this to print?
  424. delete[] of POD
  425. help, my class is exploiding!
  426. Reading a binary file.
  427. unsigned char and -1
  428. please solve my confussion
  429. Templates, specialization
  430. Reading binary files in C++.
  431. std::string as data array
  432. a basic virtual function question
  433. Please Help!!more string manipulation Qs...in C++
  434. more task related questions..
  435. Looking for an Algorithms and Data Structures Book
  436. Interprocess subclassing
  437. member function template question....
  438. structures and vector
  439. Static Method/stateless/statefull/how to :-)
  440. Convert RGB as a float into unsigned chars
  441. Detection of unitialized member variables
  442. strtok equiavalent in C++ ?
  443. const_reverse_operator prob
  444. Different usage of shared_ptr/weak_ptr
  445. Exiting from loop
  446. Header file analyzer?
  447. How do you typdef a function template
  448. input output files
  449. Recommend a debugger for g++/Windows?
  450. STL Set question
  451. Metaprogramming question
  452. Problems With Templates
  453. All kind of download just here
  454. Trying to pass values of variables from a redefined function into another function
  455. insertion operator and const reference
  456. License issue with BOOST lib.
  457. ofstream class -- error-checking
  458. How the comparison operators are defined for iterator and const_iterator
  459. enum question
  460. Help with c++ coding
  461. Multiple inclusion of static libraries
  462. BEST C++ COMPILER
  463. stack increase direction and big-endian or little-endia
  464. operator<< overload question
  465. namespaces
  466. C++ FAQ
  467. C++ FAQ
  468. Can anyone help out, please ?
  469. Converting text in exponential form to double
  470. remove certain words from a c++ string
  471. Message-only windows (WINAPI)
  472. C++ experts. need your attention about its progress.
  473. CString functions
  474. cout and perror
  475. Allowing function pointer code to work on a member function
  476. BEST C++ BOOK FOR BEGINNERS
  477. why prefix increment is faster than postfix increment?
  478. C program is standard C++ program?
  479. BEST C++ BOOK
  480. FOR LOOP
  481. output a string's address
  482. What is wrong with the following program?
  483. what is the difference between sort() (in stl) & qsort(stdlib.h)
  484. Where is the != >= > <= operators defined in STL?
  485. Preprocessor and standard
  486. Yet another C++ blog
  487. Comparison function to sort()
  488. sort list<string> stringList??
  489. why only var1+=var2,why not var1=+var2
  490. converting strings to double: could someone help me?
  491. communication between C++ and html
  492. sqrt function in cmath library
  493. link to stl alrothims
  494. link to stl alrothims
  495. link to stl alrothims
  496. where is the missing bit?
  497. parallel looping
  498. Function Templates error in Visual Studio 2003 -- Help Please
  499. Why an obeject can access the others objects's private member?
  500. source code to html
  501. A question about functions
  502. Design to have an optional data member; is it any good?
  503. Reflection in C++
  504. How to debug C++
  505. Debugig c++ DLL
  506. win-lin
  507. Overloaded functions: Compile OK on MSVC++ but not on g++
  508. anonymous namespace issue
  509. inheritance and overridden functions
  510. s.erase()
  511. functions and parameters
  512. Templates - Requiring typename to inherit from a particular class?
  513. Can <list> be applied to user-defined class in C++?
  514. static inline member function
  515. Array initialization
  516. Exception handler...branching without using the stack pointer
  517. C++ quiz question: private inheritance
  518. C++ Program Execution
  519. C++ Program Execution
  520. STL: Map of List of Pointers
  521. Another strange compile error with visual studio c++ 6.0
  522. insertion sort
  523. who wants to build (compile 7 link) an application for me ??
  524. virtual == operator
  525. Nested Class Template
  526. Is there a way with Linux x86 to report a way the current stack trace for a thread?
  527. cross platform: any alternatives to pimpl?
  528. How to judge overflow of sum of two operands?
  529. portable complex numbers between C, C++
  530. header file without include guard
  531. Inline functions C++ bug?
  532. Optimization bug in g++ 3.4?
  533. region xor operation
  534. New Website
  535. Why sizeof(string) = 4?
  536. std::stringstream and floating point accuracy
  537. just curious : printing big numbers - how?
  538. Conditionally initiating objects
  539. Is it possible to specify template as <L/2>?
  540. basic i/o question
  541. templates and function pointers
  542. Can there be a 0 byte size class or struct to wrap a ref
  543. Mingw32, unistd.h and my program
  544. Mingw32, unistd.h and my program
  545. Static linkage and extern "C"
  546. Can anyone see...
  547. help with operator%
  548. Thirteen Stones
  549. ISOCELES TRIANGLE
  550. TRIANGLE