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. Compiling Error
  2. Header locations
  3. Very lost
  4. Functions inside Macro Curly brace
  5. is this a gcc extention or standard?
  6. question on std::find()
  7. FTP server program using sockets in C++
  8. How to handle "operator []" returning reference to the null pointer
  9. c++ & ftp
  10. When copy constructors become handy?
  11. Count elements in range between two iterators
  12. getting time in milliseconds
  13. Working with classes?
  14. UnicodeQuery
  15. Going to Copy Constructor from here Why?
  16. International Characters in an Edit Control
  17. friend with template class
  18. C++ Template - Does it work on 16-bit platform
  19. pruning a linear singly linked list
  20. Debugging a server-client app
  21. multiple namespaces
  22. DOS programming
  23. comparing objects using pointers
  24. Q: formatted integer extraction from ifstream
  25. I need help
  26. Compiling C/C++ to MIPS ASM on a Windows computer
  27. Files when calling the dispaly function some garbage value is coming
  28. C++ primer*文(第四版)
  29. Trimming Vector's Excess Capacity
  30. Stupid question for you all....
  31. curious about array initialization.
  32. Need help with hw...one by one
  33. Code quality
  34. Calling base class constructor?
  35. Calling base class constructor?
  36. Need explanation with something
  37. diffrence between access modifier ....and access specifier...in c++
  38. boost facilities for determining whether or not a type supports particularsyntax?
  39. Finding the square root and guessing the number
  40. Beginner question regarding the use of system() commands
  41. displaying any struct
  42. vector, hash table, etc. library in C? I am abandoning C++
  43. car park question!
  44. Senior Compiler Engineer, Mathworks, Natick MA
  45. declaring data in classes - what's better?
  46. Termios is freezing
  47. 10000 Interview Questions And Answers(C,C++,JAVA,DOTNET,Oracle,SAP)
  48. 10000 Interview Questions And Answers(C,C++,JAVA,DOTNET,Oracle,SAP)
  49. Will this leak ? (question on throw statement)
  50. Hi
  51. rand function
  52. storage allocation?
  53. Algorithm
  54. rand function
  55. malloc constant or not
  56. Best C++ compiler for DOS programs
  57. Flag 'character' "space" in a format string
  58. catch( ... )
  59. collect2: ld returned 1 exit status
  60. metapost & powerpoint comparison
  61. A garbage collector for C++
  62. A garbage collector for C++
  63. Function crashes if a integer is passed (pointer related).
  64. Websphere Portal Administrator
  65. Websphere Portal Administrator
  66. C beginner: struct inside another struct...
  67. catch (...)
  68. struct in struct
  69. using directives
  70. Questions regarding cyclic header dependency
  71. legacy code?
  72. What's the best/a good way to access a variable member of an array of structs?
  73. What's the best/a good way to access a variable member of an array of structs?
  74. textvsbinary
  75. Pointers again...
  76. a curious questions about return type
  77. Long(er) Factorial
  78. Why the standard doesn't force following the "simple" references link ?
  79. A new syntax (to me)
  80. subsets of array
  81. Casting void * to void ** ?
  82. Find the node where 2 lists merge
  83. semantics of std::vector.reserve()
  84. passing varg to another method
  85. why this program can work??
  86. Begin() applied on empty Vector returns NULL or non null value????
  87. Swapping Two Strings.....
  88. strncpy to a char member of struct
  89. calling base class destructor's
  90. find utility like system call in unix
  91. The copy constructor
  92. Report from ACCU Conference Thursday 20th April
  93. aCC Compiler error : Cannot use extern object of unknown size
  94. Accerated C++ question
  95. Canon CD SDK 7.3
  96. how to use stoi? which *.h to use? trivial beginners problem...
  97. c++
  98. Numbered class
  99. Library Functions .... Standard ??
  100. About typedef -- define the function pointer or define function model?
  101. is there any open source c/c++ parser available?
  102. Regular expression for numeric
  103. overloading new
  104. C++ builder and installer shieldexpress
  105. How can I add more include path to gcc compiler on RHEL3
  106. Defining a constant in a class
  107. Deriving and Template typedef
  108. replacing operator new
  109. replace std::map with <ext/hash_map>
  110. istream and string
  111. Need odbc32.lib odbccp32.lib
  112. are the functions in <stdio.h> system calls provided by operation system?
  113. Recovering gracefully from a realloc() failure
  114. system() function usage
  115. ISAPI DLL Location help
  116. new and memory management
  117. Crash with Seg Fault
  118. Structs and pointers
  119. Struct and Pointers
  120. warnings .. and removal
  121. Member function redeclaration not allowed when constructing temporary object
  122. A neat (?) error handling system
  123. Destructor
  124. Pro*c - Using c++ to retrieve unicode data
  125. what is wrong in the code?
  126. Select function
  127. About to commit suicide - Linker error
  128. The Shell execute command not working
  129. stl map, lower_bound and upper_bound
  130. new process or a new thread
  131. on fgets and sscanf and their bugs
  132. need of virtual keyword
  133. Problem- strcat with char and char indexed from char array
  134. Copy bitmap to clipboard
  135. cast from void* to int
  136. Available C++ Libraries FAQ
  137. STL: Set within Map upsets iterator
  138. gcc optimize option
  139. OCR C code?
  140. faq new as parameter in the constructor
  141. whats wrong with this pointer operation?
  142. junk information an the end of dumping out string to a file.
  143. Pointer incompatible type assignment to character.
  144. C compilation error on RHEL3
  145. derived class incresing the sopce of base class methods and explicit call to constructor
  146. STL map compare function - can I pass a parameter?
  147. coloured text in console
  148. std::list and interfaces question
  149. portability issues with ' flag in printf
  150. Bit-Level C Functions
  151. Need help in designing a quiz
  152. to reverse the digits of a number
  153. virtual inheritance downcast
  154. const and 'constant expression'
  155. Equality of floating-point numbers (special case)
  156. Question Regarding Static Initialisation of Aggregates.
  157. to add 2 very long integers
  158. Inner classes and access restrictions
  159. How can I pass command line arguments in Visual Studio 2005 (in C++ environment)
  160. How can I pass command line arguments in Visual Studio 2005 (in C++ environment)
  161. ; in function member declaration
  162. direction of stack growth
  163. Deleting a File from Hardrive and Deleting a SubKey in Registry
  164. Application of Union in C
  165. Application of Union in C
  166. i have a doubt in c programming
  167. GCC output directory
  168. COSPA Deliverables available online
  169. Linkage of templates
  170. Populating an Array of Struct
  171. BETA
  172. fatal error C1001: INTERNAL COMPILER ERROR
  173. Auto-generating C header file from C++ header?
  174. Are implicit casts to void*& illegal?
  175. Friend class and NULL object member functions
  176. Help to Implement a Project
  177. Need projects
  178. Covariants
  179. how to use a label??
  180. send tcp raw socket (bogus tcp header length)
  181. Tools for refactoring header files
  182. Fastest way to construct this class
  183. pointer to member function as template argument
  184. floating point bitwise & and >> operations
  185. Different code behaviour in Unix & Windows
  186. && and || -- precedence evaluation doubt
  187. Inline Constructor
  188. Overloading operator []
  189. char* string?
  190. constructor overloading with static variable
  191. removing data in files
  192. delete this;
  193. store pointer to template function
  194. Huge compilation time of template based sources (AIX 5.2, VA C++ 6 compiler)
  195. is the v-table global ?
  196. bad programming practice?
  197. GCC support for CX options
  198. Transferring the log file over the modem using PPP
  199. char* pname = "Harry"
  200. private constructors
  201. faq why use p=NULL?
  202. iomanip: setwidth was not declared in this scope
  203. test(null)
  204. Error executing c:\windows\system32\cmd.exe
  205. A doubt regarding constructors
  206. overload new in shared library (crazy)
  207. Stack runtime error
  208. Sorting & Searching
  209. releasing memory when shut down ...
  210. Vector of pointers
  211. how to copy from a vector into an array?
  212. MFC: How to resize a control with only SendDlgItemMessage (ie. without MoveWindow)
  213. gcc, aliasing rules and unions
  214. sudoku coding help
  215. memory
  216. Float to int conversion by using two int variables for representation of the float variable
  217. Help regarding Programming Style
  218. How can I work around it in VC++7.0 ?
  219. looking for compiled tcc for win32
  220. Why does this crash?
  221. Testing protected or private functionality?
  222. tangle
  223. How to compile a CPP file in Command Prompt
  224. Tutorial on C++ Templates
  225. Struggling with libraries
  226. Unhandled Exception. Undefined Pointer?
  227. Non-member vs. Member
  228. CRTP question
  229. virtual methods in multiple inheritance
  230. Frustrating array initialization problem
  231. Doubts about Linkage Rules
  232. can not acess memory at address ox0
  233. Creating methods for a data base
  234. Reference and Pointer
  235. C++ Faqs
  236. Debuging using core dump and PC
  237. Have you Assignment for me ?
  238. Is std::multimap "stable" ?
  239. iostreams: change default floating point precision?
  240. deleteall
  241. find if any application is openning the file
  242. Bit Field Alignment
  243. find if any application is openning the file
  244. cud any one tell me what is the problem in this program
  245. testing c skills
  246. how to find .obj file
  247. First C Program, Problems getting serial data
  248. Xerces and URL access/parsing
  249. less than or equal to operator
  250. c++ vectors simple question
  251. Error: function already has a body
  252. Problem using vector.earse( ) in a class
  253. stl questions: how can I compare 2 stl list?
  254. Project design
  255. Some questions, big numbers library
  256. Some questions, big numbers library
  257. Some questions, big numbers library
  258. Some questions, big numbers library
  259. Terminal 'screens'
  260. directx "how to" question
  261. Scope Rules
  262. Routine for eigenvalues of *complex* valued matrix
  263. TCP Connection
  264. const 'correctness' question
  265. ignore. this is a test.
  266. huge 2-D array
  267. How Do I Convert String To Int
  268. vote
  269. vote
  270. range vs precisionC
  271. Accelerated C++ exercise 8.8
  272. template specialization overriding non-specialization?
  273. Bad DLL calling convention
  274. File exist
  275. shift question
  276. shift question
  277. C++ overloading operators(OPERANDS)
  278. about quick-sort using c
  279. vector of fstream, does not work?
  280. Passing varibles into a function from a differen class...sorta
  281. log10
  282. RPM for profiling
  283. Library for random-access console screen functionality?
  284. Old question?
  285. Risky question?
  286. How to print stack info when using assert?
  287. 1st DigitalTutor.info Tutorial Contest!
  288. Objects
  289. Help
  290. quick question on using bsearch() on an array of structs
  291. Microsoft Quick+insertion
  292. ctor exception question
  293. Template specialisation of static members
  294. to generate a fingerprint of all exe files present on my computer
  295. search for all exe files on the computer
  296. printf code
  297. printf code
  298. printf code
  299. casting primitive type to user-defined type works in usage
  300. Questions on Prim's algorithm
  301. virtual method with different return types?
  302. unit--, a unit test framework for C++
  303. Inheritance of the vector class
  304. Obtaining digits from bit string
  305. Inherit vector class
  306. LNK2019 Error
  307. C compiler
  308. About MFC cannot convert parameter 1 from 'const char [42]' to 'LPCTSTR'
  309. writing to a socket with data from struct
  310. part of a c-code
  311. Open Source C Algorithms Library
  312. problem with hash set iter
  313. Whats faster? i1++ or ++i1
  314. "friendship" question
  315. testing - ignore
  316. Some Questions #2
  317. Access Violation by fox toolkit in FXObject::MetaClass::search(FXSelector key)
  318. Class Templates pls help
  319. EXTERN Qualifier
  320. How can i do matrix with STL?
  321. How to call Fortran moules from C++?
  322. Discover Medieval Romania /Vlad the Impaler/Dracula/ /www.medievaltours.ro
  323. Discover Medieval Romania /Vlad the Impaler/Dracula/ /www.medievaltours.ro
  324. Virtual Constructors and Destructors
  325. counting letters words
  326. problem with the destructor of cout.
  327. hash_set<string> declared deprecated
  328. unexpected behaviour of set_unexpected()
  329. Why no virtual constructor in C++ ?
  330. funciona mesmo!
  331. quick+insertion details by microsoft(1997)
  332. funciona mesmo!
  333. funciona mesmo!
  334. funciona mesmo!
  335. Stuctures in classes
  336. "heap" vs "stack"
  337. recommended book (or other resource)
  338. bitfields as static members?
  339. Returning a Char from a Double
  340. sorting
  341. enum type int or unsigned int?
  342. A quick question...
  343. Default parameters in macros... Is it possible?
  344. friend templates
  345. Incrementing a void pointer. Legal C99?
  346. folds and formatting
  347. getchar can't be used twice?
  348. Adding index counter to linked list
  349. BITWISE SHIFT QUESTION?
  350. Byte swapping help please
  351. First Program
  352. proper initialization
  353. problem with complex numbers
  354. returning function pointer
  355. Borland C++ Builder 6, Active X
  356. Get user Temp directory
  357. Modifying pointers of unknown type via a function call
  358. program crashes at start
  359. Static initialization order fiasco with smart pointers
  360. sizeof(char)
  361. Problem with std::basic_istream<_Elem,_Traits> &std::getline()
  362. How to bounce a post
  363. test
  364. I need help w/my tic tac toe code
  365. problem with reading from file
  366. simple exercise:Printing E with '*'
  367. Software Jolt Award(Hot!)
  368. Visual Basic for Applications
  369. C++ Builder 6 - DBGrid
  370. An interesting thing about fread().
  371. Example of 2 mutually recursive functions
  372. C++ and db
  373. dereference precedence
  374. Simple Quadtree
  375. reverse a file's content
  376. constructor inside constrcutor and this object
  377. operator overloading in the derived class could not work...
  378. Not fully comprehending arrays and dynamic memory.
  379. Memory leak due to onCtlColor ?
  380. BITWISE SHIFT question
  381. A doubt about struct
  382. Who can help me to interprete this code?
  383. Help fixing file input reading routine?
  384. argg, noob array question
  385. C++ Sorting And Displaying
  386. POSIX library for Windows XP
  387. Australian Startup Looing for C/C++/Linux Software Engineers - GENEROUS $$$
  388. compiling C++ builder
  389. french to english numeric conversion
  390. Http unix
  391. std::set::upper_bound
  392. question about boost::scoped_ptr
  393. RAM testing techniques?
  394. std::set::upper_bound
  395. Comparison function in qsort()
  396. K&R exercises
  397. TCP/IP UDP Protocol Development Library and Development Resources
  398. Deleting linked list
  399. fgetc() vs. fread()
  400. Regarding STL-Map
  401. Assignment: get integers and display in words
  402. Assignment: Print reverse order
  403. Assignment: Print 2D array
  404. query: Windows exploits (random stack frame pointer)
  405. how to create sub-directory if it doesn't exists?
  406. Com object using c++ related question.
  407. Problem in release mode
  408. atof approximates the String, I need exact value of the string passed
  409. Help: need non-const first_type
  410. novice template query
  411. How can I know if a string is BiDi string?
  412. C++ and db
  413. Number Fomatting
  414. Plz help me with the characters showing.
  415. one thread hanging in RWTPtrSlist<POSIXThread>::append
  416. ..and now it doesnt compile?
  417. Inserting a space in C++
  418. Connect to a cbase program running on Linux from WinXP
  419. life cycle
  420. Variable and typename naming
  421. Help with non-const first_type in std::map
  422. Help with Parser
  423. operators and namespaces
  424. a[++j]=a[j]+a[j+1];
  425. Why does this fail?
  426. help on using <list> <vector> in a simple VC program
  427. Input to enum
  428. mutable
  429. Able to call member function with a pointer assigned NULL
  430. system function
  431. smart pointers for c++
  432. fwrite() fails when called after fread()
  433. Core dump with string functions
  434. Some Questions
  435. question
  436. sine wave generation
  437. Malloc and recursion
  438. What kind of macros are permissable?
  439. malloc
  440. quick sort
  441. String array
  442. How does assert benefit your code really?
  443. problem with dll instances
  444. parsing float number
  445. Code quality and examples from open source C code
  446. How to encrypt a password
  447. Actual C++ Library Source Code
  448. LISP generalized lists in C
  449. Translator to edit string table
  450. stack trace not working independently?
  451. [Compiler Error C2564]
  452. realloc(): invalid next size
  453. [Compiler Error C2564]
  454. empty class
  455. Can I integrate .EXE files into a new C program?
  456. parsing XML file with SAX in C++
  457. Can I integrate .EXE files into a new C program?
  458. parsing XML file with SAX in C++
  459. parsing XML file with SAX in C++
  460. Tru64: Using stringstream to convert inbt/long to string causes application to crash
  461. Problem Taking input:(
  462. Tru64: passing integer to a stringstream causes crash
  463. Converting a byte[] to a bitmap
  464. Cannot Open #include<...> files Why??
  465. how to clear a stringstream object's data, not state.
  466. Can I integrate .EXE files into a new C program?
  467. how can I integrate a .EXE file into a C program?
  468. parsing XML file with SAX in C++
  469. Accessing members of a struct
  470. Please tell me some useful website about STL
  471. Argv
  472. HP-UX 11.23 Assertion failed: __thread_init == NULL
  473. How to update a file
  474. Design of singleton sub-type?
  475. question about "while"
  476. how to check write failure in ofstream??
  477. reinterpret_cast ? bad? good?
  478. how to print extended ASCII codes in vc?
  479. Ambig
  480. searching, creating new file from old using c++
  481. searching, creating new file from old using c++
  482. virtual binding surviving stream transport of objects
  483. C header files--Urgent
  484. Another way of adding to a string (or output iterator)?
  485. test
  486. Curious probabilities
  487. template specialization - recursive control path issue.
  488. Defining globals inside structs
  489. formatted input/output question
  490. best practices
  491. question
  492. Strip String in 2 blocks
  493. Strip String in 2 blocks
  494. Using this objdct
  495. Question about std:string and std:cout
  496. Audio streaming
  497. Question about std:string & std:cout
  498. Nesting an array of strings inside a array of structures
  499. how to avoid static pthread_mutex_t ncwrite_lock = PTHREAD_MUTEX_INITIALIZER;
  500. Initialization of members in h file
  501. Question on arrays of pointers to functions in C++
  502. Shouldn't throw built-in exceptions?
  503. using return in main to check memory leaks
  504. implementing constructors given class declarations
  505. is assigning a substr to the parent str OK?
  506. Set a pointer to null when deleting?
  507. counting nesting level in template classes
  508. convert an encoded string
  509. Question on static
  510. implementation question
  511. where to find a complete C++ library reference?
  512. Structure type definition in different files?
  513. Using sizeof without parentheses
  514. 500 C language Sample Programs
  515. Mutithread monitoring
  516. OPENING OF .chm or .html file in C?
  517. Running a process in Background
  518. Signal handling in VC++
  519. How to extract data of a Blitz++ Array ?
  520. How Can I link a .cp file in the "main" header?
  521. how to concatenate the string
  522. how to concatenate the string
  523. logic for converting data obtained from input
  524. static member variable in a DLL...
  525. C/C++ Hardware modelling
  526. test
  527. tower of hanoi
  528. tower of hanoi
  529. Convert int to *char.
  530. Bad Access - Memory Problem?
  531. COM in PHP
  532. How to read strings from a file with comments
  533. Name + number
  534. Template files and compiling them
  535. Efficient searching through stl map?
  536. C++ vector of pointers
  537. ICQ 'channel' for C questions ?
  538. classobject->name();
  539. find_if algorithm on multimaps
  540. the use of the :: operator
  541. Debugging Help
  542. char string
  543. FAQ 1.12--auto keyword
  544. ICQ 'room' for C communication?
  545. Could a struct with size 44 bytes point always points to a char array with size 2024 bytes?
  546. Packed structs vs. unpacked structs: what's the difference?
  547. Could a struct with size 44 bytes point always points to a char array with size 2048 bytes?
  548. Microsoft Visual C++ 2005 Express Edition
  549. matrix 2x2
  550. VERY URGENT C PROGRAM