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. why Visual Studio can not optimize the initialization code?
  2. Rounding values and storing the rounded value in a variable
  3. what is the C++ eqivalent of a repeat..until loop?
  4. c++
  5. How memory space and variables are located in C++?
  6. Array Output/Bubble Sort Issue
  7. !ifndef
  8. CPP Multi-Line Macro Expansion Needs
  9. How to search for matching names in the dat file?
  10. gotoxy(); in Dev-C++
  11. TStrings::LoadFromFile and TStrings::LoadFromStream Access ViolationError
  12. Implementing callback function with pure virtual function
  13. perfect square root
  14. How do you guys name the parameters of constructing methods?
  15. Copy Array of class pointer to another
  16. For classes with static members
  17. STL std::string difference between reserve and resize ()
  18. pure member functions
  19. buy product send web
  20. covariant return types
  21. overloading base class functions
  22. un-catched Exceptions in mixed C/C++ code
  23. problem with reading and writing an image file
  24. Array Size - Upper Limit
  25. Print a signel octal
  26. duplicate definitions with template member function
  27. new , strucure and PROGRAM CRASH
  28. UTC string -> time_t
  29. member variable initialization
  30. AcquireCredentialsHandle returns SEC_E_UNKNOWN_CREDENTIALS in Vista
  31. member variable initialization
  32. friendship
  33. send me
  34. stack
  35. mind reader program
  36. Getting date/time of HTTP file
  37. about how to read a file and print it in C
  38. [proper index architecture needed]Print out time in plain English
  39. function prototype vs function declaration
  40. Positive random number
  41. [1/2OT] a buggy TCP client program
  42. object file size is reduced after build
  43. Conditional copying using stl functions
  44. Data Structure
  45. object file size is reduced after build
  46. Error Rxd :"SIGNAL-FATAL-UNIX_SIGSEGV" in C++ Program at Sun-Solaris Platform
  47. constructors
  48. Change colors (background and foreground) and count chars in string
  49. project titles in need
  50. how to pack the structure
  51. Error in inline assembly code
  52. can map return the address of another map
  53. c calling c++ functions
  54. c++ calling c functions
  55. Hot Job Search
  56. reference variables
  57. How to use dinamic struct
  58. Quick sort
  59. initializing public static const std::string member
  60. A question on for loop
  61. character array as bits
  62. Seg Fault in C library.
  63. Issue in For loop
  64. Linked list allocation
  65. Confusion on Virtual function,copy constructor,and type conversion
  66. CTString in detour function
  67. pyramid of numbers
  68. how to know whether a queue has contained an element
  69. Vc++
  70. Exercise Solution
  71. converting some simple pseudocode to c++
  72. binary multiplication
  73. microcontrollers
  74. Get lvalue through rvalue
  75. Any Open Source C++ IDE
  76. Get lvalue through rvalue
  77. reading contents of files into equations
  78. storing a list of struct in a file
  79. c programming - float handling
  80. Is const really const?
  81. MSDN const_cast sample
  82. Array memory allocation
  83. MSDN const_cast sample
  84. List Control, ImageList
  85. copy a file to std output
  86. Integration of a mathematical expression
  87. Error Rxd :"SIGNAL-FATAL-UNIX_SIGSEGV" in C++ Program at Sun-Solaris Platform
  88. passing variables w/o making them global
  89. converting short to double
  90. Creating a Concordance of Word Count for a Text File
  91. Help searching through a string vector
  92. Large Files
  93. Bit operations on buffers
  94. Borland C++ Builder
  95. C++ exception handling
  96. return type of conversion opeator
  97. return type of conversion opeator
  98. calculating sha1sum
  99. internet tricks and tips
  100. Loop not working in assignment
  101. remove bogus char
  102. Cross Thread
  103. ifstream/string ctor
  104. TD32 error - "Stopped on exception throw"
  105. A question about member template?
  106. The type of *this
  107. The type of *this
  108. How Do I Connect C or C++ To Oracle?
  109. return reference to local variable, good code?
  110. return reference to local variable, good code?
  111. Automatic struct initialization
  112. switch statement
  113. reference mebmber variable
  114. Please check the content of my web page on 'A note on Pointer Operation'
  115. static libs... is this allowed?
  116. error: expected nested-name-specifier
  117. Static Pointer to Functions inside Class?
  118. Double to Int
  119. Linked list sorting question
  120. Excuse me!!
  121. Excuse me!!
  122. In STL what is the sub-allocation?
  123. What is the usage of "valarray operator+() const;"?
  124. Using SGI extension, how to ?
  125. volatile + threads
  126. Pointer increment
  127. project on time
  128. Avoiding dereference of NULL pointer
  129. internet
  130. Global functions & variables
  131. ARP packet network program
  132. c++- Inheritence Help
  133. default implementation of assignment operator
  134. default implementation of assignment operator
  135. Difference between int main and void main
  136. non-const reference and const reference
  137. non-const reference and const reference
  138. an Invitation to be Involved in a Survey on Developing ScientificComputing Software
  139. Question about memory management.
  140. keyboard using C
  141. get(buffer, size) and CGI
  142. Inheritance of overloaded vararg methods
  143. String manipulation program not returning expected output
  144. User defined 2D array problem
  145. Can't use STL algorithms and binders with function that has referenceparameter
  146. A question regarding argv
  147. char* argv[]
  148. Pointer to array inside a struct
  149. C Variables Length
  150. I want o use the function alternate to a MACRO
  151. How does this work without instantiating an object of the Studentclass?
  152. Pointer to array inside a struct
  153. C Question > Missing identifier
  154. Problrm in invesing a char array
  155. evaluating a simple b-spline function
  156. c programming reviews
  157. smuggling data in and out of alarm handlers and the like
  158. Can someone help with this? Linux GTK / Ncurses
  159. Problems with Code, Cash Register problem
  160. incorrect answer
  161. animator
  162. Response to C++ Warning C4945
  163. break from getline
  164. Meaning of the warning
  165. Compilation error when attempting to initalize int **ptr[][]
  166. C++ documentations
  167. Segmentation error for array operation.
  168. convert unsigned to char
  169. Question regarding sequence point in case of conditional operator
  170. Question regarding sequence point in case of conditional operator
  171. Can I use a string to create a object?
  172. Array and function question
  173. A non-const reference may only be bound to an lvalue?
  174. Question regarding the short circuit behavior
  175. Rotate the image
  176. nodes color in quadtree
  177. new can be overridden
  178. Pointer Converts to Direct Memory
  179. Efficiently Parsing Data
  180. EngSim: Engineering Simulation/Graphics Library for MS VC++
  181. EngSim: Engineering Simulation/Graphics Library for MS VC++
  182. Copying strings
  183. Anything illegal in this code?
  184. Global structure variable initialization
  185. DWG to JPEG/BMP using code
  186. does scanf recognizes space as character?
  187. mktime works fine in Red hat linux?
  188. Macro substitution conundrum
  189. C Run-Time Error R6002
  190. C++ Error C2660 When all fuctions are counted
  191. nanosleep mystery
  192. C++ in HP-UX
  193. operator difference
  194. Instantiating Objects
  195. std:: vector push_back a struct
  196. Weird Error
  197. TOP C++ TALENT
  198. Concordance of Word
  199. Implicit type conversion in combination with templates
  200. compiler error expected primary-expression before token
  201. Using declaration inside first template parameter as default valuefor second template parameter.
  202. Printing out Unicode characters
  203. Optimiser question
  204. typedef function with void parameters
  205. virtual base classes, templates, and static functions
  206. interface question: what should return a transformation method?
  207. C double linked list - possible memory error
  208. this is a test
  209. Porting libmodbus to 16-bit DOS
  210. Help with code to reverse an number without using % and /
  211. "unable to include stdio.h" error on compilation
  212. help!
  213. memcmp with strcmp
  214. Printing text through a printer programatically
  215. Is there any """Anti Stringizing operator #"""
  216. what is the problem with static main()
  217. Meyers-Singleton
  218. Regarding regular expressions in Solaris
  219. replacement for 'pow()' function
  220. template function v.s. template class
  221. Access Boraland C++ builder dll in visual c++
  222. c++ optimization
  223. Favourite C tools
  224. How to delete all files in a directory
  225. Reading a file using istearm
  226. distance_type vs. size_type for iterator
  227. unable to open include file
  228. Help with vectors
  229. Map and memory issues
  230. Segmentation Fault
  231. tv
  232. Wanting to Advance
  233. char *, unsigned char * and POD types
  234. Ommiting frame pointer
  235. Same program in C and in C#. C# is faster than C. How Come ?
  236. Average of 2 number
  237. setup write compile and run GMP progs in cygwin
  238. Can different member functions of the same class be in differenttranslation units?
  239. #pragma once in ISO standard yet?
  240. #pragma once in ISO standard yet?
  241. Q) Identifying the correct data type at run time (RTTI anddynamic_cast)
  242. How can I instantiate a class with it's name? read my text ahead...
  243. Roguelike dungeon generator segfaults, compiles fine
  244. overloading fstream "names", and writing to many files
  245. why the printf is not typecasting the int to float
  246. Weeding out Hexadecimal IP address
  247. bogus entries in map (std library)
  248. flex for windows
  249. pointer and array
  250. Print 64 bit with a char buffer
  251. object slicing
  252. Question related to printf
  253. Cast to an array type
  254. looking for the pure C++ programming software
  255. Trouble with integer floating point conversion
  256. [Merged] network intrusion detection system
  257. template question
  258. new computer coming on 2008 lang -c
  259. 2008 coming on new computer langs-c++
  260. Opening for Chief Architect(Sr.Director) with World's No1 EmailService & Search Engine Company
  261. Opening for Chief Architect(Sr.Director) with World's No1 EmailService & Search Engine Company
  262. validation code in c for employee number, only number should be allowed
  263. need a validation code in c for month format mon-yyyy
  264. LPBYTE useage
  265. how the macro works
  266. What is considered macro abuse?
  267. Need to support for unicode to socket programming
  268. Reading data from file in C++
  269. Writing into Keyboard buffer in AIX
  270. C closures & lexical scoping
  271. c++ socket library
  272. counting square problem
  273. How to Integrate textbox with listsearchExtender
  274. Problem with eclipse and a simple c program
  275. template function issue
  276. Bitstream type of class
  277. Swaping Values
  278. Is there a graphing library I can use?
  279. Regarding graphics....
  280. Problem with user-defined IO streambuf for encoding purposes
  281. Deletion of pointer objects from a map
  282. char * to unsigned char *
  283. std::streambuf::setp and std::streambuf::epptr()
  284. Pointers to struct
  285. using a char* pointer returned by c_str after a string has beendeallocated
  286. Wrap entry point main() in C++
  287. Correct Way of Handling Exception
  288. can't use typedef of nested class in template class
  289. my program
  290. How to read single line from a file?
  291. Problem converting from char* into BYTE
  292. generating simple midi sounds
  293. Is it possible to show continuous graph in Gnu plot [Linux] and save previous graph?
  294. operators and type promotion
  295. String parsing
  296. pointer confusion.
  297. Count running instances and user privileges on windows 2k3
  298. Problem with reading procfs
  299. function
  300. Need help with this program
  301. pointer to class with nested class
  302. As a programmer of both languages...
  303. How to print 80 col name-pairs?
  304. automatic type conversion
  305. modify txt file in C
  306. know more about c++
  307. Efficient way to store a limited number of booleans
  308. constructor conversion vs operator =
  309. can I rely on the sorting of std::map<>
  310. Polymorphism (without virtual functions) with a method template.
  311. Perl embed in C++
  312. mp3 to .ogg converting c program
  313. I need help in initialization list/constructor in abstraction
  314. Get struct members address though a "pointer to struct"
  315. boost serialization of polymorph classes from DLLs
  316. difference b/w using calloc and new
  317. Reading files
  318. std::wcout and const char *
  319. Can volatile be added through declarations
  320. alternative to fstat ?
  321. How is it possible to use a constant in a variegate way?
  322. konstanten variieren
  323. destructors
  324. How to check tokens
  325. Student List Using insert_at_end method
  326. explicit keyword
  327. string array v.s. int array
  328. error in the output file
  329. Handle of all running processes
  330. need of vfunction
  331. R u retarded
  332. Rationale for 21.3.4p1
  333. SEGFAULTS cant figure it out
  334. ANSI C confimance test suite available ?
  335. query in reccursion
  336. Complicated Program
  337. c++ strange allocation memory behavior
  338. Why does transform() needs a struct and an operator()?
  339. How to extract text line by line from TMemo?
  340. ISO C++ forbids
  341. Buffer trouble
  342. C# developer leaving Microsoft with some parting words
  343. Questions about C90 vs C99
  344. Trimming special(?) characters with sscanf
  345. shorten the string variable?
  346. nameless struct / union
  347. Counting duplicate number in an array- implimented BST
  348. Help with a Matrix Multiplication program
  349. New Forum For People Who Love To Discuss On Technical Topics
  350. C: Use of setvbuf
  351. checksum correction
  352. An exercise in fread optimisation
  353. Repeating template parameter
  354. borland builder - putpixel
  355. Anyone recommend some advance topic?
  356. STL implementation of bool intersects(first1,last1,first2,last2)
  357. return char pointer which is malloc'ed in function
  358. applications of functions in c
  359. string buffer
  360. Function pointer
  361. JPEG library
  362. "Homemade" C99 prototype?
  363. Function pointers
  364. FIFO buffer with fast lookup
  365. Which max() is faster?
  366. Parsing DNS section from Etheral capture
  367. [Compiler limit : linkage specifications nested too deeply] : How tosolve this one?
  368. C implementation of merge sort
  369. match using ellipsis
  370. #if constant expression
  371. sizeof(<function name>); return wht??
  372. C GUI libraries
  373. Timer Q
  374. C89: Compile-time constant required for initialiser?
  375. Help
  376. Deriving from StreamBuf - input buffer
  377. Capitalize first letter of word
  378. How to make a CString to 2 lines?
  379. Incompatible type conversion
  380. dialogs that halt program
  381. Sorting a vector of structs
  382. How can I send "this" pointer to another Instantianted class...
  383. Template member function error
  384. to use the arary in a function
  385. negative exponent
  386. Test float and double
  387. Memory Leaks related question
  388. Array address arithmetic
  389. Stack, Tree, List and Qeue... how i implement one of them?
  390. Is it possible to link LIB files using a GNU g++ compiler/linker(e.g. mingw)?
  391. virtual destructor problem
  392. Why in some compilers if a function is not declared, the compilergives out a "warning" and not an "error"??
  393. problem in code running on msvs2008 c++ while same logic runs fine onturbo c++ 3.0
  394. changing a single bit of an unsigned interger variable
  395. self destructing programs
  396. Sending Float values...
  397. self destructing programs
  398. default constructor
  399. final class
  400. Reading from pointer to a struct
  401. program in c++
  402. strange problem with naps
  403. static creator or new with exception in constructor call
  404. what is 'foo.c'?
  405. How to create two-column list box in Visual C++ without MFC?
  406. Make 2008 a memorable year!
  407. Read-only outside translation unit
  408. assert must take int?
  409. exception catch
  410. exception throw and handle and resume
  411. execution time
  412. type_info
  413. Run-Time Check Failure #0 ... on a method call
  414. Microsoft Visual C++ 2008 Express Edition -ENU
  415. How to create a new object
  416. Can this be done with "Union"
  417. Parsing a thumb drive image
  418. initilizing char to null or blank
  419. Changing an int datatype into float
  420. Inheritance guidelines.
  421. how the following two code parts same
  422. A function is an address
  423. How send data from grid component to messagebox?
  424. Who is Jesus?
  425. Help with BST trees that have been templatized
  426. Structure sizes differ in C and C++?
  427. Problem with function lookup and inheritance
  428. relations/identities
  429. swapping bits between 3 chars, language C
  430. I NEED Help with EXEcutables
  431. String Concatenation Using Pointers No strcat()
  432. std::list of C-style arrays
  433. template problem in c++
  434. How to obtain iterator to beginning of inserted elements in list
  435. How to print virtual table
  436. linker errors because external code is header-files-only
  437. Nested friend class in nested template problem
  438. C and Algol68
  439. Creating threads in C++
  440. Find All Duplicates in a List of Numbers - Array implementation
  441. Help regarding dynamic allocation of 2-d arrays
  442. [C++] Creating File System Constole App
  443. facing problem while using regexec
  444. 0x0 outputs as 0 instead of 0x0
  445. Difference in code size between x86 and mips
  446. keyboard/mouse programming
  447. keyboard/mouse programming
  448. copy constructor with operator overloading
  449. accessing remote file
  450. c program which creates a file of 10 single characters
  451. The right way to include Boost library.
  452. Loop Not Working
  453. i want to knowladge array in c language
  454. How to get the text of a menu item that's clicked.
  455. #include header_file
  456. C++ library to render HTML file
  457. Doubly Linked List
  458. greatest of two numbers
  459. autocorrelation code for full signal
  460. Pattern to avoid circular reference?
  461. What is the different between c++ call convention and c callconvention?
  462. write
  463. visual C++ error while attempting to access camera
  464. char change to int, so weird.
  465. error C2228: left of '.grade' must have class/struct/union
  466. Exceptions in C/C++
  467. strlcpy and strlcat
  468. invalid covariant return type
  469. C++ basic string
  470. System() question
  471. Code problem
  472. How to disassemble with objdump and recompile the program ?
  473. Stuck on allocating a matrix from a file and reusing that to compute another
  474. Help with matrices
  475. Reverse a string in place
  476. Get Derived (templated) from Base Pointer?
  477. Help* Please
  478. gethostbyname() ---- Delete Resulting Pointer?
  479. a bit stuck- subscripted value is neither array nor pointer...
  480. C - string manipulation
  481. formating a double value does not work as expected
  482. Define friend operator << for class template.
  483. Regarding multiple inclusion of files
  484. Regarding malloc memory alignment
  485. ios output width
  486. using c++ features in extern "C"
  487. ostream_iterator less useful than it could be
  488. Am I the only one mad here?
  489. A question about operator overloading?
  490. Is this code to find an int in a string okay ?
  491. Search line containing exact word...
  492. how to build string buffer table from std::list and structs
  493. simple? sequence issue
  494. /CLR and /MT Compiler settings Incompatible
  495. Command pattern problem
  496. Create a functional HTTP/1.0 server.
  497. FFT on PIC16F877A?
  498. default data type
  499. CArray Setsize
  500. mingw socket programming
  501. Access Violation Error
  502. a replacement for strlcpy
  503. Pointer problem (surprise, surprise) in Visual C++
  504. add sound with wmv file
  505. wchar_t to char[128]
  506. plz help,how to draw a box in c
  507. wchar_t to char[]
  508. Search Engine Using C++
  509. inb problem..
  510. what is Difference between structure and class in C++
  511. Qeustion about linked list
  512. template: no matching function call. Converting const value to constreference.
  513. romance is a symbal of love.......
  514. romance is a symbal of love.......
  515. file handling in C++
  516. one dimensionl array using array counter
  517. One dimensional array using an array of counters
  518. Class members that MUST be initialized by temporary objects in amember initialization list
  519. Check whether entity is directory/file
  520. id_font _arial
  521. vector return by value: on stack?
  522. For Loop-Odd Numbers
  523. Vector erase dumps core when vector size is 2
  524. Hi Guys!! Need Some Help Plss!
  525. Global function error
  526. Freeing memory allocated by another function
  527. Linked List: Reprinting the List?
  528. c language
  529. Access static member variables
  530. How to define a this particular type?
  531. Postgres
  532. ICU Locale Currency
  533. C - noob question
  534. C - on Windows Odd behavior
  535. little help plz...
  536. Code for Reading text file with n number of rows and columns.
  537. deleting part of file and modyfing it
  538. query on design of classes
  539. Add Font to Menu Bar
  540. C editor and debugger - Linux
  541. Confused by const
  542. Duration in xerces C++
  543. fir filter buffer issue in C
  544. static functions for callbacks
  545. Struct or class?
  546. Sign preserving Vs value preserving
  547. On use of C99 __func__ macro
  548. What use do you have in using constants over variables?
  549. struct problem..newbie in C
  550. Unexpected Results