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. Help with type returned
  2. Double-Linked List, Cont'd
  3. Fibonnaci
  4. accessing const array reference in inherited-templated class
  5. Double-Linked Lists
  6. bit array in C++
  7. undeclared indentify error
  8. Strings in C
  9. Random Numbers and Removing only 1 item at a time
  10. calling all would be writers for CUJ
  11. what is the error
  12. How do we find out stepping over somebody else' memory
  13. How to identify who cause memory leak
  14. declaration Q
  15. sleep( ) misbehaving
  16. How to check allocated memory size
  17. UNICODE variant of fopen or ofstream to be ANSI compliant.
  18. fatal error please help
  19. DLL - C++ - C#
  20. Anyone who can help me to compile a source code package under the Solaris platform?
  21. Cursor Movement
  22. Diffence between CreateThread and AfxBeginThread
  23. Hierarchy of objects, object "deep down below" needs to access one high up
  24. nested for loops behaving oddly
  25. printf() in a loop without \n won't display anything till the end
  26. Is there any way to overload "typecasting"
  27. pointer initialization in ctor
  28. functions
  29. Dialog size question
  30. C++ compiling and uncoompiling
  31. template & typedefs declaration problem
  32. error in yacc
  33. Ascii-Art word converter lib
  34. For a copy of The Embedded Newsletter
  35. C++ Internals handling this pointer
  36. how to check no. of spaces were skipped?
  37. Finally, a release candidate of the "Pointers" document (introduction to pointers)
  38. Soliciting for C programs or snippets to test alias analysis
  39. structure and pointer problems?
  40. structure and pointer problems?
  41. C program can't catch exception from C++
  42. structure and pointer problems?
  43. vector of struct ?
  44. Tool for detecting Array overflow
  45. a question on array
  46. Question Can I use explicit qualifier <C> after member function name of a template class?
  47. split string into chunks
  48. Stock Quote Order Level Book
  49. Stock Quote Order Level Book
  50. fstream::open
  51. why it is not work?
  52. passing a templated struct...
  53. Question about the operator<<
  54. calling overloaded constructor from constructor
  55. what's wrong with this code?
  56. friend operator= ?
  57. static member of a templated class weirdness
  58. STRING SIZE PROBLEM
  59. Split a class across two source files
  60. Function to determine the length of an integer string
  61. Linker errors while compiling C++ applications on AIX 5.3 machine
  62. Evaluate string expression in if statement?
  63. Explain why this prints the same
  64. 64 bit integer
  65. copy constructors and overloading = What is the difference?
  66. Reason for ISO ; warning
  67. Reason for ISO ; warning
  68. char to wchar_t conversion
  69. Question about bitwise operators
  70. std::string copy constructor fails
  71. allocate double dimension array in C
  72. How to write and read on network interfaces?
  73. operating system
  74. State Machine Implementation
  75. about struct keyword
  76. Can Singleton Instances Clash?
  77. How to read an integer one by one?
  78. How to convert integer to string array without specify array size?
  79. FILE HANDLING
  80. a printf implementation
  81. Yacc non terminal Symbol
  82. cygwin make does not execute command under XP
  83. Combing two linked lists
  84. Appending rows to 2-dim arrays
  85. hellp about local timestamp
  86. stack overflow
  87. Does the statement make sense?
  88. Does the statement make sense?
  89. Is Space Allowed in Filename?
  90. array variable type, question about semantics
  91. COM
  92. Switch based on a character in pointer
  93. Function objects vs. function pointers
  94. beginner question on vector<struct>
  95. Function objects
  96. memory allocation issues?
  97. Best STL container to use for single pass-through operations
  98. std::bitset, simple question
  99. Need help -- starting functions
  100. DynPtr: A pointer with implicit dynamic cast
  101. Replacing a word in a string
  102. need help
  103. Question about pointers and vectors
  104. Is an MFC/C++ ActiveX control best?
  105. #include "*.c" ??
  106. Template magic needed, partial specialization
  107. benchmarks of char* ops vs. std::string
  108. TEst
  109. Number of times number repeats
  110. sorting the nodes
  111. Declarator operators
  112. Truly random?
  113. Templates
  114. oracle
  115. Need advice to choise complex data structure (STL)
  116. Is there a cleaner way to do this?
  117. "typedef templates" inside templates - how can I do this?
  118. malloc vs link-list
  119. list of strings
  120. work with char[]
  121. fgets() and extra characters...
  122. COM compatible C++ objects how to ?
  123. accessing symbol tables from compiled code with debug options turned on.
  124. Parsing Microsoft Debug Symbol Tables...
  125. Help with a decompiler
  126. c and c++
  127. Problem with fgets reading last line over and over
  128. computer science
  129. overloading operators (basic)
  130. Requesting tips on Video Conferencing.
  131. Float-to-string conversion that raises exception instead of returning0.0 like atof
  132. Link List
  133. Large C++ function
  134. How to display a string in many lines, each lines have a specified length
  135. ARRAYS FUNCTIONS
  136. please help me to start compiling c++
  137. vector ?
  138. Data structure problems.
  139. are all templates inlined?
  140. Password Verification program help
  141. my question about read file !
  142. Custom swap in std namespace
  143. global typedefs and #define /\ global inheritance base
  144. Binary predicate member function needs access to another object's data
  145. code optimization- Removing if .. else conditions in for loops
  146. initialization lists trouble
  147. specifying interface without definition?
  148. Array size ?
  149. #if command at header file
  150. some help required with maps , stucts and vectors.
  151. How to initialize a const char[] member variable
  152. HDD RAW sector reading in Visual C++
  153. what is it for?
  154. how to connect with sql and ms access through c++ file handling
  155. STL collection to wrap a raw pointer?
  156. function template
  157. ARRAYS AND FUNCTIONS
  158. Writing classes which are "streamable"
  159. Pointers and Vectors
  160. Finding a directory using a partial path name
  161. C++ list and private copy constructor
  162. GLib problems
  163. How to set the filesize
  164. Data Structures In C++
  165. question
  166. trap representation
  167. C function for snmp
  168. Data Structure Using C
  169. tutorial
  170. java language
  171. using c++ to design internet protocol
  172. detecting integer overflow
  173. Why do we need non-virtual destructor?
  174. Passing structs by value
  175. Macro for Backslash
  176. modify this c++ source code
  177. LInked list Problems, Please help
  178. undefined reference help
  179. C - Const Struct Members
  180. fread returns more than i want
  181. overloading global dereference operator?
  182. What purposes do types serve?
  183. a problem with static declarations
  184. 'x = this' in constructor
  185. problem about "default template arguments may not be used in function templates "
  186. stack&recursion
  187. alignment of structures in c++
  188. A simple program with Monte Carlo
  189. How do I get bitwise access to a file?
  190. ?explicit instantiation member function of class template
  191. How can I write the most efficient code about this problem?
  192. Boost library and Borland Builder 6
  193. Does C++ have HugeInt?
  194. Calling free() on an uninitialised pointer?
  195. Is memset used only for strings?
  196. sizeof and incomplete types
  197. Segmentation Fault
  198. New to c++, need help with advanced topics
  199. class organization (very elementary)
  200. Dynamic arrays?
  201. String of function names
  202. Strange behavior on an if statement.
  203. Large Random Number Generator
  204. New style header files?
  205. Binary tree Algorithm
  206. auto_ptr explained
  207. binder2nd
  208. CLASS ?
  209. bind2nd
  210. Wrapping C code into a C++ object
  211. How can i read a webpage in a buffer
  212. Smart pointer implementation.
  213. implicit conversion of bool to int
  214. Does the following program architecture make sense?
  215. Does the following program architecture make sense?
  216. Segmentation Fault in my program
  217. int main() or int main(void)?
  218. Where is the mistake?
  219. Operator overloading
  220. what 's the precision of 'double'?
  221. Multiple Inheritance
  222. Try, Catch, And Throw
  223. Regarding Q. 14-5
  224. extern usage for template instantiations
  225. is_polymorphic
  226. Edit registry using Visual C
  227. Compiler error with class templates - please help me resolve it
  228. Something like Reflection possible in C++ ?
  229. Windows screen scrape app using C++?
  230. I have to delete the whole line in the file (first word matches), how can I ?
  231. Type of result of pointer arithmetic
  232. dynamic memory
  233. Convert const int to char*
  234. Redim an array (new / delete)
  235. Is this a good use of friend?
  236. Wanted: tool to convert code to flowchart
  237. How many derived classes is not too much ?
  238. Please Help! Strings are confusing!
  239. Variable declaration taken as a function pointer declaration
  240. how to get statistics about memory usage ?
  241. Try catch in ctor initialization list
  242. Initialisation
  243. Structure member offset.
  244. error in c
  245. For a copy of The Embedded Newsletter
  246. lock file or folder using c/c++ in windows
  247. Sorting a vector of classes
  248. Polymorphism
  249. Casting problem ?!
  250. Eclipse Plugin
  251. printf: Centre justify data
  252. Pointer string assignment problem
  253. stringizing a hex value in the preprocessor
  254. please tell what is error on my coding?
  255. How to Solve a Root...
  256. Is this valid in C?
  257. Passing speicifc class elements as arguments without explicitly listing them - is it possible?
  258. syntax errror
  259. Access screen memory or entering graphic mode
  260. problems with extern.
  261. pointers
  262. how to avoid reinterpret_cast in this snippet?
  263. recursion
  264. Simple C question. Please Help
  265. Loading/Saving a structure using <fstream>
  266. Fibonacci
  267. Template overloading
  268. What other newsgroups...
  269. std::istream_iterator to read whole lines?
  270. c library conformance testing
  271. Q about object assignment
  272. syntax error near unexpected token `<bigaf>' - AIX C++ Application Porting from 32 bit to 64 bit
  273. Sequence points
  274. GNU C vs BCC - huge output file
  275. about "++" and "--"
  276. About comma expression.
  277. elementary question about setting up class
  278. time coversions and effect of time drift.
  279. Graphic Library
  280. ptrdiff_t (pointer arithmetic)
  281. c pointers (ptrdiff_t)
  282. swig python-bcc32 problem
  283. console width?
  284. how to sort the data present in file in ascending or descending order
  285. Solaris, Xdesigner, C......
  286. Syntax of constructors of inherited classes calling the original constructor
  287. a template meta problem
  288. Efficiently compiled code
  289. Release/Build Problem - Adding a pointer variable solves it???
  290. Standard Defines
  291. Operator new and POD-struct
  292. Binding local variables to a signal connection
  293. URGENT HELP NEEDED
  294. very basic c++ question hopefully
  295. Help on istream& operator ?
  296. gcc options
  297. nested classes accessing inherited protected members of parents
  298. Program Crashing when freeing memory
  299. Size of Stucture without sizeof()
  300. Mode?
  301. Hashing to Disk
  302. How to realize the function ?
  303. Cross Platform Compliling
  304. polyphony of average sound card
  305. Is my code good?
  306. Reading bits at an offset
  307. small c program
  308. Templates vs Inheritance Literature?
  309. Determining size of file
  310. c pointers (ptrdiff_t)
  311. question posted on another forum (ptrdiff_t)
  312. Factory specialization
  313. Seek to the last line in a text file
  314. accessing a hidden variable
  315. Code understanding problem
  316. How to disable/enable displaying user input in console
  317. Volatile classes
  318. boost::bind problem in VC8
  319. why sizeof is different ??
  320. Type punning
  321. Help on C++
  322. Creating a text editor in C
  323. Neater method of creating a linked list
  324. Help for my code
  325. how to use sscanf?
  326. Reg. code conversion
  327. Reg. code conversion
  328. hi all plz help me
  329. design question
  330. gcc compile error about vector
  331. gcc compile error about vector
  332. Why does getenv() work backwards?
  333. Simple Decimal class?
  334. choose between script and c++
  335. static variables in class
  336. Help wanted on some source codes
  337. how to split a string in C++?
  338. help with converting numbers to Charater strings!
  339. C Interpreter and sizeof operator
  340. C++ interface to a graphics package ?
  341. Assertion failed
  342. Compiler error with nested templates (simple example included)
  343. From String to characters
  344. Calling Com+ From C++
  345. Array size depending on symbol address
  346. STL: memory allocation
  347. Unexpected destructor call
  348. STL: how to convert wstring to string
  349. I need a help in c++ data structure plz
  350. More questions on realloc - Thanks
  351. differences
  352. "paste" problem when reading user command from console
  353. More questions on realloc
  354. Problem: shared object loading runs constructor of a static object, but static linkage does not.
  355. f_locals is NULL inside a method
  356. sizeof a union
  357. strtok() and EOL
  358. cout problem
  359. Isn't a function template inherited ?
  360. undef. behaviour in ctor-exc. handlers
  361. _bstr_t behaviour (how it should work in ANSI C++)
  362. Problem with endl in derived streams
  363. Help Needed!!
  364. How to redefine arithmetic operators.
  365. How to forward declare a class in namespace?
  366. Class recursion
  367. read / write locks and deadlock detection
  368. C function for returning number of digits?
  369. problem with simulating typedef templates
  370. Get rid of a (float) cast in timer class
  371. problem with default constructor of global object
  372. anyone feel like programming an OS?
  373. direct string manuplation not working
  374. dynamic memory
  375. How to specify dynamic object names ?
  376. problem using C++ classes with AIX xlc Version 5.0
  377. Why different from expectation
  378. realloc question
  379. can not figure out the problem
  380. Qualifier "volatile" - probably OT.
  381. function returning array of strings
  382. List of reentrant C library functions
  383. typedefs vs. using-declarations
  384. sometimes crashes
  385. typedef question
  386. What is the sentence mean?Thanks
  387. multiple storage classes: error
  388. rand()
  389. Memory usage at runtime
  390. Protocol template fails in Xcode. Is there a better solution?
  391. operator new does not accept 3 arguments !?
  392. iterator beyond the first element
  393. Random vs. Sequential
  394. missing return
  395. fstream constructor
  396. format of double and __int64
  397. circular dependency...
  398. question
  399. leak and void*
  400. Please Help With Linked List Project
  401. Const Friend?
  402. Overload operator << question.
  403. error LNK2019 problem
  404. Even Parity
  405. For Loop Does not End
  406. Help with array medians, modes, and searching
  407. Singleton Null Reference Exception
  408. Returning containers
  409. problem with encryption function sending hex values
  410. Why no local functions ?
  411. Question about macros
  412. Need Help with this Program.
  413. can we include and use different fonts in C programming
  414. sort / vector
  415. #include<iostream> doesnt work in VC++ compiler
  416. Where should global variables be placed ?
  417. Clocking proccesses' time
  418. C++ Unhandled exception at 0x00000000
  419. Advanced C
  420. Get copy of object from pointer?
  421. Variant return type
  422. CCITT in C++ for AVR
  423. How to include header files ?
  424. is this style good ?
  425. fstream array struct
  426. Creating Dynamically loaded libraries
  427. hi
  428. Very Fast Dyanmic Two Dimensional Array Class for Critical Review
  429. Calling VB6 Dll From C++
  430. getenv()?
  431. problem about compilation of MTL with MS.Net
  432. New Logic
  433. Operator Precedence
  434. How to implement reflection in C++
  435. NEWLINE IN IOSTREAM
  436. World Longest Palindrome
  437. Need assistance with detecting improper input
  438. Assigning the address returned from new to a reference
  439. Return of struct
  440. sending hexadecimal data to cryptographic hash functions
  441. [vc6]problem with resource editor
  442. time_create, time_access, etc...
  443. Smart pointers: Conditional initialization
  444. Memory Speed Problem
  445. Read dynamic string
  446. Order of c'tor call in case of virtual inheritance
  447. how do i declare a reference to a boost shared pointer
  448. simple question regarding fact function
  449. Out-of-line template function
  450. Function and variable declarations
  451. Little question about what C can do (First steps learner)
  452. Smart pointers and member function pointers
  453. Inherit member variables?
  454. typical practise for #include's
  455. Optimization
  456. freeing string literals?
  457. Operator <
  458. creating int from contiguous bits in an int
  459. Programmers - what's the best way to do this?
  460. gcc -S test.c -o test ??
  461. Text labels...
  462. Text labels...
  463. Copy Class from Base
  464. What percent from the windows applications are written in C++?
  465. Data type problem in encryption algorithm
  466. how to put scrolling option in data read from a file
  467. overloading operator ->*
  468. Unable to find system.h
  469. Help with dd array
  470. Help
  471. Tricky pointer problem?
  472. Upcasting ..
  473. pointer suddenly destroys
  474. running multiple codes
  475. oveloading operators
  476. Assignment operator=
  477. any good new groups for c# language
  478. file open
  479. Opening an already Opened file
  480. Compiling a simple C program with Microsoft Visual Studio .NET 2003
  481. #undef for function
  482. strtok
  483. sort an array of strings
  484. Where to start on an error?
  485. friendship with nested class
  486. Help with File pointers in C
  487. Where to place definations and declerations ?
  488. parse XBase to work with quicken?
  489. A description of function parameters
  490. what's the best hash function?
  491. Two-Dimensional Dynamic Arrays
  492. how can i verify if a number has mantissa???
  493. STL strange problem
  494. Get pointer of object
  495. Problem creating new posix thread
  496. how to read datas from an excel file
  497. Learning pointers question
  498. Does this look normal to you?
  499. Implementing dirname with C++ strings.
  500. template parameters as friends
  501. Converting float to String
  502. Meaning of this array
  503. Best PHP or C libraries for handling images, video, and music: watermarking, thumbnailing, truncating, fading, etc.
  504. struct ?
  505. assigning array addresses to integer variables and vice versa
  506. Dynamic call from c++ to COBOL and Vise versa
  507. template help
  508. How To Write Unmaintainable Code
  509. API initialization and cleanup
  510. another visibility problem
  511. system programming thru c
  512. Help with a DLL, please
  513. Message Service implementation in C++
  514. Object slicing. How to??
  515. How to Accept Variable number of arguments ?
  516. String Pointer To Function
  517. How to make arrow keymove over the help button in Cpropertysheet in MFC
  518. cannot open huge file (beyond 4GB) with fopen
  519. Who wrote the first Hello World program?
  520. problem with templates using Sun Forte 7 compilers
  521. List of reentrant C/C++ functions
  522. input error
  523. errno from fopen()
  524. input problem
  525. null ostream?
  526. Template Function Format
  527. STL :: Set operations on sorted structures
  528. Problem with linker
  529. Read the contents of an audio CD, HELP! PLEASE!
  530. Threads with STL - can I run faster?
  531. forward declaration of classes
  532. segmentation fault
  533. Does C have function to get angle?
  534. function automatically returns the value
  535. Function return value automatically
  536. Function return value automatically
  537. Help with double linked lists
  538. sprintf equilvalent in C++ ?
  539. SDL first try problem!!
  540. Evaluation order of function parameters
  541. Can I abbreviate array in C++
  542. Function call problems (64-bit)
  543. Transparent Class Wrapper
  544. XPATH implementation in C
  545. Large Function, is it burden ?
  546. Inheritance
  547. visitor woe
  548. Is C++ for me?
  549. why the vc2005 Express edition can't create win32 project?
  550. How to find exponent and mantissa from a Q Format