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. binary i/o question
  2. set new value for data member
  3. array holding 2D arrays
  4. function pointers
  5. First-chance exception Problem
  6. Inheritance and STL containers
  7. dereferencing a passed reference to cin
  8. string.replace help
  9. A couple questions
  10. polymorphism advice,
  11. problem with template template parameter.
  12. question on operator ( ) overloading
  13. Append to File
  14. Wild reference
  15. Threads
  16. Standard math functions as operations in std::transform calls
  17. compiler bug or bad code?
  18. generic setVariable
  19. Having trouble with my code for hw assignment
  20. Return a container from a class method
  21. How do you implement this Python idiom in C++
  22. inline power function replacement
  23. strnlen() warning
  24. mmx programming
  25. print up to n decimals
  26. checksum
  27. loop vs memset to initialize array.. different results?
  28. __FUNCTION__ in another macro
  29. c++ / vc++ Bluetooth Stack
  30. References as private members
  31. Not catched exception
  32. static data in member function
  33. stlfilt for g++ 4?
  34. char * to HBITMAP
  35. Little help required
  36. search a file for a keyword and replace that keyword with a another word
  37. Looking for Embedded Software Engineers with good C programming skills
  38. Typdef pointers to structs or not?
  39. wxWidgets on Dev-Cpp
  40. VISIT MY SITE
  41. same problem - asked differently: polymorphism efficiently
  42. Opening for SAN testing
  43. template function or template class
  44. oddly behaving rand( ) in microsoft compiler
  45. Does mysql++ 2.1.1 work on your comp.?
  46. linking lib file ...
  47. Embedded namespace
  48. pure virtual function calls / optimization
  49. typecasting function pointer to void*
  50. Wantt to Compile C++ embedded sql code by MSSQL server 2000
  51. why code is not working properly
  52. why code is not working properly
  53. why code is not working properly
  54. easy pointers to functions problem
  55. return a string by ref
  56. overloading >> operator
  57. Structures with Pointers question
  58. Directory/File Monitoring Service in WindowsXP Question
  59. Is this a good habit?
  60. i++ and ++i
  61. Recursion in template definitions
  62. log4cxx library
  63. why this program can get compiled using g++ without any complain?
  64. Constrained Nonlinear Minimizaiton
  65. Is there any strong reason for not using Templates?
  66. Reading a text file
  67. char signed or unsigned
  68. Decimal to Packed Decimal Conversion in C++
  69. Going From MFC to .NET
  70. Getting started with C on my Linux machine.
  71. Can we overload on return types
  72. Q's on pointer sizes
  73. VC++ error C2662: cannon convert 'this' pointer...
  74. wired bug using gcc O2
  75. Absurd OO Design Practice: Query Classes
  76. Qquestion on Shortest paths algorithm
  77. #include in IDL files
  78. How would you create a random string of data
  79. range count
  80. More Help
  81. macro explanation
  82. How to delete a line from the file
  83. Bitwise OR on large memory regions
  84. Trouble with vectors...
  85. Programming books
  86. removing object file from static library
  87. RTTI in C
  88. static const variables
  89. hey all
  90. how to use TEMPLATE in C++
  91. truncate/decrease file
  92. generic programming is very powerful. c should support it
  93. truncate/decrease file
  94. A question on linking
  95. Safer C Library
  96. MSVCP70D.dll not found error
  97. static polymorphism and Factory Pattern
  98. Algorithm template specialization problem
  99. ECC- Algorithm
  100. ECC- Algorithm
  101. Pointer Analogies
  102. new vs new[1]
  103. Reading Flat Files to display queries in table format
  104. problem delete class object contained thread
  105. Forward class redefinition problem
  106. how to remove warning: initialization from incompatible pointer type?
  107. how to remove warning: initialization from incompatible pointer type?
  108. Numerical Recipes Rational Approximation Algorithm
  109. how to remove warning: initialization from incompatible pointer type?
  110. retrieving random number generator state and other RNG questions
  111. Can i create a constructor in a data structure?
  112. deleting structure
  113. deleting structures
  114. strange bug when using gcc O2 or O3
  115. How to access DLL methods n variables without .h n .lib file??
  116. Need help for the Tlink.
  117. strcpy from int[]?
  118. Does g++ come with a STL library default ?
  119. ndefined reference to function
  120. Rotate a matrix of any size
  121. fstream :: more information about failure
  122. library and #includes in code
  123. Library exposing STL containers
  124. Compiler-Generated Default Functions
  125. returning an address warning
  126. help on my .h file
  127. Help Needed
  128. UB? Avoiding ``object'' before array's start
  129. file access properties.
  130. Cast pb
  131. Mystery String
  132. string type casting to int
  133. Protected data can't be accesed
  134. weird Debug error! damage after normal block ...
  135. error: incompatible types in assignment
  136. Tasking C166 C++ compiler & temporary objects in function call parameters
  137. CRTP and Factories
  138. Problems with tertiary operator and reinterpret_cast
  139. VisualC++ and mysqlpp::Query problem
  140. log mousemovement
  141. Format of browse information
  142. exceptions with null pointers
  143. RTTI - how to ?
  144. Surprising Problem
  145. Returning String Literals from a function
  146. Array of Bytes to Unicode chars (ISO-8859-1)
  147. Multiplatform IDE for C++ development
  148. initializing private static members
  149. Identifier Not Found
  150. Double increment question.
  151. initialising 2-dim character array
  152. string to double conversion - atof() vs istringstream
  153. Regarding a query related to References
  154. how to Specializations of function Templates or Overloading Function templates with Templates ?
  155. Shared Library Exceptions & Vague Linkage
  156. To Lew or any of the other regulars. I hope this isn't an off topic troll thread -(
  157. counting frequency of a substring in a string
  158. Initializing multi-dimensional array in constructor
  159. private construction on GCC
  160. exception
  161. GUI for a C++ Tool
  162. Can this code invoke Undefined Behaviour?
  163. Extract text between ()
  164. How can i display a bitmap transparent
  165. Printing vector<string> with spaces between items.
  166. undefined reference
  167. usb connect disconnect problem
  168. Efficient sieving implementation?
  169. #define a char pointer
  170. Nested ifs and speed.
  171. Book review
  172. Suggestion to a good commercial C IDE?
  173. Casting function parameter from Base* to Derived*
  174. Intializing struct containing an union
  175. container inside container in stl
  176. Difference between int i, j; and int i; int j;
  177. initialize a const in class
  178. current time with ctime
  179. How do mbtowc() and wctomb() work?
  180. return statement
  181. How do I concatenate three strings?
  182. return() syntax
  183. use of arrays in class
  184. Good software using c++ for learning how c++ works
  185. How to use # & ## operator in C??
  186. back up data in C how & when in sudden poweroff?????????
  187. back up data in c++ how & when in sudden poweroff?????????
  188. Casting a byte array to allow assignment
  189. help: derived class uses base class protect value
  190. Q: sequence of excution in if
  191. read unicode text file
  192. Does industry use C++
  193. A question
  194. MULTI-DIMENTIONAL CHESS DOWNLOAD FROM DEEP SPACE
  195. constructor question
  196. Combo Box help
  197. Using structs in C++
  198. error running my project
  199. regarding C++ standard library
  200. classes overview
  201. Machine intelligence- can this program be written ??
  202. Machine intelligence- can this program be written ??
  203. FindWindowEx
  204. Optimizing away a class as best as possible?
  205. A question about Matrixes and Triangular matrixes
  206. const integers
  207. "#if" with no condition
  208. Templates for syntatic niceness only, does it waste space?
  209. delete [] operator help
  210. option in gcc that lets us produce object code for 16-bit processor
  211. New garbage collector for C++
  212. Templates and Inheritance
  213. sprintf >> atof question
  214. The C language in the planet Mars
  215. rl_readline_name ??
  216. rl_readline_name ???
  217. Writing Low Resource Windows Service
  218. conversions from float to int?
  219. Reading from a stream for a specific time
  220. Partial string loss with sprintf/strcat
  221. multi-threaded priority_queue in C++?
  222. memmove: works on C's abstraction layer? or no?
  223. Segmentation fault
  224. fread/fwrite Portability Issues
  225. Avoiding copy: char* -> istringstream
  226. getline(cin, zips) skips fist input before a while loop in function
  227. Using cpp, the C Preprocessor Guide
  228. B-Trees files reading/writing
  229. Storage strings in an array
  230. very simple array question
  231. Sizeof int
  232. Template problem
  233. including a lib header file
  234. what is the best practice to store "modes": enum, int constant orwhat?
  235. I guess all of you know this one... static variable in class A acces from B
  236. Convert C++ strings to a C-style string (char*) in VC++ 6.0.
  237. Object Initialization
  238. Array initialization
  239. Add two numbers using a Single Variable!
  240. Connect C++Builder 6 with SQL Server 2000,Null to string Problems
  241. from computer engineer in IRAQ
  242. Connect C++Builder 6 with SQL Server 2000,Null to string Problems
  243. error reading from socket
  244. Newgroup redirect, where to post this?
  245. focus group in ct easy fifty dollars
  246. 'int *i ' or 'int* i'
  247. Am I inherited?
  248. How to display all filename of that extension using C
  249. C++ Builder 6 to Server 2000 ( ado connection )
  250. Specifying integer precision with Stream I/O
  251. No special meaning to '\0': just like any other character
  252. C++ STL list memory issues
  253. trying to make a bot
  254. calling "java from C dll" (system command??)
  255. realloc() hang
  256. build an array based on data from file matching criteria
  257. int to size_t
  258. Problem using STL list and map objects as static member variables
  259. constructor
  260. iterator vs const_iterator
  261. Function Pointer
  262. Project on C++
  263. Tagged unions
  264. container for insert/delete + fast index
  265. covariance matrix
  266. statistics library
  267. Single Bit Error Correction & Double Eror Detection using CRC32
  268. Visual C++ express
  269. http://chennai.click.in/classified/housing/houses-flats-rent/35644/chennai-only-boutique-hostel.html
  270. Arbitrary function with parameter
  271. Where is this code not freeing memory ?
  272. structs ... homework proj
  273. Where is this code not freeing memory ?
  274. Does stream I/O support "%a" floating-point format?
  275. File contains only or mainly zero
  276. Where is this code not freeing memory ?
  277. Where is this code not freeing memory ?
  278. how can i use fstream object to clear file's content?
  279. CORBA object used in Vector
  280. C# MSSQL2000 update
  281. CORBA object used in Vector
  282. c/c++
  283. making STL use " __malloc_alloc_template<0> "
  284. making STL use " __malloc_alloc_template<0> "
  285. Code problem
  286. Code problem
  287. Trouble Declaring 3D Array in Header File
  288. number of words in a line
  289. nested switches, with common labels
  290. Tokenizer
  291. Is there C/C++ corresponding function in Linux for Java's java.util.Locale.getCountry?
  292. class that have a member of type that's derived from it
  293. determine pointer to point to array or single item during runtime
  294. gsl in c++
  295. advanced scanf
  296. VERY strange C anomaly
  297. Adding 2 sets of roll/pitch/yaw angles
  298. Question about using copy constructor of parent class?
  299. How do I render JPEG Data stored in char* buffer?
  300. how to convert byte array into integer
  301. how to convert byte array into integer
  302. newby - error: 'rint' was not declared in this scope
  303. Use of template keyword in callsite
  304. const char as class member
  305. std::fill arrays
  306. Problem with function
  307. Sqlcxt Again!!!
  308. print all permutations of string
  309. print all permutations of string
  310. output number
  311. Adaptive datatype (or so...)
  312. Encryption
  313. Game in C using Finite Automata
  314. does the default constructor initialize values?
  315. UUID in C++
  316. Multiple Inheritance
  317. Memory Layout of a Object
  318. Questions on bitfields and struct
  319. Center of Contour
  320. Center of Contour
  321. Object Initialisation
  322. Question on bitfields & structs
  323. Scope rules
  324. Code
  325. Help getting this to compile
  326. Registering a data class with a handler class
  327. C++ language grammar?
  328. floating point problem
  329. template vs. ordinary functions how it is overloaded
  330. Force linker to check all the implementation
  331. how to rewind to file beginning immediately after writing...
  332. Multiple inheritance
  333. Speed problem
  334. running a system function from c++ code
  335. head file inclusions
  336. int & char
  337. int and char?
  338. long path names for ifstream in(
  339. Build a Worldwide Business!
  340. union // deque
  341. implicit typename problem
  342. C99 differences
  343. Using [] in z/OS ISPF & emulators
  344. overloading on the template parameter arity of a template templateparameter
  345. const headache const
  346. how to implement a simple class forname?
  347. Database maintainance through c
  348. Writing a function that changes an unknown-type numeric variable
  349. Is there any standard way to sort a disk file?
  350. Splitting a string into an array words
  351. sizeof()
  352. sizeof()
  353. changing the exe name in VC++1.5
  354. Hack The Mirror
  355. Binary Files
  356. C90: minimum size of long
  357. Initializing without assigning
  358. Preprocessing
  359. Migrating C Code from OS2 to Windows
  360. Rewish & his Program
  361. Migrating C Code from OS2 to Windows
  362. template troubles
  363. Linker Errors Referencing a Mixed Assembly (CLR) with Native Types
  364. Are you looking for high quality photo editing and video editing?
  365. Coding standard
  366. struct question
  367. how free() works??
  368. Problem with class redefinition
  369. multiplie language prog
  370. error running hello world
  371. WSQ image library (for fingerprints) released
  372. Slashdot and C
  373. Installing Boost to VC++ 2005
  374. Const expression
  375. Should helper functions be members?
  376. Socket packet
  377. hi... everybody
  378. comparison
  379. What swap is called when using std::swap?
  380. process taking long time to dump core
  381. Function Wrapper: Opinions and Critique Desired
  382. initializing an integer array
  383. Accessing structure elements using pointer math - padding worries?
  384. Question about arrays..
  385. Correct way of taking in two integers
  386. Adding Random Numbers
  387. The Man In The Mirror
  388. Understanding the bitwise AND operator
  389. Counting 'on' bits in a byte?
  390. std::vector resize(0) vs clear()
  391. How to find memory content at location x?
  392. array in class
  393. typedef, structs, and pointers
  394. string comparision
  395. Calling functions with the wrong parameters
  396. string comparision
  397. An excursion to pseudo-polymorphism
  398. generating an array of arrays
  399. question about delete
  400. Query regarding warning removal when using extern
  401. assignment/initialization of container - map
  402. segementation fault
  403. Sockets for Windows
  404. still confused about headers, inline functions, linking, and redefining
  405. Urge for help in a game programming
  406. Urge for help in a game programming
  407. help with this struct
  408. Don't understand why my code isn't working
  409. compilation problems!!
  410. Good Representation for an Abstract Syntax Tree
  411. Multiple windows with Borland C++ 6.0
  412. expected unqualified-id before "." token?
  413. Avoid implicit cast from enum to double
  414. class definitions
  415. inverse of 3X3 matrix
  416. Modulus
  417. Floating Point Error?
  418. error during linking with gcc: multiple definition of `__cygwin_crt0_bp' ...
  419. anything wrong?
  420. query about main()
  421. l
  422. struct initialization
  423. More templates
  424. vector declaration?
  425. ambiguous operator>>(char&)
  426. passing a pointer to member function problem
  427. ~~!We are welcome you to join our HAVEN~~
  428. C Expressions
  429. Keyboard stroke for EOF ?
  430. trying to minimise the chi-squared statistic
  431. free()
  432. Memory leak
  433. object question
  434. can u help me
  435. what's the best way to handle the verbose mode of an application ?
  436. Null reference
  437. namespace problem
  438. Function Prototype - different argument names
  439. pascal call in C
  440. class as a member
  441. dynamic char * help
  442. overloaded global new/delete problem
  443. read this
  444. how to convert a string into integer
  445. converting string into integer
  446. error when rename pointer names
  447. convert int to string without using standard library (stdio.h)
  448. vtable pointers and default copy constructors..
  449. problems with interrupts and union regs
  450. Why dont RealTime Embedded programmers use Exception Handling?
  451. What is a memory leak
  452. Help for designing outlines in c language
  453. need the logc to binary conversion program
  454. Exporting a 2D array.....
  455. registering class methods as C style callbacks
  456. Linker Error Unresolved External Borland Builder 2006
  457. C library for PDF creation?
  458. C++ library for PDF creation?
  459. pointers to member functions
  460. Length Issue in Char while type casting
  461. Type Caste Doubt
  462. Simple RegExp function
  463. how to identify the storage size?
  464. Which allocator to use? For fixed-size, single-thread, pooled allocation?
  465. i need help about Turbo C
  466. Windows Coder Needed
  467. Windows Coder Needed
  468. Windows Coder Needed
  469. Windows Coder Needed
  470. Doubt on new operator
  471. Freelance website?
  472. How would I stop implicit type conversion
  473. char *arr[n] Vs. char **arr
  474. error: invalid operands to binary &
  475. assignment operator for classes with const data
  476. what's wrong with my code? about the #if statement.
  477. Function declaration without parameters
  478. beginner level question
  479. short int
  480. Difference b/w storage class and storage class specifier
  481. templates with virutal functions
  482. problem with JNI and dll generation
  483. new question about old C compiler
  484. Socket connection between multiple interfaces, through a router
  485. Calling container constructor explicitly
  486. Performance question/debugging
  487. Why doesn't this code compile?
  488. array in include
  489. about string
  490. How to Convert 1998 morse.c to 2006
  491. f(v[i],i++); is Undefined or Unspecified?
  492. ifstream "fail()" vs. "eof()" question.
  493. Bit-Pattern of Representation of Objects
  494. Declaration specifiers
  495. Cannot delete created library object
  496. help getting substring
  497. Compiling Programs contains Xutility calls
  498. Efficiently generating bits
  499. Distinguish OS at compile time
  500. Yacc/Bison: Trouble using struct in %union - "incomplete type" error
  501. Whats the deal with 'const'?
  502. A Query in "Pointers to Structures"
  503. How to write a small graceful gcd function?
  504. STL two dimensional array of sets question
  505. ungetc
  506. Are you a Rockstar in C++ Programming ?
  507. Problem with keyboard input for my very little OS
  508. STL set intersection question
  509. STL set intersection question
  510. D-tor apparentlly isn't called here
  511. Question on C++ book example
  512. easy structure question
  513. Refering to an object by composing variables in C++ BUILDER
  514. bind2nd, mem_fun, and references
  515. Read System Clock in Windows
  516. iso standard meetings
  517. Big problem doing sorted insertion in a list
  518. optimization of static data initialization
  519. fflush()
  520. How to know the inline-function was implemented the inline way or normal way?
  521. How to declare and use a function pointer?
  522. Is this an invalid program? Doesn't compile on my system
  523. Does malloc() reuse addresses?
  524. calling convention adopted by the gcc compiler for the C programs
  525. overloading new/delete ....
  526. Reading Binary file
  527. text files with borland c++ builder
  528. Convert Int Value To Pointer
  529. sorting side by side
  530. C++ for Windows development
  531. Constructor - member variable problem
  532. command line arguements with spaces in them
  533. Data processing
  534. more elegant solution
  535. Bug with the library or program?
  536. project suggestion
  537. Struct class iteration ...
  538. Should this short (but abstruse) program compile?
  539. Convertion
  540. Looking for a C textbook with emphasis on data types
  541. VC2005 problem:IAxWinHostWindow interface in a MFC project
  542. focus
  543. arabic_caractere
  544. CPU or MB Serial number
  545. arabic_caracters
  546. How to use scanf() safely?
  547. memory allocation
  548. undefined symbol yylex
  549. good C compiler
  550. Start using NTFS