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