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