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