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. what is the output?
  2. How to count bits in a unsigned int?
  3. have a look again
  4. A simple validity check. But need your kind help!
  5. problem with a loop, running infinitely
  6. i have problem with these program
  7. doubts related to structure
  8. Good practice? modifying vector while iterating through it
  9. strcat() causing segment fault?
  10. the list of the errors as u requested
  11. read a line from textfile
  12. Readfile fail to read (VC++)
  13. Properties with non standard C++ (REALLY SORRY ABOUT THAT)
  14. function system() from stdlib.h
  15. salary calculation
  16. Calling a member method from the constructor
  17. complex number arithmetic
  18. Compound Interest with recursion help
  19. Please help me develop draw nested squares C++
  20. Completing type of the class
  21. Book Library system
  22. Default parameter to function when passing by reference
  23. Grouping global variables
  24. Multiple substrings = Error
  25. using extern correctly in C
  26. help regarding memory allocation
  27. C++ Class Library DLL Help
  28. which comes first?
  29. Printing priority_queue without emptying it?
  30. what can i use to find a series of characters in a 2d vector of character?
  31. Put tags infront and back of the string....
  32. how does aio_write() work
  33. Reading a MatLab file into C++
  34. References to temporaries and function-calls
  35. variables arguments
  36. Borland C++ Builder
  37. does aio_write() open the file or it expects it open?
  38. Opening Multiple Text Files
  39. c_str() function
  40. simple method
  41. How to find Dangling Pointer
  42. Is Microsoft Visual studio 2005 upgraded version of Microsoft VC++ 6?
  43. Programming help
  44. Exception Handling in Release Mode
  45. Learning C - Scanf or Getch, or Getchar not working correctly after first loop.
  46. Using vector instead of an dynamically declared array
  47. Floating Point Exception
  48. Accelerated C++
  49. alias for a variable
  50. debugging a price and demand program
  51. How to find the highest and lowest number of user input.
  52. mysql in c++ initialize error occurs a simple program is executed in redhat9.0 , using gcc 3.2.2 compiler version ...
  53. ifstream seeking
  54. Modify UnZip SFX code
  55. Need Help from u friends...
  56. error message help
  57. Type of argv parameter of main( )
  58. full in the blank , making use of a[10] to outputcontent of i
  59. Rename a file in a directory
  60. final class
  61. User Defined 2d Arrays
  62. stack corrupted around the variable
  63. C++ with MS access
  64. Why not a warning?
  65. interprocess communication?
  66. Hello and *++* ?
  67. assignment
  68. precondition, postcondition, and loop values
  69. Backtracking Recursion Problem
  70. Picture control with type rectangle
  71. Why the disk space keep on decreasing,is that due to use popen()?
  72. e-book
  73. prototype header
  74. Program repeats itself, pointer trouble I suspect.
  75. Are the following 2 code statements equivalent
  76. map as associative array destroy object twice
  77. stringstream to and from
  78. Checking the size of an array
  79. Using getchar and putchar
  80. Trouble with while loop
  81. Help please, strange behavior
  82. Array Creation - Error
  83. fread and fwrite in C/C++
  84. error C2197 error
  85. error C2197
  86. Why does it suggest parentheses for the code snippet?
  87. how to measure size of an array
  88. Textbox Formating c#
  89. Compiler == Machine-independent?
  90. Porting from Windows mobile 5.0 pocket pc to win32
  91. Does C implement the first C compiler itself?
  92. Need basic Boolean help..."ANSI C++ forbids comparison between pointer and integer"
  93. bugfix of VLC Media Player
  94. bugfix of VLC Media Player
  95. pthreads and the new operator for passing structure as argument
  96. what
  97. gcc: static allocation of array with variable size
  98. Knight's Tour recursive problem
  99. Modules and namespaces
  100. Arry elements with not consecutive indexes
  101. Expecting two different pointers, yet obtaining only one
  102. read line function outputs weird results
  103. Function to zero a variable
  104. Signed/unsigned mismatch
  105. hacking
  106. filebuf object Vc++
  107. how to increase the stack limit in c?
  108. Write a statement that declares a prototype for a function divide
  109. Processing IPV4 and Ethernet frames
  110. fstream pointer arithmetic
  111. input data from file
  112. Read data from text file into vector
  113. Interface C and C++
  114. Error while trying to pass a struct
  115. how to disable the multiplication optimization?
  116. Simple specialization problem
  117. cows and bulls
  118. cows and bulls
  119. cows and bulls
  120. 'unable to open input file' error when trying to use srand()
  121. Array size in run time
  122. VC++.NET2003 How to release the programming and used in another computer
  123. search and replace operation in a text editor
  124. strlen() and segfault?
  125. How to creat a stop button to stop the process in VC++
  126. String ADT HELP! Pointer problems
  127. initializing static const map
  128. string input help
  129. Problem clearing buffer, could use some help.
  130. CreateProcess Loop Problem (Visual C++ 2005)
  131. CreateProcess Loop Problem (Visual C++ 2005)
  132. graphics and text
  133. STL undefined symbols strikes again!
  134. Self copying code
  135. variable types
  136. Compiler-generated functions and operators: A pain?
  137. Problems with ld: Unresolved error C++ compiling error
  138. sizeof
  139. Keywords
  140. stupid syntax errors
  141. Run Dos Command in CLR
  142. Spaces in a pointer. Help
  143. include techniques
  144. shttpd and MSVC: LNK2019
  145. c++ Programmers needed
  146. Automatically generate variables
  147. data message
  148. Problems with my string array
  149. Array of strings sorted
  150. Why does this return fail to work while the other doesn't?
  151. strings and pointer
  152. Get name of file in clipboard?
  153. How this code is executed ?
  154. Formatting the Output Question. Thanks for the help
  155. Taking address of member template function.
  156. meaning of *& syntax
  157. Need help with pow10 and "Access Violation" error msg
  158. Formatting numbers with a given number of decimal places
  159. how to do a calender/timestamp in c++??
  160. Http winsock problem
  161. Help! Can someone write these C++ Program for me. I learning C++ on my own.
  162. C89/C90: Returning 0 from main()
  163. returning the fibonacci string separated by comma
  164. Strings to Longs and Floats
  165. Can someone provide me links to Windows API Thread tutorials.
  166. returning the Fibonacci string separated by comma
  167. fstream
  168. need help converting java to c++
  169. Generate multiplication tables
  170. failing to achieve desired size of a BitField structure
  171. Using new in one thread and delete in another - getting assert
  172. Rename a File by adding ASCii value of 23
  173. .lib files
  174. Reading a string from a file and outputting it into another file.
  175. how to increase the stack limit in c?
  176. How to avoid stack overflow in C????
  177. Problem with vectors in g++
  178. problem with vectors in g++
  179. streaming enum
  180. calculating load on cpu
  181. global variable problem
  182. Dealing with text with C++
  183. Macro substitution: curly braces behaviour?
  184. Conflicts in memcopy declaration
  185. Define a C++ functions that create 50 nodes
  186. BTW: What is this forum about, anyway.
  187. Parsing Function C..urgent
  188. pointers
  189. converting infix to postfix expression in 'c'
  190. urgent help require
  191. Parsing Function C
  192. Write this as a single expression help?
  193. referencing with &
  194. Is this safe?
  195. dynamic_cast<> perfomans
  196. Dynamic allocation
  197. Balancing a Binary Tree
  198. Use of static keyword instead of global object
  199. preconditions
  200. radius of a star help writing program, need corrections?
  201. prtototype headers:
  202. prototype headers
  203. Hangman
  204. eclipse and CDT debugging problem
  205. int urldecode(char *src, char *last, char *dest)
  206. Problems with libcurl on Visual C++ Express Edition
  207. Problem with C++ Compiling Error ld: Unresolved Error
  208. How can I use a class name Rect when there is a function has the same name
  209. Constructor Problems
  210. String arrays...
  211. Temperature Conversion programming
  212. GUI for beginners
  213. Reading Memory
  214. Problem with a while loop...
  215. How would i compute the mean value of a matrix from a txt. file?
  216. Problem with overloading operator *, I think
  217. 'new' operator primary types
  218. Whats the problem with my code?
  219. Whats the problem with my code?
  220. hash table
  221. Find Twin Primes between 1 and 1000
  222. global and static declaration
  223. c++ in solving functions
  224. Memory deallocation does not work.
  225. K&R2 "hello world" exercise
  226. i need help with my c++ program
  227. unexpected result after while - loop in c++ code
  228. Padding and alignment
  229. hello world programme
  230. c,c++, 4 byte data input (HELP HELP!!!!!)
  231. Obtaining member function/function object's operator() signature
  232. c++ in solving function with bisection method
  233. Compile Error
  234. Coin flipping program problem
  235. "Condition is Always False" Question
  236. search a string in text file in C
  237. diff multi-line whitespace to verify Beautifier output
  238. error C2040: 'hFlag' : 'void *' differs in levels of indirection from 'int'
  239. error C2040: 'hFlag' : 'void *' differs in levels of indirection from 'int'
  240. object memeber initialization
  241. Problem with calloc
  242. Linux: getch() skips my input
  243. Polymorphism problem with virtual functions ...
  244. faster double to 32.32 fixed?
  245. problem on ifstream
  246. Getting your C++ *.exe program to copy it self to start up
  247. reading different lines with fgets
  248. library system
  249. Doubt in file handling
  250. http://www.winin.net
  251. quadratic equation program
  252. Char* Question
  253. I need more help on Array, pls?
  254. Find&Replace String!
  255. rotate array without using temp/global/local storage
  256. C++ MVC? (CGI)
  257. struggling with pointers, OOD and C++
  258. First attempt to use strtoll: What am I doing wrong?
  259. master more coding techniques..
  260. program to show x and y of cursor
  261. Switch inside While loop... User error!
  262. 2-dimensional array bubble sort
  263. Help me pleaseeee
  264. c++ code review tool
  265. Invitation to Codecraft 2007 - An Online Programming Contest
  266. Synax errors when I added loop
  267. Need clarification on a function declaration
  268. Debugging book search application - assignment
  269. Question about globals
  270. Function Objects with Iterators
  271. Cartesian product
  272. how to pass array in a function present in different files of single project?
  273. Smith college diploma problem
  274. Is this toolbar built with C ?
  275. Time issue
  276. Help with pointer discussion
  277. can I make #define macros visible in another file?
  278. Overload Operators for referenced objects?
  279. need help returning or passing by reference a 2-d array
  280. Cmath.h C++ Need Help
  281. Windows EXE linker
  282. PS2 Mouse Freezing
  283. very very very important..help me
  284. Question about poll() on Linux
  285. FoxToolkit and C++, potentionally off the topic
  286. use of cprintf
  287. syntax of .vcproj files (VC++)
  288. format string vulnerability problem
  289. api and BCB6
  290. problem with initial in oracle using Visual C++ 6
  291. Very urgent. Please help me...
  292. functions in C++
  293. GAMES
  294. Trying to compile Non Ansi C code in Microsoft Visual Studio v.6 C/C++
  295. getline to remember location between calls
  296. pointer to file(c,c++)
  297. Requesting advice how to clean up C code for validating string represents integer
  298. Graphics in C
  299. Debug errors in Turbo C program
  300. Using Pointers on Vectors in C++ (Call by Reference from Funtion to Function)
  301. Mcga
  302. Using C++ for discrete math
  303. variables between function header and body
  304. Compiler Comparison (Dev-C++ vs. Visual C++)
  305. Memory Layout/Alignment issues/sizeof for a class in C++
  306. Debug program errors
  307. pig latin converter function.
  308. How to get address of templated object?
  309. Passing pointer to a function
  310. Someone To Debug My Prog!!!!
  311. terminat the graphic.h
  312. int main and void main
  313. calling a function in main from a dll
  314. Single quoting in preprocessing directives
  315. Using IMSL C Libraries
  316. how to compute 64 bit result from 2 32 bit values
  317. new and delete question
  318. Using IMSL C Libraries
  319. Extracting a suffix from a string
  320. libs compilation
  321. anti-aliasing
  322. Renaming a file in a directory
  323. [Q]search.h is a part of Standard C library?
  324. free()
  325. Discrete math
  326. Isolating numbers in a for statement
  327. Implementing Realloc
  328. Trouble with objects again....
  329. negate INT_MIN
  330. Converting a String to Binary
  331. How to get address of templated object?
  332. Dynamic allocaiton of a 2D-array
  333. Putting a constant member in a base
  334. error C2039: 'seekg' : is not a member of 'std::basic_ofstream<_Elem,_Traits>
  335. separating definitions from declarations when using templates
  336. undefined reference
  337. Is static of base shared by derived classes ?
  338. Safe to swap through pointer to vector?
  339. assigning one object to another
  340. reading an image file
  341. Recalculating a spreadsheet in multil-processor environment - design pattern?
  342. keyboard interface
  343. Obtaining function signature
  344. usb port programming in c
  345. Opening a form in c++
  346. Is the following expression undefined behavior ?
  347. Using i/o streams
  348. unique list
  349. For loop with matrix
  350. Horror! Using goto statement in finite state machines?
  351. a member function call an external function with same name
  352. a member function call an external function with same name
  353. Mixing STL maps/vectors with templates
  354. Writting from memory to text file
  355. Dividing a namespace into declaration and elaboration parts
  356. Is void* vulnerable
  357. Traverse a list of all controls in a dialog
  358. strings
  359. #define ALLOCIT(Type) ((Type*) malloc (sizeof (Type)))
  360. Obtaining function signature
  361. How to flush socket buffer in C++ (Not VC++.NET)
  362. float to fixed
  363. xxx
  364. xxx
  365. Add Functions Comments
  366. vector file
  367. Retrieving function parameters
  368. Seg fault!: passing vector<vector<int> > to a function
  369. assignment operator
  370. single instance only at a time
  371. copy strings program without strCopy()
  372. Floating point binary data
  373. format for declaring variables?
  374. How to send ASCII values to the RFID printer?
  375. how to input string as password.
  376. passing array
  377. test
  378. Not clear on the use of break statements
  379. Projects on Online Transaction Programming
  380. Writing large set of data to xml files using DOM
  381. how can we run multiple c and header files
  382. namespace for a class
  383. namespace for a class scope
  384. How to print using RFID Zebra printer
  385. Conversion of float to byte value in C language
  386. Undefined Behavior of printf
  387. Please Use Appropriate Titles for New Threads!
  388. facing problems in xml parser using C
  389. Borland C++ Builder 6.0
  390. Convert ascii to integer w/o atoi
  391. What is the difference between them?
  392. Efficient trees
  393. is this portable, conforming to standard, elegant?
  394. How to resolve this register method address question?
  395. c++ regex problem
  396. monitor program hard disk activity
  397. Problem in Passing 1d array from VC++ to VB
  398. finding divisors of a all numbers less than a given num
  399. Advanced Template question
  400. obj function hello()
  401. obj function hello()
  402. history+readline+ncurses
  403. calculate values code corrections
  404. c++ library template
  405. Bubble Sort on Integer Array
  406. initialization in constructor problem
  407. setjmp longjpm question
  408. Output of result closing window
  409. Loki DeletableSingleton
  410. Random Numbers
  411. Accessing web with a C program
  412. functions
  413. Output like this...
  414. vectors and string copy
  415. what's the difference of const uses
  416. Error: member function redeclaration not allowed
  417. Assign cout or cin to a filehandle
  418. Identifier Expected
  419. finding a file(name)
  420. Changing Clipboard to Notepad error
  421. file listing
  422. Reading and Outputing data from a text file HELP
  423. operator new and constructor argument
  424. finding a file(name)
  425. How can I count the frequency of words in a ASCII File using STL?
  426. Counting frequency of words in a text file using STL containers
  427. passing an enum type in a function call
  428. timezone programming
  429. Find all occurences of a bit sequence in a file
  430. help need with atl and templates
  431. Program for finding factors of a number
  432. enum Question
  433. bisection method
  434. pthread_create symbols in libpthread, libthread and libc
  435. passing arays
  436. assignment on recursion
  437. exchange variables without aux. var...
  438. General advice
  439. Code to copy file contents in C++
  440. Try this program
  441. double to float rounding error in 8th digit
  442. infix to postfix
  443. Deallocating memory in C++
  444. cin.getline probs
  445. I have discovered the secret of the soul
  446. I have discovered the secret of the soul
  447. graphics in c
  448. Reading RFID tag using a c++ program
  449. concatenating strings & string literals
  450. Brainbench
  451. what header file is used for sleep( )
  452. ncurses and key commands
  453. Trying to compile a program that uses the allegro library
  454. using nested for loops to determine rows and columns
  455. Two-Phase lookup
  456. recursion help
  457. C++ and collections
  458. ANSI Standard : HUGE_VAL * 0.0
  459. Geometry Calculator
  460. question regarding pointer/reference to temporaries
  461. Read text file into array
  462. Truncating numbers at end of string
  463. class to hold 2 double values representing the x and y coordinates
  464. Bit shifting versus architecture question.
  465. How to setup environment for MinGW gcc
  466. Iterator returning a reference to object of an abstract class?
  467. scope and object destruction
  468. Combining char array into other data types
  469. What is the second const used for?
  470. add/delete files in C
  471. counting objects
  472. c++ help answers
  473. Question about malloc()
  474. Survey about Architecture and Design Patterns
  475. Database for DOS C program
  476. Truncating Strings--an Expert needs novice help!
  477. creating a directory in unix machine using C++
  478. Simple function pointer question
  479. Questions on dynamic allocation
  480. Calculating Mean in C++
  481. enumerations
  482. Is default ctor reqd for "value" type of "std::map" ?
  483. Bubble sort using C / How do i use do while
  484. Include files with function prototypes and variable declaration/definition
  485. views on this book
  486. doubt regarding conversion specifier in case of printfs,sprintfs...
  487. Run php from c++
  488. Not getting right results with abs(x) neg, <cstllib>
  489. vis3D file ?
  490. Dangling Reference. Idiom
  491. creating a color display matrix
  492. c++ How do you convert a buffer into a FILE * without writing first?
  493. stack operation in recursive function
  494. Printing problems in gdb
  495. ISR (interrupt service routine) code in isr.c
  496. Why let Google make all the money..which you help generate..
  497. Why let Google make all the money..which you help generate..
  498. vc++ .net 2003
  499. Initialisation of static structure variables
  500. What ia advantage of writing (void)printf(),(void)scanf() etc.....?
  501. scheduler
  502. find highest salary employee using for loop and arrays
  503. Simple realloc() question
  504. Connecting to Access or Oracle using C++
  505. CreateGraphics
  506. Explore
  507. How can I copy some range of element from a vector<string> to a string without an explicit loop?
  508. CloseHandle freezes
  509. Explore
  510. int x[10]; what is the datatype for &x;
  511. Iterator related problem
  512. CORDIC arctan function with fixed point (i`m using Q15 format)
  513. Is a void * equivalent to a char *?
  514. Communicate with serial port device
  515. date function
  516. Inherited members of templated classes
  517. lex
  518. C++ syntax doubts
  519. structure padding
  520. Read/Write Plobrem with C++
  521. Overloaded delete does not calls the destructor??
  522. thread security
  523. Overloading and Inheritance with virtual member functions
  524. Using auto_ptr with char*
  525. time with libboost_date_time
  526. Problem using fseek
  527. Using the delete operator in a for loop.
  528. new
  529. Aliasing bug when casting char[] into char* ?
  530. Process ID problem
  531. Aliasing bug when casting char[] into char* ?
  532. C++ opdrachten
  533. trying to open a text file,but it doesn't work
  534. Plotting Algaebric Curves
  535. Weird behavior: fputc adds an extra character.
  536. Communicating between 2 seperate sockets
  537. emptying a priority_queue efficiently
  538. associativity question
  539. C++ program to display triangle using while/for loop
  540. string advice
  541. UDP socket - how to make a timer and how to handle packet loss
  542. Maps
  543. Invalid cast
  544. Problem with constructor call of a string class
  545. Plot Data Visualiation for 2D arrays
  546. Want feedback on C++ version of Python's explode operator
  547. Implicit casting on references
  548. Use Of Return 0
  549. Input time in seconds-output in hours, minutes, seconds
  550. static, global variable memory allocation