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