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