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. meshing a rhombus using c++
  2. Functions
  3. Arrays printing errors
  4. interator check
  5. Warning in data format of the fscanf function
  6. Reed Solomon decoder
  7. be careful
  8. Client-Server communication problem with mailslot
  9. Process creation
  10. cannot convert int to const char*
  11. Compilation Issue.
  12. How to Update a Object within a Callback Function
  13. Unexpected 'setprecision' behaviour.....
  14. Help needed with this code
  15. 10 numbers per line
  16. How To Pass a 2D array to a Cfunction using Pointers?
  17. unsigned int support
  18. Hello can someone verify my answer?
  19. Read sales data from a file into an array
  20. What is the fastest way to do Data File I/O in C++
  21. Drawing an Inverted Triangle
  22. Validate a MFC 'CDialog' handle
  23. Vintage Computers
  24. vectors inside a vector
  25. C++ and ZIP Help
  26. is it possible to pass string argv[] in main?
  27. Define a string
  28. File Append operation in c++
  29. compiling using xlc in 64 bit
  30. Given input time, print out time in text (2:00 = Two o'clock)
  31. Pointers
  32. Displaying an array
  33. explain the output
  34. Initialising private base members in copy constructor
  35. Returning reference to local variable - is this okay?
  36. exception raised in destructor
  37. I/O help...I think,,,
  38. How to Modify Console output AFTER it has gone to cout
  39. pgp trash troll delete Guy Macon guymacon Guy Macon guymacon Guy Macon
  40. Parsing C++ with typenam tagging
  41. pgp trash troll delete Guy Macon guymacon Guy Macon guymacon Guy Macon
  42. (char *) type vars and .rdata section
  43. C code with macros
  44. Problem with inheritance of classes with template parameter
  45. Program code in C to convert Roman numbers into Decimals
  46. STL jump to line
  47. compile's problem?
  48. How to convert wchar_t * to char *
  49. Self Printing Code
  50. {malloc, new} and {free, delete}
  51. CGI debugging - 500 Internal Server Error
  52. Win32
  53. Parsing c++ with typename-tagging
  54. Please help me while dereferencing a pointer array
  55. Putting a character in keyboard buffer
  56. Seg Faults
  57. How to talk to hardware devices in C
  58. Source code of STL
  59. Getting the size of Class
  60. Getting the size of Class
  61. HELP: Borland C++ 5.5 tiny memory model
  62. Dynamic Mem Allocation problem or a Compiler Mem leak?
  63. C++ Primer ex 6.20
  64. bitbuilder class.
  65. Classic tv series on dvd
  66. const keyword
  67. How to call a non static function from a static function
  68. source code for scheduling algorithm
  69. Question about proprietary software development using GNU C++
  70. Programming AI in C++
  71. How to store the data of a large map<string, int>?
  72. operations on complex numbers in C99
  73. add a directory location for compilation
  74. What is going on here?
  75. HELP: Pascal & C/C++ (with a little assembly)
  76. A Maze problem in C++ using recursion
  77. How to convert Bitmap image in a 2-D array?
  78. Really bizarre linking error!
  79. inline
  80. sum in an array
  81. does CCS supports tail recursion?
  82. When to use overloaded operators
  83. Communication between objects
  84. Smart pointer and thread programming
  85. Composite classes
  86. bytes manipulation in C++
  87. convert decimal to binary
  88. C++ in Ubuntu
  89. What is the advantage of using a pointer to a structure as a parameter to a function?
  90. how to make dll??
  91. Read ethernet card and data file from it along with full vendor info etc
  92. Returning a function pointer
  93. A question in TC++PL!
  94. Function pointers and default arguments
  95. Decrypt programing language
  96. c++ language
  97. Visual C++ 2008 express edition
  98. Burn a DVD
  99. Get memory representation of double
  100. Count number of occurrences of a character and search it in a file..
  101. If else problem
  102. C Programming Language
  103. typedef struct foo{} foo
  104. Directing output to arbitrary host terminal
  105. got ex questtion here...
  106. create a variable of certain name
  107. basic
  108. comma overload semantics
  109. K&R -> C99?
  110. Class and Inheritance
  111. More on random numbers... (Proposed correction on the FAQ)
  112. static functions in a class
  113. Converting a unsigned char * to const char *
  114. Reg. Function Templates
  115. test if integer
  116. test if integer
  117. sequantial processing of files of several directories
  118. "<vectors>"
  119. c/c++
  120. how can i come out of the loop : while(getchar()!=EOF);
  121. Looking for a C/C++ header to XML file converter
  122. Fwd declarations crossing namespaces
  123. object orientation concepts in C++
  124. How to create a process that uses 5Gb of memory?
  125. C operator <=
  126. a beginer need help
  127. access to a flash ram attached to usb port
  128. Newbie question
  129. help with file I/O
  130. Parallel arrays
  131. Sending a message from a component to its dialog box
  132. Accessing specific address
  133. ifstream file gives weird character for .html extension
  134. Header files
  135. miniproject
  136. Direction of stack progression
  137. Help with Static Variables in a Class
  138. To Print the source program as output
  139. double to double error in c++
  140. C++ mini projects
  141. stream operator overloading question
  142. modulus
  143. explain this c code...
  144. Accelerated C++ "overriding commands for target"
  145. formating an stdin input
  146. Automatic trimming of redundant includes and protoypes?
  147. playing with vectors
  148. Default parameters in COM
  149. Default parameters in COM
  150. Source code for Scheduling algorithm
  151. How to add thread-safety in a logging library?
  152. Linux times() equivalent function in Windows
  153. error
  154. lines of code
  155. Multi Inheritance
  156. Ways to make inline work?
  157. How to make inline work?
  158. how to put the contents of structure in the buffer.
  159. Logical Operations and Loops
  160. Expert game programmers
  161. STL Container
  162. Oscilloscope Signals
  163. Passing variable to the WindowProcedure
  164. Is it a good idea to implement constructors with assignment operator?
  165. What is the nameless objects in C++
  166. What is the difference between printf and scanf?
  167. Error Managment
  168. filling up structure
  169. no appropriate default constructor available
  170. Array of pointers. How to check index without failure?
  171. Mergring two string Arrays
  172. what is the advantage of INOUT parameter over OUT parameter?
  173. Determine if type supports operation at compile time
  174. How to obtain the type of the exception in 'catch (...)'?
  175. time() question
  176. strncpy core dump
  177. Sorting a structure
  178. Help needed for a c program
  179. 64-bit problem with Bitoperation
  180. I need some help with a MFC control box
  181. Borland ClientSocket gives memory leak (handle count increases)
  182. automatic template instanciation (g++, -frepo)
  183. How can i open the magic square in the text file????
  184. while loop
  185. An attempt to make a 'property' in C++
  186. error LNK2019: unresolved external symbol
  187. a pointer to a derived class problem
  188. compiler type
  189. getting I/O error, attempt to read stack failed - bad frame pointer
  190. gcc warnings from 'const' assignments
  191. Base64 unsigned/signed char
  192. Print the function name using __FUNCTION__ macro
  193. using va_list
  194. Dev C++ Very Basic C Console program - Parse error ????
  195. how to calculate nth root of a very very big integer?
  196. Fetch the name of the running application exe in win32
  197. Help on N nested for loops, where N is a variable!!
  198. N groups of random numbers with different ranges
  199. Testing C Programs
  200. Trouble accessing member class' function
  201. cool
  202. function-sections and data-sections option in gcc
  203. Trivial
  204. time complexity
  205. about macro vs template
  206. expecting gmon.out format for command line argument
  207. Arrays
  208. how can i change given binary file to text file in C?
  209. Simple typedef question......
  210. redirecting stdout to/from console
  211. I cannot use the hash_map::operator[] to read the value in the hash map?
  212. >>>>> tree
  213. Can I use "Queue" without malloc func
  214. STL: vector<T> to T[]
  215. std::map initialization - reserving hashtable size
  216. Using an STL vector in a struct with COM
  217. Capture the Enter Key in an Edit Control
  218. unresolved externals
  219. errors with definition of main program
  220. Why is this code complaining about constness?
  221. VBscript convert to C/VC++
  222. Error - Cannot call member function without object...
  223. Convert VBScript to C or VC++
  224. Help needed with socket class with MD5/Salt
  225. Need Help With Arrays...
  226. Avoiding ambiguities
  227. Would this cause a memory leak?
  228. Question on Macros and #define using C language
  229. C Program for currency conversion
  230. can operators be inherited?
  231. this pointer passing null incase of refrence
  232. obtaining the size of a structure
  233. GCC not running compiled code
  234. Check if process has a stdin handle
  235. question regarding .wav files
  236. "protected" confusion
  237. question regarding loader
  238. Windows XP optimization tricks
  239. template memberfunctions
  240. How to use typedef together with template ?
  241. Macro hints
  242. AspeCt-oriented C (ACC) Release V 0.7
  243. Pass C++ string back to VB calling function
  244. RS422 Serial Communication Codes in C++
  245. I'm stuck with the implementation of a generic algorithm.... need some help :P
  246. SIGBUS, Bus error.
  247. curiosity singleton pattern?
  248. Where do I download Comeau compiler.
  249. Where do I download Comeau compiler.
  250. Only one point of return
  251. gdb doesn't find symbols
  252. confuse
  253. How to determine number of lines in char **
  254. How to run C++ program in command mode
  255. doubt in fat32 program in vc
  256. incorrect code
  257. Named Pipes in C++
  258. Indexing .txt files in c++
  259. C++ compiler about version 4.3 and an odd error of a compilation.
  260. Parce Error Help
  261. Script and c++
  262. Second largest
  263. pronunciation on malloc thing
  264. Using default argument in the template function.
  265. Any design pattern for a transformation class?
  266. In search of knowledge about programming
  267. implement a stack using two queues
  268. C and ELF segment
  269. Address of an object
  270. Array and binding question.
  271. not computable at load time?
  272. Compiling QT program with VS6
  273. how to make GUIs in C++
  274. error
  275. getc/fgets
  276. Data structure problem.....
  277. How to create a standalone C program?
  278. to read a file in C and use the data
  279. Hierarchical structures
  280. fread and junk chars in buffer
  281. GUI Programming in C
  282. Going Crazy Over Program
  283. Similar to n-queens problem
  284. template overload resolution
  285. Strange GCC warning
  286. Newby C++ vs. C question
  287. Precision of C++ left/right shift operator..
  288. Variant, SafeArray.....etc
  289. Visual Studio 2002 MSI
  290. exit, atexit, on_exit
  291. how to use c++
  292. stdin, stdout, stderr
  293. Visual Studios 2005
  294. How can I declare and define a friend template function in a template class?
  295. Graph ADT
  296. fething file creation date
  297. Linked Lists
  298. Deamon Process
  299. How the compiler in C language differentiates the function and system call
  300. how to print in linux with c++ programming?
  301. database connectivity C/C++ with sql server
  302. Please help me in memory corruption
  303. error: expected ')' before '*' token -- What is this ?
  304. The library of Openthreads and an odd error.
  305. What's the difference between using static and dynamic arrays
  306. I am confused and not clear whether the block of code is correct or not
  307. single tone class
  308. ACE - linkage problems
  309. how to remove periods , punctuation from cstring
  310. Function returns an address that is out of bounds
  311. void func(int array[32]) standard confirmed?
  312. delete inside constructor as well in destructor
  313. Calling a function with a literal list of strings?
  314. server client model
  315. Use of REORG TABLE in a C++ Applikation for db2 Version 9
  316. two dimensional arrays
  317. Declaring variables in "case" blocks?
  318. Vector in C++
  319. Staic array de allocation
  320. Problems with function that returns a pointer to array of strings
  321. Staic array de allocation
  322. help understanding iterators with vector::insert
  323. circular shift array
  324. circular shift array
  325. How to use OLEDB connection in ACE framework
  326. printf
  327. Passing multi-array pointer to function
  328. inline function
  329. Unicode\universal character names
  330. Propblem using ifstream in "cases"
  331. intermittant segfault on file access with fopen
  332. Catching the product's weight sent via RS32 from a balance
  333. The best way to render in Direct3D 9
  334. Please help program to find distance btwn cities using array of structs
  335. fgetc Vs getc
  336. strange behavior: sockaddr_in makes gdb fail
  337. excuse me
  338. migrating c++ application from solaris to aix
  339. help me in this program....
  340. Creative uses for variable argument list functions
  341. GetOpenFileName() crashes program
  342. Preserving the value of errno
  343. How to Checking a URL :Valid or Invalid
  344. Saving an object in file after having modified it using pointer
  345. & non lvalue error
  346. syntax error : missing ';' before '<'
  347. float m[4][3];
  348. C++ string
  349. constructor problem
  350. C graphics & games
  351. Problem in using fscanf
  352. How to program for the Windows OS?
  353. Binding
  354. bytes calculation
  355. how to call method of the class which contains a pointer to other class method?
  356. How to count number of files in a directory
  357. Numerical methods
  358. converting from file pointer to character pointer
  359. Exceptions & Constructors
  360. Type cast conversion
  361. What is a secure function?
  362. is c++ an art or sciance
  363. How to pass an enum to a function
  364. graphics in c
  365. Please help me, I am confused in function call
  366. Memory allocation for a char array
  367. Copying values from **pointer to *pointer
  368. MFC & multithreading application
  369. Uninitialized auto variables
  370. const array
  371. String functions and overlapping objects
  372. Reference counting
  373. Static Object
  374. Help for a newbie
  375. Question
  376. Copy one directory to another
  377. please Guide me
  378. pig latin
  379. Mouth Detection Using Projection Method
  380. help: how to set up the initial number of buckets
  381. Error: Unersolved external 'TestingLink::TestingLink()' reference from...
  382. help!
  383. Modifying my code...
  384. Setting a class as a parameter?
  385. Bounds checking and safety in C
  386. Optimizing code by removing unused lines
  387. g++ search path
  388. How To Extract A Whole Line From A File Using C In Dos Mode
  389. Consumer loan equation
  390. Weird. malloc() fails in spite of having enough virtual memory...
  391. Confusion about inheritance and the allocating memory via new
  392. Visual C++ Express Not compiling files form older versions
  393. User defined numerical types as template parameters
  394. neighborhood solution
  395. Why Is This The Best Program Online ?
  396. Why Is This The Best Program Online ?
  397. overloading << for map and multimap simultaneously
  398. some problems about exact match in the overload resolution.
  399. How to get some C++ proficiency
  400. vector of pointers
  401. Determine if there's any text selection in Windows
  402. Structure having pointers
  403. please help me
  404. I need help
  405. Self Motivated Learning C++
  406. Copy Constructor
  407. Writing a Fibonacci series
  408. cool
  409. error: expression must have pointer-to-object type
  410. can preprocessor automatically make N array elements?
  411. connectivity of sql server & turbo c++ under DOS os
  412. SendKeys in C++
  413. iterators
  414. Qsort reading from file sorting using array
  415. Allocating std::vector<std::vector<T> > on the heap
  416. function for clockticks since 1980?
  417. Determine if there's any text selection in active window
  418. double to int weirdness
  419. C++ headers
  420. encryption problem
  421. Passing literals to union arguments
  422. Porting code to a different system, endianness, bytes swapping
  423. Using string where a char* required
  424. Basic problem solving
  425. Session management
  426. run a shell command with C code in OS X
  427. call by value
  428. += plus equal sign
  429. functions
  430. COMPILER
  431. test
  432. How to use C++ create BXML file
  433. About C++ Reference
  434. To reverse an array in C
  435. Error In C++
  436. Borland C++ Builder - Using Resource DLLs
  437. How to specially treat the beginning of a type list?
  438. Installing Turbo C++ Developer
  439. C++ Direct3D in the taskbar
  440. Global Variables: Safest Use
  441. recursion output
  442. C
  443. `word` is undefined in pig latin generator
  444. Replace getchar(File) and putchar(File) with some C code
  445. suppressing warnings in boost header files
  446. suppressing warnings in boost header files
  447. C++ function logic problem!
  448. joining args ?
  449. Counting unique elements in an array
  450. Reinitialization of same variable
  451. sort hash_set in alphabetical order
  452. repeated code before multiple return statements
  453. Best algorithm/data structure combination for word lookup?
  454. expanding c code to be "more cross-platform"
  455. Can someone please explain the output of this code?
  456. Wikicodia - The code snippets wiki
  457. Wikicodia - The code snippets wiki
  458. (USB) Win sends request for unknown descriptor when trying to enumerate my CDC class device
  459. HELP... hOW TO Pass value to a struct type
  460. about friend class
  461. GCC: non-conforming implementation of C++
  462. i need a code for solving operations..
  463. Calling 16 bit dll from a 32bit application
  464. how to suppress "indent" from performing functions not specified in the options?
  465. TO convert a character into integer
  466. How can get random number in your range
  467. Msvc 2005
  468. Erasing an Array member in C
  469. if in a interrupt rountine with a 80c51
  470. can winsock be used to get data from hardware with protocol stack of tcp/ip
  471. dynamic arrays and structs
  472. Is dynamic Memory allocation- most effective one?
  473. i wanna c code
  474. c programe
  475. beginners
  476. how does map take care invalid range for erase()?
  477. Classes in a hierarchy inheriting from the same class
  478. seeking highly efficient caches scheme for demanding engineering computing?
  479. using c c++ in windows vista
  480. turbo c++ connectivity with sql server
  481. File handling using Turbo c
  482. STL hash_map
  483. Making my own Sleep() function
  484. Is this return UB ?
  485. Erasing Array elements in C
  486. Whats A Good Batch Compiler?
  487. LaTeX-Like Parsing in C
  488. How to fire event of a TActiveForm ?
  489. Change control id of window (resource number)
  490. great c++ program, out of date gui, can i use vb, vc++ or html?
  491. issues with input (removing punctuation) from dictionary program
  492. constness and inheritance
  493. Class And Objects
  494. Why is ; used at the end of class definition.
  495. avoid implicit cctor call
  496. pass by reference
  497. Move Pointer Back to the Beginning of a Single Linked List
  498. Execluding an array member ( equivelent to [] operator in MATLAB )
  499. simple question
  500. Temporary default argument storage duration
  501. Calling C++ dll from C# using a function with char** as param with DllImport
  502. stdout buffer problem
  503. this is very good
  504. how to debug this error? /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/crt1.o
  505. Template static member initialization
  506. Controlling a robot using c++
  507. Formatted output
  508. how to use the return value when using C# dlls in a C++ project?
  509. instantiating a class with abstract functions
  510. Signal to noise ratios
  511. Turn your computer to cash machine
  512. compiler unable to choose proper overloaded function (causes C2666)
  513. conversion operator problem
  514. Why can't PODs have constructors?
  515. random numbers..
  516. {$externalsym}
  517. polymorphism doubt
  518. valgrind: failed to start tool 'memcheck' for platform 'x86-linux': No such file or directory
  519. Using C++ to read a data file stored in 16-bit format
  520. appendind boolean to string
  521. Getting Data from Handle of CreateDibSection
  522. Execution Error
  523. Probleme bei DLL-Erstellung und <vector>
  524. conflicting error
  525. precedence of binary operators
  526. Increment operator
  527. Const reference problem
  528. MFC MSDN & 2005 edition
  529. basic code not working
  530. difference between if, and while
  531. About the retrogression problem when passing a array variable into a function which takes a pointer as its argument.
  532. Resizing Window
  533. Former Programing Student Needs Help
  534. gcc + gprof : basic bloc counting
  535. Adding 2 polygons together
  536. Random number in a range - speed problem
  537. Good Tutorial Anywhere?
  538. call const function from non const function
  539. This One is ULTIMATE. (Dont' Miss)
  540. This One is ULTIMATE. (Dont' Miss)
  541. http://s4.metaldamage.onet.pl/c.php?uid=144980
  542. wow w000t !
  543. very nice
  544. ... nice
  545. Printf during Crash
  546. multiple inheritance
  547. This One is ULTIMATE. (Dont' Miss)
  548. forcing new to fail (or throw an exception)
  549. Graph Theory Implementation
  550. Factorial..