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