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. Ambig
  2. searching, creating new file from old using c++
  3. searching, creating new file from old using c++
  4. virtual binding surviving stream transport of objects
  5. C header files--Urgent
  6. Another way of adding to a string (or output iterator)?
  7. test
  8. Curious probabilities
  9. template specialization - recursive control path issue.
  10. Defining globals inside structs
  11. formatted input/output question
  12. best practices
  13. question
  14. Strip String in 2 blocks
  15. Strip String in 2 blocks
  16. Using this objdct
  17. Question about std:string and std:cout
  18. Audio streaming
  19. Question about std:string & std:cout
  20. Nesting an array of strings inside a array of structures
  21. how to avoid static pthread_mutex_t ncwrite_lock = PTHREAD_MUTEX_INITIALIZER;
  22. Initialization of members in h file
  23. Question on arrays of pointers to functions in C++
  24. Shouldn't throw built-in exceptions?
  25. using return in main to check memory leaks
  26. implementing constructors given class declarations
  27. is assigning a substr to the parent str OK?
  28. Set a pointer to null when deleting?
  29. counting nesting level in template classes
  30. convert an encoded string
  31. Question on static
  32. implementation question
  33. where to find a complete C++ library reference?
  34. Structure type definition in different files?
  35. Using sizeof without parentheses
  36. 500 C language Sample Programs
  37. Mutithread monitoring
  38. OPENING OF .chm or .html file in C?
  39. Running a process in Background
  40. Signal handling in VC++
  41. How to extract data of a Blitz++ Array ?
  42. How Can I link a .cp file in the "main" header?
  43. how to concatenate the string
  44. how to concatenate the string
  45. logic for converting data obtained from input
  46. static member variable in a DLL...
  47. C/C++ Hardware modelling
  48. test
  49. tower of hanoi
  50. tower of hanoi
  51. Convert int to *char.
  52. Bad Access - Memory Problem?
  53. COM in PHP
  54. How to read strings from a file with comments
  55. Name + number
  56. Template files and compiling them
  57. Efficient searching through stl map?
  58. C++ vector of pointers
  59. ICQ 'channel' for C questions ?
  60. classobject->name();
  61. find_if algorithm on multimaps
  62. the use of the :: operator
  63. Debugging Help
  64. char string
  65. FAQ 1.12--auto keyword
  66. ICQ 'room' for C communication?
  67. Could a struct with size 44 bytes point always points to a char array with size 2024 bytes?
  68. Packed structs vs. unpacked structs: what's the difference?
  69. Could a struct with size 44 bytes point always points to a char array with size 2048 bytes?
  70. Microsoft Visual C++ 2005 Express Edition
  71. matrix 2x2
  72. VERY URGENT C PROGRAM
  73. 500 C sample Programs
  74. complex <double> as return type or parameter
  75. C compiler for Windows?
  76. C++ compiler "return" behavior (guru question ;)
  77. Help for a simple program!
  78. keywords "export"
  79. Error when overloading << in template
  80. cachegrind output help
  81. Can I pass a type name to a function?
  82. few topics to refer back
  83. undefined refrence to a function
  84. few topics to refer back
  85. few topics to refer back
  86. how to serialise objects in c++
  87. Need help on template
  88. Program Required
  89. "Timeout while waiting for connection"
  90. C parser yielding syntax tree data structure?
  91. updating a file at the same time
  92. Unnamed namespace predicament...
  93. Can this conversion code be simplified?
  94. overload on return type
  95. Which design pattern to choose in this situation?
  96. Standalone Executables
  97. loop question
  98. article - Guidelines for writing efficient C code
  99. how can I send the error message to the user by email?
  100. how to sendmail
  101. global array defined by parameters passed. protoyping in header?
  102. Catching return value in a const reference needed?
  103. How to generate 52 different random number??
  104. Template class inheritance problem
  105. Best book for C++ progrmming in web!
  106. value or refernce
  107. handling invalid memory access exception .
  108. definitions of constants such as pi and e
  109. declaration vs definition w/classes
  110. generic solution to functions that differ only by 'f' (float) and 'd' (double)
  111. when to use dynamic memory allocation?
  112. declaration of pointer pointing to arrays.
  113. What you can't find in the programing text books
  114. ~ (abstract class instance)
  115. Need to restore your photo??? We have solution for you!
  116. Affordable Graphic Design
  117. Mock objects and testing
  118. Using Inheritance -- clarification needed ?
  119. read registry keys
  120. restrictions with malloc???
  121. lint and Makefiles
  122. .h?
  123. visual c++ error
  124. I can't regain control of my form
  125. key mapping for command-line tools
  126. linking error
  127. Changing access specifier for virtual function
  128. pgm without std library functions
  129. memory leak using mtrace to find
  130. While Loop Question
  131. C Statistics library?
  132. mov or avi transparency
  133. accessing an array outside its bounds
  134. Accessing private member of a class through type-casting
  135. UCHAR undeclared
  136. output
  137. pgm without std library functions
  138. Trouble resizing a pointer of pointers
  139. How to hide subclasses?
  140. Programmer's Avenue
  141. Variables are accepted as the subscription when declare a array
  142. How to find out the names of uncalled functions from object files that are dynamically linked?
  143. Can't figure this out
  144. under/over flow problem?
  145. remove index
  146. "C" Callbacks: Static method vs. extern "C"
  147. Intel c/c++ on linux system.
  148. Intel c/c++ on linux system.
  149. Reading a matrix file and storing it in array
  150. str().c_str() question
  151. Vector using shared memory
  152. This is My HW,PLS Help me!
  153. is this true? sort algo on STL Lists
  154. C++ vectors ...encountered a problem and need to close
  155. parsing c++ declarations
  156. casting a struct to a class
  157. portable sha1 hmac sources
  158. How to generate warnings when How generate a warning when int is converted to bool or vice versa?
  159. biblioteka do gif/png
  160. Detecting typedef at preprocessing time
  161. loop variable
  162. wrong about fstream file(s.c_str(),std::ios_base::in | std::ios_base::app);
  163. Invoking member functions of objects
  164. What is the defined behavior of past bound iterator
  165. unsigned char and char print
  166. int main(void) Why void?
  167. cons int manipulation
  168. static variable:declare and define
  169. open file in c / create if file doesn't exist
  170. Operator override when using STL
  171. Anyone know how to get the files in one directory?
  172. New Joiners : Pls. Read this
  173. filling static vars from different file
  174. Token-pasting trouble
  175. throwing exception from constructor .
  176. overload of operator=
  177. wrong about fstream file(s.c_str(),std::ios_base::in | std::ios_base::app);
  178. GUI Issues
  179. Accessing array by a pointer
  180. C++ Builder 6 - Printing
  181. how to compose the two expression to one?
  182. [lib] pgp/gpg
  183. Can abstract base class have V-table?, Will the pointer to virtual destructor be entered into the virtual table?
  184. Floating Point Accuracy
  185. Comparing the values of two vectors
  186. Inheriting only interface
  187. float f=0.7; f < 0.7 f<0.7f
  188. factory method
  189. What is the use of keyword __cdel in function signature.
  190. Hi, has anyone tried to use C to realize some data structure like cells in Matlab?
  191. C++ Function Signature string Parser
  192. Is it usful to write a class like "Do_When_Return" so I can make it easy to delete some objects when I exit from a code block?
  193. using pointers to map to data
  194. fstream and number conversions
  195. Reading a Text file
  196. Model View Controller?
  197. Destroying STL Strings
  198. template accessors for class?
  199. I can't seem to use pow()
  200. C++ Questions
  201. GUI in C++
  202. Using parenthesis with defined (#if defined(...))
  203. find length of unsigned char *input?
  204. abstract classes and virtual deconstructors assistance
  205. QuantLib or more general C++
  206. non-aggregate type error assistance needed
  207. Managing variable argument call
  208. Question on static attributes in inherited classes
  209. Copy Constructor segmentation fault
  210. n x n matrix transposition recursive algorithm.
  211. Access problem
  212. getchar() behaviour on gcc 4.1
  213. strange struct behaviour
  214. Debugger not reaching the first line of code
  215. problem with mysql c API and c
  216. how to define/initialise static template class data members of classtype
  217. Construtors
  218. Collecting different execution statistics of C++ programs
  219. how to make gcc know #inlcude<framework/filename.h> ?
  220. code dl
  221. Memory-resident message queue
  222. passing class pointer to other objects
  223. hash_set in STL
  224. c++ callback functor question
  225. int representation incorrect
  226. About partially specify template member function
  227. improve c++ by exercises/projects
  228. is anyone here who made text vesion tetris?
  229. I'm pretty sure I have some out of control Undefined Behavior
  230. Linear search
  231. Is this legal (templates)
  232. boost::weak_ptr and shared_ptr pointers from "this"
  233. 2nd Underhanded C Contest Begins
  234. Inputting text from a text file into a 2 -D array
  235. include .h files in .h
  236. Separating scope of try block?
  237. Fast and safe method for XOR folding
  238. Fastest way to read from a file into a vector<unsigned char>
  239. using placement new to re-initialize part of an object
  240. using placement new to re-initialize part of an object
  241. using placement new to re-initialize part of an object
  242. Macro to iteratively generate variable names
  243. a dumb question
  244. signals
  245. Nesting if statements in switch structures
  246. more help please
  247. Can a class have a non-static const array as a data member?
  248. source-code viewer
  249. anderson's equivalence method
  250. 3rd party tool
  251. abt void pointer
  252. can the array size be ZERO
  253. __FILE__ and __LINE__ within macros
  254. Non Recursive In-Order Traversal without using stack
  255. What's the tilde in a &= ~b ?
  256. error C2296: '.*' : illegal, left operand has type 'cStepCurveEvaluator *const '
  257. Why is the behavior different
  258. Address
  259. why is wcschr so slow???
  260. C++ standards
  261. why is wcschr is so slow???
  262. SHFileOperation Help
  263. variation with repetitions in C++
  264. How to implement an async-function?
  265. C linkage problem with ACE on windows
  266. is any body having cp implementaion
  267. is any body having cp implementaion
  268. Regarding McCabe's Cyclomatic Complexity
  269. Is it possible to write a struct to binary file?
  270. popen cannot allocate memory
  271. insert an elem into a link list
  272. Undeclared identifier
  273. help
  274. ifsteam
  275. Hash Table Implementation in C++
  276. Double Clock Experiment
  277. memcpy() question in C++
  278. Trying to understand character arrays.
  279. Design pattern question
  280. Greta and basic_string<char, ignore_case_traits>
  281. Java Interview questions and answers
  282. Refactoring-Feature Article in Better Software Magazine
  283. difference between pass by address and pass by reference!!
  284. Help wiht VC 7 - Error in OnFinish: Failed to return new Code Element. Possibly synta
  285. getch() and getche()
  286. getch() and getche()
  287. Code fails under vc8 - clearing a structure
  288. Has any C library to parse JAVA serialized object string?
  289. how to check the reference of C++on Linux
  290. Today I buy a new disk of computer but it run not fast
  291. templates question
  292. variable declaration in for()
  293. executing code in a String!
  294. plottting graphs in C++
  295. Ncurses
  296. STL inherit from container<T>::iterator
  297. windows.h
  298. Problem finding key in STL map with gcc 4.1.0
  299. C++ Builder 6 - Opening a File
  300. system and user time
  301. Multiple dispatch
  302. can operator << accept two parameters?
  303. how to resolve this problem
  304. design pattern .. factory i suspect
  305. How to change the value of PS1 from within a c program
  306. In-place function
  307. In-place function
  308. What does 'restrict' mean?
  309. Difference between including a header file in .h and .cpp
  310. factory design question..
  311. reading a file
  312. help with recursion please
  313. Q: stl, boost smart pointer to prevent memory leaking
  314. Command Line Argument with & and ^
  315. String Parser using BOOST.Spirit
  316. Constness of the container of shared_ptr and the constness of it elements
  317. using native C code in a C# application
  318. ring iterator adaptor for vector interator
  319. copy elements from a pq to a vector
  320. operator new() and new[]
  321. design pattern .. factory i suspect
  322. CGI C++ problem
  323. tournament tree implementation
  324. Obscure Syntax
  325. Name conflict with windows.h define
  326. size of a function
  327. scanning UTF-8 characters
  328. Life of temporaries
  329. Double Bubble Sort Algorithm Fails to Sort AT ALL
  330. how to make bool class with custom output?
  331. How to amend this code?
  332. Where I can find itoa()?
  333. problem named walk
  334. swap pointers
  335. when to use private inheritance?
  336. convert int to store in binary file in 1byte
  337. convert int to store in binary file in 1byte
  338. convert int to store in binary file in 1byte
  339. GUI compatibility in C++
  340. struct reference?
  341. Question on class private member
  342. 'New' operator
  343. need to call mfc application from C program
  344. Manipulating Bitmaps
  345. C++ Visual Studios 2003 GUI Help - error C2664: 'TextOutA'
  346. modem code
  347. file problem
  348. C++ FileIO problem.
  349. how to copy a file into an array?
  350. reading file and copying it into array...
  351. Getting C++ data into an excel graph
  352. How to store words?
  353. How to avoid the use of copy constructor when using STL container function (push_back, etc.)
  354. How to write game such like this?
  355. How to write the variables of a structure from an array?
  356. extern needed or not?
  357. private within this context ... more
  358. N -ROOM LIGHTS PROBLEM
  359. Flow chart for C code
  360. *p++ = *q++ undefined? why?
  361. When do we want to declare static object
  362. twice(twice(x))
  363. Can I avoid rewriting this function in a subclass?
  364. data mining
  365. n00b input help
  366. compilation wrning in altix350:(Typecasting from int to void *)
  367. Deque Item Deletion Problem
  368. Behaviour of custom allocator for vector
  369. I got one compliation error.
  370. get one character from input at a time?
  371. Template specialization problems
  372. Dummies-books-related java/programming/SQL
  373. Runtime polymorphism
  374. public inheritance
  375. How to invoke the operator of the private base class?
  376. unions with structures of common initial sequence
  377. Chess
  378. Parsing two formatted text files
  379. try/finally implementation in c++
  380. reference vs. pointer
  381. When to use null and when to use static_cast<some_pointer_type>(0)?
  382. scope and linkage
  383. A question on variable defination
  384. private inheritance
  385. STL Queue Data Lifetime
  386. Initialise elsewhere -- as simple as possible...
  387. Significance of trigraph in C preprocessor
  388. What will happen if main called in side main function?
  389. RReeaallyy long function -- inlining?
  390. HI, a question on #include
  391. best way to index numerical text data ?
  392. best way to index numerical text data ?
  393. Text mode fseek/ftell
  394. Globally declared arrays
  395. need help with COM in C
  396. I need a container to hold grid positions and the objects on the grid?
  397. Data structures or STL
  398. Help us celebrate the Embedded Tools Web Shop's second birthday
  399. Help us celebrate the Embedded Tools Web Shop's second birthday
  400. Copying fread behaviour on char array
  401. coding standard
  402. STL containers and managing memory allocation in embedded systems
  403. passing a pointer to a struct to a function that uses ncurses
  404. How to Identify functions in a .C File??
  405. [CFP] WLPE'06 - Workshop on (logic-based) Programming Environments
  406. How to fix this error?
  407. open source xml parser in C++
  408. Some doubts on variable-length array
  409. How to get over this error?
  410. address of return value
  411. new & null
  412. How to Define High-precision Date type
  413. Something About Date Type
  414. value_type of back_inserter?
  415. Illegal Immigration, the Non-Issue of the Week??????????????
  416. Illegal Immigration, the Non-Issue of the Week??????????????
  417. iostream and boolean
  418. More on pointers to pointers.
  419. Deleting multiple elements from STL hash_multiset
  420. why cann't I access protected var from a inherited class?
  421. How to use gdb to show the type of a variable?
  422. How to use gdb to show the type of a variable?
  423. Complicating things?
  424. Binary or Ascii Text?
  425. Convert Java <long> to C <?>
  426. gui design
  427. signal trapping in C++
  428. Any Good Freebie Text Editors With Auto Indent Capability?
  429. How to format the screen output?
  430. Inheritance Puzzler
  431. streambuf filter
  432. fread fwrite struct
  433. Silly STL question...
  434. how to schedule the compiler?
  435. operator overloading
  436. forcing compiler to consider inline function inline.
  437. Create c++ library for use in C
  438. best practice for global variables?
  439. switch case with vector problem
  440. sizeof(non_static_member_variable) in a static function
  441. new & null
  442. Problem: using this pointer
  443. Er Sorry About That
  444. warning: implicit declaration of function 'printf'
  445. Sizewell B++
  446. Rods
  447. Lowering Of Graphite Rods Into Reactor Core
  448. Performance measurement of a single method
  449. size in kbytes?
  450. What is the replacement in C++ for _aligned_malloc in C?
  451. Template and typename
  452. Loki-like functors with boost::function?
  453. to malloc or not to malloc??
  454. what all a class has by default
  455. How to convert image formats?
  456. what's wrong with my code of linked list?
  457. 100% CPU
  458. Can 'C' program be run as a background service?
  459. When to use Boehm-Demers-Weiser Garbage Collector?
  460. using exceptions as a "deep" return
  461. how to check the function free()
  462. using std::string; string("hello") vs std::string("hello") in header file.
  463. std::istringstream and ignore ..
  464. Gotta love it
  465. C++ Linux Programming Job At UC Riverside
  466. Telephone bill
  467. Missed catch?
  468. memory leak?
  469. Convention for Object Lifetime Requirement
  470. string addition
  471. How to calculate Heap Memory in HPUX using pst_status
  472. pragma for pointer size on windows?
  473. copy constructor problem
  474. big decimal integer constant warning
  475. strtok problem
  476. strtok problem
  477. C++ Source Code Documentation for large project
  478. Order of constructor execution?
  479. about static variable of a class
  480. MT Exception Handling
  481. programming, in c,
  482. programming, in c,
  483. ofstream and close()
  484. c99 array size Q
  485. Scope/use of prototypes Qs
  486. errno 72
  487. reading line by line from file
  488. Disabling "incompatible pointer type" warning.
  489. getting screen aspect
  490. casting between pointers
  491. Misra Rule 18.2. An object shall not be assigned to an overlapping object
  492. is this a memory leak?
  493. rain
  494. accessing Serial ports in C/C++
  495. How to define an array of struct nested within a struct?
  496. Remove "smallest" element from a linked list?
  497. problems on assigning value to a 3D array and print it out,thx:)
  498. Help on templates
  499. C++ information resources
  500. Can a static function defined in a C file be ever referred (called) externally ?
  501. program to reverse a sentence
  502. SIMD?
  503. delete [] faults in destructor..
  504. Reversing Input
  505. Segfault, please help!
  506. C++ HTTP server wanted
  507. Small exercise with template metaprogramming
  508. logical const and event programming
  509. Use of unions
  510. Comparing structs...
  511. char vs. unsigned char
  512. Complement of unsigned char
  513. Not executing the body of a if statement
  514. Regular expresions
  515. File name from file description
  516. 0 or NULL?
  517. containership
  518. web
  519. web
  520. const string in static class
  521. B.Baron Metody numeryczne e Builder 6
  522. virtual functions
  523. Pointer Artithmetic Puzzle
  524. Any support for indefinite length integer
  525. fopen extensions
  526. Function name commingle
  527. Protected member inheritence in templated classes
  528. I bought a computer yesterday ,but its speech can't quackly
  529. fnmatch.h help
  530. Use of System function
  531. priority_queues or not?
  532. Opening of .chm files
  533. returning char arrays from a function
  534. Need urgent help.
  535. templates and polymorphism
  536. std::less and pointers?
  537. Random number between 1 and 4000?
  538. a question about libstdc++
  539. on variadic function in C when porting matlab files to C
  540. PCI Bus access in C++ (Windows)
  541. design question
  542. overloaded operators returning wrong values
  543. passing argument to user defined type
  544. Learning Multithreading by example
  545. passing argument to user defined type
  546. How to programmatically check the connection speed
  547. Error: passing `const state' as `this' argument of `void state::dumpState()' discards qualifiers
  548. Learining C++
  549. About default copy constructor when using auto_ptr as the member
  550. why does this work?