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