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. Program to calculate the cost of travelling to different zones
  2. A simple question about input a constant in C
  3. How to read a Structure from a matlab file to a structure in Vc++ 2003
  4. The extern "C" construct - does it allow the use of C-style (int-based) enums?
  5. class design/ design pattern question
  6. sort command output
  7. Problem with Copy Constructor and overloaded assignment operator with templates
  8. Exceeding limits during arithmetic
  9. Basic question on exception handling in C++
  10. I want to write a funtion
  11. Function & header files
  12. Identifying dropped and normally ended calls on a windows mobile phone
  13. Parsing A String In C++
  14. Can mystr[i]=mystr[ii] be a problem when i==ii
  15. How i write this program Please help me
  16. Custom Software Development
  17. behaviour of setprecision(0)
  18. Allocation function in a namespace
  19. self referential structure
  20. SWAP VALUE
  21. How can we implement third party class, with out inheritance ?
  22. need help to use Com ports in windows forms c++
  23. 'while' loop with a logical OR.
  24. gen n random numbers sum to 1
  25. library to access xml files
  26. how to store 1 bit at a time in a file C++
  27. Fight Stopping AIDS, Let's Do it...
  28. Fight Stopping AIDS, Let's Do it...
  29. Vector Problem
  30. solve the problem and enjoy........
  31. Memory vs Performance?
  32. looking for an algorithm for layout
  33. solve the problem
  34. reordering of statements and volatile variables
  35. about C++ function declaration
  36. HID numpad using C++
  37. Ascii Values
  38. Guidelines on how to write a C Program that will calculate time in hours and minutes
  39. Why not exported base class' member functions in DLL?
  40. Need help !!!!
  41. How to create a Leaf class in C++
  42. SmartPointer & User Conversion & Sucking Compiler
  43. How to convert string to operator
  44. File Handling
  45. CListCTrl
  46. pointer arthrmetic using operator overloading?
  47. Output a variable name
  48. [Potentially OT] Linking static and shared libraries...
  49. Please Help Me Debug this Code
  50. Make mouse click
  51. iterator for custom class
  52. cast struct question
  53. basic question on *=
  54. C++ homework problem
  55. EOF in C and OSX
  56. Problem with char* as a parameter
  57. constants - pp vs. const
  58. Usage of strcmp()
  59. create a objects vector class
  60. Double linked list
  61. Erasing in a vector while iterating through it
  62. Help on memory allocation of dynamic array within a nested structure
  63. what is the output
  64. power of two...
  65. NVI idiom and patterns such as Decorator and Proxy
  66. DLL address space and plugins
  67. linked list
  68. Any difference???
  69. printing nice table
  70. how to calulate crc of an executable file
  71. help?
  72. HOW to create dialoge box in windows ?
  73. initializing struct
  74. String date to time_t
  75. left to right associativity
  76. Reading from a text file that also is binary
  77. Wannna talk to me now ?? I love making new friends...
  78. Wannna talk to me now ?? I love making new friends...
  79. C++ standard and current implementation
  80. Wannna talk to me now ?? I love making new friends...
  81. Migration process
  82. Size of blank class
  83. Tree in Datastructure
  84. Boehm's garbage collector
  85. Are C++ templates a precompiler thing?
  86. Reading a file
  87. Mean Rotation Matrix
  88. random password generator
  89. cfront coprright
  90. C++ Precompiler: Same as C Precompiler?
  91. How to populate an array of char* pointer dymanically?
  92. std::set constructor taking a sorted sequence
  93. Copying a Text File in Reverse
  94. hi all
  95. memset + free
  96. Intercepting windows messages
  97. IPV6_V6ONLY and SO_REUSEADDR: why?
  98. how does map iterator actually reference underlying object?
  99. Error when using std::less
  100. xml entity class
  101. tcp server to handle multiple client
  102. advanced c++
  103. C++ template function problem, reply is appreciate!
  104. URL decoding function in C++/C?
  105. Reversing string without using indexing..
  106. More elegant UTF-8 encoder
  107. ultimate API noobie qs
  108. Handle?
  109. reference...
  110. reference...
  111. Problems with std::less
  112. a question about typedef syntax
  113. what does a new A[10] return?
  114. C code for ICA
  115. PlaySound() and file length.
  116. Mandelbrot trouble
  117. Contradictory behaviour of temporary objects
  118. How to upload image to MySQL Database and later read it?
  119. Templates & automatic type conversion
  120. Accessing directory
  121. how to read data from a wave file
  122. Does this use dynamic two-dimension array correctly?
  123. Virtual destructors and the C++ standard.
  124. vector class MinIndex method in Dev c++
  125. How to use CObject?
  126. problems of storing dynamically created objects in a vector
  127. Reducing complexity for starting a project
  128. How send execlp result to the father?
  129. Asterisks article questions and comments
  130. Pointer issues
  131. Puzzel in C
  132. C or c++ code
  133. MFC Licence
  134. Dynamically choosing what to "new"
  135. How to use typedef in nesting class?
  136. opening other files using C
  137. thanks
  138. i need help please!!!!!!
  139. trying to assign function pointers
  140. Returning a data structure
  141. pass by reference
  142. difference b/w char arr[], & char *pointer
  143. random function in loops
  144. POPL 08 Call for Papers
  145. Print Matix with function
  146. Problem in writing to COM1
  147. Pattern matching
  148. greetings
  149. Problem in the convertion of any number base B to decimal
  150. Battleship program
  151. Sizing a STL vector object to available memory
  152. Substitution in the C++ string class
  153. JOB ID : BE 3001 >>> Our client needs a PeopleSoft Performance Tester
  154. Linker error - CVTRES : fatal error CVT1100:
  155. how to escape string
  156. Program input parameters/options
  157. Help in my program it is not given the right answer
  158. stc::cout in server mode (running in background)
  159. List of array
  160. Grrr... C++ file I/O
  161. passing a pointer to a 2D array to a function!!!!
  162. Vector and SWIG java problem
  163. Is it safe to use UTF-8 in comments?
  164. Question about polymorphism (or so I believe)
  165. Converting double (or float) to int
  166. Disadvantages of Dependency Inversion?
  167. Positions still available in the South of France. deadline for applications : 15th of June 2007
  168. Disadvantages of Dependency Inversion?
  169. question about filebuf and istreams and eof....
  170. Array initialization when defining the array
  171. Call derived class function from base class reference
  172. How can I set up my class so it won't be inherited from?
  173. Inheritance Problem (MSVC 6)
  174. Passing and processsing multiple pointers to a function inside C
  175. hash table
  176. basket of fruits in C++
  177. Tic Tac Toe help
  178. sorting arrays in ansi C
  179. Segmentation fault - fprintf
  180. How to get the size of a dynamically allocated array?
  181. Type Functors
  182. Checking for invalid floating point numbers
  183. Main differences between c and object orientation?
  184. how to start learning C language?
  185. File input and output
  186. Fastest way to mulitply by 7
  187. Multi Variable For statements
  188. the strange accident
  189. open bank policy optimization
  190. Internet Explorer COM DLL / Plugin.
  191. function prototype
  192. How to compile GLib as a static library on Windows ?
  193. Splitting function
  194. Order of functions in an IF
  195. How can we reinitialize a array of structure?
  196. C Code for ICA
  197. How to store and Display map content (STL Map)
  198. gcc Preprocessor (-E) with comments
  199. Real-time update on screen of char input to string.
  200. Source files for buildt-in containers in std?
  201. fork(): Child Memory from Parent
  202. recognition of a serial device
  203. How can I exit from "getline()" without pressing any key?
  204. String Streams
  205. Program crashes when running it outside dev environment
  206. Baffling error with an array of class pointers
  207. std::list: remove from front without deleting or looping through whole list
  208. One if query
  209. have a look at my blog site for asp.net .. there is microsoft contest also ( u can win so much)
  210. have a look at my blog site for asp.net .. there is microsoft contest also ( u can win so much)
  211. template template arguments: expected a class template, got `Component<T1, T2, T3>
  212. syntax error in switch statement
  213. read data from file, write into 3D array - need help again.
  214. parallel, concurrent server with Boost::thread
  215. volatile and thread safety
  216. pointer to typedef 2D array
  217. setting private variables
  218. Storing in a Stucture
  219. concerns about passing arrays into functions
  220. Q: memcpy str to struct
  221. Alternatives to using virtuals for cross-platform development
  222. malloc_stats output
  223. convert date from dd/mm/yy to XXX dd YYYY
  224. stack corruption
  225. Need help with a dictionary class...
  226. Need help converting a string to a float...
  227. generate variable names
  228. How to make a LAN scanner
  229. struct with pointers
  230. file and menu processes at C Helpp !!
  231. how can i generate warnings for implicit casts that lose bits?
  232. "inFile" object cannot read EOF
  233. Vector element manipulation
  234. How are objects inserted into a set?
  235. May fgetc() and friends return 163? Or UCHAR_MAX?
  236. printf question, leading zero in E format?
  237. accessing jpeg image n extracting its pixel matrix
  238. Multiple Array and pointer issue
  239. ScrollBar issue
  240. Private Static member object of the same class
  241. Function pointer question
  242. Controlling input?
  243. annaram of word from dictionary
  244. sorting algorithm
  245. Another prime question
  246. Problem with iterators
  247. Problem with creation of .res file (Borland C++ 5.5)
  248. Difference between Declaration and Definition of a variable?
  249. C++ Puzzle
  250. Strange error
  251. Hibernate computer in c++
  252. STL inside a structure (I'm stuck!)
  253. implementation suggestions
  254. Implementing Address Resolution Protocol
  255. implementing function
  256. problem with string class (and size function)
  257. Classes vs Structs?
  258. Is multithreading possible in c on linux platform
  259. Using malloc in C++?
  260. hi, i need some help, i am new user of this group.
  261. c++ DLL get parameters
  262. Finding out the active Unix shell
  263. get processs name; error: dereferencing pointer to incomplete type
  264. ASCII To Hex Converter
  265. Count occurrences of a string in a file
  266. Private Destructor - Use
  267. Tools to find out Memory leaks in C++
  268. & and && operator confusion
  269. Taylor series
  270. Possible C++ compiler bug?
  271. Errors and approximation
  272. Help....help...help....
  273. Using malloc
  274. CComBSTR
  275. is it ok to cast variables? simple function using std::pow
  276. Connect to remote machine in an office network
  277. system call
  278. Highscore system
  279. Invalidating iterators after insertion/removal
  280. write string to an array
  281. Writing raw data on disk.
  282. How can I read 2 characters from file into a std::string
  283. Mixing default and non-default parameters in Constructor?
  284. Casting from pointer types to non-pointer types
  285. The Command Prompt
  286. Is it better to use a macro or a function?
  287. Is it better to use a macro or a function?
  288. Implementation of a network stack in C
  289. C & ncurses problem *warning - long source
  290. Is this a bug of the C++ compiler of VS 2005?
  291. Help me to make this tree in c on linux
  292. How many levels of pointers can you have?
  293. can constructor be a template?
  294. doubt about smart pointers
  295. Recursion - how long will be computing?
  296. Comments outside include guards (from a Sutter/Alexandrescu advice)
  297. Circular queue
  298. Open source solution for voice chat rooms.
  299. Does "while(ifs)" works the same way "while(!eof.ifs())"?
  300. Performance profiling tools.
  301. realloc() / free() BYTE* immediately after malloc() fails
  302. use of undefined type????
  303. Style question, structs and objects
  304. Number of bytes when receiving packets using C++
  305. fprintf.c error
  306. determining why a file cannot be written
  307. Thread safety
  308. Software Testing tool Rational Robot Tutorial
  309. compiler synthesized constructors/copy constructors/assignment operators
  310. How to get warnings about implicit narrowing in c99 code
  311. Why does the value get discarded in this case?
  312. typename vs class
  313. Am I re-inventing the wheel?
  314. CreateThread or CWinThread
  315. Accessing virtuals in base class
  316. generating autoincrement value
  317. assign char to std::string changes the char itself?
  318. Memory Issue with strcat
  319. Enhance your knowledge and boost your mind
  320. Enhance your knowledge and boost your mind
  321. largest no
  322. largest no
  323. How to perform Map Implemantation in C++
  324. C++ Source Reverse Engineer - How to write a parser ?
  325. solve the problem and get the points,
  326. #line
  327. questins about c++ templates
  328. Compiling C code in visual C++
  329. Speaking of selection algorithms, I had never heard of heapselect, so I wrote one.
  330. malloc function.
  331. C++ program + MS Access
  332. crc check for exe
  333. Parse string to double really fast
  334. JNI/c++ - passing imagefile as a byte array to native library
  335. Problem with RedBlackTree
  336. retrieving templatized object via singleton getInstance using generic template parameters
  337. Show Multiplaction table in C++
  338. Windows MFC/Win32 question
  339. Need help in my array
  340. C++ single entry bookkeeping library
  341. Functors
  342. Plz help me in solving this problem
  343. ANSI C++ Namespaces
  344. malloc without stdlib.h
  345. Comparing pointers
  346. ADT string
  347. How can I get rid of "Warning C4307: integral constant overflow"
  348. strtok as string replace function problem ?
  349. strtok as string replace function problem ?
  350. Control Scrollbar for multible windows
  351. Stroustrup - Evolving a language in and for the real world: C++ 1991-2006 (HOPL III)
  352. How to change stack size?
  353. Doubt with char* and char[]
  354. Deallocating Individual Elements of an Array Allocated Using new[]
  355. how can i generate warnings for implicit casts that lose bits?
  356. const c structure question
  357. sort command from the terminal
  358. socket
  359. question about pointers in a 2-D array and strchr
  360. Show another form when button clicked
  361. WHY doesn't C know anything about directories?
  362. Data Structure for a Menu Tree
  363. Pass-By-Value-Result Problem
  364. Containers & Pointers, Discussion
  365. Could you explain the Pass by value-result problem?
  366. infinite loop with select
  367. Kindly help me to find the reason:
  368. glob("/tmp/a/*") returns GLOB_ABORTED on RHEL, GLOB_NOMATCH on DU
  369. structure and pointer
  370. c++ function that returns the MAC
  371. How to find out if a processor is "little endian" or "big endian"
  372. Build openssl-0.9.8e with Cygwin problem
  373. Design pattern question
  374. Macro in main function.
  375. malloc function
  376. Walkin in Bangaloe in CV++ in Chennai
  377. System calls
  378. Advanced node structure design
  379. Windows socket programming
  380. preprocessor
  381. help about class and member function
  382. Chambers in castle home assignment
  383. help me out
  384. CFP: 2008 International Workshop on Multi-Core Computing Systems
  385. try and catch - OLE exception
  386. metod, calculating ages with class Date
  387. string class ( size function)
  388. Connecting to USB: c++ code
  389. PLEASE HELP ME ! PLEASE
  390. Way to print "hallow" inc without using semicolon...
  391. calculating execution time
  392. msxml / c/c++ / multiple Schema
  393. FAQ says no attachments - time to change ?
  394. opening website
  395. C's compromise and recognition to the new C++
  396. c++ programmers needed in the South of France
  397. Eliminate Rogue Wave from C++ code.
  398. How to understand (reverse engineer) other people's code?
  399. C
  400. design pattern for defining a relational operator
  401. allocator.destroy()
  402. Problem writing in the trail of matrix of maze program
  403. Reference assignment through base class reference
  404. please tell the code of tht puzzle using arrays n strings
  405. C++ error HELP!
  406. Help with code using struct and arrays
  407. Need help with program using structs & arrays
  408. How to check the linked list is circular or not?
  409. how to delete a file?
  410. Windows specific question
  411. 8085 simulator in C
  412. function pointer to extern?
  413. Linking other files such as images to the C++
  414. Interface problem
  415. pairwise comparison and merging of vector elements
  416. sorting by name
  417. creating with new and destroying with free
  418. dynamic array of objects in C++
  419. You Will Not Watch These Videos Ever
  420. Supplying an iterator when inserting into vector??
  421. You Will Not Watch These Videos Ever
  422. How to link and bind under Z/OS
  423. C++ Mail Help !
  424. An approach to a geometric problem
  425. Trim function
  426. Determining if type T is a subclass of X
  427. dll to read a file and return the number of lines in the file.
  428. making a stand alone application program from MS VC++ 2005 Express Edition
  429. compression with c/c++
  430. Reference of the return value.
  431. Exception Handling
  432. Exception Handling
  433. Its Great Place for Vacation (pictures
  434. Count frequency of prepositions from input text
  435. class instantiation
  436. maps with vectors
  437. validation in c++
  438. DOMWriter does not read from memory
  439. strange problem
  440. Windows Messaging
  441. Cannot access a class pointer from a different source file in the same project
  442. WIndows and linux password
  443. Black Jack Programming
  444. yacc trouble
  445. Stack around the variable "xPos" was corrupted
  446. Template question
  447. operator<< for standard output and templates
  448. 2D Array-FirstTime Why do I hve to have user input less one
  449. VC++ ("include" problemand directx,platform SDK
  450. Unpredictable segmentation fault
  451. difference between socktype ad protocol?
  452. help-I'm new in c++
  453. Iterator performance on associative containers
  454. design opinions requested
  455. Is it legal to include source file?
  456. SFINAE for operator->
  457. Hello all please sove that problem
  458. oveloading operator<< and chaining
  459. Window class names used by the Win32 API
  460. Aggregating ABC's and pointer correctness
  461. How increment and decrement opertors works in c
  462. task as an example for exam on c++
  463. comparing floating point numbers
  464. HEXADECIMAL to STRING
  465. ISO referrence
  466. class Date, class Student ...
  467. Why polymorph fails when virtual function is decleared private in base class and public in derived class?
  468. Cache Analysis
  469. RTL & Code-Generation
  470. cdecl
  471. running a c++ program from actionscript
  472. dirctshow and MSVC++
  473. Sending file over CGI (C++)
  474. Problems using zlib - buffer problem or something else?
  475. Random String
  476. Show all memory occupied by the program
  477. cin, cout rows and columns
  478. Problem using static library
  479. Stacks
  480. How does multiple inheritance work internally?
  481. Some Help Please with Strings and Structures
  482. ABCs (abstract base classes) and linkage problems
  483. Your view of FAQ section.
  484. Process List
  485. RTSP Server Implementation in C
  486. boost::is_convertible with private inner class
  487. ** VIDEO SPEECH OF PAKISTANIAN CHIEF JUSTICE REQUESTED ***
  488. seeking an opinion from the collective wisdom here
  489. asking for an opinion from the collective wisdom here
  490. Converting to/from pointer
  491. boost::has_trivial_constructor doesn't work
  492. expression and evaluation order and precedence rules
  493. seeking better solution for resetting ID
  494. strcmp problems.... ??? Segmentation fault
  495. Source code for "pgrep"
  496. C++ Stl
  497. use template classes or standard classes and/or linked list
  498. help me understand this function
  499. Can anyone help me with my source code?
  500. Homework Assignment - closed
  501. union in C++
  502. I want to write a code which replace words from string without use of string function
  503. C++ Stl
  504. (gtk+) button with integer as its label
  505. sscanf Question
  506. A help needed
  507. [C] a circle in 2D/3D - return a pairs o points
  508. some tricky questions
  509. memory problem
  510. Request definition of terms
  511. Handle Class
  512. YOUR PERSONAL ATM
  513. YOUR PERSONAL ATM
  514. How to pass in "&" as the input argument to a program?
  515. Object Creation Problem
  516. Pass and cast address of cast
  517. inclusion guards
  518. what is wrong with void ungets(char *s)
  519. what is the difference between int& and int
  520. Partly initialized array default values in C
  521. pointers and assignment operators, basic question
  522. multiset memory usage
  523. i am new to usenet, need help on how to use it.
  524. Another question about C
  525. file lock in MinGW
  526. Templating classes
  527. Could you explain
  528. question on template, traits class and static inline
  529. Multiple Control Variables in a Switch Statement (C)
  530. Struggling to understand Bridge pattern benefits
  531. A question of socket programming
  532. Homework Assignment - closed
  533. Puzzle!
  534. C/C++ question on char*
  535. assigning const char* to char*
  536. Differences in reading from an istream vs. stringstream
  537. Need help in understanding c code
  538. Declaring static pointers.
  539. random_number
  540. AspeCt-oriented C (ACC) Release V 0.6
  541. _stdcall..causing error..
  542. handle signals in c
  543. using const keyword
  544. Code reading/Understanding - A general question
  545. const char* vs string
  546. difference between a plain dll and .net dll??
  547. Loop and getchar problems
  548. Picture/ Image
  549. Simple OO design issue
  550. static structure