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