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