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