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. need help with a new site
  2. need help with a new site
  3. why it isn't compiled about "template< template<class> class T>"
  4. moderator for c++ standard
  5. Template "redefinition" linker error. (attempt #3)
  6. Nested Variable Argument Macros
  7. file io and enumerations
  8. Function Pointers
  9. Template "redefinition" linker error. (attempt #2)
  10. inheritance - public, private, protected?
  11. Using size_t clearly (appropriately?)
  12. How to pass the field name of a struct as a parameter?
  13. exception question
  14. endl = " \n " ?
  15. Custom Website Design
  16. __STDIN__ and __STDOUT__
  17. cppflags and make files
  18. how to control to use the function static linked to a shared library
  19. Sequence point at comma?
  20. Pointer to container in STL
  21. Understanding temporary objects / taking address
  22. static function in dll
  23. Order of execution
  24. FILE *
  25. About Transfering Complex datastructures using Sockets
  26. Zlib, C++, folder
  27. Memory manager for arrays wanted
  28. Extending snprintf() - how to modify va_list?
  29. Operator overloading with templates
  30. errors
  31. access to a static variable within a function
  32. Rule of three and so forth...
  33. Processing byte arrays
  34. i want to make friends.
  35. pointer to 3dimension array
  36. Okay to move an "object" will-nilly?
  37. boost::lambda
  38. forward declaration of class in namespace
  39. Dialog window procedure
  40. kernel module: beginner
  41. qsort() results: implementation dependent?
  42. Classes with reference members in a vector.
  43. linux redirect problem
  44. Difference Between Const Char and Char
  45. How to find out file's text length
  46. List of C++ functions to learn
  47. this
  48. Getting an Errror ...
  49. Help with delete of User object
  50. this program is wrong ?
  51. Simple C++ function prototype extraction tool?
  52. Strange template "redefinition" linker error.
  53. fopen() causes an "obvious" time delay in WC ???
  54. Strange errors about set using STL
  55. Weird output when using more samples (help)
  56. Negative number system as compile-time constant?
  57. Working with negative numbers
  58. ctors defined twice in .h and .C files
  59. Works on Windows but not on HPUX, Help Please
  60. _CrtIsValidHeapPointer Debug Assertion
  61. std::transform ugly cast
  62. Is this str_rev() ok?
  63. Segmentation Fault using the srand function
  64. forcing code inline
  65. Password - Console
  66. zero the last 13 bits of an unsigned long number
  67. Any way to force compile failure?
  68. Function return type
  69. RTD API (Real-Time Data for Excel)
  70. RTD API (Real-Time Data for Excel)
  71. Alignment of pointer to void
  72. Multiplications by powers of 2
  73. C++ implementation of FD grids etc.
  74. Mistake in solutions to K&R?
  75. Mistake in solutions to K&R?
  76. hi friends
  77. hi friends
  78. order of subexpression evaluation
  79. Loading bitmap to my C++ code
  80. fgetc
  81. Some complex structure I can't code correctly
  82. Constructor equivalent
  83. xhtml generation library
  84. Is there a way to span a suite of explicit instantiations automatically?
  85. Initialized Constants
  86. C sucks at math? (help)
  87. Okay to move an object?
  88. STL facility for copying array of objects?
  89. Imagine: A GUI standard.
  90. Programming challenges leading to a job?
  91. Verbosity of C++ errors
  92. more warnings
  93. Vector trouble from within class
  94. Programming for Memory Management
  95. GetChar loop
  96. Member-reference and copy constructor
  97. void fn(...)
  98. Arbitrary length multi-dimensional arrays
  99. VC 2005 - templates - partial specialization
  100. Visual C++ call a dll from another dll
  101. constructor?
  102. getting linker error - multiple definition of the function
  103. operator+ for complex numbers
  104. Where can I learn about Multithreading for C
  105. Is this if-else statement legal
  106. check for polymorphism during runtime
  107. new CCSID's for z/OS C/C++
  108. automated coding standard validation?
  109. std::vector help!!
  110. commenting no-op lines lead to wrong results
  111. VC++
  112. basics
  113. _getch() implementation
  114. Length of array
  115. Practical Programming Processes: LASER Summer School
  116. variable number of class method variants
  117. Practical Programming Processes: LASER Summer School
  118. hosting hmailserver on JBoss
  119. allocating space for local variables
  120. finding largest numbers
  121. Warning on assigning a function-returning-a-pointer-to-arrays
  122. Data structures
  123. MD5 message digest conversion to 16 byte array
  124. MD5 message digest conversion to 16 byte array
  125. gcc warnings again
  126. gcc warnings
  127. Tuesday Sept 11th 2001 CRIME INVESTIGATION
  128. String data input and storage
  129. Problem in compiling a C code with MSVC++6.00
  130. quick question about C++ function
  131. Inherent inefficiency in domestic "for" loop?
  132. Error handling library
  133. Deleting items from std::list
  134. warning
  135. Value bits as compile-time constant!
  136. How to connect SQL database in C programs
  137. Borland C++ Builder
  138. Learn recursion
  139. is std::ifstream buffered or not?
  140. stdafx.h and highgui.h
  141. help with sorting d-dimensional points
  142. Brainstorm for compile-time constants
  143. Playing around with byte order
  144. std::list problems
  145. C free
  146. yacc under cygwin - undefined symbols
  147. Is the output of the preprocessor deterministic ?
  148. Open File with fopen()
  149. array of pointers to struct as function parameter
  150. how to hide a template specialization by inheriting.
  151. how to hide a template specialization by inheriting.
  152. Opening large text file makes program unhappy.
  153. segmentation fault with getc()
  154. need help with data types, constructors, tight deadline
  155. Implicit conversion constructor with template classes
  156. Templates, copy ctor and type-conversion ctor
  157. A debugging implementation of malloc
  158. Is the memory argv points to writable ?
  159. spinoza1111 resigns from "segfault city"
  160. Why hiding copy-constructorin polymorphic classes?
  161. Optimization
  162. Odd behaviour of operator+()
  163. mysql backup
  164. Amaltheia C++ library: No Main() function?
  165. iso c++ standard on c linkage
  166. definition
  167. Obtain padded string containing number in hex form
  168. Multiple Arguements like in printf
  169. hi
  170. LIBGIF Problem
  171. Do you have to delete a function pointer ?
  172. preventing scaling of controls
  173. setting bitmap on button
  174. C++0x Garbage Collection
  175. I've Got A problem On Referencing Functions
  176. [iostream] how to get the rest string of a istream
  177. Segfault City
  178. u_long valid C?
  179. economizing with functions that do the same thing
  180. ostream& as parameter -> segfault? / understanding polymorphia
  181. include
  182. Forward Declarations
  183. String macro as wchar_t pointer?
  184. A<B>::ctor() : pointer( (B*) this ) - used for private implementaion (PIMPL) pattern - template framework
  185. WYSIWYG Help
  186. cin and strings
  187. Set of template class
  188. Which is a good project to develop online
  189. Problem using std::vector
  190. What to do when you want a Shallow Copy?
  191. reference question
  192. pointer arithmetic
  193. Windows like C++ editor for linux
  194. Help requested - Application to use an IP interface
  195. Commutativity of operator []
  196. Why pointer to "one past" is allowed but pointer to "one before" is not ?
  197. very intersting:derived class private member accessed???
  198. <complex> : no match for 'operator*' // conversion operator double()
  199. beginner c question
  200. redefine a function with a same name
  201. is it possible to access members of struct in loop?
  202. bit fileds or bit manuplation
  203. lost object files- recompiling give different binary size!!
  204. Compiler Issue
  205. how to compile socket programs in c
  206. strange use of format specifier in printf
  207. Callback member functions
  208. comparing signed and unsigned integers
  209. Unnamed members
  210. char * ptr = "hello" and char carray[] = "hello"
  211. accessing base class members when base is template
  212. What do you think about the code?
  213. Rule of Thumb:Copy ctor,assingment opr
  214. inhomogeneous container
  215. fgets info
  216. Some guidance
  217. strings in #if 0
  218. Default conversion when passing to an ellipsis
  219. virtual functions and dynamic binding
  220. Interaction of delete and destructor
  221. Just how powerful is the cast?
  222. 16-Bit char pointers valid?
  223. new and delete
  224. Parameter name can be same as function name???
  225. ifdefs
  226. Strange Segmentation Fault
  227. const on primitive type parameters
  228. Empty Block require semicolon?
  229. Hi
  230. suppressing the console window
  231. c++ questions.
  232. auto_ptr
  233. 802.11 packet inject with Hex
  234. program without using mathamatical operators
  235. Usage of private inheritance
  236. Wrong output - eliminate spaces in sentence.
  237. Making base class non-inheritable
  238. STL support for 64 bit applications
  239. reference to the temporary object
  240. Analysing core files
  241. Template Engine like Smarty
  242. Question on Centura 2.1 Table Window
  243. memory related concerns
  244. random data in structure - checking for no double values
  245. Barcode generator
  246. delete does not work
  247. Unexpected pop_head performance compared to push_heap
  248. Strings, Strings and Damned Strings
  249. .cpp vs .c
  250. Help on C problems...
  251. Undefined reference in G++.
  252. std destructors
  253. NULL vs. 0
  254. multidimensional array with different row lengths
  255. Example of C++ wrapper for select() ?
  256. Copy 4 byte block into a char array
  257. Pointer to pointer to const conversions
  258. C++ pointers
  259. Static Member of Template Class
  260. virtual+static
  261. dependency checking
  262. Function pointer to class member function.
  263. function * = void *
  264. Include-path in C++
  265. sscanf'ing floats into structure members
  266. Named parameters
  267. Do You Want The Book C++ Programming Language By Bjarne Stroustrup?
  268. about declaration of huge matrix in C
  269. implementing const_iterator and iterator
  270. to access the large page(2112 bytes) NAND Flash from the bootloader
  271. near-TeraHertz processors no dream
  272. Use (encapsulate) a class inside a class...
  273. Code for caluculating the execution time of C program
  274. char confusion
  275. Can We Read Text data From an EXE
  276. Can We Read Text data From an EXE
  277. dangling pointer
  278. static linkage and dynamic linkage
  279. about free
  280. short in c
  281. data mining
  282. Introduction
  283. static method returning inherited type
  284. Return site code
  285. A question regarding templates
  286. a problem relate to namespace and using
  287. should "using namespace std" be used?
  288. Read-only string
  289. bug
  290. Assembly problem
  291. Relocation error with STL Map in Shared Object
  292. Getch() in Linux
  293. enum question
  294. <= operator in C++
  295. // vs /*
  296. Pre parsing ?
  297. Algorithm for character replacement in string
  298. fwd declaring STL containers
  299. Bit field arrays unsupported?
  300. best C++ solution? (fwd decl, circular ref)
  301. buffers, streams, confusion
  302. Virtual function
  303. Uniform input stream from various kind of sources ?
  304. Multiple inheritance
  305. I need C complier.
  306. FAQ-Question
  307. map with pair as key
  308. packet sniffer code in C
  309. Get address of function, not entry in jump table.
  310. C++ compiler optimization... who's on first?
  311. incorrect warning?
  312. Lex Question
  313. Lex Question
  314. Macros and Variables
  315. can someone tell me if I'm going insane.
  316. boost smart_ptr and WIN32 PostMessage
  317. Stack overflows
  318. mxFree
  319. Strange malloc problem
  320. Measure time to execute a piece of code
  321. linking to calling function from dll
  322. Malloc for array of string
  323. Passing member variables as function parameters
  324. Compiling templates using GNU C++
  325. Best database practises
  326. Default & Value Initialization
  327. why this code dumps core?
  328. using dynaic dll's in borland
  329. Casting (void*)&foo
  330. Is the behaviour of * operator an example of operator oveloading in c?
  331. Program to toggle nth bit in C
  332. Template binder
  333. Question regarding virtual functions/destructors
  334. which is const in "char *const argv[]"
  335. What are the popular c++ compilers?
  336. How do I add exception-handling to this code and make sure it compiles and runs properly?
  337. K&R exercise 1-18
  338. Can not parse a template class
  339. Subtracting unsigned ints
  340. Closing many CInternetSession objects
  341. YA Template specialization question
  342. c++ and win 32 api
  343. token pasting problem in K&R preprocessor
  344. esoteric C stuff, what is "debug_flag"??
  345. problem about function pointer
  346. Why does it show the last data 2 times ?
  347. Parsing help
  348. calling non-default constructor with new[]
  349. vector question
  350. any info on graphs algorithms examples ?
  351. const char* to char* conversion
  352. Problem with CMapStringToPtr Lookup function
  353. Clarification in Thinking in C++ Vol 1
  354. unsigned char * to string
  355. Structuring a tree
  356. Pointer to class equals pointer to base class
  357. Porting from DOS to W32 - COM port
  358. using classes with input of an array of char
  359. convert a float to a short
  360. b-tree
  361. permutation generation
  362. Problem with graphics
  363. who had used pclint for amcc?
  364. c source
  365. C struct to XML serialisation tool?
  366. "Numerical Recipes in C" code
  367. Strange behaviour of tiny double numbers
  368. Define template parameter or just declare?
  369. how to insert tow byte in front of a file
  370. copying a 2-dimension array into another
  371. How do computers do arithmatic?
  372. code hangs
  373. sizeof
  374. Memory (read) access violation handling in C
  375. segmentation fault
  376. bitset woes
  377. C++ domains
  378. typedef & template
  379. Pointers
  380. sizeof 'a' returns 4
  381. cast from function call of type int to non-matching type double
  382. how to deal with this problem
  383. Why occur the mistake in runtime about strtok()?
  384. word size
  385. About "const" problem
  386. Very strange problem with a operator "-"
  387. Some design questions
  388. Can I be a programmer?
  389. C++ website
  390. Pointer passing
  391. pointer from C module to printer
  392. user-type operator definition and multiple classes / source files
  393. Educated guesses for efficiency?
  394. Efficient URL-decoding.
  395. Sentence input and replacing
  396. sentence
  397. knowing exact string array length ?
  398. floating point
  399. class templates & constructor defn outside the class
  400. coin toss problem
  401. Preventing stack instances
  402. vector of lists: anyone know how to do this?
  403. realloc question
  404. Techincal Interview Questions
  405. Preventing delete on a SmartPointer
  406. deleting lines with C++
  407. Are unused class methods removed from exe?
  408. LibSerial and signal_handler
  409. need help with MBA course project
  410. wit's end
  411. Template instantiation problem
  412. MPI tutorial live
  413. a little mistake
  414. cast problem
  415. Undefined
  416. cerr and clog
  417. Printing "tab"
  418. From bool to int: 1 or 0
  419. Compilator GPP
  420. Displaying progress dots in ANSI C++
  421. Struggling with vectors
  422. Any easy way to compile, link, exceute, debug C++ on IBM mainframe?
  423. C++ read / modify text file help
  424. Which is more portable / is there a better way?
  425. CORBA/C++(returning reference to object)
  426. question with quadratic equation
  427. comparing char*
  428. memory
  429. "hhctrl.ocx file in in-use"
  430. what do we understand by advanced C
  431. debugging C/C++ program with COFF information
  432. Accessing Database from c++
  433. zero lengh arrays.
  434. Non type template parameter Help
  435. want to leave virtual functions undefined
  436. help with classes
  437. Calling macros from outside the definition
  438. Question about style
  439. clc-wiki gone?
  440. C++ Singleton problem...
  441. Bizarre char* problem
  442. Oracle Pro-C supports long long data type?
  443. Reference
  444. Is it that difficult?
  445. WG21 paper on templated namespaces
  446. Unnamed struct members allowed?
  447. Understanding problem of long numbers
  448. gcc needs copy consturctor for inplace constructed object passed to func as reference, others not
  449. LNK2005 error
  450. More effective C++
  451. Map erase memory problem
  452. LNK2005 error
  453. types of 'Open' command
  454. How to use 64 bit integer in 16 Bit Dos ?
  455. What gcc options guarantee more portable C code
  456. Most annoying aspects of C++
  457. problem with devc++
  458. managed string library
  459. Forward declaration vs. include header
  460. Address of array behavior in pointer arithmetic
  461. Urgent help in ENUM
  462. ANNOUNCE ggets revised
  463. c++ newb inquiry
  464. Software Serialization (Both the Act, and the terminology)
  465. Simple recursive preprocessor meta-program implementation...
  466. Interesting warnings from latest MS compiler
  467. gui.h error
  468. forwarddeclaration, declaration, definition, order still a matter?
  469. "exception not rethrown" problem
  470. Managed String Library
  471. real life example
  472. overriding operator== error
  473. handling wave files
  474. printing
  475. comparing iterator with const_iterator
  476. Accepting manipulators
  477. C Programming: A Modern Approach 2nd Edition
  478. need your help (two urgent tasks)
  479. memory and subroutines
  480. Initializing a vector in a map
  481. initialization within constructor
  482. Telecom programming
  483. What can C++ achieve and how to learn C++?
  484. Concrete Mathematics
  485. template function member with const classifier
  486. problem with sort
  487. C call tree
  488. problem with add old string to new string in edit box (MFC)
  489. Shift operators.
  490. c++ analyst programmers - singapore
  491. How to replace RoseRT 2003 with another tool
  492. stack trace
  493. doubt in basic c++ code
  494. This is a great NG, I learn a lot reading it everyday <EOM>
  495. automatic test generation
  496. How to prevent the quick disappearance of window
  497. Can we overload *_cast<> operators?
  498. converting int to string
  499. std::vector destructor ?
  500. Pointer to class member
  501. free(): invalid pointer
  502. Serial Port and Library
  503. C isn't for timid souls !
  504. learning C with a C++ background
  505. Timer with 0.5 ms period
  506. Why this is wrong?
  507. Question about the *= (and similar) operator
  508. convert long long integer to string using sprintf
  509. Semantics of STL containers (std::map) in a multithreaded scenario
  510. Error : Visual 2005 is more C++ compliant and my projct doesn't compile
  511. Xerces Library
  512. Template data type
  513. constructor question
  514. Updating Text on Screen
  515. String formatting
  516. endl like behavior
  517. What is a number for (in RC file)
  518. IInputObjectSite
  519. Save Input from keyboard to file
  520. Looking for a library code.
  521. Compiling with -O option gives different running time!
  522. g++ compiler question!
  523. Wrapping libjingle
  524. Really basic..
  525. Bit shifting vs Bitfields
  526. Do you see a problem?
  527. GetKeyboardLayoutList
  528. library implementation strncpy() modifies string literal, legal? more doubts need more suggestion?
  529. put the code to .h file error gone why?
  530. why link against a library?
  531. Can I dynamically add new elements to vector while looping it?
  532. freeing memory
  533. About the address of member function
  534. How to detect the entry point of a function?
  535. RWTPtrSlist core dumps, while removing entries.
  536. Writing monitoring program VC++
  537. Forcing all function template parameters to deduce the same type
  538. g++ -o Problem
  539. compiler generated destructor vs class implemented destructor
  540. functions that take many arguments...... + extern - what about it?
  541. Weighted Bipartite Matching Implementation
  542. Writing printf()
  543. struct in C99
  544. What wight is a sorting algorithm for a CPU
  545. Join the OISV - Membership Now Open !
  546. Using static to init vars?
  547. difference between compiler generated destructor and class implemented
  548. difference between compiler generated destructor and class implemented
  549. getchar() after EOF
  550. Garbage Reading String Fields