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. new and delete from different threads
  2. Linker error for instantiating static data members of template class
  3. PR_BODY
  4. auto_ptr question
  5. Debugger and DDD
  6. correct approach to fix a bug
  7. where is VTABLE stored ?
  8. Implementing this constructor...
  9. Finding errors in this code...
  10. create a database and dynamic allocation
  11. Copying Files from Windows to Linux Server throug VC++ Program
  12. Fun with strings and vectors
  13. static const function not allowed?
  14. Compilation Error?
  15. visual C++ error C2371 redefinition basic types
  16. std::vector and object copying
  17. Systemc?
  18. pointers
  19. windows programming prob
  20. does STL set have FindKth() functionality?
  21. What does this mean?
  22. Password program problem...
  23. can't get the right time
  24. what is .h file's function?
  25. Globally unique enums or macro values?
  26. problem with advisory file locks
  27. swapping bytes in an integer
  28. Utility Warrior announces Image to PDF Dynamic Link Library (DLL)
  29. std::cin.ignore(std::numeric_limits<std::streamsiz e>::max(), '\n');
  30. map value as function pointer
  31. code for implementing buddy allocator
  32. Improve an algorithme involving 6 loops
  33. Explanation of the code
  34. RAX?
  35. Why does this fail?
  36. 2nd Attempt : How can I count the actual number of operations performed in a program
  37. Determine if a character string is palindromic
  38. C++: memory leak on clear()?
  39. Best wa to retrieve keys of a map
  40. printf("%x",...) in C <=> cout+ ? in C++
  41. What should function returning a reference return on failure?
  42. CObList
  43. Constructor question, how does the call to the parent constructor work?
  44. Create Window (not rectangle)
  45. casting question
  46. Need GUI Input box and button to execute :)
  47. Info needed regarding iostreams
  48. pleac and Cookbook
  49. Looking for some way to get correct value with long precision
  50. How to pass memory range to functions?
  51. Iteration vs. Recursion
  52. Substitute for floatint point
  53. Changing file permission in windows
  54. how to deal with duplicate class names
  55. KeyB typeahead buffer in BIOS
  56. who read what c++ books and best learning practices?
  57. Adseense and googlepages
  58. Reg C++ implementation for in memory database
  59. Notification Messages from objects
  60. Help with Pipe Implementation in NT
  61. Question on C++ inheritance.
  62. Requset a console based c++ library.
  63. how to convert a char array to int array n back
  64. Internet Crimes are on the Rise and Deadlier than Ever
  65. Occurence problem: different ideas
  66. unsigned variables
  67. bus error on vector resize
  68. Help with ATL COM code for a kind of collection !
  69. perhaps a stack problem? Long calculations - strange error?
  70. Consume C# DLL in C++
  71. Looking for a C++ compiler
  72. compiler help needed (nu-B)
  73. cannot access protected members : why
  74. urgent
  75. urgent
  76. urgent help needed
  77. Is it because of diffrence between bcc32 and gcc?
  78. Practical Algorithm Book, Exercises and Answers
  79. Use of macros in C++?
  80. A Little help with Bits...
  81. Should We Use Macros in C++ Programming ?
  82. parallel port programming using C
  83. a good C++ project ideas
  84. can anybody help me do such programme?
  85. what is wrong with the 'strcpy'
  86. 'placement' new, and allocation in the constructor.
  87. discards qualifiers
  88. friend syntax
  89. file reading problem
  90. Searching through a map question
  91. Benefits of copy constructor over assignment operator
  92. SetWindowRgn tu Button
  93. Printing a binary tree structure
  94. RTF Library
  95. Negate an integer
  96. std::map Help
  97. signed in to unsigned int
  98. compilation error: "error: no matching function for call to 'String::String(String)'
  99. strtok behavior with multiple consecutive delimiters
  100. strtok behavior with multiple consecutive delimiters
  101. sending and receiving data using networkstream
  102. getchar
  103. getline does not work on HP-UX:
  104. C or C++? (Preference for cross platform solutions)
  105. Classes - Adding members to members
  106. comparison signed vs unsigned
  107. std::bind1st making life difficult
  108. How to write the program with parameters?
  109. How to compare algorithms in linux
  110. Corss plateform note programme - Where to Start?
  111. Want to khow how to run turbo c++ files in vc++
  112. linked list code won't compile
  113. Virtual inheritance + copy constructor pitfall
  114. Web Crawler help
  115. I Need Yours Help..
  116. extern template class
  117. typedef struct identifiers
  118. Portably accessing 1 byte
  119. The void** pointer breaking symmetry?
  120. Nested classes in VC++ 2005
  121. Search through office files
  122. object architecture,
  123. declaration meaning
  124. coin counting program
  125. using C defined enum in c++
  126. [Joke] Code
  127. Is Borland C++ COM compliant??
  128. Partial implementation in derived classes
  129. Is Borland C++ COM compliant??
  130. Template functions partial specialization
  131. partial/selective Macro expansion scpp
  132. Structure return type is an incomplete type.
  133. porting a c function to c++
  134. Unable to find an entry point named LogonUser in DLL advapi32.dll.
  135. Which libraries in Boost are mature enough to be used in real applications?
  136. how to pass hex value to fputc
  137. Rock Program
  138. simple one-line question
  139. replacing structs in a vector
  140. c
  141. use a const variable as opposed to #define - Multiple const objects created
  142. Why? eval.cpp:25: error: no match for 'operator+' in '*result_plus + *car(iter)'
  143. Templates in blitter functions
  144. How to sscanf return integer only
  145. Negative infinity
  146. Programmer Research
  147. declare structure w/ mix alignment in project..
  148. Optimizing, examples of very fast programs ;)
  149. align the code to right left or center as per the users wish
  150. How to compile VC++ projects without VS IDE?
  151. Better way to use istream to read an ascii value into a char.
  152. STL algorithm help
  153. C++ Code Beautifyer and Design Analysis Tools
  154. Random Integer Generator
  155. ofstream problems
  156. Redirecting all stdout commands
  157. EXECryptor software protection
  158. typedefed enum
  159. std::remove
  160. All Interview Questions And Answers
  161. All Interview Questions And Answers
  162. biggest of 3 numbers
  163. STL map with key as a structure compare function issue
  164. Schrdinger equation.
  165. How to capture stdout temporarily?
  166. invoke com object in c++ source code
  167. Getting installed printer list
  168. how to access the outer structure member variable from inner struture?
  169. Implicit user-conversion error
  170. program to replace comm and space with tabs
  171. How do I handle atan() when calculating absolute phase? (Communication engineering)
  172. number of occurences and trim methods... I need help ..
  173. Segmentation Fault.
  174. main() called inside main()
  175. iostream error.
  176. Creation of Virtual Function Table
  177. iostream error.
  178. Using C# DLL in VC++ 6 application via Com
  179. invoking constructurs for an array of classes inside another class
  180. How do I do floating point Remainder function in C++?
  181. template & specialization
  182. char2int conversion
  183. printf headache
  184. C dubits on a post at bugtraq
  185. Min
  186. Parsers for C
  187. type casting
  188. filing struct fields from input file
  189. std::ostringstream and \r\n
  190. (C++) vector of classes causes core dump
  191. nested printf
  192. Unligned access problem with Alpha tru64
  193. help -- msn messenger client
  194. Use Windows Dll from Linux Application
  195. How to use std::copy with std::map?
  196. Program counter
  197. Program counter
  198. Program counter
  199. can't access parent classes private member (VC6)
  200. ANSI C: stdout in colors / sound / delay
  201. Two-way map
  202. interesting question about tree
  203. Printer functions
  204. Coloring GCOV output
  205. CR-LF translation
  206. Exceptions with GNU
  207. Pass std::string to constructor
  208. How do I put a pointer to an operator?
  209. reference or pointer in parameter list - which is prefereable?
  210. C program To read 1000 bytes at a time from a File
  211. enabling unwind semantics
  212. enabling unwind semantics
  213. enabling unwind semantics
  214. enabling unwind semantics
  215. reference to parent inherritance?
  216. How do I print this?
  217. Document Class pointer error
  218. Coversion of Binary file to ASCII file using C.
  219. variadic function calling variadic function
  220. Template function question
  221. sorting a doubly linked list/node
  222. What does void pointer actually mean?
  223. STL: Maps instance with the operator=
  224. Problem closing sockets
  225. Finding sum of absolute differences of memory blocks
  226. How to get the absolute path of the library currently loaded?
  227. sizeof([ALLOCATED MEMORY])
  228. counting with char
  229. c++: modifying a vector within a function
  230. Minimum Spanning Tree Algorithm Question
  231. Gathering string from input data to Array
  232. drawing using C
  233. Array of Structures
  234. restoring the default format state for an ostream
  235. Elements of constant array as template arguments.
  236. Pooling
  237. template<class T> in the h file and cpp file?
  238. trouble with c++ while loop ?
  239. unique file identification id
  240. Programmer Research
  241. stack allocation error
  242. Forward declarations, templates, and typedefs
  243. Shocking Autobiography Published "Canada's Spies Attacked Me: A True Story of CSIS Terrorizing a Canadian Abroad"
  244. doubt in reference
  245. Classes: Reading in data? Using constructors?
  246. map comparison function for a user defined key
  247. BackGround ComboBox
  248. Future of c++
  249. tokenizer
  250. linked list problem
  251. IP address and matching it to a network/netmask
  252. How to turn off Standard Output
  253. pbl when changing files from .inl to .cpp
  254. MAC address
  255. signed char
  256. I'm searching for c profiler which will...
  257. MFC/C++ cannot convert from void to void?
  258. wxWidgets for cross-platform GUI
  259. compiler specific: gcc and templates
  260. callback pointing to a different function
  261. Problem in Writing into the file..using fputs() call
  262. How to exit program from a procedure?
  263. Memory Corruption
  264. How to display Bitmaps?
  265. Can C++ allow multiple array assignment?
  266. random words
  267. Write message in windows message queue (msmq)
  268. why cast memcpy's return value to void
  269. Graph Data structure to storing components in spice netlist..
  270. Setting pointers to null after freeing them
  271. i need help with C++
  272. Checking whether an array contains a majority elemnt....
  273. Hi~~ I'm a beginner
  274. Hi~~ I'm a beginner
  275. how to pass a nested structure pointer to function
  276. const string & to fopen..
  277. evc++: splitting string into array using strtok
  278. Function order.
  279. Win API - Can I see 'objects' w/in a window?
  280. Output stream data to a string
  281. Schoeder Decimation
  282. Battleship
  283. next business day class
  284. Returned object assigned to reference
  285. template constructor of base class
  286. declaration of C function - conflicts
  287. Messaging and GCC - "use of `mktemp' is dangerous" warning
  288. How to create custom iterator for use with std::copy?
  289. const struct members
  290. read, write in c
  291. How to get and pass data to a class member function
  292. .hpp file extentions
  293. Simple Q on dynamic arrays
  294. Token pasting and what does the result need to be?
  295. behavior of printf
  296. -1>>4 and -1<<4
  297. STL list problem
  298. Way to tell if parameter is variable vs constant?
  299. HELP, 64 bit File Access
  300. const vs non const functions signature
  301. initialize structs
  302. Function pointer results in segmentation fault.
  303. UNIX header files to Windows header files
  304. STL libraries in Red Had Enterprise 4
  305. Interview Questions May 1st, 2006
  306. Topcoder and C++
  307. local variables deleted by whome ?
  308. Must fread() use fgetc()?
  309. problem with sscanf in email client
  310. Implementing the division operator
  311. Quiz for the day: Which ISO C99 header was placed into the Public Domain in 1992?
  312. Difference between memcmp() and strncmp() functions
  313. Use of static in functions
  314. help to write a c program to print 1 to 100
  315. Troubles when using STL iterator
  316. geometry algorithm
  317. geometry algorithm
  318. Problem with stream overflow
  319. ABAP,SAP,SQL,Windows,Siebel,Peoplesoft,EJB,J2ME Interview questions and answers
  320. Oracle,C#,JSP,.NET,ASP,J2EE,Networking,Java Interview questions and answers
  321. tenplate class error
  322. 1000 C,C++,RDBMS,Unix,OS Interview Questions And Answers
  323. ABAP,SAP,SQL,Windows,Siebel,Peoplesoft,EJB,J2ME Interview questions and answers
  324. Incrementing a Variable Name
  325. subtracting pointers...
  326. Structures/word counting
  327. question about arrays
  328. web-based software & OS programming
  329. Using a namespace in extern "C"
  330. Help With Copy Constructor.
  331. Need help in Link LIst
  332. move vector into list
  333. inheritance problem
  334. A design problem: how to represent resource id's
  335. File Copying With Globbing
  336. 3n+1 problem of acm
  337. Member data in class derived from template
  338. mouse in c++ graphics mode
  339. scope and references to temporaries
  340. Macros
  341. Compute buffer size at compile-time
  342. Function Signatures In time.h
  343. Question about (double *)NULL
  344. hi
  345. A beginner's question about C++'s & operator
  346. First program in C - what is going on with function returns?
  347. Wierd linking errors that I donnn't quite get yet.
  348. on usenet by a "resident troll"
  349. first program with pointers to structures and realloc....
  350. how to connect database with c?
  351. what's wrong with the following singleton class???
  352. #iidef and #define to debug program
  353. Problem using pointer...
  354. Question about "enums"
  355. decompiler
  356. reading from "unknown" number and names of files using fstream
  357. How it works?
  358. Microsoft job posting - C/C++ required
  359. String Pattern Matching algo
  360. help me learn C
  361. about extern inline and static inline
  362. longjmp and volatile variables
  363. vector::reserve,
  364. Format NTFS Partition With C++
  365. enumeration variables
  366. Count the actual number of operations performed during run time
  367. Setting bits to on and off
  368. assignment of read-only variable
  369. working with big packets and sockets.
  370. assignment of read-only variable
  371. Open a formView on buttom Clicked
  372. Parallel Port
  373. The performance of all kinds of C operations
  374. few questions concerning classes
  375. memory allocation query
  376. help with global variable!
  377. Comparison between floats... can it be dangerous?
  378. variadic without va_arg
  379. C++ Coding Standards
  380. C++ Coding Standards
  381. Get number of running processes
  382. Structure
  383. Boost process and C
  384. Output Questions using Printf
  385. Program to block Windows application
  386. borland c++ builder help!!!!!!!!
  387. quicksort 2-D variant array?
  388. function signatures const vs. non const
  389. reference to a vector
  390. Parapin and LPT1
  391. Urgent Requirements
  392. write and read struct from file
  393. array question
  394. Getting started with MS C++
  395. DLL Base Address VTABLEs and COM
  396. Finding a perfect number.
  397. Combination problem - fast algorithm
  398. 高手求救 fatal error C1004: unexpected end of file found??? why?
  399. Purchase of C++ standard
  400. how to print vector<bool> value in gdb?
  401. Problem in Runing Threads in C (solaris)
  402. Advanced Macros && Preprocessors
  403. Advanced Macros && Preprocessors
  404. std::sort crashes if more than 8 elements to be sorted.
  405. Multibyte add & subtract
  406. Is STL a part of C++ programming language?
  407. How to create an excel file through a C program
  408. Socheat
  409. String Permutations
  410. plz tell me the difference
  411. source code for tcp/ip stack
  412. source code for tcp/ip stack
  413. What's wrong with my random number generation?
  414. another test.. please ignore...
  415. Trying to read hardware memory from pointer?
  416. Testing for EOF in file with binary data
  417. optional arguments..
  418. Finding predecessors in DAGs without traversal or search. Is it possible?
  419. constructor specialization
  420. Using file memory to store hidden data
  421. MSVC++ 6.0 Complier optimization bug??
  422. Converting the height of a person from feet and inches to centimeters
  423. Support for partial template specialization
  424. Too many initialiser error
  425. Pic-c Variables
  426. Converting a height of a person from feet and inches to centimeters
  427. C++ Question __Fastcall
  428. Overloading with templates
  429. I need help with "Inheritance" and "Polymorphism"
  430. algorithm by eratosthenos
  431. /* test */
  432. eratosthenos
  433. double free
  434. questions about size_t
  435. How to know two lines are a pare parallel lines
  436. C++ memory allocation
  437. Help on Windows API please??
  438. Matching nonempty sequence of '^' scanf with the "%[" specifier
  439. question about array out of bound index
  440. unreachable code?
  441. find/replace/delete function wanted
  442. Error: field has incomplete type
  443. Give me some advice about book and how to master vc and mfc!
  444. Give me some advice about book and how to master vc and mfc!
  445. Give me some advice about book and how to master vc and mfc!
  446. Generic Stack problem
  447. free() multiple allocation error in C
  448. static variable
  449. Warning C4530: C++ exception handler used, but unwind semantics are not enabled
  450. Question about printf...
  451. check for deleted map entry -> crash ?
  452. Why has numeric_limits a standard implementation?
  453. circular function pointers declaration?
  454. Odd char string initialization in structs
  455. type of segment inb memory
  456. vc 6.0 's bug?????
  457. Finding subset of integers
  458. creating 2 sockets
  459. simulating private member functions--static linkage
  460. How do you assign a bit from a byte to a bit variable?
  461. Creating an XML document ?
  462. using macros for inserting tabs ?
  463. Creating an XML document ?
  464. non-aggregate type error?
  465. templates question
  466. What are good books to start learning from scratch
  467. Declaration of Variables: Location
  468. difference between scanf("%i") and scanf("%d") ??? perhaps bug inVS2005?
  469. On Java and C++
  470. universal pointer to restricted pointer
  471. STL removal algorithm question
  472. Pointer conversion problem
  473. stdin read
  474. stdin read
  475. Using gets() safely
  476. virtual question
  477. System()
  478. strange construct in ruby.h
  479. Timer
  480. Timer
  481. How to write classes with same functionality like STL Classes
  482. where can I download the standard C library source code?
  483. new features in c++?
  484. Question Regarding remove_if
  485. Message "Press any key to continue"
  486. Reading new lines from text files in c++
  487. c++ code -- error
  488. SFINAE
  489. C++ Builder 6 and Crystal Report
  490. passing c++ methods as c-callbacks
  491. Code
  492. problem with tabing in VC++ OCX
  493. Compilation error when declare class
  494. Project with design patterns implemented
  495. Project with design patterns implemented
  496. Conditional Statements
  497. *pt1++ givung wrong value
  498. writing alibrary funtion ssprintf()
  499. Help regarding virtual function.
  500. comparison between signed int and unsigned int
  501. C++ primer*文(第四版)
  502. overloading the [] operator for a string class
  503. Help with hash table implementation
  504. faq the c++ will not provide the default constructor?
  505. substring
  506. Difficulty with project
  507. integer formats
  508. struct padding
  509. Strange behaviour
  510. Casting main() not allowed?
  511. Java Requirements
  512. Object and Array Queestion.
  513. Visual C++ AND windows XP
  514. displaying address of a character array ?
  515. Problem with map<char, ofstream*> please help!
  516. encoding tree
  517. preprocessor number of cpus
  518. frequency list
  519. reference variable...and normal.....variable.....
  520. Object introspection
  521. test posting
  522. On Linux: Get Windows file version.
  523. are container elements on the stack or heap
  524. Quicksort: I don't understand what is going on!
  525. test
  526. Problem with debugging in Dev C++ 4.9.9.2
  527. sanity check - floating point comparison
  528. division by a potentially null global const variable
  529. C++ book
  530. advanced printf() and scanf()
  531. Decoupling classes
  532. a tricky if else(maybe not tricky but impossible)
  533. Bank account c++
  534. Bank account c++
  535. g++
  536. Manipulating with large numbers in C
  537. 64 bit register manipuate using 1ULL << (a) macro?
  538. Binary files /DELETE/
  539. sizeof class ?
  540. Error in Passing char pointer
  541. unprectable behaviour
  542. how to use custom control ?
  543. Why does assignment operator return lvalue?
  544. How to read UTF-8 text files?
  545. linker error when building a Windows DLL
  546. abt pointers in c
  547. Borland BGI floodfill bug
  548. pointer question
  549. Can a virtual method be overloaded ?
  550. please help with pointer