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. c++ float and integer
  2. JOB OPENINGS
  3. Error in program. cannot convert from 'char []' to 'char [10]'
  4. COPYING (not extracting) data from an istream object
  5. Rounding floats/doubles
  6. multiple return paths question
  7. use of static
  8. Setting member variables before constructor call
  9. decimal constants
  10. invoking member functions without creating an object or pointer of the class?
  11. Accessing web through C/Perl in Unix
  12. ejo
  13. how to implement a "typoef" thingy.
  14. alignment
  15. borland c installation
  16. SOCI 2.0 - a database library
  17. Problem with member and non-member binary operator in template class
  18. Cube root computation
  19. CFP: LASER Summer School on Software Engineering
  20. CFP: LASER Summer School on Software Engineering
  21. Global variables.
  22. fgets
  23. pragma
  24. How C++ Exception handling works ?
  25. missing #endif problem
  26. Implementing library algorithms
  27. Passing different variable types to a function
  28. some problem of a.out
  29. Want to shift bits with addition of 1
  30. looking to use graphics, can't find any thing
  31. confusion over static variables
  32. virtual functions
  33. auto_ptr memory leak with arrays?
  34. Printing a char * to a file
  35. Variable declaration and initialisation
  36. NULL pointer and null references
  37. Tightening up Shootout code
  38. Clear Thinking Power for Comp Developers
  39. operator overloading true and false
  40. Clear Thinking Power for Comp Developers
  41. a little problem
  42. key-value pairs: key consists of 3 ints
  43. Checkpointing Routines
  44. How standard atoi works?
  45. memory leak in threaded getpwuid_r() usage
  46. Portability / compatibility issues
  47. Ken Thompson - Reflections on Trusting Trust
  48. macros with an example program to new learner
  49. a little advice
  50. Removing a vector element using std::swap and std::vector::resize.
  51. How can a string by accidently modified?
  52. Pass String from Visual Basic GUI to a C++ DLL?
  53. debugging -- behaviour to be explained.
  54. return "chars"
  55. New to C++ need help
  56. Function inlining
  57. Using time_put and time_get from <locale>.
  58. Compile error with virtual inheritance: const <anonymous>** - AGAIN
  59. save to file
  60. why i can not convert a char ** to a const char ** ?
  61. Template class - Compilation problem
  62. Templates and Inlining
  63. C++ Beginners question
  64. About retrieve an arbitrary byte among four bytes of an int.
  65. template in error
  66. debugging a memory violation problem
  67. constructor and initializer
  68. debugging runtime error
  69. detect necessary #includes
  70. Why (type*)pointer isn't equal to *(type**)pointer?
  71. Question about Boost.lambda example
  72. The bad coder joke =D
  73. The bad coder joke =D
  74. template problem in MSVC6 - getting wrong parameter type
  75. Unable to compile using boost::date_time library
  76. Calculating distances in O(1)
  77. Is my understanding of containers valid?
  78. What to do when base class is not specified as virtual?
  79. Peeking an entire line from an istream
  80. stl: what member function need to exist in class for list implementation
  81. Need a queue in C
  82. STL bind1st question
  83. Efficient division/remainder in C
  84. Problem: global variables and singleton
  85. Any memory leak for this Singleton Implementation
  86. diamond inheritance, constr. question
  87. Conversion of char * to bool
  88. Moving Project From VS 2003 to VS 2005
  89. STL vector VS list
  90. Problem with Accessors
  91. How does free() know how many elements should be freed in a dynamic array?
  92. How do free() know how many elements should be freed in a dynamic array?
  93. Temporary varriables and thread safety
  94. wait in c
  95. Find duplicate entries in STL algorithm
  96. Compile error with virtual inheritance: const <anonymous>**
  97. How/why does this work?
  98. The difference between C and C++
  99. assign value in const variable
  100. Error trapping
  101. valarray addition and overflow handling
  102. How to activate a running Windows application
  103. loop -> for_each
  104. When to use private inheritance
  105. getting current date in C in the VC environ
  106. File-splitting Function: Uses FILE * - better way with ifstream?
  107. Macro GCC????
  108. typedefs, qualified identifiers, class names and name lookup
  109. Making the best of it!!
  110. Declaring struct as static is causing problem.
  111. operator new override/overload?
  112. strange ifstream problem
  113. Link error in minGW (seems libstdc++.a is not in the search path)
  114. How do the compiler knows about the change that is made in the static variable?
  115. what is fun1()->fun2(params)
  116. (help) Runtime error in ifstream/ios class
  117. Need help reading UTF-16 files ...
  118. Help with template friend and ostream, I think I am close
  119. C++ Reading binary data written by other Language programs
  120. C++ / STL / G++ / Slackware
  121. how could i declare & define function in header file
  122. port Win app to Linux Questions: Memory management and OEM Char
  123. Need clarification about virtual methods & inheritance
  124. Bit-field Question
  125. ternary expression validity
  126. Debug a C DLL
  127. Template argument deduction cannot be performed
  128. Need recommendations for code modularization
  129. What does * new mean?
  130. Confused on class member variable initialization
  131. beginning games development on the mac
  132. Can inserter/extractor operator overrides be made run-time polymorphic?
  133. I think I messed up my compiler
  134. Modulus and negative operands
  135. Code for lseek
  136. for_each() algorithm
  137. Header file compilation
  138. C++ Builder 6 - Getting ODBC Parameters
  139. Can any body tell me how to find duplicate lines in C
  140. pointer to a vector? shall i delete it or clear it?
  141. Loki and BOOST
  142. Char array initialization bug in vc++ .net 2003 ?
  143. Why need .dll if I use static lib?
  144. C or C++ in Kernel Development
  145. Why We Use C Than C++...
  146. Character space allocation
  147. Confusion about row-major and column-major
  148. Iterate an enum
  149. C++ Sorting and Searching function
  150. how to allocate memory for this
  151. Converting iterator to pointers, revisited
  152. How to correctly call initialization and cleanup functions?
  153. Reading a method pointer from a stream
  154. Warning: no newline at end of file
  155. how to open a log file?
  156. CRC16
  157. Compiler question
  158. trivial or non-trivial object
  159. What in the HECK is going on???
  160. Chuck Norris can divide by zero
  161. Initialize a Reference type class attribute
  162. Linker Error: For a defined method() in C++
  163. Initialize reference to itself
  164. template type from string at run time
  165. iomanipulator
  166. Create a list of list in Stl
  167. Linker Error: For a defined method in C++
  168. graphics under dos
  169. Create a Reference stl:vector attribute
  170. A stl vector of smart pointer
  171. unresolved external symbol
  172. switch without breaks
  173. Stack Trace
  174. Passing a pointer to pointer as a multi-dimensional array
  175. Multi dimensional Array
  176. error: syntax error before '*' token
  177. Error handling
  178. Help with Extending std::exception class
  179. Multiple inheritance and access specifiers issue.
  180. char alignment in C
  181. Help with std::string
  182. Memory access optimization
  183. Virtual keyword & compile time
  184. Function that returns a pointer to a function of the same signature?
  185. the order of printf parameter
  186. What is used for storage
  187. callback and boost:function
  188. Unit Test Framework for c++ program
  189. Is space for symbol table allocated from heap?
  190. Comparing Two Files line by line and word by word
  191. Write a function processes a list
  192. Create a variable size but non-growable array
  193. installing compiler
  194. the buffer question of the stdio
  195. building an unsigned character string.
  196. Convert a Java iterator loop to C++ STL?
  197. Is there a C++ or C certificate?
  198. Is there a C certificate?
  199. compile error trying to call STL sort
  200. float pointers
  201. rationale for #define true 1 in stdbool.h
  202. how to stop(break) while gdb on overflow error
  203. how to breakin gdb on overflow error
  204. SQLite Queries
  205. memory allocation question when using ostringstream in STL
  206. How to Create a Circular Queue in C++
  207. Core dump while accessing contents from Memory Mapped File
  208. Segementation Problem while accessing contents from Memory Mapped File
  209. Segementation Problem while accessing contents from Memory Mapped File
  210. Is it legal to create a new scope with { ... } without using if, while, do etc?
  211. Search xlhtml author Charles Wyble
  212. Can't output strings to std::wofstream (g++)
  213. modem / server-like talkback code?
  214. Disassembly of C binary
  215. Disassembly of C binary
  216. Macro needed
  217. How can I get the encode of a txt file and convert it into UTF-8?
  218. Substitute for volatile
  219. how exclude initial part of a buffer???
  220. positions of attributes
  221. Function Pointer ! How and Why ?
  222. Function Pointer ! How and Why ?
  223. Destructors in C
  224. Outsmarting DOS C compiler to print to USB printer -- use DOS interrupt?
  225. Segmentation fault when compiled binary is executed
  226. Diamon inheritance problem
  227. how to decrease link time
  228. A portable way to pass a string to C++ as macro?
  229. Pass a derived object to func so that it is base?
  230. how to interface between different languages
  231. how to interface between different languages
  232. asking about good books
  233. Thread questions
  234. How to pass an array 2-D
  235. ISO C++ forbids declaration of `cout' with no type.
  236. Fast 1 -> 1 non md5 hash algorithm
  237. test first
  238. articles on design increases performance and test first?
  239. Converting a character array to single hex value
  240. Select
  241. Is Being Rude and Condescending a Legitimate Way to Attract New C++ Programmers?
  242. STL map insert question
  243. How to check if a pointer is "valid" ?
  244. Finding blocks of symbols on a 2dimensional array
  245. moving data in a file without using system memory
  246. Article about memory layout for virtual inheritance
  247. error compiling with read function
  248. extending enum's: what operators?
  249. friend oper<<
  250. instalation of 'lpthread' library
  251. Singleton Class
  252. Why such output?
  253. template confusion
  254. Reduce memory usage?
  255. will this work?
  256. Get Window handle from point
  257. Structure
  258. Passing Struct to Function to be Modified then used by Caller
  259. creating new directories
  260. Stupid problem with boost::share_ptr
  261. is there better way to add indent space?
  262. Merging images
  263. Stupid problem with boost::share_ptr
  264. strcat problem
  265. Passing Struct to Function to be Modified then used by Caller
  266. Creating a directory
  267. Off topic - To be ignored
  268. Get Window handle from point
  269. Syntax Question
  270. member function definition inside and outside class..function already defined error..
  271. Stupid problem with boost::share_ptr
  272. sentinel processing, C++ no break label
  273. strcat and three strings
  274. program without main () ?
  275. terminate thread waiting on cin
  276. Visual C++ vs GCC
  277. Binary tree search in text file entries
  278. strcat problem
  279. Linux Folder Iteration
  280. Get Window handle from point
  281. Get Window handle from point
  282. Plugins in the class
  283. strcat and three strings
  284. Call for articles
  285. Preprocessor and Compiled Files
  286. nested iterator
  287. vector push_back question
  288. Using only the values returned by functions -- elementary question
  289. Passing Struct to Function to be Modified then used by Caller
  290. simple malloc question
  291. Implementing virtual concept in c
  292. using virtual function in c
  293. Using only the values returned by functions -- elementary question
  294. converting to studio 2003 en 2005
  295. "has-a" question
  296. realloc question
  297. Static variables
  298. mail13
  299. Converting from std::str to char
  300. help in comparing
  301. Suggested extension to C++: static namespaces
  302. about difftime()
  303. Another problem with singleton...
  304. Local static variables and multithreading
  305. Singleton usage
  306. Start when windows starts.
  307. dereferencing pointer to incomplete type
  308. What if...
  309. Generic matrix operators
  310. Odd problem with called function in DLL
  311. Char* to Char*
  312. How to identify a pointer to a string literal
  313. fwrite problems...
  314. VC++ 6 ___ EXE file runs fine on one computer but not the other
  315. GetSaveFileName problem: can't get selected filter and put default name
  316. Has anyone used enum.h from Besser's ENUM++?
  317. basic question for vector
  318. Problems Compiling enum.h from ENUM++
  319. simple question on type casting~
  320. Counting the number of times I've tested a program
  321. A dying era
  322. Server-side applications for form processing
  323. Automatically prepend all stdout/stderr output with timestamp?
  324. illegal reference to non-static member
  325. odd problem in called function
  326. OOP casting classes (using one single variable for similar types of classes)
  327. A Complete ENUM++ (from Besser's CUJ article) Example
  328. difference between *foo and (*foo) ?
  329. basic question about std::vector
  330. restrict query
  331. need help with algorithm
  332. C++ Equivalent of <stdint.h>?
  333. Decompilind dll's
  334. Arguments in partial template specialization
  335. Counting the number of times I've tested a program
  336. Counting the number of times I've tested a program
  337. C++ Template Question
  338. another fwrite() problem
  339. Passing a structure from a C program to a C DLL
  340. member template methods
  341. fwrite problems...
  342. why does my overloaded operator discard qualifiers
  343. unnecessary declaration of Virtual destructor
  344. Initial values of File scoped and Block level variables
  345. Initial values of File scoped and Block level variables
  346. Advise on implementation of custum graph
  347. How to resolve multiple declaration of same variable in two different libraries.
  348. Problem using std::map
  349. What is ScatterHierarchyTag means?
  350. new to c++
  351. virtual function
  352. Could someone please explain?!
  353. difference bewtween static and dynamic inheritance?
  354. generic tree container library
  355. initialize the global variables in .so files
  356. segfault w/ block, but not file scope
  357. Software documentation...
  358. Compiler messages with pub/prot/priv inheritance
  359. Expression templates and generic matrix operator
  360. NULL global variable
  361. Constructor of a derived class
  362. STL exception safety, operator==
  363. how to clear up the std::stringstream?
  364. Socket programming for beginners
  365. socket programming in C
  366. Specialization of only one template parameter?
  367. const char * and char * are compatible pointer types?
  368. subclassing std::valarray
  369. Bit shifts and endianness
  370. weirdness with std::map<const char *, int>
  371. After calling constructor, the destructor is called immediately - why?
  372. virtual destructor
  373. Help with debugging code
  374. Problem with tree and enhanced queue.
  375. Using &array with scanf
  376. C program retrieving information from Outlook?
  377. boost::shared_ptr mutual header inclusion problem
  378. on datastructure plz solve this
  379. question regarding delete[]
  380. Vector of abstract classes filled with derived classes ?
  381. Another question related to pointers.
  382. bitfields in union : defined behaviour ?
  383. Bit off-topic
  384. A book on Gtkmm
  385. typedef
  386. Translating a DEFINE to char*
  387. Structure size check at compile time
  388. static array with variable amount of elements??
  389. GCC (Port from Linux to Win32)
  390. Need experts opnion
  391. How to delete the Folder and its file using VC++ code
  392. Directory access
  393. Restricting base class visibility
  394. binary const
  395. Reading stdin
  396. Question about struct aspect of standard
  397. Question about structs
  398. Overloading Operators for User-Defined Types (NOT Classes!)
  399. flash & VC++
  400. Registering a GLUT Callback in C++
  401. atreturn() like atexit()
  402. Any difference in these array declarations
  403. c and webservices?
  404. stdin help
  405. Any Developers Who Worked on TradeStation 2000i
  406. function returning a string?
  407. istringstream("XXX") >> x;
  408. State Machines and Coroutines
  409. antivirus program
  410. Why "const" break the Polymorphism?
  411. problem using the strptime function on HPUXThe strptime function works just
  412. regarding "goto" in C
  413. cannot understand the character handling Program
  414. Variable Scope, Initialization, Linkage etc.
  415. Albert's unsubscribing from this Usenet group!
  416. Use of __THROW in stdio.h
  417. redefining, and casting pointers to, structs
  418. Screen capture application ...
  419. 11
  420. illegal memory access with function pointers
  421. problem with strings
  422. Programming Forums
  423. 2d visibility algorithm?
  424. Passing different sort methods to multiset
  425. How to call a virtual base function with variable parameters?
  426. Shape DragOver and DragDrop
  427. C++ STL in embedded systems
  428. SSCANF
  429. [noob]Multiple inheritance
  430. Test driven development in C ?
  431. Input bidirectional custom iterator
  432. Multiple Inheritence
  433. Farewell CUJ
  434. WARNING: (374) ORDER command could not be obeyed for section STACK
  435. array of functions?
  436. Media Player control.
  437. problem with delete
  438. need information on the following items
  439. Creating a stringstream in a parameter
  440. type convertion between template
  441. what is vtable exactly?is it a structure or an array?
  442. gmake
  443. How to extend this code for doing "cat"
  444. [noob]iostream.h
  445. Segmentation fault - interesting problem with array
  446. When does initialization of static member variables occur?
  447. OOP vs procedural
  448. variables with a big number of bit and bit operation
  449. reading strings from file
  450. A non-blocking socket reading function
  451. compiler ??
  452. Suche schnelle Zufallszahlen-Funktion
  453. Parser C/C++ text file.
  454. Advice on wrapping data
  455. This is the end
  456. How does one code something like this?
  457. Getc or Getchar is not reading data
  458. how to check the scanf function if it will read more than one number
  459. Return value of _time64()
  460. Reading BiosID in win32
  461. The New Extension IDE - EXTEIDE
  462. The New Extension IDE - EXTEIDE
  463. Const int variable declaration.
  464. How to convert from long to short ?
  465. find / find_first_of - vector of pairs..
  466. pointer alignment property
  467. What mean "foo& foo2::foo3()" ?
  468. memory allocation and new
  469. vector<Foo> how to force default constructor
  470. Generics in C#, Java, and C++
  471. itoa
  472. how to store a string into a vector?
  473. ODBC Class
  474. movie tutorial - "C++ - It is so easy! - part 1" made by noisy ;)
  475. Probleme mit Pro*C Compiler
  476. Problem with getline and files
  477. Updating a binary file?
  478. Call For Papers: ISMM 2006 (International Symposium on Memory Management)
  479. regarding unix specific commands
  480. thread problem...
  481. Set boolean array elements to false using STL algorithm?
  482. How to use long double floating?
  483. what does strod return??
  484. Happy new Year
  485. Missive
  486. Determine type of typename T?
  487. Example of using sockets/http
  488. Clustering
  489. Happy New Year
  490. erasing element in a vector of pair ..
  491. How to understand this line of c ?
  492. How to recognize the Function keys in C
  493. Compliant compiler? Comeau?
  494. A new cross platform c++ framework (another)
  495. Passing String to Function
  496. Wish You a Happy and prosperous New year
  497. An Link Error
  498. A trick to wrap the callbacks ???
  499. Difference between "float" and "GLfloat" ?
  500. What's the guideline for dealing with unwanted chars in input stream?
  501. memory allocation.
  502. help needed in debug please
  503. Adding the ability to add functions into structures?
  504. The meaning of the word generic
  505. The & Operator
  506. Structure size and binary format
  507. Source for C++ library design and programming
  508. Why does not this main test program work
  509. Printf question.
  510. help partial sepecialization
  511. Is C-style string unchangable?
  512. void * pointer convert problem.
  513. Returning an Array a characters?
  514. pointer and string
  515. why pass-by-reference of a pointer variable?
  516. a deconstructor question
  517. Why does it work?
  518. SmartPtr type conversion error
  519. How to stop reading a file?
  520. Scanf Behaviour
  521. Functions problem
  522. stl iterators "null" value
  523. spaces handling while reading input from a file
  524. Initializing order
  525. Should I define my own allocator?
  526. Defining static members in explicit specializations
  527. Signal handler for SIGSEGV.
  528. Input line reverser (2)
  529. Input-line reverser
  530. reg 'system' function--- wid a simple code!
  531. String reversing problem
  532. What does Kernighan and Ritchie mean by 'trailing'?
  533. simple question on WM_PAINT
  534. Where to allocate memory for the char * data member ...
  535. Strange Output, Help.
  536. Class A contains class B, class B points to class A
  537. Whay was Justin Kemp out this match ?
  538. Vector of vectors
  539. creating a linked list - trivial :( question
  540. memcpy junk at beginning of buffer
  541. function template
  542. boost::MultiIndex help
  543. accessing inner struct members
  544. Problem with std::ostream, std::streambuf and "virtual xsputn"
  545. Best way of sharing a enum
  546. problem with microsoft speed optimization
  547. strcmp() question, 4 words, two strings, equal return value.
  548. Function overloading
  549. template argument to a template class
  550. PRIVATE PUBLIC macros