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