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