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 this doesn't violate One definition rule and how the linker resolves this
  2. Avoid using malloc?
  3. 25 Year Recruiter Gives You Inside Job Tips
  4. Write a program to play a "Dots and Boxes" game variation
  5. Write a program to play a "Dots and Boxes" game variation
  6. NULL pointer dereferencing?
  7. A simple 'C' problem
  8. Advice, references to implementation of a map or similar data structs
  9. Number of standard functions
  10. accessing multiple properties through a single set/get
  11. Problem with String Append or Cout
  12. Compile time constants in classes
  13. The 3n + 1 problem (Acm's problem set,help)
  14. sdp lib for C++
  15. Problem with enum and struct
  16. C++ FAQ
  17. determining function name in runtime
  18. main-return ???
  19. VC 6.0 Question
  20. Data Structure in C -.o0 Queue 0o.-
  21. Replacement for offsetof
  22. How to initialize a global variable prior to another?
  23. My BOINC,LINUX,Parallel Computing related blog
  24. bhaviour of front method on an empty map
  25. My BOINC,LINUX,Parallel Computing related blog
  26. Rgarding the diffrences in obj files
  27. pointer and reference confuse
  28. Linked list program question..
  29. Ceil double problem
  30. Use of explicit
  31. How to program to an interface
  32. overloading, function pointers, and templates
  33. How to change the following string into the floating point value?(urgent)
  34. single link list , binary search
  35. warning variable 'will be initialized later'
  36. pointers
  37. Help needed Please!
  38. problem calling method from parent of an object if object relayson template arguments of current template class?
  39. A question of fork() function
  40. 25 Year Recruiter Gives You Inside Job Tips!
  41. How to use a PDB file
  42. A question about mmap() function
  43. A simple qustion about C++ syntax
  44. Friend brings a friend.
  45. Friend brings a friend.
  46. Help! SIGBUS (object specifc hardware error) when call function getline
  47. returning char
  48. non-pointer type warning when initializing vector with NULLs
  49. Eclipse, Windows, cygwin and MinGW
  50. exporting inline functions
  51. call by reference
  52. matrix stuff (solving b = A*x) --> using numerical recipes
  53. Data Structure in C
  54. dynamic_cast segmentation fault
  55. Thought you could do this?
  56. delete this
  57. Common Iterator for different containers
  58. Common Iterator for the same container
  59. Object as Argument?
  60. boost::filesystem::create_directory()
  61. Duplicate global constants
  62. Wide Characters
  63. underscore names
  64. C All-In-One Desk Reference For Dummies.pdf
  65. exclusive error handling for ofstream closing
  66. Constructor in C++
  67. Help Me
  68. displaying 24 bit colours using C
  69. Get Value of Digit
  70. design patterns in c
  71. Image reading program
  72. Making all members of pimpl classes public
  73. Help with passing integer poniter to function
  74. Bug with vectors
  75. U++ 602 released
  76. Software copy protection
  77. convert argv[] to u_int32_t and checking it.
  78. read SD-Card serial
  79. how to do an infinite loop
  80. design patterns
  81. Interfaces in c++
  82. how to include color palette for a 8-bit BMP
  83. c++ program to covert an array into 8-bit BMP file
  84. get the file names?
  85. name lookup in derived class
  86. using scanf() in while loop
  87. Square root of a number.
  88. Reading from a file into an array of structures
  89. 25 Year Recruiter Gives You Inside Job Tips!
  90. Memory Corruption Problem
  91. Menu looping
  92. problematic recursive include with String and Exception
  93. inline functions and argument lists
  94. strcmp vs. string::compare(const string &)
  95. OT The Art
  96. Image Compression using DCT algorithm C++ source code
  97. "corrupted double-linked list error
  98. Private member accessors methods for objects
  99. how to format it for scientific number output?
  100. Launch of User Interface Community
  101. Launch of User Interface Community
  102. Is there a good online reference for C++ libraries?
  103. a question of style
  104. Memory allocation related question
  105. Prime Factors
  106. Polymorphic Function Pointers
  107. database with c++ dynamic serving
  108. Printing Patterns using for loops
  109. Portable Code that supports Unicode
  110. stdint.h and portability
  111. IO stream
  112. Working with bytes in C++
  113. strlen, strcmp and strcpy functions
  114. owernship of ying and yang objects
  115. please explain clearly what actually happens after i click on COMPILE
  116. string input
  117. How do you get a list of files currently in a directory??
  118. Hellp with type promotion
  119. webcam
  120. Typedef or not
  121. Help with C books
  122. Quickest way to find the rank of a <map>
  123. About black box testing in c/c++
  124. Help in c pointers
  125. thread argument problem
  126. thread argument problem
  127. about the array
  128. How to serialize the Tree - strcture data in C
  129. A small question
  130. Basic Confuse : about pointer & reference in class
  131. character array correction
  132. returning array to function
  133. Adding large numbers in C
  134. System error on pointer program
  135. Help Badly needed- replacing rules & strings
  136. Basic Managed C++ questions
  137. Can someone recommend a good licence management software
  138. Help Badly needed- FSA and ASCII stuff
  139. Does bit operation always work more efficiently than math operation?
  140. float
  141. malloc behavior on failure
  142. static inline functions
  143. variable declaration
  144. Access Violation rtrim function
  145. Overloading a function with const input parameter?
  146. strcat - strange behavior
  147. Is this a valid delete
  148. OT The Art
  149. 8 bit bit field?
  150. Fixed/Block Floating Point Arithmetic Support...
  151. Fixed/Block-Floating Point Support ...
  152. Which web browser you are using
  153. need help getting the results of the system function into a variable
  154. Rusty Surprises!
  155. private static member access by a friend class
  156. Real Time Type Information
  157. Double to string conversion
  158. variables & method naming conflicts
  159. Writing Data to Bit Field
  160. is it possible to bind 2 default parameters using function object(STL)?
  161. Driver Files in C++
  162. __int64 convert to int
  163. Is there a better way to simulate randomly choosing from weighted set
  164. About rand() in C
  165. Dos 16-bit proteced mode programming
  166. How to find at Runtime, if Created class object is instance of given class declaration
  167. How can I keep reference to an input parameter of a function?
  168. static variable memory storage
  169. how to pass arguments with two dimensional array???(Help!)
  170. GCC in linux 2.6.8
  171. what is the difference in this pointers decalarition
  172. abstract class problem
  173. Sorting Array of Structures
  174. Question on const int as demension of an array
  175. Virtual Methods Question
  176. what's reason to have a segmentation error?
  177. To find the area under the curve using C
  178. RFC: IP-DOS (tm) IdeaFarm (tm) Piggyback Distributed Operating System
  179. pre/post increment/decrement return type?
  180. Sorting Array of Structures
  181. On-Line IT Support (High-Paying with Benefits)
  182. On-Line IT Support (High-Paying with Benefits)
  183. Getting value of char in a string
  184. Inputting data with strings, and declaring variables for them
  185. Position File Pointer to newline immediately on some condition
  186. Help with Tokenizer Please
  187. templates
  188. private functions inside a function
  189. STL, std::transform and member functions
  190. food for thoughts
  191. #defines and multiline expressions
  192. Dirent.h
  193. pointer woes
  194. templates
  195. OOP can be simply summed up as 'passing messages to objects'
  196. Beginner Question - Data Types
  197. meaning of these symbol?
  198. [SDL] Problem
  199. Random Number Generators....
  200. Why won't set<string> iterator work?
  201. computing average value
  202. If you're interested in the OSCAR'S, check out our toolbar which has piles of 1 click links to everything OSCAR!
  203. C code for maximum sqaure that can fit in butterfly curves
  204. Putting implmentation in .h files?
  205. code to kill App
  206. Doubt about std::ifstream's getline() and seekg()
  207. Need suggestions for C links.
  208. why use "protected" instead of "private"?
  209. overlay class over memory
  210. template compile error
  211. Private access in an implementation still allows public access in an abstract interface
  212. trying to make my "fillvalues" function work...
  213. Two questions...first, outputting strings from a datafile, and string addition...
  214. need to compile this ( trying to find roots of a bisection)
  215. Help: Can't access more than one element in class
  216. Searching text in a file
  217. help lpz
  218. do {...} while () ;
  219. Cordic
  220. DBCS/Unicode
  221. problems in file handling
  222. The fastest way to fill 2D dynamic array with zeros
  223. need help with mingw
  224. MATRIX
  225. how do you sort records in a file
  226. Addition with pointers
  227. How portable is C++ today
  228. Invitation To Goldlynks Club And Enrich Yourself @ www.cashcards.net/rep/76574
  229. Conditional compilation inside a macro
  230. Spring cleaning CORBA.
  231. Dynamic Binding
  232. to improve programming in pointers
  233. mmap, why do not work?
  234. to improve programming in pointers
  235. Having problems with a loop
  236. Fibonacci Printer Program won't print to file correctly
  237. Q: overloaded operator[](int)const: influence on what version is used?
  238. How to encrypt a string with des in pure C?
  239. Questions about C++ tools on Linux, and Solaris, Eclipse-CDT
  240. Find out the index of a vector which has the min element
  241. elements common to more than one vector...
  242. function template and operator () overload
  243. Question about inheritance
  244. Can I print more accurate time?
  245. __FILE__ marco
  246. Can use of singletons denote poor project design?
  247. Embedded VC++ experts needed.
  248. Graph optimization
  249. Type safety
  250. specialization
  251. Changing which methods a class has by deriving from a template argument
  252. Way for computing random primes in standard C.
  253. add a null to a std::string.
  254. Frustration - Input Output Question
  255. Books
  256. Optimal Efficiency: dynamic_cast pointer or reference?
  257. 9 bits crammed in to 8 bits space...
  258. How to install lapack in fedora core 4?
  259. Whats the use of %p
  260. merge two binary trees
  261. fast insertion to the std::map
  262. Which graphical library for a multi-platform application?
  263. multiple mains()
  264. absolute newbie help on Visual C++ and .NET Framework 2.0 problem
  265. what is wrong with this
  266. printf() error with long double and null pointer.
  267. how to eliminate this warning?
  268. Likely/Unlikely and standards
  269. Gcc - 3.4.3 Help !!
  270. How to convert binary to hex using a macro?
  271. Compile errors in *.y file (yacc ???)
  272. comparing multiple strings
  273. How is reference implemented in C++?
  274. Is C++ developed in Microsoft .NET Framework considered a .NET application?
  275. Pointer assignment
  276. array duplications
  277. Finding 2 lists if there is equal element?
  278. help on type compatibility?
  279. virtual template members
  280. Static Ploymorphism
  281. getenv() in global space?
  282. Why doesn't this program work as expected?
  283. std::uninitialized_fill
  284. I'm losing the address of an object... segmentation fault!
  285. Is this legal?
  286. getenv() in global space?
  287. Good use of pointers?
  288. I'm not understanding something
  289. need some help...
  290. strcat and overwritten strings
  291. why delete operator crashes
  292. doubt about freeing memory
  293. _beginthread build problems
  294. Why delete operator crashes
  295. Looking for a C++ profiler
  296. Casting pointer to member
  297. C programmers needed!
  298. C++ Programmers Needed!
  299. Hare and tortoise
  300. How to use Functors with a function struct
  301. VLA Question
  302. How to write a simple simulator
  303. multiplication by 7
  304. GTK2: no images are displayed
  305. pthreads and gdb?
  306. Variadic macros
  307. Mapped function pointer with different parameters
  308. portable code and enums of various sizes
  309. Subtracting pointers: Which type to use to store the result?
  310. Output using c++ compiler
  311. strtok ? ?
  312. Question on Pointers
  313. reason for existance of function hiding
  314. remove entry from text file [NOT A HOMEWORK]
  315. Assembling a string
  316. constructing objects from a stream
  317. How to pass pointer to overloaded function?
  318. Create a template which declares STL iterator
  319. reading data from a file into a 2d array
  320. GetWindowEx() looping question
  321. Long and Int
  322. reading screen resolution
  323. Pro Bono programming
  324. multiply two arrays
  325. basic question for pointer
  326. Initializing multidimensional arrays in constructor
  327. problem in modular programing
  328. executing c++ program under unix, unable to run the application
  329. problem with return
  330. Calling function depending upon MACRO value
  331. Types longer than native machine word
  332. KPIC makes programs running crash when libraries are recompiled
  333. KPIC makes programs running crash when libraries are recompiled
  334. Error: glibc
  335. The Information Operations Roadmap
  336. validating an object pointer returned by an exported function
  337. Call stack of a SIGABRT, please help
  338. Casting a pointer to an int and back
  339. How to convert char* to WCHAR* in C
  340. control and data coupling
  341. A problem about type cast in bitwise shift
  342. Empty Main
  343. a stl map which use stl pair as the key
  344. using a vector of pointers in a for loop - C++
  345. Why I can't use for_each to call a member function with a ostream& parameter?
  346. Integer printer won't compile
  347. How to print symbol in C
  348. condition on template variables
  349. what's the difference between type struct and type class exactly?
  350. Is it possible to make void * safer?
  351. How to print symbol in C
  352. dos screens in c
  353. Write a transform_until template
  354. floating point to fixed point conversion
  355. Creating a packet for RAW socket transfer
  356. "c++ symphony" by Jerzy Grebosz
  357. API design question
  358. "c++ symphony" by Jerzy Grebosz
  359. Ever see anything like this?
  360. Tildes and accents
  361. initializing table in class
  362. a question about a string
  363. Calling a template function from another template
  364. Calling a template function from another template
  365. borland findfirst not sorting by file age
  366. passing objects through dll boundary?
  367. Log file deletion?
  368. Expert.C.Programming.pdf
  369. where
  370. passing objects through dll boundary?
  371. JNI:"undefined symbol" in "shared-library"
  372. template id does not match any template declaration?
  373. How to delete stl<map> element from iterator?
  374. iostream and memory-mapped file
  375. signed vs unsigned
  376. C Newb Killer - Bitwise operators
  377. Linking of <stdio.h>
  378. win32 FindWindowEx function
  379. static in [ ]
  380. How do I know if I am moving left or right in a binary tree?
  381. How can i calculate a execute Time of routine Or function?
  382. Does this program make any sense?
  383. Does this program make any sense?
  384. Portable 'lowercase' function for stl string?
  385. std::ostringstream
  386. what are the STDOUT, STDERR,STDUPDATE streams?
  387. ras api win98
  388. boss-worker model in C++
  389. biggest reason for using memory manager in large C project.
  390. STL Map: Sorting options?
  391. help req. on controls
  392. comile on winxp for Sun Solaris
  393. Namespace specialization
  394. what is corresponding code in c++ for malloc
  395. Character Constants
  396. to calculate bitsize of a byte
  397. is it possible to possible to create an iterator from a callback interace?
  398. What is the advantage of malloc over calloc
  399. Requirement of C++ professionals
  400. Which is better, C or C++?
  401. Which is better, C or C++
  402. String to Octal
  403. Why can't I use gdb?
  404. Weird realloc() error
  405. Checksum calculating program
  406. DOS Watcom C/C++ problem
  407. write to memory map I/O in a for loop
  408. C++: Help output nested strings
  409. PLEASE HELP Trying to use SSH programmatically to run program on remote host
  410. macro to print local information (about function name etc)
  411. ostream which uses my own output method
  412. How do I "read-in" numbers from the left?
  413. STL container questions
  414. templated class implementation in C
  415. const * and a problem with redirecting input
  416. How to print out
  417. Wierd Map Behavior
  418. how to print it out
  419. UB in assignment ?
  420. jump over lines in C
  421. Nested exceptions (ala Java)
  422. c99 docs - any good?
  423. c99 docs - any good?
  424. Internal Enum and Inheritance
  425. recursive factorial function.
  426. error in my vector program...
  427. 'C programmers' would have seen this a mile away
  428. inheritance
  429. Static Class configuration
  430. Class pointer vector and STL
  431. Variable length arrays Q
  432. Assigning a variable to a specific memory location
  433. Question to malloc
  434. const int FOO vs #define FOO
  435. Problem about Static
  436. Small Issues on Convention
  437. boolean arrays
  438. QUERY: strip trailing whitespace ... woes :S
  439. Using different types depending on run-time input
  440. ifstream binary read into unsigned char b[LENGTH]
  441. help plz
  442. New Forum
  443. equivalent c data types for vc++ data types
  444. linux compatible c datatypes for vc++ data types on windows
  445. millitime
  446. average
  447. int to char*
  448. clock()
  449. Template, Inheritance and Operator Overloading
  450. Seriously struggling with C
  451. What do these casts accomplish?
  452. istringstream and optimization
  453. emacs, linux and C
  454. ld: warning: creating a DT_TEXTREL in object
  455. C API?
  456. Exception class EInvalidOp: invalid floating point operation (x-posted w/ borland.cppbuilder.cpp)
  457. Destructors, pointers and scope
  458. new programmer
  459. help
  460. struct ptr within the same struct
  461. Pointer to pointers of structs.
  462. Implementing Just-In-Time Compilation
  463. Question about a prototype involving "const"
  464. preventing following stdout getting into the stdin-stream
  465. help!!
  466. Please, how to use a token to perform mathematicals operations in a C snipe program ?
  467. just a simple question
  468. Reading into linked-list from a file
  469. Call by value in C
  470. Confused about learning C++
  471. Built for speed - mmap, threads
  472. Getting more than one implicit conversion
  473. Sleeping in milliseconds
  474. some questions from a freshman
  475. How to convert an integer to ASCII character ?
  476. Hash Function (str -> 32 bits)
  477. programming skills
  478. "instantiated from here" compile error when using template
  479. Read only last line-
  480. mystery code?
  481. gsl - can I solve n-order linear ode
  482. copy algorithm:segmentation fault error appears
  483. object as a argument of the method in which the method is defined ?
  484. c++ lint tool
  485. need help with my C++ program
  486. same index, different containers.
  487. Problem with variation on the Singleton pattern
  488. Manually implementation of gotoXY( int, int ) function
  489. Designing a const-correct iterator hierarchy
  490. Static object initialization
  491. Exporting templates
  492. C vs. C++ vs. Java
  493. Method to Specify Uniqueness of Objects in an STL set?
  494. MFC in Linux
  495. MFC in Linux
  496. STL VECTOR
  497. help about project
  498. member template specialization
  499. Programming Source !
  500. ADO
  501. Not getting desired output
  502. Available C++ Libraries FAQ
  503. Trees in c++
  504. Trees in C++
  505. void* operations
  506. VC++ 101 book wanted
  507. Is there a pre-processor marco to get the class name?
  508. Gamma Inverse CDF
  509. array template
  510. How do I define a function in a class template?
  511. variable scope in threads
  512. how best to get the offset of a field within a struct?
  513. Loki library guide
  514. Inability to explicitly specialize a template class within another non-specialized template class
  515. Deriving from an iterator?
  516. C compiler and multi-core support
  517. function pointer to itself
  518. IT tests. C, C++, C#, VB.NET, ASP.NET, SQL, HTML, XML...
  519. Word Counts and Function recommendations
  520. making functors adaptable
  521. Saving old stream format and restoring it
  522. Sanity Check
  523. ASP, ASPX, PHP, JS, XSL comment remover for web applications
  524. Exceptions
  525. Static variable in a member function
  526. how to see the source code
  527. Is this string input function safe?
  528. UCHAR problem
  529. ansi to oem conversion with borland C3.1
  530. template: "typename" or "class"?
  531. function template arg deduction with arrays
  532. Using variadic functions within variadic functions
  533. problem with pointer to array
  534. file into dynamic arrays
  535. Should I include this <stddef.h> ?
  536. a simple problem about printf("%10.5f",f)
  537. a simple problem about printf("%f",f)
  538. Plauger, size_t and ptrdiff_t
  539. struggling with void pointers/functions/structures
  540. STL sort implementation
  541. new operator - difference in usage?
  542. Some working code for a change...
  543. why class keyword in C++
  544. Base class pointer in dervied class pointer
  545. Curbing the foul google interface
  546. Question about find_first_of of the STL string class
  547. Novell Programming Language
  548. Fibonacci...
  549. problem in declaration
  550. Chi squre