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