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