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. write a program to print following output?
  2. explain this output of this program
  3. In my program my fgets funtion wont read inputs when i execute program...whats wrong
  4. rpn calculator
  5. Accessing functions of another file
  6. c function/code to test number
  7. C/C++ getvect question
  8. what is the meaning for tat line?
  9. how to write delay code in c
  10. C/C++ Setvect question
  11. Pointer Issues ( I think)
  12. what does the following declarations mean.
  13. reading binary .stl files
  14. number to word
  15. Dev-C++ Problem
  16. i just wanna know wht hapen on array and for loop and what is result of that program
  17. create a kenken game in c++
  18. what is difference between Array and list
  19. How dll will works in application exe?
  20. Reading data from a file into a dynamically allocated array
  21. named pipes in c++
  22. I have a simple doubt.
  23. STL map.find problem in using a compare class
  24. Recursivity Explanation in c++
  25. Can't seem to pass array correctly
  26. Arrays + reinterpret_cast Help
  27. an error in my program
  28. How to get the execution time for a bubble sort ?
  29. Merging of arrays
  30. Displaying progressbar using threading in win 32 applicaition!
  31. Function for dynamic allocate two dimensional array in c
  32. Print .pcap file content on cosole/file that should be similar as Wire shark
  33. C by Dissection chapter 12 exercise 11
  34. Returning an array from a function
  35. How to solve a general equation in c program
  36. Error while compiling
  37. How to provide buffer size dynamically.
  38. Iterating on std::map results in segmentation fault
  39. play audio in c or c++
  40. how convert fixed point to float
  41. changing output color
  42. Delete a word from a string
  43. function in C/C++ that never returns due to some reason
  44. What is difference between printf and cout?
  45. Creating windows based OS out of C++
  46. How to create button in C++?
  47. avoiding multiple free calls on dynamically allocated memory
  48. detect merged linked list
  49. Memory allocation during object formation
  50. how convert hex file to c or assembly
  51. C++ code to read an as400 work file and form the data structure.
  52. Selecting text in webrowser control
  53. c++ getting the filename and path of an ofstream object
  54. optimal binary search tree(obst)
  55. still having problems with entering truck name and truck number
  56. Help needed with using continue in loop
  57. Why sizeof is an operator rather than macro or function
  58. How to handle C# events in C++
  59. Conversions of integer using shift and bitwise logical operations
  60. scanf getting {space}
  61. AVL Basic Operation : Insert, Delete and Search
  62. Highest and lowest values in a two dimension array.
  63. error LNK2019
  64. crc32/checksum app
  65. How to get an array to sort
  66. Software installation at home pc
  67. Software installation at home pc
  68. Problem in Free() on 2D array
  69. How to develop C++ software on home PC?
  70. Union of sets
  71. Any utility software using C++
  72. C++ Polymorphism conversion error
  73. atoi conversion problem
  74. If an integer is positive or negative
  75. Import functions/classes by offset?
  76. malloc for long long array?
  77. Calling Java from C++
  78. How to initialize a structure variable to the size of the structure at compile time?
  79. Void function returns value of 1000
  80. Pattern Matching in C/C++
  81. Error C2040
  82. float to demoted integer conversion
  83. troubles with exec() :(
  84. C Programming ATM Machine Project Issue
  85. Use Iterator to obtain vector index
  86. C: Implementing a series
  87. all paths between two nodes
  88. Is there any way to calculate factorials of large no ie of about n<500
  89. How can we extract first k digits of n^n where k is <9 and 1<n<10^9
  90. strange behavior in Windows COMBOBOX
  91. Error in Simple Program
  92. Could somebody help me find the cause of a Segmentation Fault error in my program?
  93. How to print the '0' (zero) value after the modulo operator - % ?
  94. Add reverse function to doubly linklist class
  95. advantages of using FUNCTION in C++
  96. can someone tell me why nothing happens when I run this(codeblocks)program on my mac?
  97. File handling String related question
  98. ofstream/ostream flush() error check
  99. I make this for balancing paranthesis of equation but i think it is wrong check and c
  100. Problem in file handling!
  101. Warning: Assignment from incompatible pointer type
  102. declaration or definition
  103. convert a file to hexadecimal equivalent
  104. scan complete machine
  105. Write this without lib and string.h files
  106. Help needed with the while loop
  107. want to search in a text file if it contains the words present i a 2d array..
  108. Hash Function
  109. semi colon, the difference in loop without body
  110. sprintf equivalent for the string class <string>
  111. Access violation in accessing std::map
  112. How to use getpixel() and setpixel() in C program for selecting pixels
  113. nodes to adjacency matrix
  114. NULL reference
  115. Parenthesis and internal arithmetic equation with operation
  116. date difference problem
  117. Define a base class person that will contain universal information, including name
  118. how many constructors will be called when object of type D3 i will be created?
  119. Filling matrices: is there a missing or extra character I can't see?
  120. Is it me or my compiler?
  121. The method in the C
  122. max array size?
  123. Casting to void*.
  124. waitHandle class
  125. Nested if statement syntax issue
  126. Finding min/max with c++
  127. keybd_event in windows CE
  128. Give me the code in c++ to create symbol table?
  129. caling gnuplot from c++
  130. help needed in C++ with the if-else-if ladder.
  131. function pointer as function argument
  132. increase integer limit?
  133. define header files?
  134. Reading from LPT1 using MS VC++ 2008 on Windows 7(x64)
  135. Structure Initialization
  136. interchanging int and static
  137. What is wrong with this program, loop endless and "evens", "odds" output dummy values
  138. recursive function
  139. geometric sequence
  140. I have to create an abstract class "shape" with one pure virtual function print, tha
  141. C++ Array Question
  142. while loop question
  143. editor option in a C IDE
  144. design a class member Type
  145. Longest common substring
  146. 3rd party dll interface to c++/cli .net 2.x
  147. error while executing a matrix multiplication program
  148. HLSL in Resource Files
  149. Q function
  150. two pointers same address
  151. please help me to check the code..
  152. divide first column from a txt file
  153. Passing pointer to double array to function
  154. Cannot copy files to a path of this type \\\folder
  155. semaphores question
  156. can't send WM_KEYDOWN correctly?
  157. pulling data from array and adding it up question
  158. Windows Forms in C++
  159. How to create movement with a graphic in C?
  160. floating point execption
  161. How do I add the date to it?
  162. (parallel) sorting pthreads
  163. Error: "va_start used in function with fixed args"
  164. VA_LIST on 64-bit
  165. Pointer to array within a structure? Bus error?
  166. help with arrays and pointers
  167. How to set if else within a flag for a makefile
  168. what is wrong with compiling error
  169. Segmentation fault help
  170. Freeing unused memory crashes program
  171. How to create an array of records
  172. How to define a new class "Matrix" based on "Vector<Vector<T>>"?
  173. make vs shell
  174. All Permutations - non-recursive
  175. Infinite while loop
  176. Format output into table
  177. doubt in declaration
  178. what's wrong with my copy function?
  179. Dynamic Array Confusion
  180. Dynamic Arrays
  181. multiplication of 2D array (matrix) with function and pointer
  182. Syntax error before = sign
  183. Importance of operator overloading
  184. Why does the compiler tell me this?
  185. compiling header file
  186. having trouble with string array
  187. Nested Loop
  188. Rotating a matrix
  189. Algorithm for sorting array of integers w/ respect to another array (c code would be
  190. How to sort a table of arrays
  191. how to declare ostream???
  192. Bushfire spread simulation
  193. No matching function to call
  194. trouble opening my .txt file
  195. indenting using recursion.
  196. Display output in table format.
  197. Help me with arrays.....
  198. Debug c++ dll vs2005 with test exe ( No debug Info )
  199. Correct forum
  200. how to use a third party dll
  201. How to access direct disk access under windows xp environment in turbo c
  202. Using return value functions and switch statement for c++
  203. dynamic array function
  204. dot operator before member variable
  205. How to incorporate a function.
  206. Null issues raised by scanf
  207. Main arguments
  208. Reading in text file in c++
  209. IME mode convert
  210. how to load and execcute program in C
  211. fgets / buffer issue
  212. [IPC, Shared memory] Design and implementation ideas for a server-client program
  213. sbrk function on Windows
  214. Fibonacci Sequence - Function within C
  215. Character Stuffing
  216. Any way to forward declare a function prototype?
  217. data type length dependency on word lenght of machine
  218. Access violation writing location 0x00000020
  219. calling a DLL from a thread
  220. Large Digit Addition
  221. problems with new / delete
  222. how to break colour image into RGB components?
  223. C++ Class Function/Method Friends?
  224. Too few arguments for format.
  225. When I call a function it won't print the information to screen.
  226. converters using c
  227. std::for_each with class method
  228. using function getting the address of string into a pointer
  229. Declaring an array with size in C++
  230. Arbitrary Precision for C++ Program
  231. Converting an integer to string
  232. Pointers and arrays in c++object orientated programming
  233. divide by zero
  234. Backtrack in maze
  235. calling pass by value functions
  236. function that takes care of turn
  237. Struct, char array and pointer problem.
  238. strcat not running normally
  239. How to get a "Resource String" from the Resource Table in C++ compiled with /clr:pure
  240. Problem Multiple definition of enum
  241. Output an asterisk rectangle
  242. Turbo C and C++ editor: Editing Shortcuts
  243. How many times a pointer can point to another pointer>
  244. Convert TCHAR [] to const ***
  245. Fastest C++ Matrix Library ?
  246. reading more than 1 string in c
  247. what is the best solution to create an array of variable size.
  248. scanf doubt
  249. MemoryMappedFiles header file
  250. Sort alphabetic into lower n in ascending order
  251. Deriving an ordinary class from a COM class
  252. C++ Value Return Function that produces a true/false
  253. How to change/show permissiosns in C
  254. Getting array values using strtok
  255. Run-Time Check Failure #0 - The value of ESP was not properly saved across a function
  256. how to convert this code into function...
  257. Trying to combine three codes in 1 code. Error came out
  258. C++, timetabling data, bin picking algorithm
  259. Converting A Basic Program to A C++ Program
  260. String, char problem. Location on the screen.
  261. changing from array to pointer format?
  262. Open Directory In C, Return File Descriptor
  263. difference between \v and \t and \n in c
  264. Does Eclipse comes with C/C++/Java compilers for college students to do some project
  265. ERROR (C++): 'main' : not all control paths return a value
  266. Driver development in windows platform
  267. code to separate and identify strings of code from an outside file
  268. Converting from One Computer Programming Language to Another
  269. Compiling wxbasic in C?
  270. Trying to bringup xterm, getting error "unable to display"
  271. Overloading classes problem...
  272. a code problem
  273. Passing pointer as parmaneter
  274. My question is that HowCanISeperateThisSentence into words in C?
  275. graphics magician and bits
  276. ISO image of a DVD video in c++
  277. Calling a main program's non-global function from a library
  278. time of execution
  279. antivirus code in c or c++
  280. Storing data in a linked list
  281. UB or not
  282. negative index in array
  283. How do I divide integers that equal float C?
  284. game of life C++ difficulty
  285. Parse a data frame in C?
  286. COnverting CString to Unsigned short
  287. LNK4221 and LNK4006 warnings!
  288. Add characters into a string
  289. sparse matrix multiplied to a vector using multicore programming.
  290. to implement hand written lexer and parser
  291. Linking error: Undefined symbol in _module
  292. Error: statement missing at line
  293. Create array of records and store in file
  294. How to convert Cstring to variant /variant to cstring
  295. Rotate an image
  296. DES implementation in C
  297. error occur during compilation a program
  298. syntax/logic errors
  299. forward declaration of class does not work
  300. How I create my own data type in c
  301. Using pipe to have one command read from another , command1 | command2
  302. How can i find the sum of divisors of a given number in a faster way?
  303. Merging C++/CLI Console App with dll's
  304. Object counter for classes
  305. implementation of stack using queuqe
  306. how to make an import library in vs2008
  307. How can I judge the if the input is over in C language?
  308. "= : left operand must be the l-value"
  309. Sigalrm routine using MS CL compiler
  310. Print a number in words
  311. Open the game supporting files
  312. Making a 16 byte datatype in C++
  313. display square corners
  314. How to convert code into a function
  315. Nameless temporary objects in c++
  316. Converting alphabetic phone number to numeric
  317. Switch Statements will not recognize a char comparison
  318. Loop won't iterate
  319. Networking: getaddrinfo using different ports
  320. Error downloading video streams from metacafe via inet_ntop()
  321. Unable to launch a xe when using Createprocess
  322. reading stdin for key presses vs a redirected file
  323. Counting the number of times a user makes input errors
  324. acces denied at running remove()
  325. what do ~= and ^= mean in C
  326. source code of apriori algo in c
  327. How to implement case insensitive fncs?
  328. Pointers Adresses and getting data byRef from a functions
  329. Static local variable and boolean function count
  330. linking error
  331. Connecting to Databases
  332. How to rotate an image by 180 degree clockwise and counterclockwise using C codes?
  333. Return the smallest of 2 doubles
  334. More problems with sprintf?
  335. Converting hexadecimal to binary
  336. Rebuild App when update one of resource file
  337. How do I call something in to a for loop?
  338. deleting node from linked list
  339. Continuation of a program in C
  340. Simplifying a fraction
  341. Getting started with computer programming.
  342. How to find size of a dynamically allocated array
  343. Without using browser I want to send one HTTP link to server
  344. How to use input from first operation as variable in second operation
  345. C ISAPI Code (Redirect)...
  346. Confusion with constructors and classes.
  347. Reading Zebra printer status
  348. give me a suggestion about an anti virus software
  349. Convert a rounded float to a string with sprintf?
  350. How to represent values of arrow keys using getch
  351. How are character constants stored in memory map
  352. Order of invocation of constructor and destructor
  353. How to format output to look like barcode
  354. Evaluating Expressions
  355. Incompatible type errors for the 2 arguments I'm inputting in main
  356. Server control won't bind to database
  357. How to use an exponent?
  358. How to write a program which sums the digits of a 4-digit number?
  359. array size declaration using const int
  360. 2 dimensional array addittion
  361. declaration syntax error
  362. What is causing this error: expected constructor, destructor, or type conversi
  363. I cant figure out why my program is crashing. Please Help!!!
  364. To retrieve username and static IP addr in linux platform
  365. Software to run C programs on Windows 7
  366. Get the Serial number of the hard disk
  367. Passing a dynamic array of struct to a function, the returning the same array
  368. buy ticket (with link list and struct)
  369. Calculate the time difference between two file names
  370. what is wrong in this codes?
  371. Implement member function Homework
  372. how to develop a algorithm for mean value
  373. how do I convert a string to char array to find a substring within a string?
  374. How to write a function code which can convert data strings to signal wave like Sine?
  375. Confused by passing character arrays?
  376. No match for operator<< when using std::endl
  377. Printing Structure Element
  378. error: invalid use of incomplete type
  379. Prevent console open on popen?
  380. Rewrite a open file?
  381. C++ Calling Out Arguments inside the Functions and its funcion it'self
  382. No Display in VC++ MFC Windows
  383. Typecasting for Class of Template Data type to unsigned char *
  384. How do you declare a data type with 1 bit size?
  385. typename & inheritance errors also typename & iterator definition errors
  386. behaviour of strtok()
  387. to find all armstrong between
  388. Declaration syntax error
  389. How To Put C# Console App On A Web Page?
  390. Error C2061: syntax error
  391. Centering text on a display?
  392. Fatal error C1010: unexpected end of file
  393. Copy selected characters between strings?
  394. how to store and retrive a video from database using c/c++
  395. how to convert a bmp image to a binary file?
  396. how to print a multiple characters?
  397. What is the Header file for sleep in Keil Operating system?
  398. Function that can swap elements in a singly linked list
  399. to get the output of c in a text file?
  400. '=' function as left operand Errors?
  401. Program arguments
  402. Calculating code size for shared libs
  403. problem with a function!
  404. Operator Overloading
  405. templated class problem
  406. Return a double variable
  407. Passing C++ const char* (String from JAVA) to C#
  408. Read integer numbers from a file and return the arithmetic mean
  409. Allowing 1 input only
  410. how to increment i value wit a interval of 10 ?
  411. what is wrong with my copy function?
  412. What is the address of Heap created by HeapCreate() function?
  413. Using pthreads in VS .NET 2003
  414. GDB source code need to compile for PowerPC
  415. read text file into formatted struct array
  416. C/C++ Matrix/Vector Calculation
  417. Multidimensional sparse arrays using linked lists
  418. root - polynomial
  419. Filling a string with characters '#' and space to create bar-graph
  420. How do you write to a file one line at a time?
  421. using of POSIX threads
  422. template inheritance
  423. how to add+multiply matrices
  424. question related past question on how to use not equal to for two numbers
  425. i need a c program code with the answer for it
  426. need a code for this problem.......
  427. Error with threads opening files
  428. How do I say not equal to more than one number?
  429. How to validate IPv4 & IPv6 in C?
  430. Write a C++ program to roll 3 dice, show the values of these dice, and show the total
  431. How do I write the code for the championship sort of a set of numbers?
  432. Header Errors
  433. Reading integers from a file into classes.
  434. hi all, I dont have any clue how to accomplish this. Pls provide ne clues ...Thanks..
  435. parsing a 2d character array
  436. another "does not match void* (*)(void*)" error
  437. Quadratic equation solver
  438. what is wrong with line 27 and 31?
  439. Diff b/w C and C++
  440. matrix multiplication and addition
  441. using math opertion
  442. ".....exe stopped woking"!!
  443. please let me know as soon as possible
  444. I have posted the question below...i have understood logic but not the code...
  445. help , im doing a program and cannot get it to work. The reg does not follow on .
  446. Share Data between C & C++ Function
  447. Random int 1-255 to character in C
  448. Loop problem
  449. syntax error before { line 29 and syntax error before } line 45? gcc mac.
  450. Privileges for registry editting
  451. How to extract RGB as unsigned char * from unsigned char * of 24 bit BMP Color images
  452. Issue Sending byte from C to java
  453. help with function that calls another function
  454. How do you input size into a Class Function?
  455. when it reaches end-of-file (stop=1) segmentation fault
  456. how the height of any tree can be calculated
  457. mat[i][j] = *(*(mat + i) + j) here mat is a pointer to an array of r elements an
  458. sockets question about multiple IPs on one computer
  459. How to find the source code of functions?
  460. When I try to compile I get : "too few arguments for format" - ln 22 whats missing?
  461. c++: getchar() doesn't work on conditional control statement
  462. My first quistion
  463. Exceptions in Release mode
  464. overriding virtual function, can the return type be either a pointer or a reference?
  465. How to connect oracle with C programming?
  466. How do I get user input into a string array then display the data entered?
  467. int arr[10]; //in file1.c extern int *arr; //in file2.c main() { arr[0]=1; } //
  468. what r the application of templat function and templat class
  469. how to declare the member functions in fuzzy set using c++
  470. Read live stock quoted from a website using qt4 c++?
  471. What are <Bad Ptr> in visual C++?
  472. Automatic variables + stack
  473. declaration syntax error
  474. error detection
  475. how to use a native C++ dll in an ATL dll
  476. error: expected unqualified-id before '.' token??
  477. Comments on my code?
  478. How to sort structure arrays
  479. How do I go about writing positive, neg, zero, and even or odd???
  480. Prime Number Generator.
  481. Error while writing integer calculator
  482. How to display data in a bst in tree format using C++?
  483. Using custom classes
  484. Not getting requierd output in C
  485. realoc failed
  486. Multithreading in C++
  487. How to decompile exe into source code.
  488. int main(void) { func(); func(6); return 0; } int func(
  489. Problem when terminating application.
  490. f=++i||(k++)&&1; how are such expressions evaluated??
  491. assignment operator and copy constructor
  492. sorting the arry of pointer to string
  493. how to make easy graphic with gcc in my Ubuntu 9.10
  494. puzzle on c statement
  495. Attempted to read or write protected memory while importing function from c++ dll
  496. write a program using one dimensional array to display the even and odd numbers out
  497. expected unqualified-id at end of input
  498. Trying to do Simple Multiplication
  499. const char* and char* concatenation
  500. Loop to run the program again?
  501. need help with a C++ code for class?
  502. regarding the buffer
  503. Passing Structures from C++ to a VB .NET DLL
  504. I'm having trouble with my code compiling, "error: return type defaults to 'int'"
  505. Marshaling a C++ two-dimensional fixed length char array as a structure member
  506. linker error: unresolved external __fastcall
  507. Marshaling a C++ two-dimensional fixed length char array as a structure member
  508. What is the recommended directory structure for tests?
  509. process time
  510. I am reading data from a text file into a structure?
  511. How do you get a 15x15 matrix using an ifstream
  512. Looking for iptables rule to enable FTP and e-mail and disable after some time
  513. been working on this prog need help getting results to show up correct when compiled
  514. c/c++ sparse matrix library
  515. is there any probiem if we do malloc and free inside infinite while loop..?
  516. HOw to bulid Hans Boehm Garbage Collector using Visual C++?
  517. Passing arrays to a function
  518. error: expected identifier or ( before { token ??
  519. How to print the keys in VC++ like sendkeys.send() i
  520. Error compilation
  521. STL vector
  522. passing a string as file name to a ifstream
  523. Help with sine taylor series
  524. running minicom to access serial port usinh putty to Linux machine from windows
  525. returning dynamic array from function
  526. Running a C++ Program during the execution of a C Program
  527. finding a number even or odd without using if,else or arithmetic operator
  528. private constructor
  529. reading a file multiple times
  530. c code is dumping
  531. Design issue
  532. : undefined reference to `pow'
  533. Access Violation
  534. programing error in writing own manipulator.
  535. Beginner Socket Programming Error
  536. Runtime error ?what is this ?why it appears after installing games
  537. Linker error
  538. How can an object ask to be deleted?
  539. looking for c function for this
  540. Change order of how input is collected
  541. factorial
  542. How to add sockets in select() while waiting?
  543. W8004 'Object' is assigned a value that is never used
  544. connect script failed
  545. 2D Vector in C++
  546. strcpy and strncpy
  547. Application Cleanup during Linux Shutdown
  548. make a c++ program for loops ..
  549. How sort and do a list after giving struct?
  550. segmentation error