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