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. template instance in normal class
  2. Problems reading strings from files
  3. the essense of the static data member of a class
  4. const int versus #define - does "const int" take up space in exe?
  5. About the find() is STL algorithm
  6. How can you test for undeflow?
  7. How to convert 'System::Object __gc *' to 'float array '
  8. Using a function which returns an object
  9. problem with getchar
  10. Point two objects to the same location
  11. the difference * **
  12. assignment from incompatible pointer type
  13. exercise 1-20 K&R
  14. Reading numbers from a file
  15. I have a consoleApplication poject and I need a Form to run with the project also
  16. sizeof of expression & sizeof of type
  17. how to iterate through all members in a struct
  18. Doubt in Code
  19. rand in a closed interval on the ints
  20. Example for an dynamically allocated associative array in C
  21. MAKING DOS APPLICATION IN TURBO C++ 4.50
  22. MAKING DOS APPLICATION IN TURBO C++ 4.50
  23. Vector of Pointers and push_back?
  24. Fixed-size FIFO queue
  25. Declaring Template Classes that take Multiple Nested Templates as Parameters
  26. Integer Promotion?
  27. math and scripting: how?
  28. ftp server
  29. ddj 29
  30. static variables in template class
  31. Beginner begging: problems with Builder!
  32. error C2872: 'streambuf' : ambiguous symbol Problem
  33. Get all drives in my computer?
  34. Quite Smart RIddle
  35. Is "?" a sequence point?
  36. How to handle textbox on IE?
  37. need some help
  38. Integer promotion?
  39. Can a sub-class (composite object) member function access private or protected members of base class?
  40. Question about run-time libraries in VC++
  41. Suggest Me in Developing Cross platform App Development
  42. inline functions
  43. Why can't we declare an argv variable?
  44. inline functions -- advantages?
  45. Variable name from string?
  46. remote access MS SQL through internet using VC++
  47. Unexpected Termination
  48. Project.In c++
  49. Number of bits and size of data types in bytes
  50. capturing Input from a microphone
  51. How to execute an stored procedure in c++
  52. Running another program and reading it's stdout
  53. Locale
  54. Structure of functions
  55. casting
  56. What does "%.*s" stand for?
  57. what's the size of sstringstream's bytegrow?
  58. checking for a word in a line(using getline) read from a text from a file using C++
  59. Help needed
  60. Why?
  61. Why the C committee doesn't provide an implementation when the standard is published?
  62. reference in function
  63. Using method function pointers in C++
  64. Help with array/pointer segmentation fault needed
  65. My merge-sort implementation. Feedback appreciated!
  66. Non-virtual destructors & valarray memory allocation
  67. return from catch - UB?
  68. I/O question
  69. Convert virtual key to actual character
  70. How Do I License & Protect My Software?
  71. How Do I License & Protect My Software?
  72. How Do I License & Protect My Software?
  73. Odd structure question reformulated
  74. where to find functions libariey
  75. about the #pragma
  76. about the #pragma
  77. How to concatinate 32bits of 4 bytes in a char array, and assigning to an int?
  78. Testing file deletion from under ostream object.
  79. opensolaris C library vs. GNU C Library
  80. Odd structure
  81. static method no locks
  82. association problem
  83. Conversions and casts
  84. Pointers to functions
  85. writing MyClass::Operator unsigned long()
  86. templated deletePointer in for_each algorithm
  87. define versus typedef
  88. assigiment problem
  89. Source Code for memcpy()
  90. writing GUI in C++
  91. sparse matrix class implementation
  92. const methodes and lazy calculation
  93. My Explode function(s) are too slow.
  94. conditional operator again
  95. C error : elements of array have incomplete type
  96. Any references on pattern matching?
  97. stdint.h vs. stdio.h
  98. wchar_t
  99. NEED HELP WITH A PROGRAM....ANYONE PLEASE HELP!
  100. string question
  101. How do I make my own custom C compiler?
  102. correct usage of pointers?
  103. A Question about delete..
  104. The Nature of the “Unix Philosophy”
  105. Dynamic multidimensional array using auto_ptr
  106. Coder wanted
  107. #define p
  108. The use of explicit with constructor
  109. Button class
  110. Not reading in what was written out...
  111. Passing "++a" to a function taking "int&"
  112. How to decide whether it is an English letter or a number?
  113. how do I tell whether the read is an English letter or a number
  114. Struct inside a struct, annonymous?
  115. type-punned pointers!?
  116. Searching the MSDN Win API
  117. best practices using STL <algorithm>
  118. vector memory cost
  119. Strange Question
  120. Sentenced to 66 years and 6 days
  121. Determine if a function has been overridden
  122. Recovering Default new/delete Operators
  123. Help is needed for C program compiled by C++
  124. segmentation error in vector<vector<long> >
  125. STL - delete current object in queue
  126. how to solve this problem?
  127. Streaming message box
  128. update object
  129. g++ 3.2.2 error - "no matching function for call to A::setResponse(std::wstring)"
  130. C/C++ calling convention
  131. (boolean_expression) ? statement;
  132. STL question - an array of sets
  133. nested conditional operator
  134. ArrayOps 2.0 released.
  135. How to get total heap size of a process
  136. how to pass the function 'endl' as a parameter?
  137. Use of bitwise operator for signed number
  138. portability problem
  139. OOP design problem with dynamic_cast
  140. returning reference of a member variable
  141. Three #include guards, which will never break?
  142. program exit, while trying to initialize a class
  143. filling vectors in the parameter list
  144. problem with porting custom app wizard from vc++ 6.0 to vc++7.1(.Net)
  145. exception problem: basic_string::_S_construct NULL not valid
  146. How to initialize a pointer in c++,
  147. compose2 (STL)
  148. How do you find out if a machine is 32 bit or 64 bit?
  149. Can't pass a callback function as a parameter to a DLL
  150. How to add two numbers without using the plus operator?
  151. Yet another pointer issue!!
  152. Segmentation fault if I dont use printf?
  153. Validating user input?
  154. Is this valid C?
  155. Valid C++?
  156. Template Help: Map<T, int> and Set<T>
  157. extern question
  158. extern question
  159. strstr and const problem
  160. What is polymorphism?
  161. stdext::hash_map
  162. "long double" and "printf"
  163. Converting negative integer to octal/hexadecimal
  164. Semi-defined Function arguments???
  165. Static function of some class as a friend of other class
  166. A simple question - how to convert from UTF8 to wide char (wchar_t) on linux
  167. choosing an object to create
  168. Problem about type promotion and equality operator.
  169. Problem about type promotion and equality operator.
  170. multiple inhiretance.
  171. What's next? Virtual wife?
  172. barbershop model
  173. covert time from date Hour min sec format to epoch time i.e time since 1 jan 1970 in C
  174. c++ Tricky / Interview
  175. preprocessor problem
  176. iostream hierarchy to support endianess
  177. memset 'this' in constructor?
  178. Event Viewer
  179. Struct assignment, historical question
  180. ANSI c++ development in .net
  181. ifstream not reading everything
  182. Q: STL priority_queue with boost shared_ptr
  183. map insert cause crash, please look
  184. name of running code
  185. help with a funcition-please
  186. Global Variables
  187. MYSQL question
  188. ihi = y[1]>y[2] ? (inhi=2,1) : (inhi=1,2);
  189. Forcing a keyword to be treated as function
  190. std::map and insert()
  191. conversion from '...' to non-scalar type '...' requested
  192. STL initialize iterator problem with compiler change
  193. Who define __cdecl, __stdcall, etc...
  194. tmpfile and freopen
  195. Feature Article in Better Software Magazine
  196. Feature Article in Better Software Magazine
  197. Is 'enum Colour : int { red, green, blue };' legal?
  198. Can u tell me the explanation reg this problem
  199. Can u tell me the explanation reg this problem
  200. #defining a comment
  201. pointer problem
  202. Whats wrong
  203. To use global variables or no????
  204. Masks: Why?
  205. template inherits from template passing its argument is not legal c++ ?
  206. How to make whole container to create in heap
  207. which c++ book i am not able to get Accelerated C++
  208. incompatible pointer type warning ?
  209. MultiFunctor implementation trouble
  210. spaces & special characters in C++
  211. sprintf causing segmantation fault
  212. incompatible types in assignment
  213. Disadvantages of Multiple Inheritance
  214. problem with <iostream>
  215. Connecting to the database and executing SP in C++
  216. how to use AGC(automatic gain control) in software??
  217. char math?
  218. r- r-value vs l-value?
  219. In-Memory Processing
  220. Linked List problem
  221. Typecast illegal from int to pointer?
  222. Problem of Compiling VTK5.0 with Qt Support in Win2000
  223. strcat help
  224. strcat Help
  225. strcat help
  226. a variable use of variables is what i'm after i think
  227. i want to have a friend!
  228. 如何用软件编程自动增益控制
  229. Program In C
  230. do static method get inherited ?
  231. how do i read odd numbered lines from a file
  232. how do i read odd numbered lines from a file
  233. ctype.h - macros or functions?
  234. how to call the destructor in the case of a endless loop?
  235. help in C/C++ to read .DOC & PDF files
  236. .h problem
  237. Loki Typelist
  238. The world's evilest code formatting style
  239. Attempted to read or write protected memory. C++ dll vs vb 2005
  240. Converting long int to hex with printf in TC 3.0
  241. MSc in Computer Science, at Bristol or UCL?
  242. replace bitfields with shifts and masks
  243. Arithmetic problem
  244. Typedef specializations
  245. wonder about constructors?
  246. Type definiton with structurs probem and fgets
  247. game design
  248. std::list::reverse_iterator not working right.
  249. Is this the correct way to do this template?
  250. Mutually dependent classes where both have only inline functions?
  251. template arguments / compile-time binding of int/float/double numbers
  252. detecting standard support
  253. odd behaviour of overloaded * operator
  254. vector iterators ...
  255. How to put in a multi-line string without quotes on each line?
  256. overloading the [] operator
  257. forward declarations in C
  258. shifts and masks
  259. Calling function exported in a dll..
  260. Problem with string
  261. Statically linked library causes segmentation violation upon C++ throw
  262. Socket communication on multihomed box
  263. unfamiliar syntax: class MyClass;
  264. cout core dump
  265. Problem with Generic Pointers
  266. address of class from within class method
  267. Inheritance question: best wrapper for copying base pointer?
  268. stl hash_map and user defined data type update
  269. string->int
  270. string->int
  271. ISO C 90 standard
  272. Ndis Coding
  273. malloc question again
  274. Multiplying two doubles
  275. object construction recognized as function declaration
  276. insure++
  277. What does this mean in C++ AType(Ptr)[index]
  278. loss of precision in doing file I/O
  279. template static data members
  280. try--catch inside do...while
  281. ignore please
  282. What is this
  283. "Appending" at beginning of file
  284. i need a c programm to implement an expression
  285. Drag and Drop onto console app
  286. New and improved binary class
  287. References question
  288. object of type int
  289. Please compile the attached c++ program for me
  290. Reusing variable argument list
  291. In C++, How do I insert a block of codes in the middle of my Main?
  292. Value Bits Vs Object Bits
  293. malloc questions
  294. Best way to set MSB
  295. Operator Overloading
  296. C++ HTML library
  297. C++ get time in milliseconds
  298. Question about random generator.
  299. how to parse an executable in C and find out if there is any return(RET in assembly) or not
  300. strcpy question
  301. Entry-Level IDE
  302. Why is this working?
  303. What is the problem with this???
  304. What is the problem with this???
  305. undefined reference error compiling demo program
  306. Good C++ XML library
  307. please help with mysterious error....
  308. Segmentation fault char array pointer
  309. constructing and initializing a scoped_array
  310. compile error in demo program
  311. Recover template type from non-template base class
  312. C++ Builder 6 - Getting a value from a DBGrid
  313. Problem with Heap Sort
  314. [Linux gcc] decode MIME RFC1522
  315. copy files in c++
  316. Problems mixing boost::lambda::bind and boost::shared_ptr..
  317. G++ 3.3.2 and Files over 2 gb
  318. Specifier extern
  319. How do I find a compiler that will compile a specific program?
  320. Can I pass addres of constant reference to a function in c++.
  321. OCX in C++
  322. applying a method to an array of objects.
  323. using namespace std;
  324. Is this template possible?
  325. What is best searching algorithm for URL
  326. C Style Strings
  327. STL set question
  328. dynamic array of objects
  329. Doubt on Templates
  330. how to prove 'roundup' arithmetic
  331. #include from #define macro???
  332. Named CTORs - symualting it by tempaltes?
  333. service me
  334. forcing c++ to use an overloaded method
  335. static initialization of array members?
  336. Returning iterator from template class
  337. Using a MS Visual C++ DLL in Borland C++ Builder
  338. C Pointer problem
  339. Hot links
  340. What's better C++????
  341. invalid enum values
  342. legality of forward declaration
  343. Pointer decrementation delivers wrong result
  344. Regarding released memory.
  345. Observer Design Pattern
  346. gnu optimization bug
  347. What's about the future of C++?
  348. Binary outout to std::cout
  349. regarding const modification
  350. Can you delete a pointer without newing it up? (modified version)
  351. malloc() implementation
  352. Can you delete a pointer without newing it up?
  353. CORBA ORB for Linux and C#.NET CORBA ORB
  354. -Bstatic flag
  355. bibliography
  356. Writing a custom libc
  357. why is operator<< not found
  358. how to install vc6 without java vm?
  359. Can we override [][] ?
  360. vector.resize() taking a short time on AMD, a long time on Intel
  361. casting X* to char*
  362. std::binary(n)
  363. namespace trouble
  364. Simplicity has a future
  365. Problem while installing a linux-library
  366. traffic counter in linux or bsd
  367. Dynamic polymorphism vs. Static polymorphism
  368. VC++ keybd_event and VK_SHIFT problem
  369. Help is need immidiately
  370. problem with MMTimer [maybe OT]
  371. Problem with find for string objects
  372. deferring member object instantiation to constructor
  373. Help with Naming Conventions
  374. pointer to pointer
  375. how write a final method in c++ like java ..
  376. problem with size of
  377. output from program - why?
  378. Really easy cygwin / gcc question
  379. How do i view files of a directory?
  380. C++ construct on AIX
  381. pointer to a class?
  382. question about constructor grammar..
  383. Initialisation of reference vs. initialisation of reference member
  384. Modifying the value of key of a map.
  385. convert std:string to LPCTSTR
  386. LL help
  387. error 'unnamed fields'
  388. Bump map in 2D terrain
  389. Need help ... tnx
  390. scope q
  391. What is the purpose of the construct ``if (m <<= 0)'' ?
  392. increment pointer
  393. increment pointer
  394. UNIX libraries in windows
  395. floor of log(k)/log(b)
  396. slightly interresting derrived class problem
  397. C style , one argument, recursive, string reverse
  398. Problem instatiating a template container
  399. illegal explicit template specialization
  400. Working with strings
  401. namespace convention confusion ?
  402. Operator Overloading
  403. PLease help me.Wots the problem with following code....?
  404. a set of N classes?
  405. constructor throw problem
  406. PLease help me.Wots the problem with following code....?
  407. Can list container contain an vector object, such as list< vector<string> >??
  408. memory allocation
  409. DOS using C
  410. applying C preprocessor partially
  411. Converting char to int.
  412. Storing variable arguments for future use in C?
  413. Storing variable arguments for future use in C++?
  414. Diffrence
  415. Difficulty
  416. Modulus with double variables
  417. Style Question: erasing map element in for loop
  418. why does this pointer work?
  419. pointers
  420. linked list - struct problem
  421. Reall biginner
  422. verify inline function
  423. How can we perfom multiplication programatically without using + or * operator.
  424. String Handling
  425. Generalized Loops
  426. Writing <lf> verbatim to file opened in text mode
  427. Hiding a file
  428. Virtual function behaviour
  429. C++ : protections and freedom...
  430. Deleting a pointer...
  431. printf("%s\n", __FILE__); /* why SIGSEGV? */
  432. delete vs delete[]
  433. Work around for the array of references issue
  434. template argument deduction
  435. Me again with same problem.
  436. Help with threads
  437. Fun with const
  438. Limit of a sequence
  439. Is it UB once it's an L-value?
  440. Is it fine??
  441. pointer to function as template parameter
  442. over loading new and delete question
  443. Bit fiddling
  444. Bit fiddling
  445. Load image from internet
  446. Error C3440 on overloaded operator []
  447. Does anyone has already seen a non mutable String based on std::string
  448. "We don't need no steenking headers!"
  449. Subclassing compile error
  450. pointer-to-pointer to char
  451. strange problem
  452. precision problem
  453. Fibonacci Program
  454. vector<vector<double> > & segmentation fault
  455. Near a solution
  456. must iterator be bound to owner/source?
  457. class templates with pointers to each other in seperate header files
  458. 'Looping' an std::list
  459. String Buffers?
  460. Stuck with Bresenham drawing line algorithm!
  461. SYNTAX AND SEMANTICS
  462. SYNTAX AND SEMANTICS
  463. input of a string
  464. strange behaviour
  465. efficient code to do left shit on 64-bit values
  466. need help on coding grammar about reference / pointer /instance.
  467. use same library, other result currupt..
  468. What does the initialization of a reference object do?
  469. need a date look here
  470. x=(x=5,11)
  471. defines and structure instantiation
  472. constant expression with float type
  473. Data initialization (is this correct?)
  474. Sorting Multidimensional Array
  475. Linkage errors
  476. Implementing ORDER BY clause in c++
  477. Variable of type DOUBLE converts number strangely.
  478. Arrays issue
  479. Question about odd syntax: char* c = {"Text"};
  480. Taking a test for a job
  481. Structure through sendto()
  482. VC++ 5.0 runs this different then VC++2003
  483. export/import C++ managed classes
  484. vector of stringstream*
  485. Reference Errors with vectors
  486. Router [speedtouch585]
  487. busco programador c++ senior
  488. Critic of the given code.
  489. paxCompiler for scripting C++ applications
  490. Dev-C++ Error: "In file included from..."
  491. Probably an easy one for you but pls check
  492. Need experts suggestion
  493. Style: preferring parentheses to '=' for initialization?
  494. How delete works!
  495. signal for kill -9
  496. Sequence points.
  497. unexpected unique_copy constness issue
  498. illegal friend templates?
  499. fprintf(fp,Count); gives C2664 error
  500. Static Map
  501. New Software Organization
  502. Right shift >> weird result... Why?
  503. Asignments and different signness of the variables
  504. C++ Parser Web Service
  505. Struct alignment
  506. What is the linkage of a namespace scope typedef?
  507. Return key not displaying
  508. removing a printf statement from my program causes it to crash!?
  509. Multiple inheritance ambiguity
  510. sscanf error
  511. Always making members private/protected?
  512. 8 bit character string to 16 bit character string
  513. virtual mechanism acivation
  514. Template Confusion: Short Code I promise!
  515. using find_if/binary_function
  516. Data Manipulation
  517. structure
  518. data structures please help which book ?
  519. Deploy ActiveX component in Internet Explorer
  520. implicit_cast isn't possible... is it?
  521. IPropertyBag
  522. IOstream reference - source code?
  523. custom streambuf - not working with >> but works with << and .get()
  524. std::max_element real value complex sequence
  525. Guidelines to using Libraries
  526. Help required on getting data from database to cursor and sending to structure.
  527. Can a name of a object be name of any other class?
  528. In Dev-C++, how can I make a rounding to nearest integer?
  529. Class and Struct
  530. Problem with include header file
  531. Gethostname, `FindAtomA' could not be found
  532. Gethostname, `FindAtomA' could not be found
  533. Tree generation & minimax
  534. Warning comes when using Unions
  535. pointer and reference confusion
  536. about design consideration of strcpy()
  537. Has anyone tried something like this to speed up programs?
  538. Extracting keys and values in a map.
  539. set inside a map
  540. Question Regarding Pointers
  541. +0.3 microsecond delay for iterating empty vectors
  542. +3.0 microsecond for iterating empty vectors
  543. about c_str()
  544. Converting C to C++
  545. String comparison?
  546. help dev c++
  547. map of valarray
  548. map of valarray
  549. alphabet q
  550. problem with functions