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