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