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