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. code optimization- Removing if .. else conditions in for loops
  2. initialization lists trouble
  3. specifying interface without definition?
  4. Array size ?
  5. #if command at header file
  6. some help required with maps , stucts and vectors.
  7. How to initialize a const char[] member variable
  8. HDD RAW sector reading in Visual C++
  9. what is it for?
  10. how to connect with sql and ms access through c++ file handling
  11. STL collection to wrap a raw pointer?
  12. function template
  13. ARRAYS AND FUNCTIONS
  14. Writing classes which are "streamable"
  15. Pointers and Vectors
  16. Finding a directory using a partial path name
  17. C++ list and private copy constructor
  18. GLib problems
  19. How to set the filesize
  20. Data Structures In C++
  21. question
  22. trap representation
  23. C function for snmp
  24. Data Structure Using C
  25. tutorial
  26. java language
  27. using c++ to design internet protocol
  28. detecting integer overflow
  29. Why do we need non-virtual destructor?
  30. Passing structs by value
  31. Macro for Backslash
  32. modify this c++ source code
  33. LInked list Problems, Please help
  34. undefined reference help
  35. C - Const Struct Members
  36. fread returns more than i want
  37. overloading global dereference operator?
  38. What purposes do types serve?
  39. a problem with static declarations
  40. 'x = this' in constructor
  41. problem about "default template arguments may not be used in function templates "
  42. stack&recursion
  43. alignment of structures in c++
  44. A simple program with Monte Carlo
  45. How do I get bitwise access to a file?
  46. ?explicit instantiation member function of class template
  47. How can I write the most efficient code about this problem?
  48. Boost library and Borland Builder 6
  49. Does C++ have HugeInt?
  50. Calling free() on an uninitialised pointer?
  51. Is memset used only for strings?
  52. sizeof and incomplete types
  53. Segmentation Fault
  54. New to c++, need help with advanced topics
  55. class organization (very elementary)
  56. Dynamic arrays?
  57. String of function names
  58. Strange behavior on an if statement.
  59. Large Random Number Generator
  60. New style header files?
  61. Binary tree Algorithm
  62. auto_ptr explained
  63. binder2nd
  64. CLASS ?
  65. bind2nd
  66. Wrapping C code into a C++ object
  67. How can i read a webpage in a buffer
  68. Smart pointer implementation.
  69. implicit conversion of bool to int
  70. Does the following program architecture make sense?
  71. Does the following program architecture make sense?
  72. Segmentation Fault in my program
  73. int main() or int main(void)?
  74. Where is the mistake?
  75. Operator overloading
  76. what 's the precision of 'double'?
  77. Multiple Inheritance
  78. Try, Catch, And Throw
  79. Regarding Q. 14-5
  80. extern usage for template instantiations
  81. is_polymorphic
  82. Edit registry using Visual C
  83. Compiler error with class templates - please help me resolve it
  84. Something like Reflection possible in C++ ?
  85. Windows screen scrape app using C++?
  86. I have to delete the whole line in the file (first word matches), how can I ?
  87. Type of result of pointer arithmetic
  88. dynamic memory
  89. Convert const int to char*
  90. Redim an array (new / delete)
  91. Is this a good use of friend?
  92. Wanted: tool to convert code to flowchart
  93. How many derived classes is not too much ?
  94. Please Help! Strings are confusing!
  95. Variable declaration taken as a function pointer declaration
  96. how to get statistics about memory usage ?
  97. Try catch in ctor initialization list
  98. Initialisation
  99. Structure member offset.
  100. error in c
  101. For a copy of The Embedded Newsletter
  102. lock file or folder using c/c++ in windows
  103. Sorting a vector of classes
  104. Polymorphism
  105. Casting problem ?!
  106. Eclipse Plugin
  107. printf: Centre justify data
  108. Pointer string assignment problem
  109. stringizing a hex value in the preprocessor
  110. please tell what is error on my coding?
  111. How to Solve a Root...
  112. Is this valid in C?
  113. Passing speicifc class elements as arguments without explicitly listing them - is it possible?
  114. syntax errror
  115. Access screen memory or entering graphic mode
  116. problems with extern.
  117. pointers
  118. how to avoid reinterpret_cast in this snippet?
  119. recursion
  120. Simple C question. Please Help
  121. Loading/Saving a structure using <fstream>
  122. Fibonacci
  123. Template overloading
  124. What other newsgroups...
  125. std::istream_iterator to read whole lines?
  126. c library conformance testing
  127. Q about object assignment
  128. syntax error near unexpected token `<bigaf>' - AIX C++ Application Porting from 32 bit to 64 bit
  129. Sequence points
  130. GNU C vs BCC - huge output file
  131. about "++" and "--"
  132. About comma expression.
  133. elementary question about setting up class
  134. time coversions and effect of time drift.
  135. Graphic Library
  136. ptrdiff_t (pointer arithmetic)
  137. c pointers (ptrdiff_t)
  138. swig python-bcc32 problem
  139. console width?
  140. how to sort the data present in file in ascending or descending order
  141. Solaris, Xdesigner, C......
  142. Syntax of constructors of inherited classes calling the original constructor
  143. a template meta problem
  144. Efficiently compiled code
  145. Release/Build Problem - Adding a pointer variable solves it???
  146. Standard Defines
  147. Operator new and POD-struct
  148. Binding local variables to a signal connection
  149. URGENT HELP NEEDED
  150. very basic c++ question hopefully
  151. Help on istream& operator ?
  152. gcc options
  153. nested classes accessing inherited protected members of parents
  154. Program Crashing when freeing memory
  155. Size of Stucture without sizeof()
  156. Mode?
  157. Hashing to Disk
  158. How to realize the function ?
  159. Cross Platform Compliling
  160. polyphony of average sound card
  161. Is my code good?
  162. Reading bits at an offset
  163. small c program
  164. Templates vs Inheritance Literature?
  165. Determining size of file
  166. c pointers (ptrdiff_t)
  167. question posted on another forum (ptrdiff_t)
  168. Factory specialization
  169. Seek to the last line in a text file
  170. accessing a hidden variable
  171. Code understanding problem
  172. How to disable/enable displaying user input in console
  173. Volatile classes
  174. boost::bind problem in VC8
  175. why sizeof is different ??
  176. Type punning
  177. Help on C++
  178. Creating a text editor in C
  179. Neater method of creating a linked list
  180. Help for my code
  181. how to use sscanf?
  182. Reg. code conversion
  183. Reg. code conversion
  184. hi all plz help me
  185. design question
  186. gcc compile error about vector
  187. gcc compile error about vector
  188. Why does getenv() work backwards?
  189. Simple Decimal class?
  190. choose between script and c++
  191. static variables in class
  192. Help wanted on some source codes
  193. how to split a string in C++?
  194. help with converting numbers to Charater strings!
  195. C Interpreter and sizeof operator
  196. C++ interface to a graphics package ?
  197. Assertion failed
  198. Compiler error with nested templates (simple example included)
  199. From String to characters
  200. Calling Com+ From C++
  201. Array size depending on symbol address
  202. STL: memory allocation
  203. Unexpected destructor call
  204. STL: how to convert wstring to string
  205. I need a help in c++ data structure plz
  206. More questions on realloc - Thanks
  207. differences
  208. "paste" problem when reading user command from console
  209. More questions on realloc
  210. Problem: shared object loading runs constructor of a static object, but static linkage does not.
  211. f_locals is NULL inside a method
  212. sizeof a union
  213. strtok() and EOL
  214. cout problem
  215. Isn't a function template inherited ?
  216. undef. behaviour in ctor-exc. handlers
  217. _bstr_t behaviour (how it should work in ANSI C++)
  218. Problem with endl in derived streams
  219. Help Needed!!
  220. How to redefine arithmetic operators.
  221. How to forward declare a class in namespace?
  222. Class recursion
  223. read / write locks and deadlock detection
  224. C function for returning number of digits?
  225. problem with simulating typedef templates
  226. Get rid of a (float) cast in timer class
  227. problem with default constructor of global object
  228. anyone feel like programming an OS?
  229. direct string manuplation not working
  230. dynamic memory
  231. How to specify dynamic object names ?
  232. problem using C++ classes with AIX xlc Version 5.0
  233. Why different from expectation
  234. realloc question
  235. can not figure out the problem
  236. Qualifier "volatile" - probably OT.
  237. function returning array of strings
  238. List of reentrant C library functions
  239. typedefs vs. using-declarations
  240. sometimes crashes
  241. typedef question
  242. What is the sentence mean?Thanks
  243. multiple storage classes: error
  244. rand()
  245. Memory usage at runtime
  246. Protocol template fails in Xcode. Is there a better solution?
  247. operator new does not accept 3 arguments !?
  248. iterator beyond the first element
  249. Random vs. Sequential
  250. missing return
  251. fstream constructor
  252. format of double and __int64
  253. circular dependency...
  254. question
  255. leak and void*
  256. Please Help With Linked List Project
  257. Const Friend?
  258. Overload operator << question.
  259. error LNK2019 problem
  260. Even Parity
  261. For Loop Does not End
  262. Help with array medians, modes, and searching
  263. Singleton Null Reference Exception
  264. Returning containers
  265. problem with encryption function sending hex values
  266. Why no local functions ?
  267. Question about macros
  268. Need Help with this Program.
  269. can we include and use different fonts in C programming
  270. sort / vector
  271. #include<iostream> doesnt work in VC++ compiler
  272. Where should global variables be placed ?
  273. Clocking proccesses' time
  274. C++ Unhandled exception at 0x00000000
  275. Advanced C
  276. Get copy of object from pointer?
  277. Variant return type
  278. CCITT in C++ for AVR
  279. How to include header files ?
  280. is this style good ?
  281. fstream array struct
  282. Creating Dynamically loaded libraries
  283. hi
  284. Very Fast Dyanmic Two Dimensional Array Class for Critical Review
  285. Calling VB6 Dll From C++
  286. getenv()?
  287. problem about compilation of MTL with MS.Net
  288. New Logic
  289. Operator Precedence
  290. How to implement reflection in C++
  291. NEWLINE IN IOSTREAM
  292. World Longest Palindrome
  293. Need assistance with detecting improper input
  294. Assigning the address returned from new to a reference
  295. Return of struct
  296. sending hexadecimal data to cryptographic hash functions
  297. [vc6]problem with resource editor
  298. time_create, time_access, etc...
  299. Smart pointers: Conditional initialization
  300. Memory Speed Problem
  301. Read dynamic string
  302. Order of c'tor call in case of virtual inheritance
  303. how do i declare a reference to a boost shared pointer
  304. simple question regarding fact function
  305. Out-of-line template function
  306. Function and variable declarations
  307. Little question about what C can do (First steps learner)
  308. Smart pointers and member function pointers
  309. Inherit member variables?
  310. typical practise for #include's
  311. Optimization
  312. freeing string literals?
  313. Operator <
  314. creating int from contiguous bits in an int
  315. Programmers - what's the best way to do this?
  316. gcc -S test.c -o test ??
  317. Text labels...
  318. Text labels...
  319. Copy Class from Base
  320. What percent from the windows applications are written in C++?
  321. Data type problem in encryption algorithm
  322. how to put scrolling option in data read from a file
  323. overloading operator ->*
  324. Unable to find system.h
  325. Help with dd array
  326. Help
  327. Tricky pointer problem?
  328. Upcasting ..
  329. pointer suddenly destroys
  330. running multiple codes
  331. oveloading operators
  332. Assignment operator=
  333. any good new groups for c# language
  334. file open
  335. Opening an already Opened file
  336. Compiling a simple C program with Microsoft Visual Studio .NET 2003
  337. #undef for function
  338. strtok
  339. sort an array of strings
  340. Where to start on an error?
  341. friendship with nested class
  342. Help with File pointers in C
  343. Where to place definations and declerations ?
  344. parse XBase to work with quicken?
  345. A description of function parameters
  346. what's the best hash function?
  347. Two-Dimensional Dynamic Arrays
  348. how can i verify if a number has mantissa???
  349. STL strange problem
  350. Get pointer of object
  351. Problem creating new posix thread
  352. how to read datas from an excel file
  353. Learning pointers question
  354. Does this look normal to you?
  355. Implementing dirname with C++ strings.
  356. template parameters as friends
  357. Converting float to String
  358. Meaning of this array
  359. Best PHP or C libraries for handling images, video, and music: watermarking, thumbnailing, truncating, fading, etc.
  360. struct ?
  361. assigning array addresses to integer variables and vice versa
  362. Dynamic call from c++ to COBOL and Vise versa
  363. template help
  364. How To Write Unmaintainable Code
  365. API initialization and cleanup
  366. another visibility problem
  367. system programming thru c
  368. Help with a DLL, please
  369. Message Service implementation in C++
  370. Object slicing. How to??
  371. How to Accept Variable number of arguments ?
  372. String Pointer To Function
  373. How to make arrow keymove over the help button in Cpropertysheet in MFC
  374. cannot open huge file (beyond 4GB) with fopen
  375. Who wrote the first Hello World program?
  376. problem with templates using Sun Forte 7 compilers
  377. List of reentrant C/C++ functions
  378. input error
  379. errno from fopen()
  380. input problem
  381. null ostream?
  382. Template Function Format
  383. STL :: Set operations on sorted structures
  384. Problem with linker
  385. Read the contents of an audio CD, HELP! PLEASE!
  386. Threads with STL - can I run faster?
  387. forward declaration of classes
  388. segmentation fault
  389. Does C have function to get angle?
  390. function automatically returns the value
  391. Function return value automatically
  392. Function return value automatically
  393. Help with double linked lists
  394. sprintf equilvalent in C++ ?
  395. SDL first try problem!!
  396. Evaluation order of function parameters
  397. Can I abbreviate array in C++
  398. Function call problems (64-bit)
  399. Transparent Class Wrapper
  400. XPATH implementation in C
  401. Large Function, is it burden ?
  402. Inheritance
  403. visitor woe
  404. Is C++ for me?
  405. why the vc2005 Express edition can't create win32 project?
  406. How to find exponent and mantissa from a Q Format
  407. Is there any way to crash the gcc itself
  408. How can to write a c program without a main()
  409. what is the difference between the 2 sentences?
  410. Bit manipulation
  411. Howto check value of constants in a macro
  412. have an exe file in windows
  413. confusion with interface name
  414. forcing 32-bit long on 64-bit machine?
  415. Copy structures
  416. Geodetic Functions as DLL
  417. including files from GNU GSL
  418. size_t - why?
  419. Macro that Defines another on invocation
  420. Warnings with gcc
  421. gsl for complex number
  422. ANSI Standards for C and C++
  423. to get macro name from macro value
  424. Write/Read struct to file
  425. Member layout of structures and type convertions
  426. Counting occurence of character in a string
  427. converting a character in a string to an integer
  428. Reading from a text file
  429. Hangman Game
  430. Having problem with Queues
  431. Common c++ library by gnu
  432. "cannot convert parameter from 'short **' to 'void **'"
  433. Clearing a structure - syntax s = {0} question
  434. binders to members of members
  435. Geodetic Functions in a DLL
  436. Problem with Control-IDs of Windows (c++ and TestComplete)
  437. C++ Property template
  438. Programming Beginner
  439. Neon WebDAV client for WinXP
  440. Neon WebDAV client for WinXP
  441. Neon WebDAV client for WinXP
  442. auto_ptr_ref
  443. performance of c++ programm
  444. delete this, Arrrrrgh!!
  445. Enforcing derivation constraints between concrete classes
  446. Global Pointers
  447. problem finding the average
  448. How to do this? (Template selection?)
  449. Clearing structures with member functions.
  450. What's wrong with this program?
  451. How to add scroll bar in the child windows in MDI with Visual c++ 6.0
  452. set up program
  453. How to test for valid variable reference ?
  454. references - how is it useful
  455. Output in C++ with MPI.
  456. Class Help
  457. Cannot convert from char[20][40] to char*
  458. No Operator Found - Need Help.
  459. Got most of it done, but need some help...
  460. Where is sqrt defined?
  461. what are forward declarations
  462. step in-between printer (LPT)
  463. C# properties using C++ Templates, is it Possible?
  464. Pointer casting in GCC 4
  465. templates def/decl/mechanism
  466. Multi user programs
  467. GCC ERROR
  468. temporaries
  469. Design Question
  470. setfill('\t')
  471. Callback functions
  472. Lectures on channel estimation, frequency estimation?
  473. Edit box should support multi byte characters
  474. Commented out formal parameter?
  475. Why pointers?
  476. Sharing of objects across threads ?
  477. Not Using References Properly
  478. Need Help, Can you find the error???
  479. pointer to a vector of pointers
  480. Help on struct ?
  481. Is this a good method of repersenting an allocator?
  482. Using templates to enforce compile-time bounds checking
  483. iterator and const_iterator
  484. istream and ostream detail.
  485. Classes
  486. help please!
  487. Different ways of implementing virtual functions by a C++ compiler.
  488. cannot call systemfunction close
  489. Compiler Suggestions
  490. template function
  491. specialized containment???
  492. Help, read input from file ?
  493. C++ vs. Matlab
  494. What did the compiler do with my program?
  495. inconsistent behaviour of const_iterator and const_reverse_iterator
  496. Shared object linking problem
  497. ld.so.1: .... libstlport_sunpro.so.4.5: open failed: ...
  498. What is Max Heap, how to insert
  499. how to read a stream from a http source
  500. SHA1
  501. Recursion (slightly off-topic)
  502. threads within c++ class
  503. Structures
  504. String
  505. perimeter of triangle
  506. perimeter of a triangle
  507. perimeter of a triangle
  508. perimeter of triangle
  509. Bringing up a running program?
  510. How to create header file with compiling
  511. the difference among these ways of swapping two ints
  512. Dev-C++ - Files .o
  513. Binary File I/O and ^M
  514. TEST
  515. Sign of integer function.
  516. Can a C++ program affect time and space ???
  517. Reboot a PC with C++ code
  518. read data from file into structure ?
  519. What does & here mean? -
  520. Filling 2d array in less than O(n^2) time
  521. Best way to handle 'ostrstream'
  522. istringstream ?
  523. can't remember
  524. About c
  525. Renaming all files in a directory
  526. Dual search data structure
  527. codecvt mbstate_t values
  528. temporary and constructor
  529. difference in including the header files
  530. Naming convention fit for C++
  531. friend ostream& operator <<, compiles and runs in Dev++ no output or error in Borland
  532. stl container that store unique items
  533. How will it new/allocate memory when a class have string-type members?
  534. How to manange files of un-known numbers with STL?
  535. Why std::ostringstream inserts number group delimeter and how to disable this mode?
  536. Why doesn't this display the string?
  537. getting an array from an STL vector
  538. Empty class takes a byte?
  539. Available C++ Libraries FAQ
  540. operator^^()
  541. Are new std::map elements initialized?
  542. Question about the requirements of std::vector
  543. STL containers in C++ class public interface
  544. Image retrieval in IE's browser cache (Win32)
  545. creating alias for a class object
  546. Including files into executable
  547. DOS Window
  548. IS CONSTRUCTOR A SPECIAL MEMBER FUNCTION? OR SOMETHING ELSE HAVING THE SYNTAX OF FUNCTION?
  549. FILESTREAM HELP NEEDED
  550. How do you compare associative data types?