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 does this not fail?
  2. Floating point load-store behaviour.
  3. weird code.
  4. Left shift
  5. Hash function for float.
  6. is not a member error when trying to init members in constructor
  7. how to solve these equations
  8. how to read a file randomly
  9. MIDL problems
  10. timers in C++
  11. Unallocated memorz being freed in <iostream>?
  12. how to use the origin new operator after override it
  13. Question about static's
  14. routine to return number of rows and columns in a matrix
  15. calculation of cpu idle time
  16. calculation of cpu idle time
  17. W.A.P.
  18. Is it legal?
  19. Help me to find out what is wrong with this code
  20. class definition in template class
  21. How are functions organized in c++
  22. Design question
  23. How to implement sizeof operator
  24. Start point of execution of a program
  25. sd card interface
  26. How to catch a user interruption?
  27. Why can't the source compile?
  28. declaring a stream then defining it
  29. assigning a pointer the address of local variable
  30. delete dynamically allocated memory in a list?
  31. How to use enum from a different namespace?
  32. delete dynamically allocated memory in a list?
  33. Please participate in a non-profit academic research
  34. fork defunct process, already forked twice
  35. combinations ( NchooseK)
  36. memory allocation problems
  37. streambuf in binary mode
  38. explain
  39. explain
  40. Better program design?
  41. Looping question
  42. interfaces,
  43. Using C functions in a C++ program
  44. _POSIX_C_SOURCE redefined (Problems with Python.h?)
  45. linked lists
  46. toggle keys
  47. Variable across instances of class.
  48. Getting a File Name from a FILE *
  49. Question about using namespace std
  50. Computers Get The Cancer Too
  51. copying map
  52. Portable way to compare strings using case-insensitive
  53. scanf question using %[^$]
  54. extracting a report from files
  55. why empty class has size 1 byte
  56. Calculation of address
  57. make_pair with auto_ptr: ... discards qualifiers
  58. 3D library needed to display wire objects
  59. Printing Different Language Characters Using Locale
  60. remove decimal but show cents with sprintf
  61. Moment, Skew and Kurtosis? How to use this Math function
  62. why printf works first than cout
  63. deriving a class from a base class
  64. Virtual function definition
  65. Constructing/modifying va_lists
  66. non-POD type in call to va_start
  67. what is the reinterpret cast operator ?
  68. constructor call syntax
  69. dereferencing problem
  70. get random number in range [10..50]
  71. why is size of empty class is 1 byte
  72. why is size of empty class is 1 byte
  73. why is size of empty class is 1 byte
  74. why is size of empty class is 1 byte
  75. why is size of empty class is 1 byte
  76. why is size of empty class is 1 byte
  77. declaration shadows a parameter
  78. File size difference under different compilers.
  79. acces base class member from derive class
  80. pointer to a map
  81. a little confussion about initialization
  82. I think this should be a memory leakage. Anyone agree?
  83. understanding memset
  84. preprocessor code
  85. COPY DATA FROM A BUFFER AND SEND TO SERIAL i/o
  86. containment of standard c++ classes
  87. replacing blank lines in my .txt data file
  88. Floating Point and Wide Registers
  89. const and non-const version of the same fcn.
  90. How to test for memory leaks?
  91. basic code from Eckel's c++ book
  92. Function argument as char []
  93. Simple problem?
  94. switch error
  95. Indirection operator placement
  96. Problem with scope
  97. Search TXT file
  98. bool flag
  99. Help / NET
  100. overloading
  101. questions about point?
  102. cvs in eclipse
  103. cvs in eclipse
  104. PREPROCESSOR: Multiple expansions.
  105. please help..:(
  106. copy construct and overloading = operator
  107. Problem binding a predicate to random_shuffle()
  108. question on initializing a pointer to an object and releasing the memory.
  109. Nested FSM implementation
  110. Is this #define legal?
  111. Bucket sort...in C
  112. Objectives on C and C++
  113. typedef
  114. tools.o(.data+0x0): multiple definition of `VAR_1'
  115. K&R exercise 4-1
  116. which compiler and IDE will you use?
  117. Forward decleration of enumerations and typedefs in a NameSpace
  118. virtual functions in virtual base class
  119. malloc() and limitations
  120. Pointer arithmetic
  121. Recursion
  122. How to make a sub class a friend in another class?
  123. Convert from std::string to unsigned char*
  124. Strange problem with size_t
  125. Unix and Windows
  126. memory allocation (take 2)
  127. Help with template
  128. List iterators default constructible?
  129. %u printf
  130. Quick question on operator overloading
  131. C++ Installer
  132. Learning C for the third time?
  133. Printf Problem
  134. Problems with STL sorting using member functions
  135. algorith implementation
  136. end-of-file problem
  137. Plzz Explain !!
  138. Memory Leak
  139. help on craps
  140. Anyone know what
  141. How to use lib function "getline"
  142. How to use lib function "getline"
  143. STL find algorithm
  144. How does "delete [] <pointer>" work?
  145. Linked list/Tree using iterators?
  146. Suggestion for practical book for threading?
  147. Vectors deleting memory without loosing data
  148. Random Numbers
  149. Creating tree of objects w/o using pointers.
  150. Direct Pointer assignment
  151. Good Book on Parsing Strings?
  152. const callback
  153. IDE for Linux with good code completion
  154. Portable EOL?
  155. Having issues trying to copy an array
  156. a parent and child class
  157. How to compare compilers?
  158. how to implement timer
  159. secure integer library
  160. What ever happened to?
  161. Download, Zip, and extract
  162. Linked List Confusion I need some expert help Please
  163. Vector of lists?
  164. How do I get the mac address/es in C for Windows XP?
  165. memory allocation wrapper
  166. Subscript const overloading problem with visualc 7.0??
  167. modifying a container outside function
  168. Need help compiling 64-bit C++ Code in VS2005...
  169. float? double?
  170. STL vector problems
  171. typedef question
  172. Problem linking netcdf - Undefined References...
  173. This code must have crashed....but works fine
  174. Someone help!
  175. Instantiating a native class from a /clr DLL
  176. Class / Member Class relationship?
  177. Problem with in-line "typedef" and class cross-reference. Need help.
  178. help me plz
  179. Format problem with sprintf
  180. finding how much time that is consumed?
  181. Requeting Book suggestions/comments
  182. Urgent Need
  183. Copy Constructor Qtn
  184. What value
  185. = operator: vector
  186. Can't work with volatile objects?
  187. Canonical way to copy an array
  188. Performance File Parsing
  189. transform on valarray
  190. Is it declaration or defination?
  191. Exceptions across shared libraries (gcc 3.3.3)
  192. Help with memory leak problem with datatype string in C++
  193. simple array question
  194. Is this a valid c++ code
  195. About Bit Vectors
  196. Passing String with \x00
  197. string.fine(string+string...
  198. inverting a string
  199. Is there a way to write a memory leak detector supporting new(nothrow)?
  200. How defined is this?
  201. how to use the fread() function???
  202. PROBLEM: why can't auto-covert char [10][10] into char **
  203. Help understand Templates
  204. discuss portibility of this ENDIAN testing code
  205. Is there any corresponding C++ component for java.lang.reflect?
  206. Using Multiple CPP files
  207. res protocal for point to swf resource file
  208. problem about insert integer to link list
  209. Initialized arrays using new
  210. Help needed for strings
  211. Template type deduction issues
  212. Arguments that are not used
  213. Getting linking error: not found in vtable (Trying to understand whats wrong the way I did my classes?)
  214. Function that return a array
  215. Command line parameters - argc and argv[]
  216. template re-initialization question
  217. Strange sizeof behavior
  218. Plz solve my problem
  219. Plz solve my problem
  220. Calling function in classes
  221. does STL has a binder or an adaptor for type-casting?
  222. Cannot convert 'const void *' to 'const char *' in C++
  223. STL list/map - rest size
  224. ABOUT ADDITIONAL
  225. syntax of copy constructor
  226. linking c files with a c++ program
  227. Calculation of Rotation
  228. STL vector
  229. Is it ok to pass 'memory address' to free()
  230. Opaque pointers
  231. Help with destruction of an object created with the new operator- destructors
  232. "define" and "malloc" more
  233. Question about "define" and "malloc"
  234. Learning to program
  235. How to be a freelancer?
  236. looking for statefull snprintf
  237. how to put template class into container
  238. goto last 'active' tab
  239. template inheritance
  240. const reference vs. value
  241. "To many files open error <EMFILE>" bug
  242. How to allocate 128KB in a buffer using the farcalloc???
  243. Screen Editing
  244. ambiguity: same class declared twice
  245. Calling a python script, and getting the returned result in C
  246. ahww my make file, redefinition despite #ifndef
  247. Classification Criteria about skill of Programmers C++
  248. using sprintf() with 0's
  249. boost from_time_t function has no counterpart
  250. Anyone have The Waite Group's 'Learning C' floppies?
  251. [crosspost] Programowanie w C uC a unit testy
  252. could use help on a simple problem
  253. Operator< overloading
  254. Curious Error I Cannot Figure Out (templates)
  255. struct with constructor: Compiler Warning.
  256. help for writing my own assert()
  257. help for writing my own assert()
  258. Code execution Tracing
  259. /NODEFAULTLIB warning in Visual C++ 6.0
  260. Can Someone please help?
  261. question
  262. Fast Erase on Map
  263. Split a vector
  264. How to show in screen numbers greater than 32 bits
  265. Question about copy constructors / distructors
  266. Incorrect time_t value from time() in signal handler
  267. Difference between template function specialization and function overloading.
  268. Alias for a std::vector that does not take space
  269. Come on tell me(its interesting)
  270. Can we determine stack size & Heap size at runtime ?
  271. plz help me out(Dynamic Allocation)
  272. How can I determine the size of the heap
  273. reference
  274. reference undefinded
  275. Error of Display of Unicode Character on ReportViewer version 8
  276. question about using template class
  277. Another C++ compile issue
  278. difference between templates and macros
  279. templates and local types
  280. strange template problem.
  281. integer promotion and arithmetic conversion
  282. Alias for a std::vector
  283. What's wrong?
  284. Software Testing & Quality Assurance FAQ
  285. || and &&
  286. File stream close followed by open leads to inconsistent behavior
  287. "extern" question?
  288. Address of a string
  289. Explicit instantiation/specialization confusion
  290. slow down the exe(15/08/06)
  291. slow down the exe
  292. programming wiki needs you
  293. programming wiki needs you
  294. How to fool getpass()
  295. Efficient data structures
  296. Sequence of same rank constructor call
  297. how to fake argv?
  298. Pointer question
  299. Unicode characters
  300. Abstract-Class Problem
  301. I want to know how to create TSRs for the Windows XP using C.
  302. Help with C++ compile error
  303. GLUT.H: Only one of a set of overloaded functions can be "C"
  304. map and for_each problem
  305. Kamikaze Object
  306. how to switch off an echo from cin?
  307. Numerical overflow
  308. catching unexpected segmentation fault and performing cleanup
  309. HELP
  310. Limitations of #pragma section shared, rws
  311. Help with undefined references
  312. making a generic function wrapper
  313. Where to Find Pipe Information?
  314. Read the size of each vector in a map of vectors
  315. wrapper class for STL lists
  316. std::bad_alloc
  317. Const iterator, private struct.
  318. slow down the exe
  319. NULL pointer initialization
  320. interrupt service routine using VC++ 2005
  321. stl map, lower_bound and upper_bound
  322. List<class> or list<Vector> access ?
  323. quine_C.c
  324. qsort - Segmentation Fault
  325. How to set parameters in command line
  326. get the ip address and map a drive according to IP
  327. Meaning of unsigned char
  328. francis glassborow is a miserable old coot
  329. Using an object's member function as the action passed to for_each
  330. List available kernel functions with descriptions.
  331. New to C language - HELP Required
  332. {} initializer as expression
  333. Numerical overflow
  334. how to handle big numbers (n x 32 bits)
  335. What operators cannot be virtual?
  336. writing wide chars
  337. Regarding contiguous dynamic memory allocation
  338. Dynamic Memory allocation issue
  339. Storage of char in 64 bit machine
  340. NRIEvents - Independence Day Contest :
  341. NRIEvents - Independence Day Contest :
  342. how to test value's overflow without comparison
  343. how to test the overflow
  344. cyclic defination problem.
  345. Inner classes and friend
  346. string2float
  347. static members and variables
  348. array of size 1
  349. sizeof(EmptyStruct) in C and C++ (was: Base {}; sizeof(Base) == 1?)
  350. "Right" use of namespaces
  351. cacelling shut down from a console application
  352. cancelling shut down from a console application
  353. Array of objects where the size of an object depends on user input
  354. Celtic Knots vs Spaghetti
  355. Overriding std::cout or std::cerr
  356. read chars from a string
  357. program confusion
  358. program confusion
  359. The Giant Spaghetti Monster
  360. Container to pointers of inherited objects
  361. switch statement with the string being tested
  362. switch statement with the string being tested
  363. what is the name of operator ->
  364. basic string question
  365. Game engine source code available online
  366. Base {}; sizeof(Base) == 1?
  367. calculating the area of a circle problems
  368. I have just creted a loop to sort integers in the input loop who's it
  369. help! desperatly seeking for the answer... encryption problem
  370. Static Binding Problem:
  371. what does "int i: 4" signify here????
  372. design approach
  373. Pointing to a class
  374. Readin integers form *.txt file
  375. structure size
  376. Per-type compile time constants?
  377. passing a 2-D array to a function by reference..
  378. template implementation not seen by the compiler
  379. serial communication
  380. plz correct this program
  381. plz correct this program
  382. Online Counseling / Group Therapy / Creative Support *CYBORGS*
  383. segmentation fault
  384. Colecting data from web pages using C++
  385. Learning GTK+
  386. understanding link list
  387. Newby wants to know how to link using Bloodshed
  388. Mapping Class/Structure to use with DB
  389. cin.seekg() problem
  390. Automatic registration of class specialisations
  391. Help me understand this compiler warning.
  392. Calling dlsym()-ed function causes segfault
  393. My compiler wrong?
  394. Loading number from a file
  395. Explicitely specifying the size of a std::vector
  396. Cyborgs work better than Alice or Eliza
  397. memory managers and malloc/free
  398. Question about text -- Effective c++
  399. virtual constructor ideom with templates
  400. Modified gets_ws() function
  401. reference
  402. Help needed for a string sorting pragram
  403. Specialisation of member functions possible?
  404. array and vector
  405. How to use vector<T>::reference?
  406. Pointer Problem
  407. Using CommonC++ library to build socket-based client-server apps
  408. Const iterators
  409. Online Expert Help
  410. Platform Independence
  411. Programming a web server in C
  412. How to change colour of console text in c
  413. strtol const-ness problem
  414. Use eBay? Get 100+ POSITIVE FEEDBACK in just 7 days
  415. To generate a random numbers
  416. Inside a constructor: can you assign the "this" pointer to a sub-object?
  417. problem with strtok()
  418. Is this the easiest way to backup objects?
  419. Construction of Object c++
  420. Student is Desperate
  421. initialization of a static member array of objects
  422. Overloading a buggy != operator
  423. passing a union's field to a function
  424. How to assign memory dynamically to a array of structures
  425. How can i change the color of a particular cell in TStringGrid?
  426. How to have a template class as friend?
  427. Potential Memory Leak problem in std::string in C++
  428. Automatically converting object to double
  429. How to initialise aggregate member?
  430. friend classes
  431. Named variable in a list?
  432. Template Function Pointers + Inherited Return Types
  433. reading a file
  434. HPUX Invalid Address Alignment when assigning double, casting to same type works?
  435. Permutation
  436. speed and optimisation
  437. std::string and std::wostream
  438. Rotational operator
  439. why is this not wrong?????
  440. Variable no. of arguments
  441. Returning a wstring from a method...
  442. Templates and virtual methods
  443. Bit by bit manipulatios of variables
  444. Difference between enum and #define preprocessor
  445. need def for conio.h
  446. EPS Tiff Preview
  447. how to save data in array permenantly
  448. graphic animations
  449. Can I Trust Pointer Arithmetic In Re-Allocated Memory?
  450. Creating a number with a range
  451. a question about constant
  452. Can't compile with call to function in global scope
  453. Can't compile with call to function in global scope
  454. Is C++ decompilable ?
  455. Help-New Student Trying Hard
  456. Need Help Declaring a Pointer to an Array of Structures
  457. Does anyone know...
  458. best practice for returning elements from a container
  459. cannot use char and integer in the same program
  460. How do i declare a byte variable?
  461. help me plz i am really in need of solution
  462. What is the "philosophical" meaning of const?
  463. E-book on MFC C++ 6
  464. access struct member fields dynamically
  465. help me pls
  466. fstream buffering
  467. operator<<() in namespace or global?
  468. decaying of array
  469. How to create objects dynamically
  470. how can i open multiple files in c++
  471. Need help with structures and files
  472. creating dynamically growing string using char*
  473. How can I convert UNICODEwchar to ANSIC_char using STL.
  474. Latest in Ajax - Coming out in Private Beta in the next couple of weeks - samfind
  475. Latest in Ajax - Coming out in Private Beta in the next couple of weeks - samfind
  476. dynamically allocate a multidimensional array
  477. Stopping Repetitive Strain Injuries
  478. Stop Repetitive Strain Injury
  479. sizeof
  480. Emulating Access Insert Hyperlink GUI
  481. Designing an API in C++
  482. This is not an Ad , I want to help
  483. realloc causing segfault (under Electric Fence)
  484. volatile and pointer functions
  485. index to iterator
  486. map containing a string key and a templated value...
  487. Errors with templates
  488. Dicom communication protocol
  489. stl deque multiple push_back & remove_front
  490. stl deque multiple push_back & remove_front
  491. Does C distinguish between a C source file and a text file?
  492. Storing a 3D scene for
  493. Help Needed : Race condition while removing semaphore(sysvsem semaphore)
  494. Making Forward Declaration Class's enum Member Visible
  495. How can I run a c executable in pwd ,while the executable is in some other directory
  496. Stack and Heap
  497. How to compile the HelloWorld of boost.asio?
  498. C++ emitter templare ?
  499. Studio
  500. C++ or C?
  501. Comparison operators
  502. shared library accessing common data
  503. Passing an object's method as a callback
  504. Big Problem! How to overload operator delete?
  505. namespace
  506. namespace
  507. anyone ever take ikmnet test for visual C++ 6
  508. How to develop a simple client in C for a running Web Services
  509. switches
  510. Audio and image capturing
  511. TDD doesn't suck
  512. parsing telephone numbers and amounts
  513. legality of re-using code?
  514. malloc(): memory corruption (fast) [Cant seem to figure this out] on FC5 + G++ 4.1.0
  515. Static class member Linker Errors
  516. simple port access
  517. vector
  518. Koening lookup and templates
  519. How to overload Subscript operator
  520. remove dash in ssn with sprintf
  521. a very simple question, pls help a new programmer
  522. i need help in structures .....
  523. Trying to understand "restrict"
  524. Removing Copy Constructor functionality
  525. perferred way of converting const char * to const std::string &
  526. Relational operator outside loops and conditionals..
  527. std::vector - allocation size at declaration?
  528. bestchoice4u
  529. atof equivalent for long double in standard ANSI C?
  530. Network application design
  531. Network application design
  532. Recursive structure?
  533. 3DES algorithm
  534. Passing variables from class to class
  535. A question on multiple-inheritance and its usefullness
  536. Using "this" pointer as a parameter in a method
  537. ALLAH
  538. Extremly fast dinamic array implementation
  539. COM components
  540. How to find_if in a map?
  541. Cyclic dependencies
  542. virtual printer device
  543. accessing a text file by two applications
  544. Implicit default constructor is not called
  545. Overloading normal functionality ???
  546. Simple question (namespaces and operators)
  547. Simple question (namespaces and operators)
  548. The new operator
  549. The C++ Standard Doesn't Permit Overloading new and delete?
  550. reading binary files on windows and fedora using fstream