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. convertion problem? from char* to unsigned char*?
  2. static const Class Member
  3. Access database from C++
  4. What happens if I use delete [] to a pointer from a "new char('\0')"
  5. Making an iterator for a custom container class
  6. A function with return type is better or doing the same thing using reference is bett
  7. Cached memory allocators
  8. Any Ideas Where Can I Find C++ Apprenticeship?
  9. Function creation in C++
  10. Problem in reading datafile
  11. operator overloading in STL
  12. How to compare character arrays
  13. mbtowc question
  14. benefit data hiding in c++?
  15. function object design problem
  16. Stranded with Prime numbers
  17. Call a C++ dll from other C++ dll
  18. what the result of average_time have negative
  19. Program to evaluate a postfix expression using a stack
  20. size of structure
  21. How to extract data from an xml file using c++ or vc++
  22. while(false) { }
  23. how to create exe files using c++
  24. c without usin any graphics function
  25. Save buffer into jp2(JPEG 2000) format
  26. What is a bin file
  27. [VC++] Using libraries
  28. Save buffer into jp2(JPEG 2000) format
  29. Class does not cout from constructor?
  30. How to open *bin using C language
  31. 2 power n diff settings for n 2way switches suppose that we wanted to have how many m
  32. Reading a file with 2 variables
  33. Call by Reference not working, am i doing it wrong
  34. draw a rectangular grid having 10 rows and 10 columns
  35. mbtowc recovery
  36. I need help with a function that swaps array halves.
  37. Having difficulty with constructor
  38. Require help learning how to decompose class into policies
  39. C GUI help
  40. Calculating the sum of three matrices
  41. Object that transfers ownership on assignment/copy
  42. reading system information over LAN
  43. Dev-C++ bloodshed Installation error
  44. Iterator implementation questions: copy constructor and postfixincrement
  45. issue on parashift faq section [39.14]
  46. Preprocessor - Generate enumeration from two macros
  47. After Text File has been read into memory.......
  48. How to compile n execute c/c++ programs in Microsoft Command Prompt
  49. Saving type float number to EEPROM
  50. Ideas to start a beginner in C++ programming
  51. comparison on non-integer types
  52. DLL Entry Point
  53. Bidirectional iterators: signed distance?
  54. File Handling in C
  55. Opening ASCII text in C++
  56. printing a list
  57. SQL using C
  58. Minimum size of void *
  59. Write a program to count number of characters input
  60. JK Flip Flop Fun
  61. fatal error LNK1104: cannot open file 'C:\Users\admin\Documents\Visual.obj'
  62. STL Link List Problem
  63. C/C++ and Webcams
  64. Calling a FORTRAN function that returns a complex
  65. fetestexcept fails
  66. Calling a FORTRAN function that returns a complex
  67. Class design with tightly bound iterator
  68. How to copy stream of data to a 2D array?
  69. Why typedefs are not allowed to nest?
  70. Get selected text (if any) from window that have focus!
  71. When you decide to overload operators?
  72. Debug : File :i386\chkesp.c ERROR
  73. For statement
  74. size of an integer depends on word lenght of an OS ?? IS IT
  75. Sizes of Integer Types
  76. class type casting
  77. Fresh Programmers Required Visual Foxpro
  78. Required Visual Fox pro fresh programmers
  79. References or pointers?
  80. How to replace a word in a file.
  81. When to use a Function Template
  82. how to return an integer array from functions
  83. how to write 3dsmax exporter?
  84. how to define this complex declaration and how to use it
  85. binary files
  86. Serial controller algorithm
  87. sizeof empty class
  88. How To read Tandem File Like PTLF, TLF
  89. doubles/printf & rounding
  90. Link list destructor
  91. how to read a large data file
  92. convert a Pascal program to C program
  93. signed int and unsigned int
  94. const type qualifier after function name
  95. new [] and delete []
  96. How to stop a program while it's executing and save progress
  97. Double Dispatch Obsolete?
  98. C++ question
  99. GLIBCXX - Selectively picking up the version
  100. C2143 syntax errror
  101. STL vector iterator question
  102. Tokenizing strings to long integers and doubles
  103. elementwise product or sum of two vectors
  104. returning array of offsets from the Boyer Moore String search algorithm
  105. const vector<A> vs vector<const A> vs const vector<const A>
  106. ++x is more optimised than x++ ???
  107. Error C2143 missing ';' before '*' and others
  108. How to design Dos Print in VB 6.0
  109. Library version
  110. Creation and destruction responsibilities
  111. Creation and destruction responsibilities
  112. Any idea how to get this API to work?
  113. fibonacci series using structures in c
  114. Creating an About GUI... "How to Retrieve a file version"
  115. Why "Welcome Message" I post come get posted as the reply to same post ?
  116. How to start learning C?
  117. Passing arrays to C funcions
  118. my code has failed to print out the last number i enter in the reverse order
  119. compressor / de-compressor of a file
  120. sorting programming
  121. Parser programming in C
  122. (void**)&ppval
  123. Sort command in unix+ c program
  124. reading from text file into an array with fgets
  125. structure padding not considered by 'new'
  126. Bee Hunt
  127. Exception Safe Guard
  128. Optimization: Comparing Signed with Unsigned
  129. Compile Time Error Checking?
  130. IEEE-754
  131. how to initialize a 3-dimensional array?
  132. Use of abstract classes
  133. How to draw a circle
  134. Input in a Win32 Application
  135. TextOut in a Win32 Application
  136. C++ STL in Embedded programming
  137. The function readit() seems to jump to writeit() when it shouldn't
  138. how to accept infinite numbers
  139. window messages to the wrong window
  140. one element array as name of struct typedef
  141. File contents
  142. how to modify functionality of new operator ?
  143. Difference between getch(), getchar(), and getche?
  144. how to not reallocate auto array
  145. c++ and target environment
  146. how can i make my .exe file run on other computers?
  147. Removing Duplicate Entries in a vector
  148. Class code and methods for spehere in C++
  149. Implementing toLower() function without calling library
  150. file I/O, user managed file name C
  151. Monitor runtime of a process
  152. fatal error out of memory
  153. String concatenation
  154. seeking simple program to demo a debugger
  155. help with writting data file.
  156. setting password fo a file in linux through code
  157. How a number is divided with out using divide operator ?
  158. Declaration of a node of a link list
  159. Purpose of code '#define'
  160. interest computing program question
  161. Shared Memory...
  162. c++ compiler usage problems
  163. Is there any STL function for sorting characters inside a string?
  164. File reading trouble. getline
  165. BLAS vs CBLAS in C++
  166. Explicitly instantiated template classes in a library
  167. Getting date in parted strings
  168. Help with reading a text file into a 2D vector.
  169. serialization of arrays
  170. Combining string and chararcter into string
  171. Poblem with Structural array
  172. bus error?
  173. help on std::vector
  174. CLI Parser Needed -- Suggestions?
  175. Private Inheritance and Publice Inheritance
  176. Passing multiple arguments
  177. Container for large amount of data of various types
  178. Question in terms of design. Where to put "#include"?
  179. scientific & setprecision (iomanip)
  180. C++ Creating classes and references between them
  181. database connectivity with C++
  182. How to port c++ application to windows
  183. Signed 'endian' ; Byte order conversion
  184. What is the output of this program?
  185. edi library
  186. 3d array
  187. Template-Meta: Finding out whether a template-definition exists
  188. whats wrong with this code? (template class) - corrected
  189. What is wrong with this code ? (template class)
  190. template template parameters
  191. difference between memcpy and strcpy
  192. template template classes
  193. 32-bit compiler
  194. size of pointer
  195. File I/O, not properly reading a .m file
  196. I am afraid
  197. How to deal with Unicode
  198. Reference lets a function to return a variable . But strange things happen :(:(
  199. Placement of initialized data
  200. :(
  201. soft junk
  202. interesting makefile issue
  203. Fibonacci sequence
  204. Microsoft Power Point Visual Basic Editor Object Browser
  205. Fooling C Compiler
  206. Difference in overloading Post increment and Pre increment operator in C++
  207. Comparison of two jpg images in C++
  208. How to clean keyboard input?
  209. rewrite the code
  210. reading string array from a file
  211. Would I maybe use register in this case?
  212. Suggestions for exemplary c99 code
  213. Ranged Integers
  214. Airline reservation system
  215. Error in 'while' loop MS VS8
  216. Returning a string array from a function
  217. Ambiguous constructor call
  218. c++ script help
  219. convert decimal to hexadecimal number
  220. Concatenating strings
  221. pointers size allocation
  222. Problems Compiling Dev C++ 4.9.9.2
  223. Parsing the content of string array into an integer
  224. auto_ptr who is right?
  225. please help
  226. convert decimal to hexadecimal number
  227. Coding Pascal's triangle in C++.
  228. c program on a quadratic equation
  229. Default values for arguments
  230. Whys this output
  231. String Constant absent in C++
  232. String Constant absent in C++
  233. Writing portable code...
  234. question for returning an array
  235. Question regarding memcpy and memmove function
  236. file extension query
  237. Spirit 1.8.5 and 1.6.4 released
  238. strlen
  239. Can't newlines to files
  240. Request critique of first program
  241. Request critique of first program
  242. CreateWindow()
  243. Visual C++ Express Edition or lcc-win32?
  244. question for returning an array
  245. Visual C++ Express Edition or lcc-win32?
  246. Access violation in free()
  247. Matrix as an argument
  248. Converting int to UserStruct on function call
  249. strings/char problem :(
  250. .wav to txt in c
  251. Default type for "register" variable
  252. why standard convesion is picked instead of constructor conversion
  253. Why does this work?
  254. Calling base method within aggregation
  255. function and linked list
  256. no response from allocator
  257. can we handle a scanner by c++ and how?
  258. Using C++ Class in C# with DLL
  259. Error of : initialization makes pointer from integer without a cast
  260. Comments on my code?
  261. Standard C library namespace
  262. string merging problem
  263. string run-length encoding problem
  264. getting compiler error in LoadImage in VC 8
  265. Superclass and Subclasses
  266. People Favourite Sites
  267. grid output pattern for magic square in c
  268. Pointer to pointer
  269. how to make armstrong program?
  270. A C++ program for counting individual string in a text file using file handling
  271. interupt in embedded c
  272. nibble swapping in c
  273. problem in concatenating strings
  274. writing into file using structures
  275. NewsMaestro
  276. input rows of integers
  277. program in C
  278. Segmentation fault in my program
  279. Volatile Pointer
  280. 'C1 = C2' == Copy Constructor
  281. Bug in my C++ program seems really strange. (Update on debugging progress)
  282. Bug in my C++ program seems really strange. (Update on debugging progress)
  283. How strongly are ncurses incompatible with signals?
  284. manifest files
  285. Object files
  286. New best-practices website.
  287. New best-practices website.
  288. Allocating Memory for a variable-sized array of Structs
  289. Conversion error
  290. Interface Programming the basics
  291. Macro redefinition
  292. C Offsetof
  293. Trouble calculating percentage in C++ dice program
  294. Macro inside a string
  295. fgets in switch menu, C
  296. tr1::function implementation
  297. The Practical Use of a Program
  298. Yet another template class question (corrected)
  299. gcc at fault?
  300. Is there a library to parse data from html?
  301. const qualifier - in declaration, definition or both?
  302. Yet another template class question
  303. Connect to remote computer and read RAM, etc...
  304. template class question (more elegant soln)
  305. Definition of a Prototype
  306. string problem in c
  307. deletion of mem alloated using placement new
  308. Scanf quary
  309. disabling warnings for some include
  310. Need to write portable code across windows and linux
  311. Small problems formatting maps (<map>)
  312. pseudo code
  313. Mention the C codings for these O/p
  314. using lexical_cast
  315. Sequence pointers
  316. C++ find question
  317. SMS default 7 bit coding and UCS-2 coding
  318. Problem with fscanf()....
  319. Problem With Pro*c
  320. Coding Standards
  321. What is a dangling pointer, and how to avoid it?
  322. static functions
  323. question on files
  324. Request for a program
  325. pointer conversion
  326. May I have a example of design pattern of "composite", I still feel fuzzy after reading book of Addison-Wesley's"design pattern "
  327. interface vs behavior
  328. Making spaces show when inputted
  329. Ideas for first program?
  330. flock usage
  331. Perfect hash tables
  332. how to find the number of digit in a given number
  333. Very quick C++ I/O n00b question
  334. How can I pass an array of pointers to stuctures?
  335. Using enum Statement
  336. sign of char literals in #if directive
  337. print an array in c++
  338. I can't a class members in working thread
  339. __DEPRECATED
  340. Need help with pointers to class methods being used as callbacks...
  341. How to pass a ublas::matrix to a C API
  342. Array limits
  343. difference between date & time
  344. writind hexadecimal value into a file
  345. explain me all the below terms
  346. Odd error message...
  347. Doubt on Structure
  348. Comile fails with make: Fatal error: Command failed for target ...
  349. Global and Static
  350. conversion into hexadecimal values
  351. Something like to tuples in the sequence
  352. Somothing like to tuples in the sequence
  353. doubt regarding pointer assignment
  354. String manipulation
  355. Syntax of C Macro Declaration
  356. Reading unknown number of variables with sscanf
  357. Different copy function showing drastically different results
  358. Important Research Project
  359. private constants
  360. Using 32bit and 64bit gcc
  361. Using gcc instead of oraxlc
  362. aligning numbers in C++ (layout problem)
  363. using checkbox on Continous form
  364. Check pin state of Serial Port
  365. va_arg problem
  366. String::Format problem (VC++ .NET 2003)
  367. warning C4996: 'fopen' was declared deprecated
  368. Please give me a idea.
  369. Virtual address generation
  370. undefine for functions
  371. division of polynomials
  372. Exported functions in shared libraries
  373. 2D array, compiler error
  374. How can I replace all occurrences of a character with another character in std string?
  375. Using Structures in C
  376. US-MS, Tupelo PIC Contract Programmer
  377. C Neophyte needs guidance to String/Char processing
  378. C++ Roman to Arabic
  379. Tool to highlight { } usage
  380. size_t problems
  381. Restricting instantiation of the object in heap only for the particular case
  382. Typedef shadowing?
  383. Multiple keys data structure
  384. const reference to object returned by value
  385. How to compute time into integer?
  386. user defined conversion operator or operator overloading?
  387. literals
  388. Borland application password recovery.
  389. can anyone help me with the output for this 1....
  390. how to define working directory of external program when starting it.
  391. OO book
  392. Differentiation between pre and post increment operator
  393. Designing An Interface In C++
  394. Writing Scalabe Software in C++
  395. question on files
  396. seekg in C++
  397. Binary Arithmetic Add Operator Overloading not compiling, what's wrong ?
  398. template alike approach for floating point
  399. C++ to SQL
  400. DDA n Bresenham Algo
  401. Dynamically and "correctly" allocating memory
  402. Purpose of Structure Alignment Rules
  403. SegmentationFault Error
  404. Memory fragmentation
  405. Logic behind the program
  406. Spiral Access of 2 d array.
  407. rand() chooses the same number after several trials
  408. 8 bit integer type
  409. Local Functions...
  410. counting the number of observations in given intervals, C++
  411. c interrupt
  412. binary code
  413. convert string into AnsiString
  414. Class diagrams
  415. ICU 3.4 Compilation Using Intel C++ Compiler 9.0 with Cygwin
  416. Test Cases for Programs
  417. cpptips
  418. [5,3] code over GF(4)
  419. how to use io.h in linux paltform
  420. please let me know how to write the wraper function
  421. Run DOS common in a TC Programme
  422. strcmp multiparam second opinion
  423. initializing an int variable with all F's
  424. #define question
  425. Downloading full page source of a web page
  426. Travelling salesperson
  427. Magic Squares
  428. Nested class templates and incomplete type error
  429. static initialization pre-processing hacks...
  430. C++ Gurus Wanted NYC
  431. Put a stl container in private or public?
  432. how to traverse a tree
  433. Something Hard to Google for
  434. Recursive Function Trouble
  435. Assigning values to a struct
  436. Question about objects
  437. Question about objects
  438. Turning Lights On with Computer
  439. Pointers vs. Static Objects
  440. How to force fscanf to find only data on a single input line?
  441. Using fread alternative in C++
  442. STL Map of Pointers vs Map Containing the Data
  443. plot
  444. strange feature... or bug
  445. array copy via "struct-trickery"
  446. STL map containing pointer_to_binary_function
  447. C++ Declare main as const
  448. offsetof
  449. offsetof
  450. Problem with the suffix of a constant
  451. macros with double pound signs (##)
  452. how to return 2 instances of the same user-defined class from a function
  453. parallel programming using MPI and C++
  454. interprogram communication
  455. Serial Comms in Visual C++ 2005 express edition.
  456. compiling in amd_x64 and running in amd_x32
  457. OnKeyDown function problem
  458. How to open a binary file using fopen
  459. Ambiguous MsVC!
  460. C/C++ functrion to show available memory
  461. tool to find unused methods
  462. how to fprintf value if i got value in file?
  463. Split Screen application and assigning different views
  464. struct initializer efficiency and portability
  465. struct initializer efficiency
  466. reference to pointer used in ctor - using 'this' in ctor (repost- corrected sample code)
  467. reference to pointer used in ctor (using 'this' in ctor)
  468. Strange behaviour of fork function
  469. When to use merge sort, quick sort, and heap sort effectivly?
  470. C++ find the bug problems
  471. how to reach an arbitrary index in a std::list
  472. problem in c++
  473. c functon to set the gateway
  474. return discards qualifiers from pointer target type
  475. simple random sampling
  476. C++ with Unix or Linux
  477. function name hiding
  478. Pointing to specific parameter....
  479. convertint T2BSTR to c++ code
  480. # of parameters
  481. i am student of MCA. i want to know what ....
  482. Passing a Range from VBA to C++ DLL
  483. how to joint 2 int?
  484. Effectively deleting elements of a map.
  485. Undefined Value
  486. Sifting Phone Numbers
  487. Parameter overdrive.....
  488. POSIX thread chapter removed from libc, why?
  489. how to translate words into number?
  490. Templated constructor behaviour
  491. how to write aninterrupt module
  492. how to translate words into number?
  493. Character Address
  494. Reversing String Data
  495. Program to output/give average
  496. encryption
  497. reading string from char array
  498. sorting a link list
  499. long -> double -> long
  500. Type conversion compiler errors
  501. assigning a string, with embedded nulls, to an ADO variant_t parm
  502. GETCH(); with curses.h
  503. Segmentation Fault On Program Termination?
  504. Quadratics
  505. Callback into C++ from C
  506. File reading into array
  507. bold string
  508. Need some help to construct truth table and print it
  509. Where to find embedded c programmers
  510. C++ formatting
  511. static in function definition
  512. Magic structs
  513. Factories and conversion from Base to Derived...
  514. Debug assertion failed
  515. do you know good books/sites about creating custom allocators, streams and iterators?
  516. how to print out words that hv in between length
  517. C++ template metaprogramming in C#?
  518. data passing
  519. Convert a very long int value To Hex
  520. .NET versus C++ compiled code
  521. calling static member in pthread_create on freebsd fails
  522. ifstream problem
  523. Find / Replace string in text file
  524. Two-dimensional arrays
  525. Issue properly reading and handling input from file.
  526. Returning (char *) from a function - memory problem
  527. std::list custom allocator issues
  528. auto-delete the application...
  529. better new delete
  530. How can i read keys pressed on c++??
  531. Declare AnsiString function
  532. In the memory why there are only 2 bytes for int?
  533. Merge sort clarification on memory use.
  534. Encrypt and decrypt
  535. destructors
  536. static (non-zero) initialization of an array of structs (array of length #define LEN)
  537. Borland C++ 6 makefile conversion to GNU
  538. using #if inside a #define
  539. linked list
  540. Pointer Argument
  541. how to start use nested STL container
  542. Have std::map sorted by value
  543. Webpage Input
  544. pure virtual method
  545. Pass function point from child class to parent class
  546. how to get the selected item by using list box in vc++?
  547. What does *& stand for
  548. abt volatile variable
  549. How to make screenshots with c++ builder
  550. linking error in c