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