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. Qt3 - qmake
  2. Pointer to Member Functions (is "&" required?)
  3. forward declaration?
  4. need help on some c++ hw
  5. return reference or not
  6. Error C2143
  7. Nested functions in C++
  8. Information you need to survive!
  9. why do i get this error?
  10. Cast to void???
  11. binary file input with cin
  12. <algorithm> transform modification
  13. operation overloading headache
  14. auto_ptr and arguments
  15. ABC ostream & operator <<
  16. Float question - different compilers
  17. getting elapsed time in milliseconds
  18. Student help
  19. Writing a class (with data) to a binary file
  20. C++ vs C linkage (difference between the two)
  21. class A{static const int b = 1; };
  22. Looking for the EOF character on Windows XP using Visual C++ 6.0
  23. console programming in windows
  24. Visual Basic.net question
  25. const array declaration/init for a class
  26. Homeless VC++ programmers
  27. help please
  28. A question about typedef and classes and templates..
  29. Use of CORBA in real-time systems
  30. Comparing two doubles
  31. what is "#" do in C programming ?
  32. Help: Template Question using gcc 3.3.1
  33. Using a pointer to member function
  34. Executing, Copying, and other tasks in C++
  35. converting char * in struct to a long value
  36. istream in init list
  37. Operator overloading...
  38. libstdc++ documentation
  39. How big of a static memory you can request?
  40. array of string literals
  41. Borland vs. Bloodshed
  42. C++ code with C-style interface for a library to be used in C++ and C?
  43. Chars in file
  44. Naming convention for accessor methods (get/set)
  45. Method with unknown return type
  46. Console Colour
  47. SQL into XML
  48. virtual variadic functions
  49. symbols
  50. help sort of Container values
  51. Help with small vector.h class
  52. How to use ifstream::get() like fscanf()?
  53. Running in the background
  54. strcmp problem
  55. compiling class-template member function
  56. Vector error in Visual
  57. C++ rookie having trouble. Anybody care to try to help?
  58. Towers of Hanoi
  59. why use this struct format?
  60. inialisation problem.
  61. Exiting a loop half way through
  62. pointers to pointers // exception handling error
  63. #include a binary file?
  64. pointer to virtual function of a base class
  65. switch statement optimizations
  66. jjLibrary Ver1.6
  67. Casting member function pointer
  68. Class efficiency question
  69. istringstream question
  70. Weird thinking and delete operator
  71. program help (checkbook)
  72. Multiple Instance of Executable Lisening to Different Port
  73. Showing Delphi application as an MDI child in C++/MFC window
  74. strdup in c++
  75. changing execution path
  76. The same assembler code for foo(char&) and foo(char*)
  77. char* and char
  78. Academic Research
  79. Peek keyboard-buffer OR a problem with _getts
  80. Delete operator
  81. Seeking design pattern..
  82. STL Stream maximum filesize?
  83. VC++: how to be informed when window is obscured?
  84. "Static" destructor
  85. VC++: modeless dialog window - how to keep it on top?
  86. test, ignore it
  87. Compiling LGPL C source in Visual C++ FILE vs. Cfile?
  88. Microsoft runtime error R6025 Pure Virtual Function Call: a technicalreport
  89. Difference in the array declaration
  90. A Quesiton about nesting for loops..
  91. Why can't I do this?
  92. Snap to edge of screen examples
  93. running in windows and from command line
  94. .NET executables and XML, i need help :-(
  95. Searching for Open Source Projects
  96. Return of a pointer...
  97. 3 destruction calls
  98. std::vector::assign
  99. why this code does not work
  100. emulation of mouse click
  101. Linkage Directives: extern &quot;C&quot;
  102. Arbitrary Type Definition
  103. question - using classes from a DLL
  104. next quarter
  105. how to write??
  106. How do I make a turtle graphic program in C++ or C.
  107. Position text cursor
  108. calling constructor when allocating an array
  109. Open all files in a directory
  110. xml to/from tree-of-maps
  111. Standard Template Library as container for Objects
  112. Towers of Hanoi
  113. Change os source- reformulating
  114. typedef legal?
  115. default template parameters
  116. string literal as const string& parameter
  117. Help with my code? Classes
  118. MPOOL'03 -- Final Call for Papers
  119. C++ course slides
  120. Float precision (0.5678f becomes 0.56779998540878)
  121. MSVisualC++v6OnXP?
  122. hylafax question--- how to distingish faxes belong to A or B or C ......Z if the same faxes no is employed so that I can email to inform to read their fax via internet ....
  123. Assignment Operator In Case of Inheritance
  124. (Help Please) Formatting input....
  125. Arrays vs. vectors - performance
  126. Why not the same resulting string?
  127. Changing object properties
  128. getting g++ to search correct include directory
  129. stupid dll vs static lib question
  130. Debug Visual C ++ 5.0
  131. Initialization of data members
  132. Put text in Word and Excel
  133. converting from OMANIP
  134. class problem
  135. Microsoft Visual Studio .NET (position text problem)
  136. HOW TO CHANGE COLOR IN C++
  137. self mutating code can be more useful than dangerous..
  138. inheritance problem
  139. Review of C+ + Templates & Tools (Scott Robert Ladd)
  140. memcpy for copying arrays
  141. forward reference to a class...
  142. Function template checking
  143. Blocking ports?
  144. How to implementing com interface?
  145. retarded question--generating carrage return
  146. member pointer to struct data
  147. how to convert GMT time
  148. Template specialization of pointers with function pointers
  149. ::std sometimes needed, sometimes not
  150. book for game programming?
  151. Error handling in contructors
  152. Microsoft Visual C++ Run-Time Library Reference
  153. guidance for future
  154. Is Borland Compiler Suited for my Needs (Better than VC++)?
  155. please help me a little with autotools
  156. STL list::erase()
  157. Is it possibleto configure enumator constants in C++? (hard problem)
  158. derived members & initializer list
  159. system command
  160. Invalid template argument
  161. stringstream problem
  162. Visual C++ and include order.
  163. Beginner C++ class problem
  164. implementing trees in STL
  165. find all unreferenced symbols, not by linker
  166. a=b does not screw up like it used to do!
  167. C++ file io -- eof trouble
  168. casting problem (int * to int*)
  169. C++ quine
  170. class definition
  171. Remote Locking
  172. problem reading text file with getlin()
  173. change the default separator in stream operator ">>" ?!?!?
  174. Error compiling c++ application
  175. typedef decalrations
  176. bind to a specific IP address
  177. Regionals Parameters Windows
  178. Error: need explicit cast for function parameter
  179. Problems using MAPI/CDO in C++ (getting Mail Adress)
  180. Minimize Application to System Tray
  181. Class forward declaration
  182. BST
  183. What does the expression "sizeof(int)*p" mean?
  184. What does the expression "sizeof(int)*p" mean?
  185. Singelton Pattern Unsave?
  186. std::copy versus pointer copy
  187. visual inheritance
  188. dos graphics with borland command line compiler 5.5 ?
  189. passing a parameter
  190. dos graphics with borland command line compiler 5.5 ?
  191. pointer to member function (gcc)
  192. HELP! using filehandle.get("filename") writes to file when it reads!?
  193. error LNK2001: unresolved external symbol _IID_IDirectDraw7
  194. lightweight singleton template using references
  195. getting the value of a static const member
  196. software that interect with outlook express
  197. what's wrong with this STL code
  198. Whitespace separating lines using extraction operator on file
  199. dynamic TImage component creation
  200. string vs. String
  201. How do I use classes from a DLL?
  202. IFilter
  203. about virtual inherit
  204. creating mathematical graphics?
  205. Is this code supposed to throw or not ?
  206. Unary + / -
  207. int to char* conversion
  208. Help with sizeof and pointers
  209. Virtual function problem
  210. size_type requirements
  211. binary fileoutput
  212. MFC Icon
  213. Understanding char*
  214. basic calculations with very large numbers
  215. Linking error
  216. gprof, -pg and rand() problem
  217. Member function with variables parameters
  218. Dumb Symantec C++ question
  219. Unique file name generation
  220. oscillating fibbonacci tournament sort ?
  221. scoping issue
  222. linked list help?
  223. Returning instance of necessary derived class
  224. variadic functions
  225. Need help with C program
  226. debugger/profiler lotus dll crashes server - how to tackle this as a non expert
  227. class object initialisation
  228. Event keyword
  229. Vector sort with a struct?
  230. i think this code has a logical error ..plz help me...
  231. plz help me.. this logical error is irritating...
  232. C++ sample source to test compiler compliancy
  233. Enhancing valarray with "normal" arithmetic operators
  234. Rationale behind requiring ampersand and fully qualified name to form a member function pointer
  235. GCC and forward declaration of enum
  236. the standard and data member value assignment
  237. roman numeral to integer
  238. header include structure
  239. Comparing two floats or doubles to a precision
  240. I am mystified... need help with STL.
  241. perl-like regular expression parsing for C++
  242. Overriding new and delete again...
  243. bit_vector and list_wl in VC++ 7.0
  244. Add numbers
  245. Gcc and core dump
  246. classname::classname a type ?
  247. program termination/memory leaks
  248. Refactoring Tool for C++
  249. factory methods.
  250. Passing a vector<customStructure> to functions outside main()
  251. GNU C: Namespace resolution operator on friend declarations problem
  252. creating a objekt with an array linear in memory
  253. environment variable
  254. static constructor alike?
  255. A new kind of book to learn C++ computer programming
  256. class-in-a-typedef-in-a-class circular trouble
  257. Reference confusion
  258. pointer arithmetic
  259. Modern C++: confused with constructors inheritance
  260. bits
  261. templates and operators
  262. Help a newb :)
  263. can someone give me a little advice.
  264. VC++ .net and VC#.net
  265. About object oriented programming
  266. Variable declaration or function prototype
  267. code doesnt work ....plz help.
  268. Covariant parameters
  269. Messages in Greek
  270. Delphi
  271. Is this valid C++ (protected member of base accessed in derived class function)
  272. Not virtual good function called
  273. Push back
  274. String Array to Binary Number Conversion
  275. Technical Instruction Position
  276. Reading a file.
  277. class String : public std::string {}; ????
  278. default arguments for COM interface functions
  279. Compile error: 'identifier' : already initialized
  280. vc7 debug jump wrong line
  281. Assembly Segments
  282. Closing a factory method using dynamic object creation.
  283. C++, mysql
  284. Very strange try/catch problem. Please help!
  285. Static memfun through null ptr
  286. Type of endl, ends, flush in g++-3
  287. Getting Segmentation Fault, selectively, on memory overwrite.
  288. random number generation and Monte Carlo simulation in C++
  289. Specialization of what?
  290. Deitel 3.54
  291. g++ compile error. help
  292. String to int
  293. ListBox -> DragListBox
  294. Pointer problem
  295. STL <map> with two keys ?
  296. How to detect the tape drive in Win32
  297. overloading ->
  298. TAking the minimum of three values
  299. overloading operator()
  300. grow an array with new
  301. help me rectify the code---why cant i initialize the double variable sum1=0
  302. Const member initialization list question
  303. MFC -> CDBException
  304. beginer
  305. Memory Leak in deque ?
  306. Asking directions.
  307. stream switch
  308. Mutiple Instance of Single EXE - VC++
  309. These two if-statements are equal, right?
  310. MMI in Visual C++ .Net
  311. Using function pointer in callback function
  312. pointers and functions
  313. Pointers from References
  314. c++ classic books, must have books ?
  315. Problems with a malloc'd char* to String
  316. Is this right? Can't call protected member of base class from derivedclass method, for another object
  317. A small problem
  318. Easy random numbers?
  319. test
  320. Turbo C++?
  321. Overloading vs. specialization of function templates
  322. Where should the body of template specialisations be placed - header or source file?
  323. port of log4j to c++
  324. _ultoa radix??
  325. How do you display DWORD & strings in an Edit Box
  326. getting the name of an object
  327. templatized state model
  328. ifstream - read - problem
  329. Question about template error message
  330. casting pointers
  331. Linked-List help
  332. Performance Question
  333. Best Compiler
  334. Alert box
  335. compile error with "cout << "Hexadecimal == 0x" << hex << m << endl;"
  336. Overdone declarations ?
  337. x.sin() versus sin(x)
  338. VC++ support for PCSC programming
  339. Handling VARIANT Arrays
  340. derived
  341. Array List?
  342. Strange FUNCTOR inconsistency
  343. Valid uses of template parameters
  344. typeid and polymorphic classes
  345. DOS app question
  346. const &
  347. compiling .c file
  348. C++ AI Blog
  349. Simple toString() problem
  350. code doesnt work......please help me..
  351. please help me.. with this problem.
  352. validity of using subclasses in pointer-to-pointer types?
  353. Initialising a constant from a file
  354. Default parameters of constructors
  355. Base struct instead of class
  356. filecopy with std::copy()
  357. Parsing char array to CString
  358. Great Book on Web Services
  359. Performance penalty for encapsulations ??
  360. errors result when creating header file - visual c++
  361. Stack Problem: sig 11 maperr
  362. linking error
  363. Code review of cross platform code sample
  364. socket connection problem
  365. all in one c++ reference
  366. Virtual Memory & RAM
  367. implicit typename in template
  368. Intersection of Multiple Sets
  369. delete[] on array of size 1
  370. new causing SIGABRT
  371. Error with Function object..
  372. Namespaces
  373. GLUT callback registration (not quite OT)
  374. iterator question
  375. How to do fibonacci by linked list ( not by recursive)
  376. C++ code wont execute under Linux.
  377. A very simple hello world program wont execute in Linux.
  378. include string?
  379. suggest me a c++ cmpailer
  380. STL Container of containers
  381. using new in functions, pointers passed still NULL after called?!
  382. a recursion function help
  383. ëçì
  384. Property pages in ATL COM add-in
  385. memory leak in class code
  386. std::map
  387. Template instatiation
  388. problems while linking in MFc app
  389. how to make a plan of how you implement a program?
  390. Xenon 2000: Project PCF
  391. The "smart guarantee"?
  392. Need advice: Choice of environment for a new C/C++ project
  393. error LNK2001: Nichtaufgelöstes externes Symbol; Please Help!
  394. Template linking problem (multiple definition)
  395. access rules and nested classes
  396. How to implement password/access rights check
  397. Local function declarations
  398. Picking apart declarations
  399. Template friend can't be template parameter
  400. Global static variable vs static method
  401. input streams, setw(), and strings vs. char*?
  402. Read-only data members
  403. Question about base class member access
  404. string question
  405. Which one is the best log4cpp , log4cplus or log4cxx ?
  406. NULL
  407. C++'s Life/ANSI
  408. ? CString to char* in Unicode; How to convert?
  409. need help with the PlaySound Function
  410. basic allocating memory question
  411. Container Class
  412. What happened to functionx?
  413. *.hpp files
  414. prohibit creation of object copies
  415. Q: address of operator new/delete
  416. iterators
  417. Legal or not?
  418. recommended c++ books?
  419. Need help sorting
  420. default arguments
  421. default object argument
  422. easy array question
  423. finding the second coordinate
  424. Binary Tree problem
  425. mem_fun and template class function problems
  426. char[] vs. char *
  427. C++ programmers! How do you use unnamed 'namespace's ?
  428. Member function existence queries...
  429. POD
  430. Which is better,C++ or Java,for network programming
  431. destructors for static and non static pointer-to-objects
  432. C++ exceptions and destructors
  433. help: static vs namespace?
  434. Problem with malloc, realloc, _msize and memcpy
  435. Friendship inheritance
  436. Variables in global data space
  437. BTNS_WHOLEDROPDOWN style in CToolBar
  438. Exception and derived destructor
  439. converting a char* to long using atol does not work :(
  440. question on NVR optimization
  441. STL source code
  442. Using cin in a for or while loop
  443. Bug in Visual C++ 7.1 ?
  444. usage of keyword template / standard
  445. multithreading and member-functions
  446. inheritance issue
  447. Default type-value for template parameter type
  448. Java to C++ (simple tool)
  449. static array initialization
  450. Windows/C++ book for beginner
  451. file input problem
  452. file input problem
  453. Extendible Hashing implementation
  454. Sequence points
  455. char pointers
  456. question about method pointers and subclasses
  457. 2 compile problems
  458. Passing Parameters
  459. hook problems
  460. server using winsock
  461. Exceptions performance penalty
  462. C++ io-stream how to write a real hex file
  463. reading wave file data
  464. Using std::string
  465. data transfer from port
  466. Mixed-Language Programming : Ms-VBDOS v1.00 and Ms-C/C++ v8.00c
  467. why vector assignment operator not invoked on const vector& ?
  468. allocator traits?
  469. how can I get the call __PRETTY_FUNCTION__ runing?
  470. version number check
  471. const has internal linkage in C++??
  472. The program/ header file contents
  473. linking errors when using templates
  474. [Q]function name and variable name conflict.
  475. C preprocessor function macros with empty aguments
  476. Testing
  477. C++ STL valarrays vs. vectors
  478. [aliasing rules] Should operator new be excluded ?
  479. fonts
  480. strcat() Problems
  481. The C++ Programming-Language, 3rd Ed. - complete book !
  482. C is not a subset of C++?
  483. String Manipulation
  484. Recursion with main()
  485. SWM ISO c/C++ parser library / class
  486. How to distinguish a null line(just a return) in text file
  487. Dynamaic Memory verses static
  488. Can you help me find my memory leak?
  489. C Callbacks
  490. Open watcom supporting C++ STL
  491. beginner question
  492. run time Error :(
  493. UDP Broadcast problem
  494. RC4 Implementation
  495. Single dim array as a multidim array?
  496. Pointers to functions, when to use?
  497. principle of stport std::sort
  498. ListView checkbox pblm
  499. [Comparative performance] Various forms of argument passing
  500. C++: destructor and delete
  501. Q: std::getline and portability
  502. How do I know if memory is already allocated?
  503. c++: handle no memory situation
  504. Documenting the code itself
  505. next iterator position without mutation
  506. std::ios_base::width usage problem
  507. no else for corresponding if
  508. stack question
  509. synchronize
  510. Linked List Problem
  511. Tower of Hanoi - Can it be optimized some how ?
  512. Blocking CDROM access
  513. How to retreive the status of the child process?
  514. I've got the Vector (input parsing) blues
  515. Round up a number to so many decimal places
  516. Distinction between a method and a member function
  517. Determining if a Class is .... ?
  518. Dynamic method dispatching
  519. Check to
  520. overload resolution
  521. char array to string?
  522. Faster than recursion
  523. command args processing lib(a la getopt), anyone?
  524. WNDCLASS: cbWndExtra
  525. pointer casts and the heap
  526. Why doesn't this work?
  527. OT Boost
  528. Template implementation problem.
  529. Lexical convention
  530. Passing an array to a function by reference/pointers
  531. Help me with this!
  532. [Q] Pointers to Non-Static class member functions
  533. Accessors by value or reference?
  534. Need your recommendations
  535. static_cast vs. traditional type casting
  536. double and precision
  537. copying strings efficiently?
  538. scoping of nested classes
  539. convert BSTR to a long
  540. compare an input to see if it's contained within a paramter list
  541. template members in a non-template class
  542. calling html form from c++
  543. Borland C++ builder simple question
  544. looking for the files g2++.h and g2_X11++.h
  545. looking for g2++.h and g2_X11++.h
  546. Copy constructor
  547. Resizable Arrays
  548. coming back to C++ for a job (C++ and Java)
  549. how I can use 'gprof'. I have got some problems.
  550. hello world program