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