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. SIGSEGV due to fscanf
  2. Hola, queres jugar?
  3. fork, execv & state variables
  4. creating pattern using c
  5. ++ devils
  6. variable number of parameters passed to sscanf() at runtime
  7. c++ functions to enumerate days for a month?
  8. About operator overload?
  9. C spot run: initializing variables
  10. class matrix
  11. malloc fails if the function is called twice, how?
  12. A Map Question
  13. writing bits to file
  14. What's the meaning of this comma?
  15. why does this not work?
  16. math.h trig functions questions (and some forgotten high school math)
  17. The value of variables
  18. char [0-9] to int [0-9]
  19. Curses for win32 with VT100/ANSI support
  20. gcc cant support this ??
  21. Available C++ Libraries FAQ
  22. System::Windows::Forms and Win32
  23. Memory question on std:string and use of c_str()
  24. copying mutexes, cv and pthread_ts
  25. char [0-9] to int [0-9]
  26. Custom placement for vector
  27. correct way to use .h and #includes?
  28. How to check if a weak_ptr is empty?
  29. ReadFile Problem
  30. how to initialize a static vector
  31. using c++ with web development languages
  32. Flexible array member and alignement
  33. confusin with virtual inheritance
  34. Raw socket three way handshake
  35. A problem with Nested Maps
  36. Use of diff pointers
  37. access object in array of pointers to dynamic array of class complex
  38. Does integer over flow cause undefined behaviour ?
  39. Importing Existing Code into Eclipse 3.1 >> In Place <<
  40. Thread Safe bug-hunt...
  41. how much memory does vector<bool> take?
  42. Is "hello, world" a constant
  43. Address of static method
  44. varargs question: va_list in structure
  45. STL: assistance with error - class undefine type
  46. Help in OOP
  47. lower number
  48. Lower number/bound
  49. Weird build problem
  50. Using temporary std::stream object
  51. single x double precision on 32bit arch
  52. STL: User Defined Containers
  53. release memory occupied by Char array..
  54. I love yours site
  55. Need help in design
  56. HANOI PROBLEM PLEASE HELP
  57. How to pass STL containers (say a vector) ?
  58. What is the correct way to derive a class in regard to overloaded operators
  59. speed of execution
  60. How to add mySQL, save data to file connectivity to already finished application (novice kind question)
  61. renameTo
  62. date class.
  63. nftw question?
  64. Multithread Interlocking -- What is wrong with this soluition?
  65. static vs. dynamic polymporhism
  66. what is wrong with this code: declaring a char array using variable
  67. Random Number Generation
  68. Is it possible to let the c++ compiler run tasks parallely?
  69. Alternative for int ** to const int ** cast?
  70. Printing files every step
  71. What should a virtual destructor contain?
  72. Forward Reference for Typedef'd Type?
  73. Looking for tree-like structure
  74. float.h and math.h
  75. STL: map vs vector
  76. problems with pointers and structs
  77. Porting from C to C++
  78. own stream, stream_buf?
  79. Internal Project Stafiing
  80. Internal Project Stafiing
  81. Internal Project Staffing
  82. String Matching Problem (NUXI problem) ?
  83. Realloc array of pointers to objects?
  84. Small Correction to K&R Exercise 1-22 Solution on CLC-Wiki
  85. Counting number of zeros in an array
  86. checking double for Inf or NaN - how?
  87. Consts in Member Initialization list, before or after inherited ctor?
  88. pointer
  89. Variable number of arguments in a C++ function
  90. If you were given a mall would you take?
  91. If you were given a mall would you take it?
  92. what is polymorphism?
  93. why does _tzset return void?
  94. This case bypasses initialization of a local variable
  95. C++ Professionals invited
  96. C++ Professionals invited
  97. C++ Professionals invited
  98. Making virtual objects out of non-virtual objects
  99. How this code works n
  100. (OT) Dll and Lib (Do Correct Me)
  101. Simple C++ problem - C++ 101
  102. template error.
  103. Is there any article about "port Java code to C++ code"?
  104. Game Trees?
  105. malloc and new functions
  106. Linked List
  107. Error using '__attribute__'
  108. Initializer element Error
  109. how to find out the address of a variable after I compile the C file
  110. Homepages.
  111. Do parens cause problems when returning references?
  112. Constructor question (again)
  113. endianness and 64-bit machines
  114. va_list
  115. problem with setw(X) and library <iomanip.h>
  116. Static methods and members
  117. Language change question
  118. can't use extern with map?
  119. Enumerations
  120. ptr
  121. Problem with fstreams
  122. const volatile???
  123. Object Splicing
  124. copy conctructor?
  125. read data from a file algorithm?
  126. name decoration - why does this example code compile?
  127. From c++ string to c
  128. marshalling in C++
  129. type casting
  130. Game Development with DirectX
  131. stringstream and dll
  132. Read Txt File
  133. SSE2 Intrinsic usage with Visual Studio
  134. Text File I/O
  135. Binary to ASCII
  136. more auto_ptr confusion
  137. File handling question
  138. combind the C and C++ program
  139. Operators, how they are inherited, how they might be optimized
  140. CALL to label without another reference crashes
  141. release memory occupied by Char array..
  142. program output
  143. release memory occupied by Char array..
  144. how to reintialize a vector
  145. please review my code (splitting a char[])
  146. limite the use of CPU by threads.
  147. Converting Float to unsigned short and Back
  148. Borland Error Message
  149. Safe to return a local object?
  150. diff between sprintf() and fprintf()
  151. stuck with file organisation and global a global array of strings
  152. Cyclic Creation Dependency ?
  153. using select to read STDIN?
  154. Multiple UDP Binds to the same ip:port address?
  155. converting inline functions to C functions
  156. http - help
  157. Debugging at runtime
  158. windows regisrty
  159. Listing the multi-threading unsafe parts of C
  160. A trick with if-else
  161. va_list: how to produce warnings at compile time if calledincorrectly?
  162. Extern functions inside library
  163. Registry and Processes
  164. What is wrong with this. (files)
  165. what is the difference between abstract class and pure abstract class?
  166. how to use c++ to get the system process in windows?
  167. Dev C++ question
  168. void struct
  169. How do you do this?
  170. int fact( int n )
  171. Size of extern int x;
  172. Reg. For copy constructor.
  173. help: C++ error
  174. Structure initialisation
  175. Destructing global variables in correct order
  176. Join Date: May 2006, Posts: 10 Reputation: HAOBBOY is an unknown quantity at this point (<10) Stopping Sorting Feature of Maps
  177. Debugger query
  178. function template
  179. function template
  180. function template
  181. help with a garbage value
  182. help with types needed
  183. computing t = pow(-11.5, .333)
  184. Aspect oriented programming.
  185. Differences between using printf and cout
  186. type specifiers
  187. Silly returning-an-object question
  188. Static Map initialized with Static Function but error
  189. computed #include directives questiron
  190. please please help me
  191. Mixed public/private derivation?
  192. Exception in a derived class constructor
  193. hash_set help
  194. Need compiling help on c++builder 5
  195. C++ for smart phones
  196. child class as argument?
  197. Macro with argument
  198. Help needed in a simple UDP socket program
  199. static const in struct
  200. reading information in a file
  201. [fstream]how to set buffer
  202. passing by value pointer of a struct
  203. iostream buffer and write to file
  204. sprintf: anomalous behavior
  205. Static member use before its initialization
  206. Converting large floating point to string
  207. switch why?
  208. problem with initiallisation
  209. Introduce urself
  210. WSAAsyncGetHostByName without window
  211. Declaring structs vs. classes
  212. c++ project
  213. 2/4 bytes boundary problem
  214. Undefined Reference Error for Map
  215. Random Seeding
  216. Please Can Anny One Tell What This Declaration Says ?
  217. Reading unser input & deciding course of action.
  218. overloading, template, exception handling and c
  219. C++ and Games
  220. Problem with datagram socket
  221. problem including header files in TC
  222. problem including perl header files
  223. Good binary PRNG
  224. Gsoap webservice call Crash on Windows 2000 SP4
  225. string parametres becoming empty
  226. variable - modifiable lvalue
  227. any floating point library with more exponent bits?
  228. Where is the printf body defined?
  229. Windows equivalent of fstatfs() or fstatvfs()?
  230. Portable integer type which can hold int, wchar_t, and void *
  231. How to force client to catch exception thrown from failed constructor
  232. operator[] in matrix class
  233. strtok problem
  234. vsprintf(char *str, const char *format, va_list ap, ...)?
  235. Template class and inheritance
  236. Initializing Static Map Member
  237. any 1 helpe me
  238. What is std:: ?
  239. side effects
  240. New document
  241. What is wrong with reference into std::map?
  242. What are Threads?
  243. Question c faq
  244. variable sized structures.
  245. static method/C++ compiler question
  246. arrays
  247. Exception Terminate
  248. ADD WINGS TO YOUR RESUME !!
  249. Thread safe way to initialize static object
  250. Problem with small piece of C code
  251. Overloaded vendor library routine: is this C++? Or very clever C?
  252. Overloaded vendor library routine: is this C++? Or very clever C?
  253. short or int
  254. invalid conversion from void* to int**
  255. A little confused with this (const ptrs)
  256. DLL Encryption
  257. A stylistic question.
  258. Does this make sense?
  259. Help with Vectors and Dynamic Objects
  260. LOADEXE or LOADO: For those of you that have been following my posts
  261. need help finding error in binary tree code
  262. invalid conversion from void* to int**
  263. Declare a member variable of a class in the constructor
  264. Pragma
  265. Emotional programming
  266. Stupid C Question: fscanf to read a whole line from file
  267. NovelSpace Media, LLC announces the launch of their new online bookstore and web portal devoted to developers and programmers.
  268. NovelSpace Media, LLC announces the launch of their new online bookstore and web portal devoted to developers and programmers.
  269. 1)Executing by reading from executable 2)Compileing in a program
  270. Checking if a path isDir()
  271. pointer q
  272. using less<string>...
  273. doubly linked list
  274. Address in int
  275. partial ordering of template functions & parameter specification
  276. differance between binary file and ascii file
  277. Going Loopy and Losin My Thread... I think C++
  278. deleting a boost::filesystem::path object
  279. Role of copy constructor
  280. Can u help me??
  281. Container Classes
  282. learning name
  283. Text file Program help please
  284. shared_ptr to incomplete type, undefined behavior?
  285. C++, is it Dead?
  286. Iterators...
  287. puttextxy( int x, int y, char far *const );
  288. CTreeCtrl move + button to the right
  289. How to get all the files in a directory?
  290. Class Member Data and Member Function Parameters - Should Parameters Be Data Members?
  291. Extracting output from system(3) call
  292. function prototypes and declarations
  293. Please help me in this
  294. Writting A Psudo Filesystem
  295. Comparing Matrix for common entry
  296. Writting Pluggins
  297. C++ Error message
  298. attempting template metaprog to print arbitrary container
  299. Multiple Software Engineer Positions !
  300. invalid conversion from `const void*' to `void*'
  301. Rationale for Static Member Definition in ISO C++
  302. PLEASE HELP - How do I include OpenSSL in my code?
  303. processing html information in c++
  304. "virtual" variables?
  305. C++ for windows while camping outdoors.
  306. POS Capture Code
  307. Dynamic tracing of C code execution
  308. TekSystems WARNING
  309. Problem with C++ operator for Vector
  310. Quick way to zero array
  311. using extern to declare an instance of a class.
  312. Help converting this Write to operator<< overload
  313. strange exception
  314. Static Map Initialization
  315. creating output string
  316. Rounding Float in C and Remove those Zeros
  317. JPEG and C language..
  318. call constructor from base class
  319. 3n+1 problem revised
  320. Is it possible to use type traits as a template parameter?
  321. JPEG file handling using C language.
  322. delayed eof()?
  323. xml parser
  324. request for a program
  325. request for a program
  326. Neural net library?
  327. win32app & .net
  328. delayed eof()?
  329. continue with switch
  330. How to convert from a struct tm to a time_t ?
  331. ordinal number programming challenge
  332. Help regarding Josepheus problem.
  333. friends of a class...
  334. Avoiding malloc
  335. Compiler barfing on struct with map including structure as second
  336. c++ ide
  337. Shared Objects on AIX
  338. Scope resolution operator question
  339. How to simulate a key press?
  340. Derived class constructor
  341. Compiler error for "wrong" sized type
  342. cnuf
  343. Visual Studio 2005 compatiblity with VC6
  344. Large-Scale C++ Software Design
  345. q re abstracting set operations (I'm baffled)
  346. HELP : visualC++ with STL roguewave => errorC2079(first' uses undefined class...
  347. C code analisys tool
  348. Conversion from scalar to class type
  349. Where does one initialize a static template member?
  350. Noob question about parsing a BSTR
  351. storing delimited string in an array
  352. Debugger question again
  353. strtok causes Segmentation fault
  354. Need help sending email programmatically
  355. 64 bit Endianness issue
  356. Find the position of maximum value.
  357. Converting a float to a unsigned int?
  358. what is the problem with the getline / file?
  359. Trouble with heap after call of DLL method
  360. const int in header: linker error
  361. Program that prints itself
  362. i need any help for a project!
  363. unpredictable crash
  364. unicode mess in c++
  365. Const variables
  366. For loops help
  367. C++ buggy code - new/delete/ifstream/valgrind. Please help I'm a newbie!!
  368. For loops help
  369. avoid structure padding
  370. vector pointers
  371. Why does "function hiding" exists in C++
  372. const class reference return from function, what does const do?
  373. simplifying c code with function pointers
  374. mirror image of tree
  375. 8 numbers
  376. Array and Pointer Tutorial
  377. Testing for EOF in file with binary data
  378. Array and Pointer Tutorial
  379. Testing for EOF in file with binary data
  380. Lowercase std::string compare?
  381. returning address of stack variable
  382. VC++: line break problem in edit box
  383. How to increase stack space/heap space
  384. getchar() problem
  385. Help on callback function
  386. vectors
  387. can local variables be changed in a const [member] function?
  388. Inititialing list/vector inside a constructor
  389. why should throwing an exception by reference work
  390. ctor throws an exception case
  391. Sizes of integers
  392. Inserting Assembally into C source
  393. E-Mail parse library?
  394. Using STL in a library interface
  395. template-nested STL iterator question
  396. Source Code to Plauger's "Standard C Library"
  397. CD burning with a C/C++ programm
  398. accessing static variables from outside their function
  399. Function Pointer Question
  400. Numbers in string declaration
  401. Listing the most dangerous parts of C
  402. Sources for checked STL implementations?
  403. undefined reference
  404. Placement new and destructor
  405. libclc - from Boost thread
  406. Concept of Statements and Expressions
  407. Template partial specialization question
  408. Steady State ?
  409. definition of u_int32
  410. A little quiz on macros
  411. Question regarding int* const in function call.
  412. Function Pointer Question
  413. Will this code leaks memory
  414. Strange va_list problem
  415. Is this right??Is redefine??
  416. C++ References
  417. how to red doc file in c++
  418. question about exceptions
  419. operator overloand and .*
  420. map with pair of key
  421. Need help understanding program control/flow.
  422. Retrieving the src value of the img tag
  423. question
  424. database
  425. problem with function "_tfindfirst()"
  426. How can I make a Two-Dimension array of classes by operator overloading?
  427. how to overload subscript of 2D-array
  428. meaning of outport(LPT1,00)
  429. Problem: Thread in C
  430. Namespace clash for istream object :-(
  431. Bitwise AND etc
  432. Converting int of unknown length to a string
  433. Ansi standard with #defines and \ character
  434. OT - Name Mangling software
  435. Parsing a simple string
  436. dynamic mem alloc q
  437. preprocessor: checking for clashing #define
  438. a struct parser
  439. segementation fault
  440. call function with function pointer array as argument
  441. lgamma function: ANSI C or not?
  442. raeding disk block in linux
  443. Implementing this constructor...
  444. Finding errors in this code...
  445. about UDP packet capture error
  446. pls answer
  447. (const char *cp) and (char *p) are consistent type, (const char **cpp) and (char **pp) are not consistent
  448. GCC Preprocessor
  449. Why do we have to define a namespace with string header?
  450. yet another virtual functions question...
  451. declaring variables inside while loop illegal?
  452. Inheriting template class
  453. New to STL
  454. Segmentation Fault
  455. Writing to Vector Buffer
  456. Software Engineers - Multiple Positions
  457. Getting MSVC to compile proper unix stuff, like hash_map, fts.h, dirent.h
  458. Combination Testing to a predefined value
  459. Is this allowed in c++?
  460. using base class instance in a derived class
  461. MS S Compile problems MT and clr
  462. new and delete from different threads
  463. boost::filesystem::create_directoy()
  464. Linker error for instantiating static data members of template class
  465. PR_BODY
  466. auto_ptr question
  467. correct approach to fix a bug
  468. Debugger and DDD
  469. where is VTABLE stored ?
  470. Implementing this constructor...
  471. Finding errors in this code...
  472. Copying Files from Windows to Linux Server throug VC++ Program
  473. create a database and dynamic allocation
  474. Fun with strings and vectors
  475. Compilation Error?
  476. static const function not allowed?
  477. visual C++ error C2371 redefinition basic types
  478. std::vector and object copying
  479. Systemc?
  480. pointers
  481. windows programming prob
  482. does STL set have FindKth() functionality?
  483. What does this mean?
  484. Password program problem...
  485. can't get the right time
  486. what is .h file's function?
  487. Globally unique enums or macro values?
  488. problem with advisory file locks
  489. swapping bytes in an integer
  490. Utility Warrior announces Image to PDF Dynamic Link Library (DLL)
  491. std::cin.ignore(std::numeric_limits<std::streamsiz e>::max(), '\n');
  492. map value as function pointer
  493. code for implementing buddy allocator
  494. Improve an algorithme involving 6 loops
  495. Explanation of the code
  496. RAX?
  497. Why does this fail?
  498. 2nd Attempt : How can I count the actual number of operations performed in a program
  499. Determine if a character string is palindromic
  500. C++: memory leak on clear()?
  501. Best wa to retrieve keys of a map
  502. printf("%x",...) in C <=> cout+ ? in C++
  503. What should function returning a reference return on failure?
  504. CObList
  505. Constructor question, how does the call to the parent constructor work?
  506. Create Window (not rectangle)
  507. casting question
  508. Need GUI Input box and button to execute :)
  509. Info needed regarding iostreams
  510. pleac and Cookbook
  511. Looking for some way to get correct value with long precision
  512. How to pass memory range to functions?
  513. Iteration vs. Recursion
  514. Substitute for floatint point
  515. Changing file permission in windows
  516. how to deal with duplicate class names
  517. KeyB typeahead buffer in BIOS
  518. who read what c++ books and best learning practices?
  519. Adseense and googlepages
  520. Reg C++ implementation for in memory database
  521. Notification Messages from objects
  522. Help with Pipe Implementation in NT
  523. Pipe Implementation in NT
  524. Question on C++ inheritance.
  525. Requset a console based c++ library.
  526. how to convert a char array to int array n back
  527. Internet Crimes are on the Rise and Deadlier than Ever
  528. Occurence problem: different ideas
  529. unsigned variables
  530. bus error on vector resize
  531. Help with ATL COM code for a kind of collection !
  532. perhaps a stack problem? Long calculations - strange error?
  533. Consume C# DLL in C++
  534. Looking for a C++ compiler
  535. compiler help needed (nu-B)
  536. cannot access protected members : why
  537. urgent
  538. urgent
  539. urgent help needed
  540. Is it because of diffrence between bcc32 and gcc?
  541. Practical Algorithm Book, Exercises and Answers
  542. Use of macros in C++?
  543. A Little help with Bits...
  544. Should We Use Macros in C++ Programming ?
  545. parallel port programming using C
  546. a good C++ project ideas
  547. can anybody help me do such programme?
  548. what is wrong with the 'strcpy'
  549. 'placement' new, and allocation in the constructor.
  550. discards qualifiers