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