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. Preprocessor
  2. weird iostream/fstream behavior
  3. Formating Output of std::ostream
  4. I'm having trouble. Help?
  5. about ggets()
  6. SAX-style mail parsing library
  7. templatized copy constructor not being deduced
  8. In linux system why this?
  9. calling class member functions without instantiating object?
  10. Watch window
  11. a simple algorithm, help!
  12. PLEASE DON'T FEED THE TROLLS!
  13. template class to alloc memory
  14. Char * question
  15. A problem on string swap
  16. Static and dynamic library
  17. Malloc() and new()
  18. 'B' is an inaccessible base of 'D'
  19. Default call of an Empty class object
  20. Macros within function-like macros?
  21. integer int i; *i++ and ++*i have a different integer value after the increment
  22. Undeclared identifier???
  23. Dealing with const
  24. vector 'push_back' problem
  25. Class Design Question
  26. The Trouble With Locks by sutter
  27. std::auto_ptr with virtual class
  28. where's the start point??
  29. a big problem
  30. Any function can convert the words form,such as "boys"->"boy","became->become".
  31. Any function can convert the words form,such as "boys"->"boy","became->become"?
  32. Any function can convert the words form,such as "boys"->"boy","became->become".
  33. cross platform shared libraries
  34. Quizz de Noel
  35. new and memset
  36. Date/Time class
  37. is C++ dynamically or statically typed language or both?
  38. execl function
  39. std::map
  40. Why isn't my compiler warning me about this?
  41. Parsing Variable # of Data Fields after fgets
  42. Problem with bitwise operators
  43. Problem with input
  44. Default Template Parameters
  45. problem in a very simple code
  46. Best Editor/IDE
  47. sizeof() O/P
  48. Static members and inheritance
  49. references and l-values
  50. gets() - dangerous?
  51. Range of short int?
  52. char * const &szKey
  53. Class in class problem
  54. pointer to flexible array of structures in other structure
  55. Memory value change?
  56. operators << and >> for 'std::streampos'
  57. Help with "Concurrent Network Server" Design
  58. System functions + wchar_t
  59. yacc, same token
  60. sample.xll is not a valid add-in
  61. STL : list, map, ...
  62. make files
  63. o/p problem
  64. display the process of division in c
  65. C++, wchar_t, Unicode and all that stuff
  66. Which container I should choose for better performance?
  67. Getting substrings in C
  68. macro doubt
  69. Which container I should choose for better performance?
  70. Problem with a pointer
  71. Reverse a string "in place"
  72. Befriend during runtime?
  73. Need advice about brushing up on my C++
  74. Function invocation location
  75. Global variables...
  76. I/O exceptions
  77. Macro substitutions
  78. Copy constructor: why can't I copy objects as if they were structs?
  79. exponentiation operator (lack of)
  80. fstream question
  81. fstream question
  82. Help! Windows.h Conflict
  83. job interview question in C++
  84. std::streampos and INT_MAX - incompatible?
  85. architecture to adopt
  86. How to Inlcude STL::Map
  87. Using Definitons
  88. family tree and
  89. method max_size() for map-object (STL) returns -1
  90. defining class-object declaration in header gives error
  91. Negative indices to a vector: Valid?
  92. Initialization list and inheritance
  93. how to distinguish whether the type is unsigned or not
  94. open source pong or equally simple game
  95. Why do all the compilers I try fail?
  96. No compile error for undefined function
  97. looking for a clever preprocesser solution
  98. confused with function declarations
  99. Operator<< for ostream
  100. Finding a program's directory at runtime
  101. Order of evaluation of function arguments
  102. Crash while erasing a member in a vector
  103. SSL
  104. Casting, inserter and streamspos?
  105. C90 pdf, available from ANSI
  106. dynamic cast for streamed data
  107. Operator Overloading : Incorrect implementation being called
  108. The problem of inheritance? Why can't it overload the private same name function ?Help?
  109. Using flex++ and bison (not ++) with c++
  110. something about gcc3.4.2
  111. Exceptions
  112. Signal Handling - Are they part of ANSI C?
  113. Singleton class
  114. Singleton class
  115. confused about behaviour of scanf
  116. efficient algorithm for customized set_difference
  117. huffman encoder
  118. Doubts in c
  119. Pseudorandom algorithms
  120. clone a tree
  121. std::list
  122. method to count 'endl' manipulator on insertion operator
  123. incompatible warning in C/C++
  124. initialization problem
  125. Heap Manager and new/delete overloading
  126. Opensource software for computing checksum?
  127. Opensource software for computing checksum?
  128. AVI /MPEG Lib
  129. strcat() and segmentation faults. But malloc() already done.
  130. reference l-value
  131. C overflow/underflow problem
  132. Successor to C, not C++?
  133. undefined behaviour ??
  134. Link to lib file
  135. Is my naive C++ implementation the best, or...
  136. study material
  137. study material
  138. Problem with printf formats
  139. Portable struct initialization
  140. Memory leaking
  141. geometric progression
  142. initializing array of structures
  143. Switch vs. Else If
  144. How to change the button style of Console Application
  145. request for new questions
  146. question about "scanf"
  147. Reading from serial to an array
  148. pointers for beginners
  149. Checking memset
  150. Dequote a string, unescaping escaped quotes
  151. Function template partial specialization
  152. 'new'd memeroy is contiguous?
  153. what are the problems with this piece of code?
  154. Variable/parameter declaration inconsistency
  155. Help on void *
  156. using C structure in C++ (VC++ 7)
  157. Limbajul C
  158. can I pass an object from cpp to c
  159. a question about drawpoly function
  160. diffrence between "function pointer" and "pointer to a function"
  161. Need help on accesing more than 4GB
  162. lots of warnings with stlport
  163. too much time for internet and pc and no time for to walk and sport for you
  164. how to cast from (void*) to other types?
  165. Getting error with SUNWspro 6 update 2
  166. operator= Q.
  167. Available C++ Libraries FAQ
  168. how to using codecvt to convert ascii<-->UTF-8 within std::ofstream
  169. Which header files are included?
  170. Xml Parser
  171. The Zeus Compression Algorithm
  172. Problem with Exponent program
  173. Network Programming... Ugh!
  174. Indexing a Text File
  175. inherit WITH operators
  176. storing "almost-POD" classes to binary file
  177. Multiple indirection mess-up...
  178. exception woes using fstream and .eof
  179. Struct inside a struct
  180. Which is better, using ReadFile/WriteFile or use fstream?
  181. Symbain Device
  182. variable in a class member
  183. Good C materials
  184. what data structrue book do you use or recommend?
  185. using preprocessors - help!!
  186. including and excluding at compiletime
  187. c++ spreadsheet libraries?
  188. How to minupulate the elements (counting by 3) of an array usingSTL?
  189. Access to MS SQL Server from C
  190. TCP connection hang problem
  191. mscorlib.dll problem (Visual C++ 2005)
  192. A good use of fn ptrs?
  193. Implementing a Decimal class
  194. Inconsistent
  195. Memory allocation problem
  196. Code Complete: 1st or 2nd Edition?
  197. typeid ... more
  198. about C
  199. Again: 2D-Array/Table but sortable asc/desc by column for different datatypes
  200. A small clarification ...
  201. deleting all elements in a STL container of pointers
  202. Why is there no difference between buffered and unbuffered file IO?
  203. please verify the code
  204. operator % and signed integers
  205. operator % and signed integers
  206. how to call notepad.exe from a c program
  207. Initialization of non-POD aggregates
  208. can std::set hold pointers to keys instead of the keys themselves?
  209. suggestion for writing a program to concatanate two strings
  210. Enabling and disabling a macro
  211. array of struct init list
  212. Too Many Function Pointers?
  213. using realloc multiple times question...
  214. int var declared in "for" not local?
  215. what is the difference between string.h and cstring?
  216. what is the difference between string.h and cstring?
  217. auto_ptr and casting
  218. auto_ptr always implies heap?
  219. Measuring time differences
  220. Complex policies
  221. using fis.c in a c++ project
  222. A simple question about a function
  223. using fis.c in a c++ project
  224. CTAGS usage
  225. problems at multiplication (Currency multiplied with float)
  226. How does the compiler implement a virtual destructor?
  227. detecting incompatible locale modes for encoding
  228. [Linker error] undefined reference... pliki .h... dev-c++
  229. weird problem with gcc
  230. Special iterator
  231. #ifdef vs OO patterns
  232. `sock_create' undeclared (first use this function)
  233. My programs always shut down...
  234. Dumb Question.
  235. friend sibling class nested in derived class problem in gcc 4.0
  236. How to become a C++ Programmer
  237. std::vector
  238. system call in VC
  239. How to turn a C++ program into a BASIC program ???
  240. copy and istream_iterator question
  241. Naming issue
  242. return value of fgets()
  243. map iterators interface
  244. Internationalization - Unicode - Format used for command line arguments?
  245. private default constructor is good or bad?
  246. Operational and functional differences - #define vs typedef ?
  247. Customizing Doxygen C++ Documentation
  248. Insecure Programming by example
  249. how to see the list of the function names?
  250. Question on vector of vector iterators
  251. Reading 16-bit raw data
  252. Bowyer watson algorithm
  253. array of functions
  254. Dual Head Monitor
  255. Derived template classes
  256. add a new member to struct
  257. How to Check the content of the memory?
  258. undefined behaviour?
  259. question
  260. Scratchy question....
  261. To enter and access database of MS access or any DBMS usibg C.
  262. Pro C--Openings in Polaris Software Labs Chennai
  263. Pro C--Openings in Polaris Software Labs Chennai
  264. Is argv array modifiable ?
  265. STL map and memory management (clear() )
  266. Error when initializing static variables
  267. How to catch Mouse down and mouse up on item of treeview
  268. Cline/Lomow Book (Original) FAQ # 158
  269. A problem related with multiprocessor
  270. who can give me a lmplement of Diffie-Hellman key exchange.
  271. why is automatically generated copy constructor of this form
  272. Creating Dynamic 2D Arrays
  273. Getting confused in Virtual calls
  274. JAVA
  275. A style question
  276. C++ class library for kernel mode programming
  277. scan frames of other windows
  278. is there any transform_if algorithm?
  279. can you make an ifstream from a FILE* ?
  280. problem with const objects in lazy parser
  281. vector<pair> .. more
  282. operator-
  283. GDI objects and memory leaks
  284. USB 2.0 Memory Stick
  285. Preprocessor errors?
  286. reading para values from config file with type
  287. Error message : "function returns address of local variable"
  288. question--separatecompilation
  289. is a good C?
  290. templates to generate compiler diagnostics
  291. Vector in cpp
  292. Array initializer in C++
  293. what is needed to implement a memory table?
  294. MS Access And Excell data access through c++(API ,Connector,etc)
  295. Querry Regarding Define
  296. trimming leading zeros
  297. C code is not generating required results.
  298. Editor and Debugger in C
  299. Polimorphe Vector
  300. in C how to store a value on a given memory address
  301. signed and unsigned char
  302. Usage of Double Pointers
  303. Tricky conversions question
  304. Dynamic mem allocation for pointers
  305. how to find nth quote char?
  306. no-op function pointer
  307. Need Help
  308. 2000 Web Templates (Including Customizable Flash Templates)
  309. candidate for bitset
  310. counting lines in text file
  311. Doing run-time binding/introspection/reflection in C++ non-intrusively
  312. Style Poll: Hand-Rolling for() Loops
  313. pointers difficulties
  314. skipws and <<
  315. offsetof / non-POD structs
  316. JNI: changing from ARGB to RRRGGGBBB memory problem
  317. Replace a #define by a method
  318. question--A function returns class object(comparing C++ & JAVA)
  319. How to make a library
  320. is << on filestreams a blocking operation?
  321. support of C99 VLA in compilers
  322. Preprocessor possibilities
  323. programming a "terminal"?
  324. Strange Bit Shift Operator
  325. Use int or long keyword?
  326. including files
  327. Code Style - Handling Returns
  328. Need a programme for Paint by SHIKHAR
  329. Are they equivalent ?
  330. Type casting
  331. c++ and multithreading
  332. Comparing an iterator to a NULL value
  333. dlsym and function pointer ...
  334. How to compile using library
  335. How can I set up the path where the compiler(g++) will search forthe header files
  336. #pragma warning (disable:4214)
  337. template and variable parameters
  338. Constructors & iterators
  339. module stub generator for testing?
  340. Operator Overloading.
  341. legacy containers
  342. Linux named pipes programming problem
  343. integers to binary
  344. what happens internally
  345. initializing array using pointer
  346. USB APPLICATION
  347. little problem
  348. I don't get how the computer arrives at 2^31
  349. frns i need a code for
  350. how to make link betwenn flaoting point to printf statement?
  351. Zero sized arrays in base classes?
  352. #include<> internals
  353. Help with Dijkstra's algorithm
  354. Is this possible in C/C++?
  355. getbuf()
  356. How to define a class GasPump?
  357. getting reference to a STL map element
  358. overload operator ?
  359. Pattern matching with boost
  360. problem with c++
  361. which code runs faster?
  362. class wizard in 7.0 (.net) IDE
  363. Secured access to source code project ?
  364. Array copying technique
  365. Checking if number is bigger than INT MAX
  366. Certificaiton in C
  367. Operator Overloading Problem
  368. When is std::list more effective than the other containers?
  369. Implementation of conditional operator
  370. Correcting answers
  371. Store two images in one file
  372. Hello
  373. candidate for a reference counted smart pointer (?)
  374. help please
  375. software for Voip.phone
  376. how to transfer a DWORD from a function?
  377. How do you return a list? Best practices
  378. Print a function pointer always results in a warning
  379. Invalid read of size 1 [valgrind warning]
  380. tr1::bind in a template class
  381. Insanity or technicality?
  382. Opening is for technical lead
  383. Programmer's Avenue
  384. learn C/C++/Java/HTML/Web development
  385. New debugging method(OT?)
  386. Another name of type of iterator allowed or not?
  387. unresolved external
  388. member typedefs
  389. Can I write a fn reference?
  390. Getting a chararacter array to accept spaces
  391. Getting certain item from a character array
  392. Beginner question about sqrt()
  393. Runtime Definition of a struct
  394. Problem with "system" and the linux "su" command
  395. Weird lcc-win32 behaviour
  396. header files
  397. problem with auto_ptr<> and assigning derived class to base class object
  398. FIbonacci
  399. C module stub generator?
  400. operator [] or what ?
  401. vector of structs
  402. character pointer length
  403. finding the length of a char*
  404. string comparison, help!
  405. Linux program use times() to Windows
  406. Escaping backslashes issue with printf/grep/popen!
  407. Function returning a function pointer?
  408. Operator overloading for pointer to objects .
  409. What does this mean?
  410. Initialization of non-integral type in initialization list
  411. Programmer's Paradise
  412. Linux programme - different results each run
  413. statistic of integer values
  414. Composition using references
  415. Question about char
  416. Arrays as parameters
  417. Why does the write method take a character pointer to the object one wishes to write?
  418. vect of struct ??
  419. Is this the 'prefered' way to use a vector
  420. oracle-c++
  421. oracle-c++
  422. oracle-c++
  423. scan float pointers
  424. Overloaded
  425. string to int
  426. why is this assignment correct ?
  427. Help : Merging Binary Search Trees
  428. How to initialize and array in a structure?
  429. Invalid read of size 1
  430. Enhance your Bugzilla with Release Planning System
  431. file writing
  432. Multiple inheritance, dominance and pure base class
  433. CPU temperature reading
  434. Runtime errors with c++ binary search tree
  435. Stack or Queue?
  436. Complicated linking problem
  437. Design question for UI library
  438. hello ,i really need your help
  439. undefined reference to '__gxx_personality_v0'
  440. force jump table with switch statement (visual c)
  441. Linked List Isn't Working Correctly
  442. regular expression lib
  443. Plz i need ur help
  444. set<const int> - does not compile
  445. design patterns - Maze examples
  446. Assertion Errors
  447. Interesting technique using templates to get around privacy
  448. Problems with reading xml-files
  449. what is wrong with the function?
  450. Fixed number of digits printing of integers (ex: 0001 to 0100)
  451. template instantiation with local type
  452. Operator overloading and inheritance
  453. test.c:24: error: `read' undeclared (first use this function)
  454. HELP!
  455. default arguments in member function
  456. class instances ..
  457. Speed of finding a size of an array.
  458. double pointer
  459. OS dependent
  460. member template partial specialization
  461. Proper way to input a dynamically-allocated string
  462. typedef void foo_t()
  463. STL vector and element constructors
  464. Strange Unresolved External Problem
  465. C, really portable?
  466. design question
  467. How to implement arctan(x) without using standard library?
  468. How to implement arctan(x) without using standard library?
  469. Parameterized Template Parameters
  470. Pointer problem
  471. constness of an object
  472. A few function questions
  473. STL: Map of maps possible, but no multi-map of maps? Workarounds?
  474. Dividing large classes
  475. basic classes question
  476. C memory properties
  477. Help with type returned
  478. Double-Linked List, Cont'd
  479. Fibonnaci
  480. accessing const array reference in inherited-templated class
  481. Double-Linked Lists
  482. bit array in C++
  483. undeclared indentify error
  484. Strings in C
  485. Random Numbers and Removing only 1 item at a time
  486. calling all would be writers for CUJ
  487. what is the error
  488. How do we find out stepping over somebody else' memory
  489. How to identify who cause memory leak
  490. declaration Q
  491. sleep( ) misbehaving
  492. How to check allocated memory size
  493. UNICODE variant of fopen or ofstream to be ANSI compliant.
  494. fatal error please help
  495. DLL - C++ - C#
  496. Anyone who can help me to compile a source code package under the Solaris platform?
  497. Cursor Movement
  498. Diffence between CreateThread and AfxBeginThread
  499. Hierarchy of objects, object "deep down below" needs to access one high up
  500. nested for loops behaving oddly
  501. printf() in a loop without \n won't display anything till the end
  502. Is there any way to overload "typecasting"
  503. pointer initialization in ctor
  504. functions
  505. Dialog size question
  506. C++ compiling and uncoompiling
  507. template & typedefs declaration problem
  508. error in yacc
  509. Ascii-Art word converter lib
  510. For a copy of The Embedded Newsletter
  511. C++ Internals handling this pointer
  512. how to check no. of spaces were skipped?
  513. Finally, a release candidate of the "Pointers" document (introduction to pointers)
  514. Soliciting for C programs or snippets to test alias analysis
  515. structure and pointer problems?
  516. structure and pointer problems?
  517. C program can't catch exception from C++
  518. structure and pointer problems?
  519. vector of struct ?
  520. Tool for detecting Array overflow
  521. a question on array
  522. Question Can I use explicit qualifier <C> after member function name of a template class?
  523. split string into chunks
  524. Stock Quote Order Level Book
  525. Stock Quote Order Level Book
  526. fstream::open
  527. why it is not work?
  528. passing a templated struct...
  529. Question about the operator<<
  530. calling overloaded constructor from constructor
  531. what's wrong with this code?
  532. friend operator= ?
  533. static member of a templated class weirdness
  534. STRING SIZE PROBLEM
  535. Split a class across two source files
  536. Function to determine the length of an integer string
  537. Linker errors while compiling C++ applications on AIX 5.3 machine
  538. Evaluate string expression in if statement?
  539. Explain why this prints the same
  540. 64 bit integer
  541. copy constructors and overloading = What is the difference?
  542. Reason for ISO ; warning
  543. Reason for ISO ; warning
  544. char to wchar_t conversion
  545. Question about bitwise operators
  546. std::string copy constructor fails
  547. allocate double dimension array in C
  548. How to write and read on network interfaces?
  549. operating system
  550. State Machine Implementation