View Full Version : 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

  1. "C" Callbacks: Static method vs. extern "C"
  2. Intel c/c++ on linux system.
  3. Intel c/c++ on linux system.
  4. Reading a matrix file and storing it in array
  5. str().c_str() question
  6. Vector using shared memory
  7. This is My HW,PLS Help me!
  8. is this true? sort algo on STL Lists
  9. C++ vectors ...encountered a problem and need to close
  10. parsing c++ declarations
  11. casting a struct to a class
  12. portable sha1 hmac sources
  13. How to generate warnings when How generate a warning when int is converted to bool or vice versa?
  14. biblioteka do gif/png
  15. Detecting typedef at preprocessing time
  16. loop variable
  17. wrong about fstream file(s.c_str(),std::ios_base::in | std::ios_base::app);
  18. Invoking member functions of objects
  19. What is the defined behavior of past bound iterator
  20. unsigned char and char print
  21. cons int manipulation
  22. int main(void) Why void?
  23. static variable:declare and define
  24. open file in c / create if file doesn't exist
  25. Operator override when using STL
  26. Anyone know how to get the files in one directory?
  27. New Joiners : Pls. Read this
  28. filling static vars from different file
  29. Token-pasting trouble
  30. throwing exception from constructor .
  31. overload of operator=
  32. wrong about fstream file(s.c_str(),std::ios_base::in | std::ios_base::app);
  33. GUI Issues
  34. Accessing array by a pointer
  35. C++ Builder 6 - Printing
  36. how to compose the two expression to one?
  37. [lib] pgp/gpg
  38. Can abstract base class have V-table?, Will the pointer to virtual destructor be entered into the virtual table?
  39. Floating Point Accuracy
  40. Comparing the values of two vectors
  41. Inheriting only interface
  42. float f=0.7; f < 0.7 f<0.7f
  43. factory method
  44. What is the use of keyword __cdel in function signature.
  45. Hi, has anyone tried to use C to realize some data structure like cells in Matlab?
  46. C++ Function Signature string Parser
  47. Is it usful to write a class like "Do_When_Return" so I can make it easy to delete some objects when I exit from a code block?
  48. using pointers to map to data
  49. fstream and number conversions
  50. Reading a Text file
  51. Model View Controller?
  52. Destroying STL Strings
  53. template accessors for class?
  54. I can't seem to use pow()
  55. C++ Questions
  56. GUI in C++
  57. Using parenthesis with defined (#if defined(...))
  58. find length of unsigned char *input?
  59. abstract classes and virtual deconstructors assistance
  60. QuantLib or more general C++
  61. non-aggregate type error assistance needed
  62. Managing variable argument call
  63. Question on static attributes in inherited classes
  64. Copy Constructor segmentation fault
  65. n x n matrix transposition recursive algorithm.
  66. Access problem
  67. getchar() behaviour on gcc 4.1
  68. strange struct behaviour
  69. Debugger not reaching the first line of code
  70. problem with mysql c API and c
  71. how to define/initialise static template class data members of classtype
  72. Construtors
  73. Collecting different execution statistics of C++ programs
  74. how to make gcc know #inlcude<framework/filename.h> ?
  75. code dl
  76. Memory-resident message queue
  77. passing class pointer to other objects
  78. hash_set in STL
  79. c++ callback functor question
  80. int representation incorrect
  81. About partially specify template member function
  82. is anyone here who made text vesion tetris?
  83. improve c++ by exercises/projects
  84. I'm pretty sure I have some out of control Undefined Behavior
  85. Linear search
  86. Is this legal (templates)
  87. boost::weak_ptr and shared_ptr pointers from "this"
  88. 2nd Underhanded C Contest Begins
  89. Inputting text from a text file into a 2 -D array
  90. include .h files in .h
  91. Separating scope of try block?
  92. Fast and safe method for XOR folding
  93. Fastest way to read from a file into a vector<unsigned char>
  94. using placement new to re-initialize part of an object
  95. using placement new to re-initialize part of an object
  96. using placement new to re-initialize part of an object
  97. Macro to iteratively generate variable names
  98. a dumb question
  99. signals
  100. Nesting if statements in switch structures
  101. more help please
  102. Can a class have a non-static const array as a data member?
  103. source-code viewer
  104. anderson's equivalence method
  105. 3rd party tool
  106. abt void pointer
  107. can the array size be ZERO
  108. __FILE__ and __LINE__ within macros
  109. Non Recursive In-Order Traversal without using stack
  110. What's the tilde in a &= ~b ?
  111. error C2296: '.*' : illegal, left operand has type 'cStepCurveEvaluator *const '
  112. Why is the behavior different
  113. Address
  114. why is wcschr so slow???
  115. C++ standards
  116. why is wcschr is so slow???
  117. SHFileOperation Help
  118. variation with repetitions in C++
  119. How to implement an async-function?
  120. C linkage problem with ACE on windows
  121. is any body having cp implementaion
  122. is any body having cp implementaion
  123. Regarding McCabe's Cyclomatic Complexity
  124. Is it possible to write a struct to binary file?
  125. popen cannot allocate memory
  126. insert an elem into a link list
  127. Undeclared identifier
  128. help
  129. ifsteam
  130. Hash Table Implementation in C++
  131. Double Clock Experiment
  132. memcpy() question in C++
  133. Trying to understand character arrays.
  134. Design pattern question
  135. Greta and basic_string<char, ignore_case_traits>
  136. Java Interview questions and answers
  137. Refactoring-Feature Article in Better Software Magazine
  138. difference between pass by address and pass by reference!!
  139. Help wiht VC 7 - Error in OnFinish: Failed to return new Code Element. Possibly synta
  140. getch() and getche()
  141. getch() and getche()
  142. Code fails under vc8 - clearing a structure
  143. Has any C library to parse JAVA serialized object string?
  144. how to check the reference of C++on Linux
  145. Today I buy a new disk of computer but it run not fast
  146. templates question
  147. variable declaration in for()
  148. executing code in a String!
  149. plottting graphs in C++
  150. Ncurses
  151. STL inherit from container<T>::iterator
  152. windows.h
  153. Problem finding key in STL map with gcc 4.1.0
  154. C++ Builder 6 - Opening a File
  155. system and user time
  156. Multiple dispatch
  157. can operator << accept two parameters?
  158. how to resolve this problem
  159. design pattern .. factory i suspect
  160. How to change the value of PS1 from within a c program
  161. In-place function
  162. In-place function
  163. What does 'restrict' mean?
  164. Difference between including a header file in .h and .cpp
  165. factory design question..
  166. reading a file
  167. help with recursion please
  168. Q: stl, boost smart pointer to prevent memory leaking
  169. Command Line Argument with & and ^
  170. String Parser using BOOST.Spirit
  171. Constness of the container of shared_ptr and the constness of it elements
  172. using native C code in a C# application
  173. ring iterator adaptor for vector interator
  174. copy elements from a pq to a vector
  175. operator new() and new[]
  176. design pattern .. factory i suspect
  177. CGI C++ problem
  178. tournament tree implementation
  179. Obscure Syntax
  180. Name conflict with windows.h define
  181. size of a function
  182. scanning UTF-8 characters
  183. Life of temporaries
  184. Double Bubble Sort Algorithm Fails to Sort AT ALL
  185. how to make bool class with custom output?
  186. How to amend this code?
  187. Where I can find itoa()?
  188. problem named walk
  189. swap pointers
  190. when to use private inheritance?
  191. convert int to store in binary file in 1byte
  192. convert int to store in binary file in 1byte
  193. convert int to store in binary file in 1byte
  194. GUI compatibility in C++
  195. struct reference?
  196. Question on class private member
  197. 'New' operator
  198. need to call mfc application from C program
  199. Manipulating Bitmaps
  200. C++ Visual Studios 2003 GUI Help - error C2664: 'TextOutA'
  201. modem code
  202. file problem
  203. C++ FileIO problem.
  204. how to copy a file into an array?
  205. reading file and copying it into array...
  206. Getting C++ data into an excel graph
  207. How to store words?
  208. How to avoid the use of copy constructor when using STL container function (push_back, etc.)
  209. How to write game such like this?
  210. How to write the variables of a structure from an array?
  211. extern needed or not?
  212. private within this context ... more
  213. N -ROOM LIGHTS PROBLEM
  214. Flow chart for C code
  215. *p++ = *q++ undefined? why?
  216. When do we want to declare static object
  217. twice(twice(x))
  218. Can I avoid rewriting this function in a subclass?
  219. data mining
  220. n00b input help
  221. compilation wrning in altix350:(Typecasting from int to void *)
  222. Deque Item Deletion Problem
  223. Behaviour of custom allocator for vector
  224. I got one compliation error.
  225. get one character from input at a time?
  226. Template specialization problems
  227. Dummies-books-related java/programming/SQL
  228. Runtime polymorphism
  229. public inheritance
  230. How to invoke the operator of the private base class?
  231. unions with structures of common initial sequence
  232. Chess
  233. Parsing two formatted text files
  234. try/finally implementation in c++
  235. reference vs. pointer
  236. When to use null and when to use static_cast<some_pointer_type>(0)?
  237. scope and linkage
  238. A question on variable defination
  239. private inheritance
  240. STL Queue Data Lifetime
  241. Initialise elsewhere -- as simple as possible...
  242. Significance of trigraph in C preprocessor
  243. What will happen if main called in side main function?
  244. RReeaallyy long function -- inlining?
  245. HI, a question on #include
  246. best way to index numerical text data ?
  247. best way to index numerical text data ?
  248. Text mode fseek/ftell
  249. Globally declared arrays
  250. need help with COM in C
  251. I need a container to hold grid positions and the objects on the grid?
  252. Data structures or STL
  253. Help us celebrate the Embedded Tools Web Shop's second birthday
  254. Help us celebrate the Embedded Tools Web Shop's second birthday
  255. Copying fread behaviour on char array
  256. coding standard
  257. STL containers and managing memory allocation in embedded systems
  258. passing a pointer to a struct to a function that uses ncurses
  259. How to Identify functions in a .C File??
  260. [CFP] WLPE'06 - Workshop on (logic-based) Programming Environments
  261. How to fix this error?
  262. open source xml parser in C++
  263. Some doubts on variable-length array
  264. How to get over this error?
  265. new & null
  266. address of return value
  267. How to Define High-precision Date type
  268. Something About Date Type
  269. value_type of back_inserter?
  270. Illegal Immigration, the Non-Issue of the Week??????????????
  271. Illegal Immigration, the Non-Issue of the Week??????????????
  272. iostream and boolean
  273. More on pointers to pointers.
  274. Deleting multiple elements from STL hash_multiset
  275. How to use gdb to show the type of a variable?
  276. why cann't I access protected var from a inherited class?
  277. How to use gdb to show the type of a variable?
  278. Complicating things?
  279. Binary or Ascii Text?
  280. Convert Java <long> to C <?>
  281. gui design
  282. signal trapping in C++
  283. Any Good Freebie Text Editors With Auto Indent Capability?
  284. How to format the screen output?
  285. Inheritance Puzzler
  286. streambuf filter
  287. fread fwrite struct
  288. how to schedule the compiler?
  289. Silly STL question...
  290. operator overloading
  291. forcing compiler to consider inline function inline.
  292. Create c++ library for use in C
  293. best practice for global variables?
  294. switch case with vector problem
  295. sizeof(non_static_member_variable) in a static function
  296. new & null
  297. Problem: using this pointer
  298. Er Sorry About That
  299. warning: implicit declaration of function 'printf'
  300. Sizewell B++
  301. Rods
  302. Lowering Of Graphite Rods Into Reactor Core
  303. Performance measurement of a single method
  304. size in kbytes?
  305. What is the replacement in C++ for _aligned_malloc in C?
  306. Template and typename
  307. Loki-like functors with boost::function?
  308. to malloc or not to malloc??
  309. what all a class has by default
  310. How to convert image formats?
  311. what's wrong with my code of linked list?
  312. 100% CPU
  313. Can 'C' program be run as a background service?
  314. When to use Boehm-Demers-Weiser Garbage Collector?
  315. using exceptions as a "deep" return
  316. how to check the function free()
  317. using std::string; string("hello") vs std::string("hello") in header file.
  318. std::istringstream and ignore ..
  319. Gotta love it
  320. C++ Linux Programming Job At UC Riverside
  321. Telephone bill
  322. Missed catch?
  323. memory leak?
  324. Convention for Object Lifetime Requirement
  325. string addition
  326. pragma for pointer size on windows?
  327. How to calculate Heap Memory in HPUX using pst_status
  328. copy constructor problem
  329. big decimal integer constant warning
  330. strtok problem
  331. strtok problem
  332. C++ Source Code Documentation for large project
  333. Order of constructor execution?
  334. about static variable of a class
  335. MT Exception Handling
  336. programming, in c,
  337. programming, in c,
  338. ofstream and close()
  339. c99 array size Q
  340. Scope/use of prototypes Qs
  341. errno 72
  342. reading line by line from file
  343. getting screen aspect
  344. Disabling "incompatible pointer type" warning.
  345. casting between pointers
  346. Misra Rule 18.2. An object shall not be assigned to an overlapping object
  347. is this a memory leak?
  348. rain
  349. accessing Serial ports in C/C++
  350. How to define an array of struct nested within a struct?
  351. Remove "smallest" element from a linked list?
  352. problems on assigning value to a 3D array and print it out,thx:)
  353. Help on templates
  354. C++ information resources
  355. Can a static function defined in a C file be ever referred (called) externally ?
  356. program to reverse a sentence
  357. SIMD?
  358. delete [] faults in destructor..
  359. Reversing Input
  360. Segfault, please help!
  361. C++ HTTP server wanted
  362. Small exercise with template metaprogramming
  363. logical const and event programming
  364. Use of unions
  365. Comparing structs...
  366. char vs. unsigned char
  367. Complement of unsigned char
  368. Not executing the body of a if statement
  369. Regular expresions
  370. File name from file description
  371. 0 or NULL?
  372. containership
  373. web
  374. web
  375. const string in static class
  376. B.Baron Metody numeryczne e Builder 6
  377. virtual functions
  378. Pointer Artithmetic Puzzle
  379. Any support for indefinite length integer
  380. fopen extensions
  381. Function name commingle
  382. Protected member inheritence in templated classes
  383. I bought a computer yesterday ,but its speech can't quackly
  384. fnmatch.h help
  385. Use of System function
  386. priority_queues or not?
  387. Opening of .chm files
  388. returning char arrays from a function
  389. Need urgent help.
  390. templates and polymorphism
  391. std::less and pointers?
  392. Random number between 1 and 4000?
  393. a question about libstdc++
  394. on variadic function in C when porting matlab files to C
  395. PCI Bus access in C++ (Windows)
  396. design question
  397. overloaded operators returning wrong values
  398. passing argument to user defined type
  399. Learning Multithreading by example
  400. passing argument to user defined type
  401. How to programmatically check the connection speed
  402. Error: passing `const state' as `this' argument of `void state::dumpState()' discards qualifiers
  403. Learining C++
  404. About default copy constructor when using auto_ptr as the member
  405. why does this work?
  406. arrays question
  407. Why it doesn't work?
  408. A volunteer for any C project with Linux
  409. "const int" and "const char*" in header (.h) files
  410. Sorting Multiple Arrays Together in C++
  411. arrays - where they finish?
  412. Resolve shared libraries location at runtime ?
  413. When you need an integral type. . .
  414. old versions of ecpp & estl
  415. copy constructor is not called?
  416. What is the fastest way of copying files
  417. Linking sibling in a binary tree
  418. about Compiler
  419. something like java interface?
  420. Detecting virtual inheritance
  421. variadic macros and and empty replacement for __VA_ARGS__
  422. Will this work using C++?
  423. virtual casting
  424. Relationship between Classes
  425. checking constant conditions on compile time
  426. Help: Function Overloading Resolution, Which Function?
  427. need to convert a char to an hexadecmial value
  428. filling up of a frame with 10bit words c++
  429. Need help on string manipulation
  430. How to change char or string to unsigned short
  431. About Macro
  432. gSOAP multithreaded?
  433. new, reinterpret_cast<void*> and delete
  434. ofstream output
  435. Problem in char " ® "
  436. compilation error of Lex.yy.c
  437. loop in a single linked list
  438. using find to find a member of a struct in vector
  439. bitset rotational shift?
  440. minor confusion - std::stringstream and operator (>>/<<)
  441. basic stream confuse.(charset level).
  442. indefinite number of arguments
  443. General question
  444. pointers to pointers question
  445. format specifier for long long ints....
  446. Reading local time into time_t
  447. Why no segmentation fault
  448. looking for Ms Visual c++ 1.5
  449. Problem with recursion
  450. Weird return statement
  451. links
  452. C++ file problems
  453. About my School Project!
  454. Any c++ pros out there?
  455. Context Inversion Of Control & c++
  456. Iterators within templates
  457. type of an expression
  458. A decade of trolling: a brief and hopefully evocative "then and now" perspective.
  459. Array name as pointers
  460. infinite loops
  461. Calcluating Grades
  462. initialize static members
  463. autoconf and shared library
  464. Kernel of Interrup System Alg.
  465. c++ code for shortest path in the graph
  466. erase vs. erase
  467. Simulating polymorphism without the overhead of virtual methods?
  468. debugging... dereferencing, & etc.
  469. Using Vectors
  470. cin.clear() does not work
  471. Parent first or child first? (a class structure question)
  472. Simple question about using += (sorry about posting in the wrong group)
  473. [New to C] Creating a simple animation using C.
  474. Question on C++ parent and child functions
  475. differentiating between files and directories
  476. sizeof argument
  477. cannot compile the following example code (person-pointer)
  478. printing an address of member function
  479. Question about using & and structs (sorry, poor subject title!)
  480. Such bug ;/
  481. Such bug ;/
  482. Atomic operations and Thread safe code
  483. Atomic operations and Thread safe code
  484. lvalue (s) and rvalue (s)
  485. dynamic allocation of an array of pointers
  486. Proper way to do casts while avoiding aliasing issues
  487. stdint types and conversion...
  488. passing the address of a pointer to a func that doesnt recieve a pointer-to-a-pointer
  489. Pointers to functions
  490. Simple string matching exercise
  491. Really simple string functions
  492. yanghui triangle
  493. regarding typedef
  494. exec with forked childs w/ stdin stout
  495. address of pointer from a pointer
  496. language problem in C
  497. Paging/Segmentation: How really are they implemented?
  498. k&r line count
  499. Overuse of Templates
  500. Windows API
  501. segmentation fault
  502. generate histogram based on word length
  503. File management
  504. how to remove duplicate entries in a vector of Pair?
  505. Please help
  506. is it possible to write such a macro?
  507. Creating a Windows Account APIs
  508. c
  509. C++ Scandal?!
  510. please help understand this compilation error
  511. Calling convention --- what is it?
  512. NI_MEASURESTUDIO
  513. 2007 daylight saving time issues with struct tm member tm_isdst
  514. Reading Running Process
  515. Preprocessor parsing rules
  516. pong game,while loop statement solution
  517. From the freestore
  518. queue stl template
  519. home work
  520. Destructor being called twice ?
  521. select () is hanging in AIX
  522. unsigned char** argv
  523. is "typedef int int;" illegal????
  524. C++ or C#
  525. language features!
  526. function pointers as arguments
  527. having trouble with Discrete Cosine Transform program
  528. Question about Loki::Singleton
  529. run a C program independently without requiring to install an external library
  530. Large 2D Array Problem
  531. event queue / checking if pointers are still valid
  532. far void()
  533. How to get Notifications when a word doc is modified and closed
  534. Problems about Mixed programming with C++ and Fortran
  535. Why does the rvalue change with assignment?
  536. I want a friend who come from the usa or other country
  537. while and goto
  538. Resources for generic programming/template information
  539. Initializing static structs
  540. Terminating program with "exit( )"
  541. C++ Question
  542. stl map
  543. Commandline argh [sic] processing
  544. silly little question on variable scope
  545. Assembly Process for FE (Finite Element) code in C
  546. XML Parsing
  547. Why heap is called so?
  548. New program
  549. New program
  550. Memory allocation problem