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. Any undefined behavior???
  2. int = 10
  3. implementing password in C++
  4. pointers anbd references as parameters
  5. unrecognized option `-remap'
  6. A question on designing using ADT
  7. passing
  8. reading strings into more than 1 array with if
  9. I Need Programs For Insertion And Deletion In Linked List And In Array
  10. possible combination of numbers
  11. bool variable.(a non-standard question)
  12. Java & C Interview Questions With Answers
  13. cascading increment operator in c++
  14. memory allocation for arrays in c++
  15. What is the hash function that is used in hash_map / hash_set
  16. test
  17. program in c to generate a magic square of size n*n, where n is odd
  18. I want to clear a portion of screen - How??
  19. time complexity
  20. Aliases in C
  21. Dynamically Allocated Multi-Dimensional Arrays
  22. Unable to correctly concatenate a string variable
  23. std::cin
  24. ostream,stringstream and char*
  25. c program
  26. static function calling nonstatic method ? (or something like that)
  27. Can sombody tell diffrence between 'The C Programming Language' 1978 ed and 1988 ed?
  28. Beginner Help, Win 32
  29. Please help me to design.
  30. Multi-Thread public variables...
  31. Database Handling
  32. Can someone help me with skeleton C to handle SIGTERM
  33. Maps, filters and accumulators
  34. Reqd a prog in C++ for conversions
  35. How to avoid repeating code?
  36. length of 2D Array >> char **myString= (char **) malloc (sizeof (char *));
  37. length of 2D Array >> char **myString= (char **) malloc (sizeof (char *));
  38. Linking files
  39. HELP: C/C++ equivalent of dos,crt Pascal units
  40. HELP: C/C++ equivalent of dos,crt Pascal units
  41. how Conversion is done char to a bytes
  42. No another Text File =]
  43. creating an object of a #defined class
  44. What WCHAR * to wstring does internally?
  45. Floating points
  46. Typedef and Structs
  47. threading in c++
  48. how to do it!!
  49. Changes needed in the resource file to support Hindi language using vc
  50. Abnormal program termination
  51. why the size of emty struct is 1 byte in C/C++ ?
  52. cin.getline() problem
  53. A function for parsing complex declaration's
  54. Suggestions for declarations.
  55. segmentation fault in following code
  56. Trying to figure out what I am doing wrong.
  57. can functions return a struct?
  58. sizeof and dynamically allocated arrays
  59. Is this the correct way to assign array value?
  60. Global change of naming convention
  61. Visual C++ 6.0 and Visual C++ 2003 compatibility
  62. how to detect CPU architecture..
  63. how to detect CPU architecture..
  64. Beginner question
  65. which one is better
  66. ARRAY SIZE TOO LARGE
  67. Segmentation Fault at sqlcxt.
  68. Operation recomputation
  69. serialize a struct
  70. Proper Use of Volatile?
  71. Reading a text file and storing the content in arrays in C++
  72. Zthread devpak
  73. Diffrence between 'The C Programming Language' 1978 edition and 1988 edition.
  74. array
  75. Serial Port Access in XP
  76. list::iterator behavior (after insert/delete) specification
  77. about panda PDF generator
  78. Determine where my C program core dump on solaris
  79. Making a Script
  80. CERT C Programming Language Secure Coding Standard
  81. Convert 00010000 to 11110000......how?
  82. Array help
  83. overloading ()
  84. 0.43 convert to 43/100??
  85. oracle and c++
  86. mp3 player
  87. memory take by void return type
  88. how could I write this cpp macro
  89. Initializing constants
  90. image processing program in C or C++
  91. Ending a Thead and retrieve the result in MFC
  92. Dinamically allocate array of array of structures
  93. strange problem with map iterator
  94. Want To Measure CPU Load On a Linux system
  95. TreeView Design
  96. Writing own WinExec
  97. Info
  98. General advice on type casting
  99. Constructor
  100. meaning of define
  101. Counting the number of words read until end of file
  102. copy constructors and pointers
  103. Dijkstra's algorithm segfaults
  104. Another stupid MSVC6 linking problem
  105. sum of consecutive positive integers
  106. compiling service ?
  107. Problems accessing methods of derived class
  108. MSVC++ 6.0 Linking problem (possible OT)
  109. pointer arithmetic
  110. General method for dynamically allocating memory for a string
  111. C++ says that these are ambiguous...
  112. switch from raw pointer to vector container
  113. Dynamic buffer library
  114. quick question?
  115. Polling for a new file in a directory
  116. Accessing Baseclass virtual function from derived
  117. opencv and C using KDevelop environment
  118. how to import classes in one class
  119. how to code this problem by using array
  120. Pitfall of proxy instead of temporary?
  121. price of casting a char into int to be used as an array index
  122. Redirection issue
  123. can I use STL on visual C++ type?
  124. algorithms and c++
  125. operating with binary
  126. Conversion of char to a string
  127. private constructor
  128. pls give me c++ interview questions
  129. MD5 Hashing
  130. How to write the transform equivalent in STL?
  131. Dynamic array of structures within a structure
  132. Can I declare a static array in a structure
  133. recursion in combinations
  134. Casting base * to derived *
  135. give me explanation for this statement
  136. what is Deep Copy, shallow copy and bitwises copy.?
  137. Regarding "#pragma once" and "Lvalue error"
  138. Variable Argument Functions
  139. Median of values in a std::map
  140. strncpy not that easy to use
  141. a strange one
  142. error C2258:
  143. different answer for same code in linux ,Eclipse IDE
  144. Need help
  145. Is it possible to Overload a Destructor?
  146. how can i subclass a dlg item
  147. how to send ctrl-Z in C language - modem interfacing
  148. Runtime error when using pointers and Files
  149. how to deal with arrays with unknown length?
  150. Symbol search
  151. Architecture independant byte operations
  152. How to take the size of a pointer to array.
  153. vending machine
  154. Learning about Nodes:
  155. array of array of complex things
  156. Am I being Stupid?!
  157. combination of type conversion and string manipulation
  158. help in solving this function object.
  159. Copy constructors
  160. Hi a strange code ....
  161. inline functions
  162. Size of malloc'd?
  163. c code reusability
  164. Homework Help
  165. Catching exceptions across shared object boundaries
  166. Proper way to turn off debug macros at compile time.
  167. how to write a c program to find the roots of the equation using bisection method
  168. load and time
  169. is the C library a wrapper for windows API?
  170. object multi reference
  171. I am a C++ beginner
  172. What happens when I write struct xx_type {...}
  173. sorting arrays
  174. Maximum memory allocation
  175. How to write a C++ program to do the statistics of each word in an English text?
  176. stl::map lookup speed
  177. How can I change the color of button on mouse move over it
  178. std::for_each
  179. Mixing allocators and unitialized_fill?
  180. Method vs member function
  181. Question
  182. struct definition...
  183. File processing in C.
  184. connect db2 in my c program on AIX
  185. Connect to db2 in my c program on AIX
  186. strange output
  187. Dynamic Structures
  188. boost regex --- sregex_iterator -- Regular expression too big
  189. What is the ascii value of EOF in C
  190. Problem in pointer size!!
  191. why defined implicit
  192. testing read/write speed
  193. #include <boost/shared_ptr.hpp> or #include "boost/shared_ptr.hpp"?
  194. operator overloading
  195. child list. .
  196. multilingual application in C++
  197. Platform to create games using C++?
  198. Using printf/scanf inside printf
  199. Problem in returning a vector from a function
  200. Div() function
  201. c program to check that whether computer on which u r working is little endian or big
  202. VC++ Dll loading inJava
  203. Invisible TextOut. Why? How?
  204. Exception Handling
  205. help debug program..
  206. question about fwrite function.....
  207. why do we throw a reference to the object
  208. HELP in a logical issue
  209. Use macro parameter in string; Find type definition
  210. const does not apply to pointers?
  211. streams and floaters
  212. Why is for(int i=0; i < 100; ++i) poor?
  213. Import VC6 project to gcc
  214. Site for Microsoft Interview
  215. reguarding scientific notation
  216. stl::sort with a vector
  217. Aplication to add comments to my functions
  218. Trying to open a file that realy exists
  219. Custom output stream
  220. number of children exist?
  221. Play Sound Files over Medem on Linux
  222. closest equivalent of fdopen()?
  223. Need help with homework questions
  224. Network Drive Access
  225. C IDE Recommendations
  226. 64bit porting
  227. bubble sort
  228. serialize a structure
  229. Problems with my .exe symbol
  230. Call C++ function from C
  231. Slicing instances in STL containers
  232. c++ technical probelsm (a beginner)
  233. ostream
  234. why some operator ca't be overloaded
  235. MFC issue(VC++)
  236. where we should use reference and where pointer
  237. string manipulation
  238. does the output depends on the compiler
  239. Hi all,
  240. Strange behavior of fmod()
  241. overloading operator []
  242. int* ptr=10;.......issue.
  243. int* ptr=10;.......issue.
  244. How can I create a Ram Disk within C/C++ program?
  245. Improve memory for success
  246. Improve memory for success
  247. source formatter that sorts .h file according to public/private and protected?
  248. class composition problem
  249. HELP
  250. int main()?
  251. what's the problem with my iterator?
  252. max(NaN,0) should be NaN
  253. Why top level menu appears “Alt+F9:ile ”,
  254. How do I compile programs in windows (basic question) ?
  255. Structure Pointers & Encapsulation & 'ting
  256. Buffer or Realloc?
  257. Software Development C++ vs C#
  258. C/C++ usage of typedef struct
  259. Text to string program
  260. Adding Components and controls inVC2005
  261. Visual C++ 1.5 and Win2K
  262. What(s wrong with that :
  263. help with changing C light bulb (regulars please read)
  264. ASP.NET C++ LNK1120 error
  265. Capture audio/video and send through the internet
  266. Colour and drawings or graphics in C++
  267. Re : Object Factory Design Pattern by GoF, need help!
  268. Help me/....
  269. XML library
  270. I want to modify STL to suite my requirement
  271. Any explanations
  272. Any explanations
  273. Object Factory Design Pattern by GoF, need help!!
  274. How to play a .wav in a non-standard device in C++
  275. Copying pieces of char array to string
  276. Dilemma of const-ifying a function parameter
  277. code to find correlation
  278. Template as a base class.
  279. initialize static member variable
  280. what's this usuage?
  281. SOLVED: Function overloading and base types
  282. copy strings into an arbitrary location !
  283. Could anyone do this program "Urgent" Please
  284. Reading commands into an array from a text file
  285. basic doubt on shared libraries
  286. Variable arguments for a Constructor
  287. Cygwin g++ Mulitiple Definitions of std::min()
  288. data stucture using c
  289. Waring for string is absent.
  290. Generated function
  291. Is it Nesting structure within itself
  292. Constructor with pointer as parameter
  293. Template Class Member Definitions in Headers?!?
  294. Creating a shared library and loading it
  295. Creating a shared library and loading it
  296. FAQ Submition frequency
  297. compile error with Boost Function object and templated function (Intel C++ compiler)
  298. c++ highlighting in VI
  299. strange question
  300. floatptr=(float*) intptr;
  301. floatptr=(float*) intptr;
  302. casting
  303. Linear Alegebra in C++
  304. compiling iso c++ code in Visual Studio environment
  305. pointer to structure from pointer to member
  306. Ugly C looking code
  307. trouble outputing the address location of a character
  308. assigning string constant to char *
  309. How to be sure my array only takes pointer
  310. cast a pointer
  311. xmlrpc lib for c++
  312. alignment/zero length arrays
  313. Cant get codec to work
  314. Address of member (pointer syntax)
  315. Can't compile HW
  316. Completely new to C++, any ideas where to start?
  317. The callback-to-derived-member function problem
  318. Which one is efficient !!
  319. String to integer
  320. Assertion before definitions
  321. dll-interface problem
  322. class similar to a function object?
  323. Tokenizer does not like ampersand
  324. Read big characters
  325. When does msg queue fails??
  326. program doesn't "seem" to print "hello-out"
  327. What is faster, const_iterator or iterator?
  328. Where could I find function body of "fseek()" and "ftell()"
  329. int i ='abcd';
  330. created file is deleted still program not reporting error
  331. STL stack initialization
  332. Error returning a string
  333. Making Operating System
  334. The type of "Point to array"
  335. Generating random seeds for simulation
  336. Is overriding a function of a library in accordance with C++ standard?
  337. shared member between class instances
  338. Function overloading and base types
  339. little endian , big endian , big headache
  340. easy question about free()
  341. How to count numbers of repetitions in C++
  342. template function specialization inside template class possible?
  343. Inheritance implementation just feels wrong, I need reasons though...
  344. array initialization
  345. Syntax issue
  346. A question of pointer initialization
  347. c
  348. VLA and goto -- diagnostic required?
  349. why class A and E's sizes are 4 instead of 1?
  350. Same function implementation... different parameter types
  351. I can see the music!
  352. Bitshifting independant of signedness
  353. Porting from Windows to Linux - template class derivative compilationproblems
  354. WAV to BMP
  355. web application launcher
  356. evaluating strings
  357. sorting the value not the key
  358. declaring functions moving input pointer
  359. BTree implementation
  360. Windows networking
  361. select call is timing out? im stumped
  362. Totally omit default parameter brackets from template?
  363. Please suggest me some sites
  364. Relative Paths (noobie question)
  365. complexx cicles
  366. External functions
  367. Member variable with the same name in base and derived?
  368. Override a virtual member in a instance?
  369. SPEC CPU2006 announced
  370. SPEC CPU2006 announced
  371. range iterator
  372. c++
  373. How to download an URL (cross-platform)
  374. Hiding rule and pure virtuals
  375. Question about change of "fp" in function "fseek"and "ftell"
  376. Howto make an instance of a class defined in a DLL
  377. Code puzzle?: Implementing arrays without arrays or heap
  378. line plot sample code
  379. Insert characters into a text stream.
  380. Valid pointer to map element after erase
  381. Destructor & Constructor Question
  382. c99/c89
  383. Do inline functions have a valid code segment
  384. new one to c
  385. new one to c
  386. how to copy a part of a binary file
  387. Multimedia in C++
  388. Need help with audio library on DOS...
  389. Stumpted: sorting vectors.
  390. Why it's a pointer not just a class
  391. WAV to BMP & Back!
  392. List Iterator = NULL?
  393. what's the difference betwwen these two ways to use std::ofstream
  394. Boost serialization : Stream error exception
  395. puts() vs printf()
  396. Stop an SDL_sound stream, or possibly kill the fork?
  397. Name look up rules
  398. the difference between "const char* s" and "char* const s"
  399. i'm a little confused
  400. Array for speed or...
  401. Why is it -- or is it -- bad to cast like the following code?
  402. how to copy strings into a linked list?
  403. the difference between "const char* s" and "char* const s"
  404. use of control87 and floating point underflow
  405. operator= accepting a template?
  406. Why does this not fail?
  407. Floating point load-store behaviour.
  408. weird code.
  409. Left shift
  410. Hash function for float.
  411. is not a member error when trying to init members in constructor
  412. how to solve these equations
  413. how to read a file randomly
  414. MIDL problems
  415. timers in C++
  416. Unallocated memorz being freed in <iostream>?
  417. how to use the origin new operator after override it
  418. Question about static's
  419. routine to return number of rows and columns in a matrix
  420. calculation of cpu idle time
  421. calculation of cpu idle time
  422. W.A.P.
  423. Is it legal?
  424. Help me to find out what is wrong with this code
  425. class definition in template class
  426. How are functions organized in c++
  427. Design question
  428. How to implement sizeof operator
  429. Start point of execution of a program
  430. sd card interface
  431. How to catch a user interruption?
  432. Why can't the source compile?
  433. declaring a stream then defining it
  434. assigning a pointer the address of local variable
  435. delete dynamically allocated memory in a list?
  436. How to use enum from a different namespace?
  437. delete dynamically allocated memory in a list?
  438. Please participate in a non-profit academic research
  439. fork defunct process, already forked twice
  440. combinations ( NchooseK)
  441. memory allocation problems
  442. streambuf in binary mode
  443. explain
  444. explain
  445. Better program design?
  446. Looping question
  447. interfaces,
  448. Using C functions in a C++ program
  449. _POSIX_C_SOURCE redefined (Problems with Python.h?)
  450. linked lists
  451. toggle keys
  452. Variable across instances of class.
  453. Getting a File Name from a FILE *
  454. Question about using namespace std
  455. Computers Get The Cancer Too
  456. copying map
  457. Portable way to compare strings using case-insensitive
  458. scanf question using %[^$]
  459. extracting a report from files
  460. why empty class has size 1 byte
  461. Calculation of address
  462. make_pair with auto_ptr: ... discards qualifiers
  463. 3D library needed to display wire objects
  464. Printing Different Language Characters Using Locale
  465. remove decimal but show cents with sprintf
  466. Moment, Skew and Kurtosis? How to use this Math function
  467. why printf works first than cout
  468. deriving a class from a base class
  469. Virtual function definition
  470. Constructing/modifying va_lists
  471. non-POD type in call to va_start
  472. what is the reinterpret cast operator ?
  473. constructor call syntax
  474. dereferencing problem
  475. get random number in range [10..50]
  476. why is size of empty class is 1 byte
  477. why is size of empty class is 1 byte
  478. why is size of empty class is 1 byte
  479. why is size of empty class is 1 byte
  480. why is size of empty class is 1 byte
  481. why is size of empty class is 1 byte
  482. declaration shadows a parameter
  483. File size difference under different compilers.
  484. acces base class member from derive class
  485. pointer to a map
  486. a little confussion about initialization
  487. I think this should be a memory leakage. Anyone agree?
  488. understanding memset
  489. preprocessor code
  490. COPY DATA FROM A BUFFER AND SEND TO SERIAL i/o
  491. containment of standard c++ classes
  492. replacing blank lines in my .txt data file
  493. Floating Point and Wide Registers
  494. const and non-const version of the same fcn.
  495. How to test for memory leaks?
  496. basic code from Eckel's c++ book
  497. Function argument as char []
  498. Simple problem?
  499. switch error
  500. Indirection operator placement
  501. Problem with scope
  502. Search TXT file
  503. bool flag
  504. Help / NET
  505. overloading
  506. questions about point?
  507. cvs in eclipse
  508. cvs in eclipse
  509. PREPROCESSOR: Multiple expansions.
  510. please help..:(
  511. copy construct and overloading = operator
  512. Problem binding a predicate to random_shuffle()
  513. question on initializing a pointer to an object and releasing the memory.
  514. Nested FSM implementation
  515. Is this #define legal?
  516. Bucket sort...in C
  517. Objectives on C and C++
  518. typedef
  519. tools.o(.data+0x0): multiple definition of `VAR_1'
  520. K&R exercise 4-1
  521. which compiler and IDE will you use?
  522. Forward decleration of enumerations and typedefs in a NameSpace
  523. virtual functions in virtual base class
  524. malloc() and limitations
  525. Pointer arithmetic
  526. Recursion
  527. How to make a sub class a friend in another class?
  528. Convert from std::string to unsigned char*
  529. Strange problem with size_t
  530. Unix and Windows
  531. memory allocation (take 2)
  532. Help with template
  533. List iterators default constructible?
  534. %u printf
  535. Quick question on operator overloading
  536. C++ Installer
  537. Learning C for the third time?
  538. Printf Problem
  539. Problems with STL sorting using member functions
  540. algorith implementation
  541. end-of-file problem
  542. Plzz Explain !!
  543. Memory Leak
  544. help on craps
  545. Anyone know what
  546. How to use lib function "getline"
  547. How to use lib function "getline"
  548. STL find algorithm
  549. How does "delete [] <pointer>" work?
  550. Linked list/Tree using iterators?