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