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