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. File reading and writing problem (SEGMENTATION FAULT)
  2. help
  3. array pointers
  4. Visual C: Obtaining __int64 value from a DLL
  5. can forward declearation of struct as class cause any problem
  6. chsize 64bit
  7. text and binary files confusion
  8. Converting from Unicode to Multibyte
  9. Min/Max gametree
  10. Opening picture file in C
  11. File reading problem probably newline character
  12. about iconv
  13. C++ and streams (not iostreams)
  14. c++ network programming library
  15. what's the difference between #include "queue.h" and #include "queue.cpp"
  16. help with queue
  17. wchar_t and wide characters
  18. In Debug it works but not in Release.
  19. Size of an inherited class ?
  20. extracting integers from a string.
  21. Optimizing C
  22. Problem related to design
  23. Problem related to design
  24. How can I read a 8 bit gray image using c ?
  25. i cannot initialize a object of ADODB
  26. Using an iterator to remove an item from a STL list
  27. C Database
  28. plasticmachine
  29. Help wih regexec() function in libc.a library ( Solaris platform)
  30. A question on function overloading
  31. redirecting clog
  32. Diff between namespace and include
  33. Philosophical reason behind the concept of friend function
  34. PROBLEM...please READ
  35. cin and getch()
  36. A general question
  37. [Linker error] undefined reference to vtable
  38. Coverity Scan of open source
  39. How to protect startup object
  40. error: expected initializer before '&' token
  41. Going Back To The Start OF C++.
  42. Problem with Borland C++ 5.02
  43. C++ Object Model
  44. C++ object model
  45. Problem with linking - can't find the right solution.
  46. C++ Builder 6 - SQL Query
  47. set<string>::iterator i to binary filename?
  48. Memory leak problem
  49. finding out what an optimizer did?
  50. C++ primer*文第四版
  51. g95+OpenGL HowTo
  52. OO system design question
  53. Sequential and Associative containers
  54. Which container - std::pair or std::map ?
  55. Unix command that can post question to a group of expert like using the newsgroup.
  56. Want to pass a file name to a function
  57. What is the Purpose of Constructor in a class?
  58. give me some tips
  59. Number of Years
  60. using c++ dll in delphi
  61. array of function pointers for class functions
  62. Implementation of functions in math.h on clc-wiki
  63. sizeof dinamically alocated array....
  64. how to build a chat server in c
  65. templates instead of macros
  66. char array to int array
  67. Terminology : casting/conversion
  68. In accessible base class for return pointer type
  69. Problem with sorting algorithm and double linked lists
  70. global variables are bad?
  71. Help with generics
  72. representational error in C
  73. 2 classes pointing to each other....
  74. Help! serial communications programming in c
  75. Help with void's
  76. Is there a hash algorithm with direct access to hash elements andreference count?
  77. How to convert a big java project to corresponding c++ version?
  78. Source Analysis for C/C++
  79. sscanf style string parsing
  80. Stdout to UDP socket in inetd
  81. help with loops
  82. getchar function and EOF problem..
  83. reading and writing to the video frame buffer
  84. memory use global vs auto
  85. Template class copy constructor
  86. encrypt filenames debug
  87. Virtual arithmetic operators
  88. Help about videoprocessing with c/c++
  89. Calling XML WebService VB.Net from C++
  90. Local or Global ?
  91. When does the destructor of a static object gets called?
  92. pointer question
  93. problem reading integers separated by commas with VC8
  94. virtual overloaded functions and base class function call...
  95. Pointer
  96. Private data access using friend
  97. Tracing each line output in Unix?
  98. cvDFT, fft2 ?
  99. Newline in a File Text file
  100. Interpret each line in Unix?
  101. Is this legal ? (non-contiguous values for enums)
  102. Linux > 2.6.13 - How to use Inotify for watching the whole Filesystem?
  103. How to create a function that returns a whole structure in C++ Builder 6?
  104. Some problem on macro declaration in C again
  105. diff memcpy and memmove
  106. Calling Function at runtime
  107. macro to control conditional compilation based on date
  108. Multiple Assignment Evaluation Debate
  109. Learning C
  110. Learning C
  111. inheritance and base constructor
  112. Solar Eclipse March 29th 2006
  113. global hooks in win xp and 98
  114. Arguments and Functions
  115. Simple parser question...
  116. problem with memcpy and pointers/arrays confusion - again
  117. Does this look correct?
  118. Does this look correct?
  119. Macro
  120. copy constructor
  121. simple return question
  122. p[assing by reference
  123. ambiguous call to member
  124. problem with a makefile
  125. structure initialization
  126. Problem of finding funtion names in any C file
  127. strange output
  128. linked struct
  129. Unknown Compiler Warning
  130. Pointer and Array
  131. Need Web reference and forums to learn C++
  132. How to use a vector data member when the class object is a vector?
  133. Garbage in a char* (getting rid of it??)
  134. Can a base class be its own factory?
  135. how about the function strtok()
  136. How can I use a function pointer to non-static member function of a class.
  137. Strange class definition
  138. Please comment on my integer to string code.
  139. PCI Slot/Card Question
  140. about c/c++ 问题!
  141. PCI Slot Question
  142. errno questions (leading to a slightly OT follow-up question)
  143. Please Comment on this Integer to String Code.
  144. To delete few lines and add few lines at the end of a text file using c program
  145. Output the whole value of a double
  146. Structures problem
  147. returning a pointer to a member function
  148. loop scope
  149. Parsing file to extraction records
  150. Where can I find more about string literals?
  151. tapping into STL mempool
  152. Which one is pure virtual function ?
  153. how to print the hello
  154. Obvious error, which actually compiled
  155. how many ways to convert a integer to a string
  156. overriding template function doesn't work?
  157. dynamic field names
  158. combining workspaces
  159. Stream buffers and rdbuf() question
  160. combining workspaces
  161. Query reg. C Program
  162. Help w/ converting FSA to NFA program
  163. simple output problem
  164. Creating object from the child of an abstract class causes to linkage errors
  165. Traversing Huffman Tree
  166. Need a C/C++ programmer for a freelance project
  167. Need a C/C++ programmer for a freelance project
  168. vector pushback compilation error
  169. UTF-16 & wchar_t: the 2nd worst thing about C++
  170. template class data member not found!
  171. Problem Solving Skills for Engineers
  172. Problem Solving Skills for Engineers
  173. Portable alignof
  174. Class Limits
  175. Class and member templates, Default template argument, and Specialization
  176. the easy way to check if the string is a number or not?
  177. questions about STL erase example
  178. How to seach a 2d array for another smaller 2d array
  179. A quick check...
  180. Variable Length Argument Lists -- A kind of template?
  181. bug in Screen Saver sample in Visual Studio 6.0
  182. fix code
  183. Interpreted Languages...
  184. Overriding a virtual function and changing its return type --- dependency issues
  185. Is there an easier way to work with pointers (sample code included)
  186. INT_MIN as decimal
  187. On-Line C++ Programming Tests
  188. casting from member to union
  189. Sun C 3.0 -> 5.8 Compilation
  190. /usr/bin/ld: ../../dist/lib/libjsdombase_s.a(BlockGrouper.o)(.text+0x98): unresolvable relocation against symbol `std::basic_ostream<char, std::char_traits<char> >& std::endl<char, std::char_traits<char> >(std::basic_ostre
  191. can a file be deleted from a stack without decrementing the TOP variable
  192. system() Statuscode
  193. Using the % operator with preprocessor constants
  194. windows messages and TracePlus Win32
  195. windows messages and TracePlus Win32
  196. How predicates are evaluated
  197. c with Oracle
  198. Memory allocation in Structure to Structure
  199. pointers
  200. Debug Assertion Failed! File: winocc.cpp
  201. Constructors in C++
  202. From COM Server(VC++) Can we call functions in the Activex Control (OCX file).
  203. Regarding Static
  204. output to a file (stream performance)
  205. Output of a program
  206. unexpected result
  207. Strange behaviour of long long and unsigned int
  208. Implementation Problem.
  209. Pointers to Arrays
  210. fscanf reading lines
  211. delete Vs. delete []
  212. external linkage or internal?
  213. Strange memory access error after calling dll
  214. Program to prove logical validity
  215. question on std::search_n
  216. compiling and executing a c++ program in QT designer in fedora core 1
  217. Is this a abstract classe
  218. default parameter with ...
  219. function linked but not getting called.
  220. can a rpogramm which was compiled in Windows XP run in Windows 2000?
  221. distance between two iterators in map
  222. exception handling ?
  223. convert int to char
  224. reading the number of unknown rows and columns
  225. string variable
  226. C user interface
  227. unexpected result
  228. When is an unnamed automatic variable destroyed?
  229. Qt gives "undefined reference" error when compiling
  230. Passing a three dimensional array
  231. Need help with a simple program
  232. why both value_type and reference
  233. data retrieving through ODBC in C++
  234. interlocking class definitions?
  235. pthread and multiple CPU
  236. Counting number of strings literals in double dimentional char array
  237. Passing reference to derived class object to base class constructor
  238. typedef or derive?
  239. Need help regarding building a small C++ to C compiler.
  240. Compare every bit of char versus unsigned char
  241. Volatiles in assignment expressions
  242. Convert an integer to a string? Plan B?
  243. C++ in Russian (Cyrillic) Alphabet?
  244. Regarding this problem
  245. smtp coding problem
  246. Regarding this problem
  247. Having problems with loop
  248. What's this in C?
  249. Program crashes on calling virtual function
  250. hi favour to u get advantage from this
  251. Visitor design pattern - breaking dependence on the target hierarchy
  252. hi favour to u get advantage from this
  253. strange link problem
  254. pointer to member type deduction
  255. Turbo C help
  256. Inherited members from templated class
  257. Create program to count words in a file
  258. Malloc, return address order.
  259. Why the commented code make things wrong?
  260. Sorting output
  261. Optimizing function pointer usage
  262. Felix 1.1.2 Release Candidate 4
  263. Member function pointer
  264. std::string and const char[] conversions
  265. How does this (program) array work?
  266. help!
  267. C/Hardware Verification
  268. How can exit(n) give a function the return value?
  269. Help - just a few lines of code needed
  270. Visual C++ Exceptions
  271. inline functions not inlined
  272. Microsoft C/C++ 7.0 compatibility
  273. Making Fatal Hidden Assumptions
  274. Coming back to C++...
  275. Serial Port commmunications
  276. Best way to exploit "export"
  277. Declaration of variables
  278. fifo
  279. external linkage of variable (IBM XL C++ on AIX)
  280. C compiler needed
  281. Small, non-validating XML parser/walker/reader?
  282. Small, non-validating XML parser/walker/reader?
  283. compilation error help required from gurus of c++
  284. Empty base member optimisation with multiple inheritance
  285. niiiiiiiiiiiice!
  286. Can negating a non-negative signed integer value ever overflow?
  287. stream to file a matrix
  288. Pure Virtual Function Hiding
  289. HELP: Visual C++ 6.0 to Visual Studio.NET 2003 woes......
  290. protected member and templates
  291. exported functions, what to do with it.
  292. Software copy protection
  293. Optional elements in a structure declaration? ( URGENT)
  294. How big number of INT can we use?
  295. reading file into string array
  296. what does a c program really represent
  297. list<WS<W> >
  298. Question about STL containers in multithreaded environment
  299. fread hangs before reaching eof()
  300. Private Virtual inheritance problem.
  301. printf argument
  302. "Copying" iostreams
  303. What does this mean ?
  304. mixing signed and unsigned
  305. How to call default constructor from other constructor of the same class?
  306. accessing protected mode registers via assembly in C
  307. what's the difference between *a = *b and a = b
  308. Best way to do a lookup tree
  309. 'restrict' in plain English?
  310. A traversal problem
  311. Automation Problems
  312. Get PNG file info using C
  313. Unknown function
  314. vector resize from within function
  315. multiple parameters with vectors
  316. Multiple successive merges with STL's merge
  317. what is the difference between getch() & getche()
  318. what is the difference between getch() & getche()
  319. slow complex<double>'s
  320. abstract class question
  321. question about operator overload and abstract class
  322. problem with std::map
  323. Can't understand template (Short Code I promise!)
  324. How can I remove an item in STL iterator?
  325. Zero always == 0000 0000
  326. build question: Finding available c++ compilers
  327. Malloc & sbrk
  328. Template Arguments Deduction Context?
  329. What do covariant return types buy us?
  330. Our Toolbar Featuring The Oscars Now Has Video! Check It Out If You Love Movies & Oscar Gossip!
  331. initialization and assignment.
  332. How c++ pronounce?
  333. Regarding for This Ptr.
  334. Source Code
  335. Help:the problem of Ring of Josephus
  336. vector of vectors erase question
  337. Segmentation fault in copy algorithm
  338. simulate getch()
  339. Iterator Issue
  340. understanding constructors and initializers
  341. string conversion problem
  342. g++ and tail recursion
  343. overwrite contents of existing file / manipulation ..
  344. This is ridiculous!
  345. functions that return pointer to function
  346. Proper way to wait for menu command and return?
  347. Programmer wannabee question about sscanf
  348. Data type Qualifers
  349. Overloading operator<< to output private class-data
  350. STL string find_first_of ( infinite loop )
  351. Gems -- #include <gems.hpp>
  352. Making a string into a c++ line of code
  353. two-dimensional array
  354. How can I const cast a reference
  355. str.find(str1) usage ?
  356. compiler madness??
  357. (float / double)
  358. pointer to class member function
  359. Basic class question
  360. when should multiple definitions of global variables trigger link time errors?
  361. How to make a struct contain a ptr to itself?
  362. when should multiple definitions of global variables trigger link time errors?
  363. MBR,C++ and system booting
  364. To Cut,Copy and Paste items to a linked list
  365. To Cut,Copy and Paste items to a linked list
  366. To Cut,Copy and Paste items to a linked list
  367. To Cut,Copy and Paste items to a linked list
  368. Preprocessor
  369. To cut,copy and aste items to a linked list
  370. who can type this programme
  371. I am a new user.......
  372. * in front of function name?
  373. hi
  374. Is this a abstract classe
  375. modulo for floats?
  376. Calling C function in C++ without deafult arguments
  377. Source Code Spell Checker
  378. Source Code Spell Checker
  379. A structures inner pointer
  380. How slow the 64 bit integer calculation?
  381. Large Scale C++ Software Design, by John Lakos
  382. delete this
  383. typedef /struct and the scope problems
  384. Initializing a class member variable which is a reference to an array
  385. Formulas from the c89 draft
  386. findbugs for C/C++?
  387. Passing args to main( )
  388. copy constructor Q
  389. Missing return value of a function
  390. C and C++
  391. Socket Help
  392. BST permutations
  393. How to avoid runtime switch/case code based on data type?
  394. multibyte length
  395. Just a dodgy compiler?
  396. Converting Packed Decimal in C++
  397. threaded system design advice?
  398. Trying to return a reference...
  399. Problem with sql parameters...
  400. A constant integral
  401. Operator overloading & inheritance question
  402. C++ Exception handling
  403. C++ Exception handling
  404. Call function at runtime
  405. "using"
  406. what the meaning of this?
  407. Global variables in modules---preserving values between module calls
  408. Whats more efficient and why?
  409. How to get next character?
  410. Benefits of using const functions
  411. segmentation fault using boost::program_options on Linux
  412. GCC time.h problem.
  413. Why do so many new style ansi streams and files etc, still use old style strings?
  414. code to flow
  415. Dealing with a large integer
  416. incompatibility of PGI compiler ?
  417. compilation issue
  418. Problem while linking .a file
  419. having "throw" write to a file before actually throwing
  420. C Lessons Project
  421. C Lessons Project
  422. tough interview question
  423. Interview question - any suggestions
  424. tough interview question
  425. getopt and getopt_long for Windows?
  426. Problem with File
  427. what is atoi( )
  428. Why this program is crashing ???
  429. order in if(expression)
  430. Efficient techniques to handle large binary files
  431. System time in miliseconds
  432. 2 questions about struct copy
  433. MST
  434. Bounded Array class
  435. Private constructor,Static constructor
  436. template for class method problem
  437. Wrap up Text
  438. Wrap up Text
  439. __declspec(dllexport) equivalent under linux / osx with g++ ?
  440. Makefile running a list of files
  441. scanf(), ungetc() behaviour.
  442. How to initialize array in class
  443. Serializing Enums
  444. Compile error listing
  445. Wrap up Text
  446. friend and unnamed namespace
  447. Anyone can give some instructions on the function of this asm?
  448. Types as tags and RTTI for flow control
  449. address of a struct or a pointer to a struct?
  450. vector of vectors push_back question
  451. std:map inheritance with MFC problem
  452. Online C test
  453. Why this doesn't violate One definition rule and how the linker resolves this
  454. Avoid using malloc?
  455. 25 Year Recruiter Gives You Inside Job Tips
  456. Write a program to play a "Dots and Boxes" game variation
  457. Write a program to play a "Dots and Boxes" game variation
  458. NULL pointer dereferencing?
  459. A simple 'C' problem
  460. Advice, references to implementation of a map or similar data structs
  461. Number of standard functions
  462. accessing multiple properties through a single set/get
  463. Problem with String Append or Cout
  464. Compile time constants in classes
  465. The 3n + 1 problem (Acm's problem set,help)
  466. sdp lib for C++
  467. Problem with enum and struct
  468. C++ FAQ
  469. determining function name in runtime
  470. main-return ???
  471. VC 6.0 Question
  472. Data Structure in C -.o0 Queue 0o.-
  473. Replacement for offsetof
  474. How to initialize a global variable prior to another?
  475. My BOINC,LINUX,Parallel Computing related blog
  476. bhaviour of front method on an empty map
  477. My BOINC,LINUX,Parallel Computing related blog
  478. Rgarding the diffrences in obj files
  479. pointer and reference confuse
  480. Linked list program question..
  481. Ceil double problem
  482. Use of explicit
  483. How to program to an interface
  484. overloading, function pointers, and templates
  485. How to change the following string into the floating point value?(urgent)
  486. single link list , binary search
  487. warning variable 'will be initialized later'
  488. pointers
  489. Help needed Please!
  490. problem calling method from parent of an object if object relayson template arguments of current template class?
  491. A question of fork() function
  492. 25 Year Recruiter Gives You Inside Job Tips!
  493. How to use a PDB file
  494. A question about mmap() function
  495. A simple qustion about C++ syntax
  496. Friend brings a friend.
  497. Friend brings a friend.
  498. Help! SIGBUS (object specifc hardware error) when call function getline
  499. returning char
  500. non-pointer type warning when initializing vector with NULLs
  501. Eclipse, Windows, cygwin and MinGW
  502. exporting inline functions
  503. call by reference
  504. matrix stuff (solving b = A*x) --> using numerical recipes
  505. Data Structure in C
  506. dynamic_cast segmentation fault
  507. Thought you could do this?
  508. delete this
  509. Common Iterator for different containers
  510. Common Iterator for the same container
  511. Object as Argument?
  512. boost::filesystem::create_directory()
  513. Duplicate global constants
  514. Wide Characters
  515. underscore names
  516. C All-In-One Desk Reference For Dummies.pdf
  517. exclusive error handling for ofstream closing
  518. Constructor in C++
  519. Help Me
  520. displaying 24 bit colours using C
  521. Get Value of Digit
  522. design patterns in c
  523. Image reading program
  524. Making all members of pimpl classes public
  525. Help with passing integer poniter to function
  526. Bug with vectors
  527. U++ 602 released
  528. Software copy protection
  529. convert argv[] to u_int32_t and checking it.
  530. read SD-Card serial
  531. how to do an infinite loop
  532. design patterns
  533. Interfaces in c++
  534. how to include color palette for a 8-bit BMP
  535. c++ program to covert an array into 8-bit BMP file
  536. get the file names?
  537. name lookup in derived class
  538. using scanf() in while loop
  539. Square root of a number.
  540. Reading from a file into an array of structures
  541. 25 Year Recruiter Gives You Inside Job Tips!
  542. Memory Corruption Problem
  543. Menu looping
  544. problematic recursive include with String and Exception
  545. inline functions and argument lists
  546. strcmp vs. string::compare(const string &)
  547. OT The Art
  548. Image Compression using DCT algorithm C++ source code
  549. "corrupted double-linked list error
  550. Private member accessors methods for objects