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. Creating a class which holds a container with pointers to itself
  2. STL
  3. Insert command + Parameters.
  4. Clearing the screen
  5. I need Good credit card
  6. exception model for real-life applications
  7. string constructor difference
  8. "n Parameter" in C++
  9. Templated container members
  10. Ternary operator and memory access
  11. Confused by a c-faq example
  12. Function for all integer types
  13. Macro help
  14. Which container to use for circular buffer?
  15. std::string.find_first_not_of(size_type index, size_type num)
  16. reading from multiple files 1kb at a time to a byte array
  17. how can i make abufer that contain any type of file?
  18. SetFocus in Dialog Box
  19. cost 2 company problem ....
  20. vc++ combobox
  21. How to Know the processor is Big Endian or Little Endian
  22. How to read a Hexadecimal file ?
  23. XML in Managed C++
  24. intptr_t standard?
  25. intptr_t
  26. Simple array question...
  27. ambiguos symbol ifstream
  28. Need help completing the code of program
  29. infinite loop detection
  30. Converting 4-byte char array to float
  31. strtod(*iter) + double
  32. how to initialize a vector in the constructor
  33. Initializing a reference ?
  34. Pointer to Pointer Paramters (aka void **)
  35. function overloading question
  36. char** question...
  37. reference and pointer and function argument copy
  38. Mitov Software, AudioLab, SignalLab Usage questions
  39. pointer
  40. using nonconstant expressions in an initializer list
  41. Why doesn't this compile....?
  42. Catching a system error.
  43. STL list's assignment operator
  44. types
  45. book
  46. Using boost signals
  47. error compiling this code
  48. Factorial
  49. Optimization of STL map's find
  50. naming convetions
  51. namespace doubt
  52. how to make this possible
  53. using insertion sort with a linked list
  54. VC++ does not compile my code after header file change :-(
  55. Reference Variable Vs Pointer
  56. traverse directory with boost
  57. Safer Array Length
  58. What's wrong with this C# connection?
  59. C# and HTTP Post
  60. variable array size (constant problem)
  61. unexpected 'pure virtual function' error
  62. string copy. this one works, but why that one doesn't?
  63. Need help in sorting a singly linked list...
  64. variable declaration in if statement
  65. Question on main
  66. need a hint
  67. Reading a comma separated file
  68. Template trouble
  69. Class and Container
  70. ULONG_LONG_MAX and gcc 3.4.1
  71. return of a function
  72. end()
  73. inner class and initialization list
  74. Determining Variable type
  75. Impact on C???
  76. C99 stdint.h
  77. indentify if argument is char or float
  78. Typing Tutor Program?
  79. stack address is different when parameter is passed to function?
  80. how to detect the compile is 32 bits or 64 bits?
  81. function can be called from ## operator
  82. problem in object
  83. printing files through printer
  84. Validating Data in C programming
  85. making triangle
  86. a unique set of unsigned char-arrays?
  87. Function Pointers as Arguments (ansi question)
  88. Problem about memory allocation
  89. Tryiing just to read/understand this code
  90. int a[2][3]; What does "a" actually contain?
  91. Values
  92. Copying entire file, line by line into another file
  93. What is the damn difference?!?!?
  94. style and performance
  95. Constructor function
  96. Small application
  97. I need to adjust the size of a bitmap in a buffer
  98. Question about function decay
  99. Static class members - how
  100. TR1 Book Now Available
  101. Very strange, please help
  102. include dependecies--best practice?
  103. Very strange, please help
  104. Read text file
  105. Strange output
  106. FAQ incorrect?
  107. what is the reason ?
  108. what is a callout structure ?
  109. difference between these two struct definitions
  110. Detecting the arity of a constructor at compile time
  111. Question about sequence points 2
  112. Question about sequence points
  113. reading other peoples code
  114. value returned from a function
  115. Error while testing the "non-template friend function of a templateclass"
  116. diff between memcmp and strcmp
  117. Using different font form CHR
  118. inaccessible constructor
  119. static & dynamic allocation problem
  120. granularity of size of operator
  121. Visual Studio
  122. Why not compile?
  123. Is this a Bug of VS 2005?
  124. conversion of types.
  125. Accessing memory address of 2d array using pointers
  126. implicit type conversion
  127. How to use sqrt() function with gcc?
  128. Specifying number of lines to be read
  129. precision in C++
  130. How to tackle this problem???
  131. fprintf format
  132. something fishy here with stripnl()
  133. What's the benefit to dynamically allocate memory?
  134. Calling a class' memver function from inside another class
  135. recursive function
  136. specialization of a template function in a template class?!?!?
  137. reading data from a file
  138. cin/cout vs. scanf/printf
  139. Question about cast
  140. Function-like macro or templates for auto buffer allocation
  141. How to invoke member function over by "const"?
  142. How to understand this sentence
  143. How to compare chars ASCII codes in C???
  144. meaning of j++
  145. Question about integer promotions
  146. Read string for arithmetic operation
  147. Basic Linked List Problem
  148. small query on bitwise shift right operator
  149. FILE* and fstream
  150. return a line back to the stream
  151. manipulating linked list
  152. gcc 4.1.1 and 16-bit code generation
  153. how to know size of integer array?
  154. Why can't the sentence compile?
  155. cyclic references of types
  156. getting square box at starting
  157. Real time systems programming
  158. Writing to parallel port in C
  159. COM+ Object auto-recycling
  160. Calling std::list::erase(iterator pos) with a reverse_iterator?
  161. Heap Vs/And Data Segment
  162. Some problem with C Code
  163. How to type an empty string in command line?
  164. any one help me please
  165. Strange function use
  166. i need help in acomplete project
  167. program to set page break
  168. Console Output
  169. big gap between visual studio 6 and 2003
  170. constructor..
  171. gets() function generates strong warning message with gcc compiler
  172. a==b==c ?
  173. sample technical questions in C++
  174. Lightweight XSD validation
  175. method & function
  176. A problem with GNU Scientific Library GSL
  177. How to invoke member functions of the objects in a Set
  178. How to invoke member functions of an object in set
  179. Looking for malloc() help
  180. Can someone give a simple implementation of RTTI in c++?
  181. split, splice and the like
  182. Bit enumeration algorithms
  183. Bit enumeration algorithms
  184. The most powerful question to ask A.I is:
  185. weird compiler warning
  186. Template problem with unordered_map
  187. Copy constructors, de/constructors and reference counts
  188. Fibonacci Series
  189. How to pass variables from a C++ function into inline ASM
  190. typedef every where
  191. How does std::set stay unique with only std::less?
  192. writing to a text file line by line
  193. multiple level bom search
  194. What to prefer - TCHAR arrays, std::string or std::wstring ?
  195. fstream::open problem
  196. how can we connect database in C, C++ ( TURBOC COMPILER)
  197. [c++] Nested calsses and access to them.
  198. memory leak or mtrace()-problem?
  199. An Array and memory problem
  200. structs problem
  201. Can it be done at compile time?
  202. istrean Vs ifstream
  203. inline, templates,
  204. Getting intermediate results in 64 bits
  205. type, class, object
  206. stacks-turbo C
  207. Problem with lengh of string
  208. Standard command line argument parser.
  209. Template specialization problem - compiler bug or my fault?
  210. multi-dimensional array and pointers??
  211. Does bit shift depend on platform/implementation?
  212. ##
  213. debugging child threads
  214. The Holy Shroud
  215. The Holy Shroud
  216. What are functions provided by the compiler in a class?
  217. about ctype[]
  218. about ctype[]
  219. type casting
  220. Startup Needs C++ Developers
  221. Doubt regarding strcpy()
  222. Library source code ?
  223. Changing the base of a pointer
  224. font engine
  225. objects known inside the class
  226. Can a function returns a matrix?
  227. Application's pointer
  228. define and include
  229. Doubt on STL vector
  230. anyone interested in decompilation
  231. return value of main
  232. How to negate a group
  233. Difference between MFC Container classes and STL libraries
  234. help to change a letter (C++)
  235. problem with using SQL queries in VC++dotNet
  236. Email NOW $$ HIGH $$ C Programmer WANTED NOW!!
  237. Can we get whether a character is even or odd using regex
  238. Question on automatic variables and array arguments
  239. Reading binary file with C
  240. will this code work always?
  241. Memory
  242. Calculating RSA Decryption Key
  243. Base and Derived Class
  244. Custom Allocator
  245. TI RFID-reader
  246. Writing to an existing file.
  247. Casting a generic or void pointer to point to a struct...
  248. How to avoid multiple definition of a variable by multiple inclusion of a header file
  249. namespace
  250. g++ error
  251. Using objects without ever creating an instance - recommendable?
  252. Declare an array with a size based on a variable...
  253. Looking for standard C data structure implementations...
  254. better way of doing this!
  255. Weird pointer issue
  256. map problem
  257. print to file question
  258. input and output from multiple text files
  259. Explaination of error
  260. how to pass variable arg list to a function pointer
  261. My hash table is in need of peer review
  262. PLEASE HELP - Producer consumer implementation in C
  263. & and Int &
  264. a * b
  265. old question: difference between pointer and reference
  266. data structure & alignment accessing speed on 32 bits system
  267. data structure & alignment accessing speed on 32 bits system
  268. Private member accessible from another object?
  269. Need help with C Language
  270. problem with big programs
  271. extern char *calargv[] not having values populated earlier.
  272. Null Pointer
  273. std::numeric_limits<double>::infinity() returns 0.0 on Intel/Linux g++ 3.2.3
  274. problem using strlen
  275. Regarding EAGAIN error in read()
  276. Windows error on calling exit(0)
  277. getting details of files in a directory using C
  278. Floating Point Formats are not linked
  279. Template specialization
  280. Functions that get called automatically
  281. function in the class have addresses
  282. RTTI
  283. Code Cleanup Tool
  284. virtual inheritance and virtual function.
  285. Problems with threads limit.
  286. rand() between m and n
  287. max strlen at compile time?
  288. c interview
  289. multiplatform C++
  290. Proclama del Comandante en Jefe Fidel Castro al pueblo de Cuba
  291. It proclaims of the Commandant in Boss Fidel Castro to the town of Cuba.
  292. decimal acrobats
  293. aio_read Help
  294. Operator versus Function Object
  295. SSE - UNIX INTERNALS - URG. OPNG. IN BANGALORE FOR AN MNC
  296. Hex digits to special chars
  297. Address of a class
  298. How to check "Is any device attached to COM port"?
  299. create object
  300. Compile directives
  301. Function Pointer
  302. 1's complement and 2's complement
  303. 1's complement and 2's complement
  304. C++Builder 6 connect to Oracle10g (ADO Connection)
  305. code portability
  306. Array of Char
  307. Don't know how to define my class correctly
  308. Dynamic 2D array
  309. get variable number of ints
  310. vector<pair..> >::iterator
  311. free() and delete
  312. pointer to *this
  313. The illusion of "portability"
  314. Checking return values for errors, a matter of style?
  315. STL list problems
  316. WTF??
  317. Global Sharing Project
  318. removing last written symbol from stream
  319. initialize an array of elements that contain another array
  320. const_cast
  321. Returning char** from a function.
  322. detecting EOF using cin with file redirection
  323. Virtual Destrctor Function
  324. [C++] Problem with compiling my program.
  325. Just learning C++ - a question
  326. Variable declaration - Is this valid in standard C?
  327. A Few Questions
  328. Pointer question?
  329. cast int into a string
  330. Const
  331. template template argument
  332. trouble with .lib file export - class exported, but not as expected.
  333. String problem, I guess?
  334. String problem, I guess?
  335. Boyer - Moore Algorithm
  336. how to generate this code?
  337. implementation of copy_if using lambda
  338. using 2 source code
  339. super
  340. Converting from UTF-16 to UTF-32
  341. how to run multiple processes from a single process?
  342. c++ downcasting
  343. Day of the week algorithm
  344. will an iterator to a map becomes invalid when an element is inserted into the map
  345. Getting Mojo
  346. Operation undefined
  347. GCC-Bug ? (Unintended "overloading")
  348. Implicit declaration
  349. \x used with no following hex digits
  350. But I have to use a struct!
  351. Volatile
  352. lambda and map
  353. Is folder empty ??
  354. programmer manipulated pointers
  355. Simple Serial Port Program
  356. Send a series of bit zeros through serial port
  357. Register Dump
  358. Templates and Polymorphism
  359. How to initialize array?
  360. Writing portable code in Visual Studio C++
  361. String constants
  362. how to crete a directory in C++ (DEv Cpp)
  363. Array definition and extern declaration with different size.
  364. clearing a member variable
  365. data from server display and store in msaccess database
  366. Managing large class heirarchies
  367. method inheritance with default parameter
  368. inheritance and templates
  369. Correspondence between headers and macros
  370. How to get rid of extra characters
  371. new and delete operators
  372. VC++6.0 Problem with SetFocus()
  373. Universal environment for running programs written in C++
  374. Pointer to pointer with lots of examples
  375. Problem declaring pointer of netsted class inside template ?
  376. Clarification in templates
  377. Char in String
  378. evaluation of for loop
  379. Operator overloading
  380. Problem copying objects.
  381. reference
  382. Question about a splint diagnostic
  383. Check whether a file exists
  384. Diffie-Hellman-Merkle Key Exchange Program
  385. Judge Files Exist
  386. Judge Files Exist
  387. Judge Files Exist
  388. Help with malloc()
  389. Cures for Cancer–AIDS–Chronic Fatigue–Chronic Pain–Diabetes…
  390. Lifetime extension misconception
  391. Help with sscanf() needed desperately
  392. Initializing an Array of Pointers to Char
  393. Why is there a need for reference in C++?
  394. Use of getenv when calling C++ through JNI
  395. Specialization of template functions
  396. Flik
  397. Copy constructor problem
  398. Must evaluate assertion?
  399. long double in gcc implementations
  400. i want help on FILE IO
  401. what is the difference between char*& and char*
  402. problem in parsing double prec. numbers
  403. C++ GUI Beginner - Qt or gtkmm?
  404. <iomanip> precision value
  405. get an IP address
  406. Executing an external third party application and not waiting for it to complete
  407. Shell Commands
  408. Dereferencing of structure pointers
  409. how i can write "operator+"?
  410. A concern about mixing C and C++
  411. A concern about mixing C and C++
  412. how can I use 128-bit int in linux
  413. clock_t clock() ambiguity
  414. comparison between signed and unsigned integer expressions
  415. structure malloc help
  416. Confused to printf %f
  417. Seeking some help with pointer/array notation wrt class members.
  418. Socket Programming Question
  419. C program to communicate over ethernet
  420. Wierd problem with command line args
  421. help with dirty hack
  422. Problem in Generating 1st 100 Primes
  423. C++ N00B seeks guidance
  424. Maps, Iterators and Templated Classes
  425. Pattern creation
  426. help with boost
  427. comma delimited text file.
  428. Decoding Base64
  429. precompiler: pasting and underscore
  430. The Wikipedia article on C and C++ operators
  431. The Wikipedia article on C and C++ operators
  432. Standard for parsing
  433. Perpherial Brains
  434. template specialization problem
  435. multiple inheritance oddnes
  436. what is wchar_t
  437. Create a dll from a .h file
  438. complier problem
  439. use of %
  440. 14 byte array (MAC address) to 48 bits (6 bytes)...
  441. java programmer does c++ have an "API" like library list of std functions?
  442. Question about Item 23 of C++ coding standard
  443. 'academic' problem ( speed/memory efficiency vs. human readability and easy design )
  444. Question about a solution to excercise 4-13 in K & R
  445. how stl container classes layout in memory works?
  446. test
  447. Size of an executable for locally created arrays
  448. declaring an array in a structure with a #define length
  449. a sizeof problem about template
  450. help in maps
  451. 1 client and multiple server
  452. Streams/Movies of ACCU Conference Presentations
  453. Streams/Movies of ACCU Conference Presentations
  454. read strings from file with values divided by ";"
  455. problem regarding overloading of operator <<.
  456. memory usage question
  457. problem regarding overloading of operator <<.
  458. which will be more efficient Stdlib MAP or Array /w sequential search for may be 50-1000 times?
  459. iostream.h problem
  460. doubt about doubt
  461. static array
  462. enum generate simple question
  463. manipulator persistence in streams
  464. HERE I BUILT A QUICK MATRIX TOOOK 5 MINS
  465. HERE I BUILT A QUICK MATRIX TOOOK 5 MINS
  466. wondering
  467. binary i/o question
  468. set new value for data member
  469. array holding 2D arrays
  470. function pointers
  471. First-chance exception Problem
  472. Inheritance and STL containers
  473. dereferencing a passed reference to cin
  474. string.replace help
  475. A couple questions
  476. polymorphism advice,
  477. problem with template template parameter.
  478. question on operator ( ) overloading
  479. Append to File
  480. Wild reference
  481. Threads
  482. Standard math functions as operations in std::transform calls
  483. compiler bug or bad code?
  484. generic setVariable
  485. Having trouble with my code for hw assignment
  486. Return a container from a class method
  487. How do you implement this Python idiom in C++
  488. inline power function replacement
  489. strnlen() warning
  490. mmx programming
  491. print up to n decimals
  492. checksum
  493. loop vs memset to initialize array.. different results?
  494. __FUNCTION__ in another macro
  495. c++ / vc++ Bluetooth Stack
  496. References as private members
  497. Not catched exception
  498. static data in member function
  499. stlfilt for g++ 4?
  500. char * to HBITMAP
  501. Little help required
  502. search a file for a keyword and replace that keyword with a another word
  503. Looking for Embedded Software Engineers with good C programming skills
  504. Typdef pointers to structs or not?
  505. wxWidgets on Dev-Cpp
  506. VISIT MY SITE
  507. same problem - asked differently: polymorphism efficiently
  508. Opening for SAN testing
  509. template function or template class
  510. oddly behaving rand( ) in microsoft compiler
  511. Does mysql++ 2.1.1 work on your comp.?
  512. linking lib file ...
  513. Embedded namespace
  514. pure virtual function calls / optimization
  515. typecasting function pointer to void*
  516. Wantt to Compile C++ embedded sql code by MSSQL server 2000
  517. why code is not working properly
  518. why code is not working properly
  519. why code is not working properly
  520. easy pointers to functions problem
  521. return a string by ref
  522. overloading >> operator
  523. Structures with Pointers question
  524. Directory/File Monitoring Service in WindowsXP Question
  525. Is this a good habit?
  526. i++ and ++i
  527. Recursion in template definitions
  528. log4cxx library
  529. why this program can get compiled using g++ without any complain?
  530. Constrained Nonlinear Minimizaiton
  531. Is there any strong reason for not using Templates?
  532. Reading a text file
  533. char signed or unsigned
  534. Decimal to Packed Decimal Conversion in C++
  535. Going From MFC to .NET
  536. Getting started with C on my Linux machine.
  537. Can we overload on return types
  538. Q's on pointer sizes
  539. VC++ error C2662: cannon convert 'this' pointer...
  540. wired bug using gcc O2
  541. Absurd OO Design Practice: Query Classes
  542. Qquestion on Shortest paths algorithm
  543. #include in IDL files
  544. How would you create a random string of data
  545. range count
  546. More Help
  547. macro explanation
  548. How to delete a line from the file
  549. Bitwise OR on large memory regions
  550. Trouble with vectors...