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. stl vector no match for 'operator=='
  2. arrays and strings misunderstanding...
  3. scanf (yes/no) - doesn't work + deprecation errors scanf, fopen etc.
  4. How do you do old fashion CPP hackery in templates?
  5. Issues with npos? writing a non-boost string tokenizer
  6. Words Words
  7. dynamically sized block of memory
  8. compound intrest program(beginner)
  9. assignment
  10. Concurrent updates of the same file
  11. an interesting exercise by Accelerated C++
  12. How to encode/decode a HTML using C++??
  13. How to tokenize string without using strtok
  14. enum
  15. ?output
  16. Calling virtual function in constructor
  17. c
  18. How to call abstract function
  19. IsBaseOf function
  20. Library for parsing pdf docs?
  21. arrays again :-)
  22. Own filters(?) to streams
  23. Forward declarations
  24. simple intrest program(beginner)
  25. occurence problem
  26. Pointers and bit manipulation
  27. The best C book
  28. no appropriate default constructor available
  29. explanation needed on const pointers
  30. address of references to pointers
  31. STL map Unusual behaviour
  32. size_t or ssize_t
  33. web crawler in python or C?
  34. how long should it take to delete 34 million __int64 from a map?
  35. Is this correct
  36. how to see the 'cipher' text from the output?
  37. Endianness of machine
  38. sizeof problems, help!
  39. Copy elements from one STL container to another STL container
  40. Pointer to member-of-member???
  41. undefined reference to floor()
  42. Linked List Issue
  43. Undefined problem
  44. help getting average
  45. Into an array of structure arrays.
  46. std::bitset in union
  47. parking garage calculator
  48. Providing a Marhs Library
  49. ASCII file parser - to read between brackets ()
  50. parking garage calculator
  51. Header problems
  52. copy array - row-wise
  53. row-wise copying of 2D arrays
  54. Digits after the decimal point
  55. Calender Algo
  56. Pass a back_inserter as the output iterator in remove_copy_if algorithm
  57. LD errors when I link to archive, but not with the objects.
  58. Sanity Check -- Is this valid C++?
  59. Moving to static_cast and reinterpret_cast from old C-style cast
  60. containers and pointers
  61. upper_bound
  62. Passing zero to a 'const reference'
  63. Regular expressions: string substitution with pcre or any other library?
  64. Profiling evaluation tools?
  65. Profiling evaluation tools?
  66. Why can't a local structure be used in a vector?
  67. problem with map construction
  68. function change - is this a poor option
  69. Use of Assertions
  70. explicit invocation of a constructor template of a class template
  71. Problem with setjmp and long jump
  72. need help with program
  73. How to fputc 'EOF' to a FILE stream.
  74. strcat (run time error)
  75. Return a 'read only' view of a STL vector attribute
  76. question about struct??
  77. using htons()
  78. Question about my program
  79. change index between 0 and 1
  80. c++ utility class
  81. Other than VC++
  82. printf ultra-fast question
  83. How to create copy_if algorithm?
  84. Reduce Dependency ?
  85. problem with vector iterators
  86. Sorting lists containing big objects.
  87. template list prameter
  88. Is this fast?
  89. Map Seg Fault
  90. Book "Primer C"; advice needed
  91. String questions
  92. Help! Where is size_t ???
  93. compilers
  94. How to use Boost bind library with STL accumulate algorithm
  95. Seg Fault Help
  96. inheriting enums
  97. signed and unsigned types
  98. MS Visual Studio 2005 - Download Full
  99. Need help sorting a list please...
  100. STL transform algorithm
  101. Linking error
  102. Flexible arrays - v confused
  103. jni help...
  104. puzzles...puzzles...
  105. ternary tree (ann)
  106. Templated virtual member functions
  107. Are string literals local or otherwise temporary?
  108. static members of template classes optimized away?
  109. Nested class member pointer access
  110. Casting
  111. using STL set with objects
  112. NMAKE FATAL ERROR U1073
  113. Compailation
  114. Looking for source code for Linear programming
  115. Looking for Source code for Linear programming
  116. Overloading a function in C++
  117. Signal Handling in C++
  118. what does this friend declaration mean ???
  119. Design question: accessor VS attribute
  120. assert failure
  121. List Alg/code
  122. How do I (fseek, ftell, stat)?
  123. System("Ping") always returns 0
  124. fmod
  125. C Puzzles
  126. replacing array by vector type in existing code?
  127. C/C++ char pointer question
  128. C/C++ char pointer question
  129. Memory leaks reported creating simple array of class
  130. duplicate C++ code
  131. read a file line by line in c++
  132. Pointer problem: compiles but crashes
  133. const strings in class
  134. Quesiton with 'const'
  135. Casting a structure to an int
  136. help with 'left-right' cdecl rule
  137. Map Question
  138. preprocessor token
  139. Save BMP images through C
  140. What can I do?
  141. ISO C++ forbids declaration of 'vector' with no type
  142. Fast 1D DCT Implementation in C/C++
  143. Fast 1D DCT Implementation in C/C++
  144. Spaces in C
  145. Accelerated C++ exercise
  146. fork()
  147. Help with typedef
  148. Line overwriting
  149. Open Watcom
  150. style of constructor initializer
  151. Template<> confusion
  152. code optimization
  153. Pointers to elements in a Double-Linkedlist
  154. _tfopen()
  155. memmove() Usage
  156. call copy constructor in "=" operator
  157. compile error " instantiated from here"
  158. compile error " instantiated from here"
  159. Program reading from the keyboard
  160. outporb problem
  161. Is there any code analyzer for c/c++ header file
  162. Double Linked List test
  163. Password without a file
  164. Using accumulate algorithm with a set of pairs
  165. Bytes Razor starts today at 6am
  166. Bytes Razor starts today at 6am
  167. template class compiling problem
  168. operator== for nested classes.
  169. problem with string::resize
  170. cast of ostream& to and from void*
  171. Semantics of unary minus
  172. Functions with varying number of arguments
  173. Basic Bit Operation Question.
  174. Basic Bit Operation Question.
  175. compile visual studio 6 project with intel C++ compiler from the command line
  176. Complex objects initialized at compile time
  177. program that return an address of multi dimensional array
  178. initilization of composite types
  179. sizeof help cont., ignore other post please
  180. sizeof help
  181. "Object-Oriented" C++?
  182. sizeof help
  183. office automation help please
  184. Destructor Question
  185. Answers to Accelerated C++
  186. problem opening a file
  187. What does the array do?
  188. cflow equiv. for c++ (on Unix)
  189. Help with error message.
  190. getchar() reading alphanumeric data
  191. placement new versus .. more
  192. Problem using locales
  193. Trying to figure a Banking Program
  194. Trying to figure a Banking Program
  195. Segmentation fault in STL iterator
  196. Random Numbers
  197. Forward-declaring classes from different namespaces
  198. Make a Makefile
  199. Passing binary file to function in C++
  200. playfunc.c:524: error: initializer element is not constant
  201. MS Visual Studio 2005 PRO - HTTP Download
  202. Bytes RAZOR
  203. how to write a program that takes arguments from commandline?
  204. URL encoder in c++
  205. Bytes RAZOR
  206. size_t and C90/C99
  207. Compile Errors
  208. cflow equiv. for c++ (on Unix)
  209. kernel hangs after "UNCOMPRESSING KERNEL OK BOOTING KERNEL"
  210. How do I use MS Word bookmarks and printing?
  211. MS Word Bookmarks and Printing
  212. Command Line Interface (CLI): your recommendations
  213. ManualDock
  214. Performance using member of
  215. Segmentation fault!
  216. invalid use of undefined type, .h file confusion
  217. implicite function call
  218. Unicode UTF-32 support in c++/stl/vc6?
  219. ctrl alt del
  220. How can I write highly optimized C code for reading and writing?
  221. Parallel Port Access
  222. A dllimport variable is accessed indirectly through a variable
  223. __declspec(dllimport)
  224. Little help please
  225. __declspec(dllimport)
  226. Shell program execution -yafray
  227. a great deal
  228. proper initialization
  229. Linker Error: Undefined symbol _closegraph in module GRAPHEX.cpp
  230. template specialization, nested?
  231. Windows/Linux optimization problem
  232. How can I instance such a class?
  233. Urgent Help: Multiple calls to JNI_CreateJavaVM
  234. Default initialization with dynamic allocation
  235. Which Callback implementation is better?
  236. outportb problem
  237. How do i set zero as a Integer?
  238. Catch bad_alloc?
  239. Using class initialization to initalize inherited attributes
  240. dao 3.6 in visual studio 6
  241. [Programmazione oggetti] inserimento in testa in una lista
  242. A question on malloc() and calloc()
  243. String pointers and string arrays
  244. sorting maps according to their value_type
  245. Debug exceptions
  246. Compiling in MSVC7
  247. windows hates signal?
  248. Function overriding
  249. asking for references
  250. Embedded Strings -- Arrays or pointers?
  251. C++ on Windows-XP
  252. how to search a table by any of the field
  253. conversion operator question
  254. How do I hash this ?
  255. Comparisons
  256. pointer concepts
  257. Can't dereference pointer to stack?
  258. Some hint requests for read_line variations
  259. How do I convert an int to binary form?
  260. why does the complier complain undeclare identifier even though i have included the header file?
  261. runtime error-gnu c compiler
  262. Why this code can't compile?
  263. efficiency of && vs. array
  264. about malloc and calloc
  265. return string from c++ to c
  266. Why the variablle's value is so weird
  267. Mental Abuse
  268. Places to declare variables
  269. Vector used inside class definition appears to become static
  270. C++ beginner Help
  271. Allocating space for array of pointers?
  272. Allocating space for array of pointers?
  273. What is the output of this program? and why?
  274. bitshift a large amount of data
  275. function vs. class partial specialization
  276. GUI kit with ref-counting
  277. How would you use qsort to sort on a string
  278. Code Review? memory management in C
  279. Run-Time Check Failure #n Question
  280. difference between compiling and linking...?
  281. returning an std:string pointer as a parameter
  282. text file indexing
  283. gethostbyname and timeouts
  284. stringstream str(), buffer overflows
  285. bmp->pgm
  286. &&
  287. Help with end-of-line string characters
  288. why int ** test :: iptr = & test :: i ; is incorrect?
  289. Modelling the real world
  290. restrict example - reasonable?
  291. Print Format
  292. UNIX : Full Form !!
  293. Passing char*
  294. scratch memory
  295. OK for compiler to not call function with constant return?
  296. Templated for-loop fantasy
  297. Output as SOURCE CODE itself !!
  298. About fork()
  299. ABC w/o virtual functions?
  300. Password changing using mutation strings
  301. Traversing the link list from end
  302. How to use htonl in IPv6
  303. what datatypes of key can be used in c++ maps?
  304. Determine equality of template parameters?
  305. discrete event simulation question
  306. How to encrypt and decrypt a C data at run time
  307. Sorting a double linked list
  308. static data member initialization
  309. how to convert string to double?
  310. Memory errors HELP!
  311. friendship and pImpl idiom
  312. Help with console problems
  313. Survey for Compiler usage
  314. Defining the fields of a structure at run-time
  315. Detecting binary files
  316. Compiler Directives Not Working
  317. Why foo and bar in every tutorial i read?
  318. why it is wrong?
  319. C++ help
  320. C++ help
  321. C++ help
  322. Store a char into an integer variable
  323. Unexpected results in matching a regex
  324. Byte ordering and array access
  325. std::set - sorting order specified?
  326. C++: Operator overload syntax error
  327. Help! About Profiling Problem
  328. Smallest "C" Program !!
  329. Bug in compiler?
  330. Need Help !!
  331. Undefined behaviour?
  332. Compilling allegro.h & windows.h
  333. error while "free"ing memory
  334. what's wrong?
  335. Compilation Problems on a AIX with XLC
  336. drawbacks of linux
  337. drawbacks of linux
  338. function pointers
  339. drawbacks of linux
  340. stdint
  341. get version of gcc from within the makefile
  342. Reverse Iteration
  343. lvalue error needs explanation
  344. programing with function pointers
  345. problems in file
  346. usb access
  347. usb access
  348. using member address of an unaligned structure
  349. 64 bit performance speedup over 32 bit
  350. 64 bit performance speedup over 32 bit
  351. fork implementation
  352. seekg Concerns On Fragmented File
  353. Style question: SetShutdown/GetShutdown .vs. SetShutdown() overridden
  354. communicating with every object of the class
  355. pre-ansi declarations
  356. Where can I find the ansi C source code of linux?
  357. random number in [0, 99]
  358. Vector and adding of object
  359. Pointer to array of structs?
  360. Can a static member func be a friend
  361. Q: portable way copy files using C on Unix an Windows -- dirent or similar
  362. hi
  363. union REGS donīt get DOS Version
  364. a question about a class and a list of the class.
  365. Validate IPv6 Address
  366. better way to read data?
  367. the time of the routine
  368. convert static final from java to c++
  369. opensource group
  370. can I re reference items in a map
  371. initializing a pointer?
  372. here is some problem in structures
  373. whats there in C that is not in C++ and VC++
  374. classes vs structs.
  375. warning: incompatible implicit declaration of built-in function 'malloc'??
  376. Unable to create *.dll
  377. operator += on short int values - strange compiler warning
  378. vector::iterator to a pointer casting
  379. code reuse and design reuse
  380. Comeau (working *.bat file)
  381. C++ Proofer
  382. comparing two structs .. revisited
  383. Great Job Board
  384. Great Job Board
  385. Overriding const member function with non-const
  386. is there a symbolic constant telling us we are using a C89 compiler?
  387. I need the math.h header file
  388. Sorting a list
  389. C++ Multiple Inheritance
  390. socket programming
  391. new & delete in CRT.How to get a efficitive memory allocator.
  392. parse comma delimited text string
  393. confused about pointer arithmetic
  394. Best Job Search Site...
  395. inline functions
  396. Class execution
  397. formated output excer (help)
  398. shift, signed unsigned
  399. Question about postfix ++ precedence
  400. how to read data?
  401. vectorstream analogous to std::stringstream
  402. Help debugging stack program
  403. string table in c?
  404. A c++ Program for Valentines day
  405. Usage of RAM related to C++ programming
  406. string table in c?
  407. Pointers for these pointers...?
  408. c++ to c
  409. Length of a string?
  410. about system call in driver
  411. about driver class
  412. Bigint library?
  413. online standard c++ library reference
  414. writing binary files to Sun workstation
  415. Short form of __FILE__
  416. undefined reference error
  417. stopping a boost::thread
  418. ridefinire bool
  419. How to declare function returning array of Integer pointers
  420. How to declare function returning array of Integer pointers
  421. Dynamic arrays help
  422. delete resouce of partial constructed object
  423. const string in the header file - solutions?
  424. preprocessor and parenthesis
  425. regarding core dump
  426. Reading in a variable number of integers with cin
  427. Shift portability
  428. Abridged FAQ Question
  429. basic c programming tutorial
  430. Why not add namespace feature into standard C?
  431. Calling new pointer twice?
  432. segmentation fault
  433. REQ: how to override 2 virtual functions with the same name and same parameter
  434. why standard files?
  435. Undefined reference to...
  436. What the use of (void)(a)?
  437. Implementing Chmod command using c
  438. Function declaring style
  439. Program Assistance
  440. I need a CFRONT C++ Compiler for MS-DOS/Windows to replace an Apollo Domain 2.1.0 compiler
  441. Function Pointers - design question.
  442. lvalue difference between static and non static member functions
  443. static opaque pointers?
  444. Beginning programmer... I need some help.
  445. Checking bits states
  446. variant template
  447. std::cout << x << " " << x++ << std::endl
  448. Trying to use rename(); correctly.
  449. Float to int type casting?
  450. Strange problem executing
  451. Compiling with GSL
  452. various way to delete pointer to pointer
  453. help with string to int
  454. C99 struct initialization (C99/gcc)
  455. where to inform about TR1/TR2 progress
  456. This Pointer is legal or not?
  457. fork()
  458. longjmp issue
  459. char* to string conversion
  460. how to encrypt a C data and write a bin file and read a bin at run time and decrypt C data
  461. Beginner help!
  462. REQUEST TO SOLVE MY PROBLEM IN VC++
  463. REQUEST TO SOLVE MY PROBLEM IN VC++
  464. REQUEST TO SOLVE MY PROBLEM IN VC++
  465. REQUEST TO SOLVE MY PROBLEM IN VC++
  466. REQUEST TO SOLVE MY PROBLEM IN VC++
  467. fork()
  468. Is this good code?
  469. string and pound symbol
  470. How can I cause the datetime to be the name of the output file.....
  471. simple question
  472. Template Member Functions of Template Classes
  473. trying to get a class to work
  474. Is this part of the standard?
  475. Behaviour of if and for loop without {}
  476. iterator problem
  477. iterator problem
  478. dynamic arrays (convert vector to array)
  479. Latest ANSI C++ proposal
  480. Cannot write 0 for pointer in a vector.
  481. Random access an element in a STL List
  482. Unix I/O and C library I/O, why there are two sets of I/O functions?
  483. get values from data file to integer variables..
  484. storing a map of inhomogeneous container types.
  485. WinXP: Ostream Operator Corrupting MFT(?)
  486. PostgreSQL - OTL programming readiness recipes
  487. Bugs in my code, help!!
  488. KDE FAQ states using static functions is better than putting themin an anonyous namespace
  489. Memory allocation problem
  490. request to solve my problem
  491. Duplicate removal
  492. request to solve my problem
  493. request to solve my problem
  494. clearing or capturing the screen
  495. Split the newsgroup.
  496. namespace and enum?
  497. Class / lib files
  498. Exception in Constructor
  499. Data statements in C++
  500. How to improve this code
  501. Protected Access
  502. implementation assistance
  503. Objects can't be passed by value
  504. Static Variables in C++
  505. Programar IP en DOS con C o C++
  506. Programar IP en DOS con C o C++
  507. Programar IP en DOS con C o C++
  508. TCP IP programming under DOS with C
  509. passing multiple-index array to function
  510. fopen and fclose?
  511. Programming IP with C++ under DOS
  512. Equation parsing
  513. finding slow parts in program
  514. c99 and popen()
  515. Encapsulation idiom
  516. Where to get gcc compiler?
  517. Reinterpret the bits of a float as unsigned long
  518. basic question
  519. concurrent distributed programming online resources?
  520. Straming video playback
  521. Basic/simple question regarding header file
  522. c problem
  523. STL lists as retrun value
  524. fwrite help needed
  525. How can I resume a download if the user gets disconnected (I am using CHTMLfile )?
  526. find digit length or the number of numbers in number ?
  527. communication - how?
  528. random number generators
  529. Order of construction
  530. curvature of a circle passing through three
  531. How to find number of array elements in a function argument.
  532. Converting C code to Assembly!
  533. reading a database file
  534. Doubt regarding returning const char*
  535. Sybase OC Library
  536. vector<bool>
  537. Program Help
  538. OT? My First Working Modification of C++ Example Code, under QT. :-D
  539. mem_fun_ref: parens in reference of function
  540. Checksum method determination
  541. 2d vector error
  542. Help converting malloc to new
  543. STL vectors..
  544. Parallel port command
  545. ofstream help needed
  546. floating point problems
  547. ASyncResult vs. IASyncResult
  548. What is the fastest way of getting the fraction part of a floating point?
  549. What is the fastest way of getting the fraction part of a floating point number?
  550. template specialization