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. How do I display a CArray in a table format?
  2. STFT
  3. char In structures
  4. Order of Static Members
  5. funny working ListBox - help!
  6. Is there any good hash library in c/c++?
  7. Use of getchar
  8. Defining iterators
  9. MALLOC or
  10. calling functions in another file
  11. SImple question about structure and linked list
  12. string conversion problems
  13. string conversion
  14. what is wrong with this code?
  15. Makefile design
  16. assigning string to int
  17. undefined reference????
  18. Overloading the "=" operator for Complex numbers
  19. Some basic Q for help!
  20. "Default construction" of built-in types?
  21. Simple iterator usage question...
  22. #define versus const
  23. console io
  24. Confusing compile error
  25. Inputing character strings using stream extraction operator
  26. Using tolower in transform
  27. RTTI typeid question
  28. template problem with MIPSpro compiler
  29. Assigning a portion of a getline to a variable
  30. RFD: comp.os.ms-windows.programmer.win64
  31. can not dynamically add element to vector in going over the vector
  32. Need help extending stl list.
  33. weird parse error in template class
  34. reading a text file and returning enum
  35. Need help extending stl list.
  36. Need help with Visual C++ error message
  37. VC++ vs C++
  38. creating STL-like iterators
  39. reserve with std::priority_queue
  40. Request for code review
  41. integer types
  42. how to implement a remove_if predicate with iterators vector
  43. disabling RTTI
  44. DLL Definition files
  45. Vector question
  46. erase elements while iterating on a map
  47. Global namespace pollution
  48. Please help on 3 questions
  49. Help with Visual C++.NET
  50. Strange Linker Error
  51. template inheritance and the output operator
  52. pointer to function. why doesn't this compiler
  53. Searching: Extendible Hashing Algorithm (OOP)
  54. Allocator probmels
  55. What do other's make of this code?
  56. dll troubles
  57. sterling commerce = white supremacy
  58. float/double equality in template definition without rtti
  59. Commenting out debug code
  60. how to enable highlight function?
  61. need an efficient data structure
  62. read fixed width numbers from stringstream
  63. std::map performance
  64. Inheritance problem ...whats next?
  65. macro magic: include a while loop and return result?
  66. Design Patterns for C++ Object Serialization/Deserialization?
  67. Explicit function vs. overloaded operator?
  68. C++ Fortran mixed programming
  69. type of sizeof
  70. shifting bits, shift 32 bits on 32 bit int
  71. what does default operator= do?
  72. compiling socket client and server on cygwin
  73. documenting exceptions
  74. c++ linker error, please help!
  75. DFT routine
  76. cool thing with memberfunction pointers as parameters
  77. return type
  78. includes -- best form?
  79. Network Flow and random help please
  80. Initializer and comma seperated lists
  81. Local structs as template parameters
  82. big numbers in C++
  83. Problem with HTML files in C++
  84. lootery ball progam
  85. help in designing class
  86. Call A from B
  87. virtual base class
  88. scope, static and linkage
  89. Win2k/2003 DLL memory limit?
  90. atl oledb from console
  91. Self refrence to class type in template
  92. pass an array throuh a function
  93. char[] = "FFFFFF" to 3 unsigned char.
  94. Alexei's singletons
  95. software developers' kit
  96. #include -- double quotes vs. angle brackets
  97. Explicit calls to unexpected()?
  98. Inheritance, vectors and copy
  99. Tools advice for C and C++ programmers using XML
  100. Template Expansion
  101. 'virtual' can only be used....
  102. Member Templates
  103. OT - Victor.. please email me
  104. 2 variable "nested" loop with TMP
  105. posibilities of 'RETURN'
  106. is "using namespace std" good style?
  107. assign value from a volatile variable
  108. How to resolve "undefined reference to..." problems?
  109. smtp server look up
  110. How is string::c_str() usually implemented?
  111. exception handling and reference
  112. help in designing class
  113. how to set the environment ?
  114. seeking in cout text
  115. run program at a specified time
  116. at run time, a message is send to my e-mail address
  117. Loop problem, HELP please!
  118. Base64 Encoding/Decoding Implementation....
  119. Assignment Operator in ABC
  120. vector sort: sort() vs stable_sort()
  121. pointer versus reference in constructors
  122. sort() falls into wild state while stable_sort works fine
  123. Strange linking behavior when overriding global new and malloc
  124. Rejecting negative number
  125. HELP: wxValidator and undefined reference to `vtable ...` under linux
  126. Simulating mouse clicks
  127. Discoverable objects in C++, any tools?
  128. std::vector performance
  129. How to define a constant integer inside a class with keyword const ?
  130. Editors
  131. Using iterators inside templates
  132. Library Problem
  133. Charts+.net+c++
  134. reading a whole file?
  135. Partial accessibility to a class's interface
  136. does anybody some code for this
  137. Sorted Linked List
  138. Dynamic allocation of a 2 dimensional array
  139. std::Vector, SmartPointer and const_cast
  140. deleting a composite, double-delete problem
  141. How to implement "information hiding" into my code?
  142. console stream
  143. Display a C++ window in a java GUI
  144. Color in c++
  145. BoundsChecker
  146. simulating "static pure virtual" methods
  147. returning a const char*
  148. Comparing 2 versions of C++ framework
  149. const functions
  150. super constructor in C++
  151. xlC,xlC_r
  152. xlC,xlC_r
  153. string to integer
  154. Interpret istringstream::tellg as character position?
  155. Variable name...
  156. I encoutered some trouble while using ODBC
  157. Problem with callbacks with arguments
  158. cout & cerr
  159. can't compile!
  160. enum type and classes
  161. Problem with fstream and operator>>
  162. skipping an element in an array
  163. reading data problems
  164. Template problem
  165. redirecting cout to dialog window
  166. Help: ifstream not getting passed to a function
  167. C++ Program to delete itself after execution ?
  168. Books (Sort of OT)
  169. Extension .inl
  170. using friend function template in class template
  171. Quick Question Quick Answer
  172. C# vs Java run on every machine?
  173. Is this a partial specialization issue?
  174. Template issue
  175. file io question
  176. get(char*, num, delim) question
  177. struct ATypeDef [ 5 ] { float Name, Amount; };
  178. virtual destructor
  179. including c libs in c++ code?
  180. VC++ or Java to support serial port driver?
  181. Pulling the type declaration out of a variable?
  182. file binary and template
  183. IT CAREERS
  184. Smart resource manager
  185. when is destructor invoked?
  186. Template problem with visual studio.net
  187. istringstream question
  188. Registering .Net tlb in VC++
  189. Windows app + Xserver + cygwin
  190. Testing (in)equality against a const float
  191. equivalent of Java's getErrorStream in C++ - need to capture standard error
  192. Template Instantiation
  193. templatized logging
  194. why overloading isn't happened?
  195. Redirecting CPP and LINK32 in MSDEV 6.0 to another compiler.
  196. redirecting streams
  197. Trouble creating a thread
  198. multiple updates in for statement
  199. Constructing a Class Given a String
  200. Object Oriented Programming (OOP)
  201. mix Visual c++ 2003 with Fortran IFC 8
  202. better design for catching errors
  203. Compiler
  204. Allocating Four Dimensional Dynamic Arrays...
  205. SGI STL Library on Opteron
  206. inserting and popping an element from a queue.
  207. very simple string* question
  208. Protected access modifier working ???
  209. Precision Change - Float to String
  210. Empty base class (like Java's "interface")?
  211. float and double question
  212. One Container question
  213. Template member function default argument
  214. inline virtual functions.
  215. sort and get index?
  216. Tools to analyze memory usage within a program
  217. COpy object
  218. Interaction between two programs
  219. Proper Use of NULL
  220. Item 13 in Meyer's Effective C++
  221. Moving text file contents into a std::string
  222. How can a Static member function know all instances?
  223. Is argv writeable?
  224. Is argv writebale?
  225. Conflicting behavior of MS and Borland
  226. Deriving subclasses of std::exception and throw()
  227. pointers and linked list
  228. design - class to represent a variable
  229. simple delete question
  230. MFC prob,..urgent
  231. vector question
  232. Linking to Static library of C
  233. Any ideas on how to implement this? (hierarchy related)
  234. peg triangle puzzle solver
  235. Processing std::strings into data
  236. Which is easier to learn - .NET or J2EE?
  237. c++ Final class ?
  238. binary_function and bind1st
  239. What's wrong Overloading []
  240. Great IT site to help you keep your skills up to date!
  241. Usual arithmetic conversions + integral promotion for short?
  242. members in class template not inherited?
  243. GOF Interface Problem
  244. unhandled exception : Privileged instruction
  245. How to Init static variable in Template
  246. Hashing
  247. Exportable class functions as stand alone functions to .DLL or .SO
  248. How do header files work?
  249. test ignoreit plz
  250. assignment behaviour problems
  251. Why is not defined operator+ for vector?
  252. catching EOF errors
  253. sdaf
  254. Inline and template file extensions?
  255. using declaration
  256. Forgive me: V Quick OT question
  257. i want to be a good c++ programmer what i ahve to do
  258. i want to be a good c++ programmer what i ahve to do
  259. Function pointers
  260. static member
  261. What is the name of sorting algorithm used in list (STL) class?
  262. function use error...?
  263. Proper Usage of Shared Memory
  264. friend classes
  265. stl::fstream O_RDWR | O_CREAT
  266. cpu scheduling problem
  267. template parameter friend, it this valid ?
  268. Problem With this Code...Please Help
  269. Is init done for arrays in classes?
  270. Is init to 0 done for arrays in classes?
  271. NonCopyable
  272. Hashing function
  273. char + short = char*
  274. wave file
  275. How change text colour?
  276. Recent file list - FULL PATH?
  277. .h for standard headers
  278. Sorting by class value
  279. Construction of member objects
  280. ios.h
  281. Linux/Win
  282. Generate a random number question
  283. STL auto-sort function
  284. Pease help
  285. fstream::read(..);
  286. Observer pattern
  287. derivable classes
  288. Why can't I compare addresses of template classes?
  289. Generic state space search library
  290. can't find iostream.h
  291. delete a composite
  292. Abstract Class
  293. Function prototype & implementation mismatch
  294. Interchanging variables between functions
  295. nested templating
  296. overloading std C functions with a namespace
  297. pointer to map is not behaving properly across function calls (for VC++ compiler)
  298. sample server
  299. Intrusive list
  300. Deviation of double
  301. fstream..
  302. what to do with template classes in template unsupported compiler ?
  303. Microsoft Visual C++
  304. C++ .. Lint warning
  305. Templates, syntax and allocation!
  306. Any Boost Experts out there for Boost.Regex?
  307. is this code valid ?
  308. c
  309. Exceptions vs Status codes
  310. Dynamic allocate memory problem
  311. linking C with C++
  312. We need some help installing IP based CRM software.. IP based call center software ***
  313. Static Members and Inheritance
  314. The future of C++
  315. REFERENCES REVEALED
  316. the difference _cdecl from _thiscall...?
  317. Return speed
  318. strcpy
  319. unique numbers using srand( ) and rand( ) functions in C++
  320. linker errors when I use template friends?
  321. Memory leak
  322. ctime Help
  323. How Do I Prevent Copying From Base Class?
  324. Subscriber callback interface design
  325. Formatted input interpretation
  326. Macro var args
  327. Where too now?
  328. I want to get member function pointer...
  329. Questions
  330. C++ member pointers and anonymous structs/unions broken?
  331. A difference? Purpose of ->*?
  332. fgets and newline
  333. Text templates: "embedded c++"
  334. Can't decipher compiler error
  335. Rogue-Wave Class-Library (Tools.h++)
  336. tcp packets and the < operator
  337. << "\t";
  338. Reading text file containing accented vowels
  339. Interview Questions
  340. Namespaces
  341. trying to understand Inheritance, Polymorphism and templates
  342. std::toupper
  343. Test Post
  344. Test - SH
  345. Function Pointers
  346. std::map -- Function Objects??
  347. Get system() error message
  348. What goes where in which files
  349. Function call, postfix inc and exception behavior
  350. How to reuse a ostrstream?
  351. Intermediate to Elite: Making the jump
  352. Calling another constructor from a constructor
  353. how to implement "contains a member" template ?
  354. Passing 2D Dynamic Arrays to Functions?
  355. error C2385: 'p2in1::Eject' is ambiguous
  356. instance based callbacks
  357. Is it possible to define extern "C" types inside a template?
  358. Character classification: novice question
  359. calling a function in cpp
  360. How function calls work
  361. Return by value -- primitive type vs class type
  362. CfP: OMG's Software-Based Communications (SBC) Workshop
  363. INSERTING 3 SPACES TO OUTPUT
  364. extern "C" Problem (currently runs well without using them and CC,)
  365. istream_iterator<>
  366. Writing Singleton Classes
  367. We need some help installing IP based CRM software.. IP based call center software
  368. static variables question
  369. STL std::map erase
  370. Language support (UTF-8 with std::string and std::cout) help
  371. C++: Static member functions and 'const'.
  372. binary IO
  373. STL & Generating exponents, permutations, arrangements, and combinations
  374. Compile-time constant quiet NaN (double) ???
  375. need help with recursion
  376. Question on Copy constructor!!
  377. pointing to a member function/method within another function
  378. list<class A*> l;
  379. How much was read during istream::read ?
  380. Allocation schema w.r.t. padding and alignment...
  381. How to create an array of data types only
  382. If vector contains only different elements
  383. Deleting all but the first element in a set
  384. Can a successfully compileable template definition fail on instantiation?
  385. Why Are the Visual Studio C++ 6.0 Executable Files So Big?
  386. OnButton
  387. Creating an Icon For my App
  388. typedef, member function and const meat different compilers
  389. How is a "static library" different from a "DLL"
  390. save memory to disk
  391. best way to initialize static member objects
  392. std::map replacement
  393. String tokenizer comments desired
  394. Finding static constructors with possible out-of-order initialization
  395. Compiling MIPSpro C program using MIPSpro C++ compiler on SGI system
  396. template function specialization query
  397. ANSI/ISO C++ committee website moved
  398. regex compilation under VC++
  399. Hiding cursor
  400. template for "is static castable"
  401. anagram problem
  402. Problem while including iostream.h in files targetted by ns2.26 make
  403. ReadDirectoryChangesW problem
  404. Type Library Version
  405. From unformatted to formatted input
  406. Unexpected Result
  407. do need Interfaces for COM
  408. exit, signals and exceptions
  409. avoid stack creation?
  410. structs terminology
  411. Trouble with using "system function"
  412. return value of function
  413. Pointer changed unexpectedly.
  414. Internal Compiler Error // Stupid Standards?
  415. Strange vector problem
  416. Old Microsoft Visual Studio Library files
  417. How can I build a cpp file not in a project?
  418. Typed arrays (was: Is it ANSI or is it compiler dependent?)
  419. Please Help me on this Program
  420. Efficent use of the string class
  421. Is this code correct?
  422. MS C++ .net 2003
  423. Crash with hostent data retrieve
  424. string searching
  425. OT John Harrison
  426. Clean code vs. efficiency
  427. Copying struct with array
  428. (PALM OS) Need Software Engineers help with Syncing application
  429. Forward declarations
  430. mixed c / c++ files
  431. textfile
  432. Cyclic Dependency problem
  433. Compiler compiler with C++ as output
  434. best result function
  435. Make one GUI containing java and C++ componants ?
  436. Put array into vector...
  437. not null
  438. Algorithm to generate different combinations based on N numbers
  439. Integrating FILE * and int file handles
  440. Can't make sense of a template.
  441. determine operating system
  442. Using Polymortphism with streams
  443. Template Nightmare
  444. Converting a string to an integer
  445. could you give me the URL of the last standart C++
  446. ECOOP 2004 - Call for Participation
  447. using of "static const" in class with no imediately init
  448. vector with deep copy
  449. stl containers disappear
  450. byte order problem
  451. automatic conversion of template arguments?
  452. Tools for viewing 'translation units'?
  453. Design Problem Aggregation
  454. question about object destruction
  455. inheritance - problem with identyfing object
  456. Handling Class Construction Errors
  457. Are files in the same directory as a file being compiled automaticallyfound by a standard following compiler?
  458. UDP sockets
  459. reading a textfile
  460. beginner c++ homework questions --=[let me try one more time]=--
  461. plugins
  462. memory allocation logging for leak detection - problem with globals
  463. Associated classes
  464. beginner c++ homework questions... if anyone knows how to do this, any help would be greatly appreciated TIA
  465. this is the end()
  466. Streamable File Format + Interactivity
  467. Need Help: C++ Delete Known File
  468. Where to start
  469. Is it ANSI or is it compiler dependent?
  470. question about object instantiation
  471. More problems with subscript operator
  472. command line arguments
  473. Defining a 32 Bit Integer on every platform?
  474. what is wrong here? (templates)
  475. tolower function in C
  476. static & template
  477. Class search function
  478. look for congruence
  479. templated ctor with non-type template argument
  480. Passing Stream object by reference
  481. accessing/overloading parent overloaded operators
  482. getting pixel info from an image file
  483. creating an int from bits
  484. Advice on DLL parameters please
  485. overload []
  486. Avoiding a reference to a reference using iostream
  487. mutable member and const method help
  488. filesize of an ofstream
  489. reporting programming error
  490. read/parse flat file / performance / boost::tokenizer
  491. String or char[] - that is the question
  492. Tensor
  493. C++ Exercises
  494. C problem, likely simple but I can't see it!
  495. Compilation error in "Hello World" program.
  496. Search function
  497. const overload
  498. Abort instead of throwing exceptions
  499. arrays
  500. gcc -pthread option for Linux
  501. Comparing Memory Allocation Methods
  502. get filename from ifstream?
  503. Class problem
  504. TPrinter with network printer
  505. is this class POD ?
  506. Question regarding operator[]() and const
  507. getting New line character
  508. Correct use of templated class'es inner structs/classes?
  509. sort and reading a textfile
  510. exit, signals and exceptions
  511. Calling a function in another class
  512. Search engine source
  513. function static variable expression
  514. Can I trust a vector to stay put if I don't add to it?
  515. Warning: skipping non-radio button in group
  516. End line of text based network protocol
  517. Accessing Active Directory : unresolved token on REFIID types
  518. Why doesn't this work?
  519. Problem with the compiler?
  520. How to printf some infromation in .SO file in Linux
  521. stringstream vs ifstream - one BIG difference
  522. g++ errors out Pass by Reference function call in C++ --- Please HELP
  523. Indentation level woes
  524. input/output to text file
  525. USL v.s. STL
  526. Unhandled Error c00000fd
  527. Commenting C++ code - TIPS
  528. is this valid ?
  529. BIG PROBLEM: How to detect wrong input stream?
  530. UML for C# programmers
  531. How to fix "Warning: should not initialize a non-const reference with a temporary"?
  532. Convert Access into C++
  533. kinda wild ptr??
  534. How to design such class
  535. Question of function argument
  536. Using "numeric_limits<double>::min()" in MFC application
  537. FTP-Copy with C++
  538. static variables in derived classes
  539. pclose: returning termination status of command
  540. Maximum for Arrays in C/C++
  541. friend access from nested class
  542. Help...
  543. define string class which implements linked list at backend
  544. newer versions of header files
  545. Visual C++ bug?
  546. Accessing files in a permissions protected windows folder
  547. container access design headache
  548. Weirdness: (-0.666667 + 0.333333)
  549. where? heap or stack?
  550. Any idea why do this program crash when I throw derived object as shown ?