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. Error: C requires whitespace after the macro name
  2. I have a problem compiling a simple "Hello World" Statement
  3. Importing data from a .txt file and doing something with it.
  4. use of modulus operator: how can we use modulus operator with double type variables
  5. Coding PHP extensions
  6. general form of input an array using gets function
  7. how to know commandline is empty or not ??
  8. Trouble understanding a shift calculation
  9. How can I change the root path that an application uses to upload a file from?
  10. c code for a server that creates a log file
  11. what do you mean by seekg and seekp
  12. const variable in C++ can be changed using aliases
  13. Convert C++ code to C code
  14. two arrays merging into new array minus duplicates
  15. function recv(p,h) of class Phy in ns2.35------only ns2 users
  16. to divide a number by 128 without using division operator
  17. How to run a process from memory
  18. can we declare a multidimensional array without providing size to it?
  19. what is meaning of ~ operator?
  20. Question about adding in C
  21. debug error output disappears in seconds
  22. kbhit function and its use?
  23. What is the call by value in function?
  24. Need help on modifying an array to vectors
  25. what's wrong with the code below?
  26. converting a number into binary or hexadecimal or octal using arrays
  27. need help with error generated in slot machine
  28. Explicit Initialisation of Function Templates
  29. Another question about unaligned access
  30. how to send .jpg file from client to server using c program..
  31. using the 'delete' operator on array of structures
  32. how to take input from particular position in c using graphics
  33. addition of infinite numbers using string
  34. turbo c++ 4.5 crash when compile no error message
  35. program using area() and perimeter() function
  36. Prime Number chilliad program calculation adjustment?
  37. I want formatting types such as \n, \t, etc... in c / c++
  38. How does the huge pointer work in the c language
  39. implementing dfa for a binary string with at least two 0's after every 1
  40. remove memory leak from this function strcpy
  41. header file related to goto
  42. What is "underlying type" for wchar_t?
  43. what is the difference between printf and scanf?
  44. method to add to file
  45. no matching function for call to `std::basic_string<char, std::char_traits<char>, std
  46. suddenly cannot debug....
  47. i want to do up and down arrows
  48. string display error
  49. Converting currency to words just like for checks
  50. Why is i++ used instead of ++i in array for loops
  51. trouble in call my own function
  52. Calculating the formula of a dice roll using rand?
  53. meaning of identifier expected for any variable
  54. C programming using linux terminal
  55. How to operate very big integer number in C?
  56. storage class specifiers concept
  57. how to use register selectively
  58. How to analyse the core dump in gdb? <repeats 21 times>
  59. Extracting strings from files (C++)
  60. Arithmetic using a for loop
  61. Some help on how to complete this program in C.
  62. How to move an object in c++?
  63. what mean this " return x < 0 ? 2 - y : y;" in the end of function
  64. Multiple Malloc Calls on one Variable
  65. Simultaneous Reading and write from and to a text file using Multithreading in c/C++
  66. Data File input sorting question
  67. jpg-file to a bit image in Mountain Lion with C
  68. Simple Network Simulator in C
  69. Tell the syntax to execute code if number in range otherwise exit
  70. saving Objects on binary file
  71. how to open a word document in C++?
  72. Testing to see if user input is a number
  73. Ostream &operator to work in C++
  74. which header file should i include for using delay function in visual studio ultimate
  75. object oriented programming
  76. Trouble with File Input/Output concerning loops
  77. what is while(5)? Is it the same as while(1)?
  78. the function printf() should have a prototype
  79. How to delete memory for std::vector<unsigned char>
  80. While loop expression
  81. error(c213): left side of asn_op not an ivalue. Can anyone suggest a solution?
  82. Explicit Specialization cannot have a storage class
  83. In c++ I am getting unable to get obj file error
  84. Why am I getting the error: identifier 'last_code' cannot have a type qualifier?
  85. Warning in GCC Compiler
  86. Getting a divide by 0 error when using a modulus with a number below 1.
  87. how to avoid array subscript problem, unknown size
  88. what is the use of textmode() in c++
  89. how to give a color to the text that displayed in output screen
  90. General Protection Error in C++ code
  91. unable to allocate memory in middle of file
  92. what is the real meaning of NULL?
  93. Is it necessary the function main() should return int?
  94. Programming the volume of a sphere based on user input
  95. compile and execute a cpp code file with visual studio command line
  96. Passing NULL to atoi() Function results in Segmentation Fault
  97. Why write return 0 at the end?
  98. gets() shows warning in gcc compiler - how to remove?
  99. in c language how can I use a long long integer? also printf and scanf?
  100. Template specialization of a single method from a templated class
  101. Why is sizeof(a) zero? where a is int a[0]?
  102. problem: function should have a prototype
  103. algorithm to find first n odd numbers
  104. permission denied, ld returned 1 exit status in dev c++
  105. header file inc
  106. at present what is the default return type of a function?
  107. in turbo c output is not clearing even after including #include<conio.h> and clrscr()
  108. how to convert float to unsigned int
  109. command prompt window disappears before output
  110. 'Statement missing' error in C++
  111. Output is Getting scattered after using curses function
  112. program for prime numbers in c language
  113. delete record from binary file in c++
  114. How to put function inside structure? [C]
  115. Set background in C++ using OpenGl
  116. accept items in a singly linked list and sort the nodes
  117. How to use map in multithreading in C++?
  118. Application fails to create custom eventlog on 2008 server even when run as admin
  119. Library has no exported symbols
  120. any dangers to storing map iterator in vector?
  121. Error using USER_LDFLAGS in executable make file
  122. How to reverse diagonals in a 2D array in c++?
  123. compiling cpp in mostly c
  124. cannot open header files stdio.h and conio.h...
  125. Will C++ application in .net VS 2003 with no dll reference work without framework 1.1
  126. what is a run time entity? why do we call an object as run time entity?
  127. How to set each bit, if the variable is short
  128. C++ Offset function inside Class
  129. What is the actual concept of delete operator?
  130. vector to vector assignment question
  131. getting "windows don't send" error
  132. Can we use a virtual function in the class in which the virtual function is defined?
  133. Debug Log size restrictions
  134. c++ programming minimal dfa
  135. expression syntax error
  136. splitting numbers into separate digits
  137. MFC CEditView redraws twice
  138. std::vector<struct> insertion question
  139. Move the circle by shares of the keyboard
  140. Getting error while using OpenMP along with map in c++
  141. Without using constructor, we can create object in following way?
  142. qsort program giving unexpected answer
  143. Expected primary expression before ';',"int" comes because...?
  144. equivalent linux header files for windows in c language
  145. C++ see template instantiations
  146. 64 bit application crashes due to unknown memory corruption in linux
  147. how to enter person's last name and first name seperated by space and comma
  148. solaris to linux migration : build problems on linux while trying to compile c++ code
  149. OpenGL errors. error: '...' cannot be used as a function
  150. What is while(1) loop?
  151. "error: perl was not declared in this scope" when calling perl script that sends sms
  152. pc based digital clock via parallel port using c language
  153. I'm getting error C2088 and error C2040. I don't know how to fix them
  154. Rename using windows command for a c++ project
  155. double wil not display correct value's.
  156. Fix my c++ code please Error C1075
  157. Is it possible to append numbers to the end of variable names during runtime?
  158. Explicity Constructor
  159. Explicit Template Argument Specification
  160. conversion from Javascript to C++
  161. how to convert from HEX to ASCII conversion in embedded c
  162. Discussion: Should Arrays Ever be Used
  163. how to find the address of a library function??
  164. using Astyle to format the C code
  165. Image overlayed five consecutive times on a live video
  166. Why can't one specify which overloaded function to use in transform (a, b, c, d)?
  167. Storing and Retrieving a large amount of data
  168. How to Split a string into various types (integer, float, char)?
  169. Help me fix this code: Finding the missing number in the array
  170. i am reading an xml, wiht XMLch [] , but when characters above ascii reached then thi
  171. How do I delete part of the String?
  172. What settings has to be made to run language c in jgrasp?
  173. Dynamic creation of classes in c++
  174. replacement column and row between two arrays?
  175. recursion in stack to get the maximum element and copying stacks
  176. error: expected expression before '}' token
  177. code in c language forintrosort also known as introspective sort
  178. How to print the value at memory address?
  179. equivalent header file for standards.h in linux
  180. How to change calling convention in C?
  181. For given 2d array Count the number of positive elements in each row sum
  182. Get file list from a directory by name in c
  183. Why overloaded copy constructor is not getting called here?
  184. finding the type of an argument in c?
  185. give explanation of given 2 lines: sum=sum+(i*rem); i=i*10;
  186. How to properly overload the == operator?
  187. Using vector for first time and getting strange results
  188. how to write byte in 8051 Correctly
  189. expression syntax
  190. what does << mean in c plus plus ?
  191. writing into a text file using a nested for loop
  192. add copy constructor to my class
  193. Can anyone explain me the meaning of the following code block
  194. I'm trying to increment a char** and I am unable to understand the dynamic of it
  195. C++ .Net UDP Socket Endpoint question
  196. where did i write wrong? It just writes 1 star
  197. linking of excel sheat in C as input two dimensional array
  198. Class vs struct
  199. how to get CTRL-Z to close a pipe?
  200. How to read and write data in C++ (random access)?
  201. pre post increament?
  202. How did i get "Run-Time Check Failure #3 - The variable 'arr' is being used without b
  203. Plugin not work properly in ie ?
  204. Can we use modulo to compare two floats?
  205. Internet connection
  206. too many type declaration is shown for a function
  207. How do I Displaying bytes of a given code bellow?
  208. Any better C++ operator precedence cheatsheet?
  209. how many bytes in a string and how many bit in a string
  210. string copy into struct doesn't work
  211. Gcc compiler does not detect multiple definition error
  212. How to update and delete particular record
  213. Can I use strtok for splitting a string with a certain pattern?
  214. How to print a huge unsigned long int number by using printf?
  215. Calculate the result of 2 numbers that the user entered
  216. What's the use of the $ symbol in C?
  217. What statement can I use to increase the character size of my output in Dev C++
  218. What's the function of printf?
  219. regarding c console input output operations
  220. Two thread callbacks on an async serial com port
  221. how this c code works?
  222. Opt++ Configuration
  223. Permission denied? chapter 2 exercise 5 from book of Francis Glassborrow
  224. system() problems
  225. too many decimal points in number error
  226. Hello World in C programming does not stay long after i compile and run
  227. TimeStamp Problem - VS2008
  228. Writing an Easy Input/Output C Program
  229. JDBC Connection for C++
  230. implicit declaration of function 'printf' is invalid in C99
  231. Make program to square the numbers from 1 to 20
  232. An alien variable suddenly in an array
  233. Program that solve two difference times
  234. antivirus system
  235. fatal errors what does this mean w
  236. VC++ application UI is distorted when launched on WIndows 7 machine
  237. pointer type casting:---please explain this program
  238. What could be wrong in this program code? Help me...!
  239. c program to display first 10 largest numbers present in a file
  240. how can I find the addres of function
  241. what is the size of int in 64-bit machine?
  242. Is it possible to initialize char value into int value?
  243. my msdos cannot include the header files??
  244. error while using file i/o operation in ansi c
  245. what does exit(10); mean in C language program?
  246. what should i declare when i am making a program titled order menu having a amount on
  247. Given a person's birthdate or any other date, will display day of week
  248. Problem with Master/Slave program
  249. Canvas->CopyRect shifts 1 pixel by zoomed image
  250. Problem with printing Barcode on cognitive HCLabel printer from Windows server 2008
  251. The syntax for inserting strings into a list, maintaining alpha order.
  252. Help please: "Declaration not allowed here"
  253. File Renaming: Permission denied
  254. Unable to resolve an expected primary expression error
  255. what does [0] = 0x6D mean where last two can be any hexadecimal
  256. Why to use return type for string function as char*?
  257. Thread: create local instances of a global variable?
  258. numerical solution for first order of differential equations
  259. Imagine a tollbooth at a bridge. Cars passing by the booth are expected to pay a 50 p
  260. linker error:unable to open file 'tv.lib'
  261. header of a file compressed by gzip
  262. how to retrieved a stored procedure functions in c?
  263. Assigning A-Z with 1-26 without having to assign every variable
  264. Seperate byte of array into nibble for new array
  265. questions is related from c and the topic is string.h (this is a headder file in c)
  266. Error
  267. how to convert entered ascii value to float
  268. Sorting Names in a Structure. How can I sort the names in this structure using bubble
  269. why is there no effect !!!
  270. cashiering program for my project., this cashiering program is Mc Jollibee....
  271. Immediate audio playback from Mic
  272. how to connect c with oracle database
  273. identifier expected,declaration terminated incorrectly
  274. What is the meaning of no matching function for call to ‘RunAction::fillPerEv
  275. vc settings
  276. how to retrive matlabfile in c language
  277. Recording Mic and Speaker audio simultaneously like Skype conversation
  278. bad alloc error in c++ of linux
  279. How to use Windows command-line commands in code
  280. how to convert byte array with hex number to equivalent decimal value
  281. Rewriting Program to Use One vector instead of two
  282. error message saying expect unqualified-id before '{' appearing whenever i try to run
  283. I have Borland CBuilder project, Is it easy port to Visual Studio?
  284. writing structure to file I am getting with some random charaters
  285. Virtual Pointer - accessing VTABLE of a class inside a program
  286. Using math library problem
  287. Write a program that will read the gross salary of an employee and calculate the net
  288. Two Atmega16 serial communication?
  289. Microsoft Visual C++ programming: How to write an algorithm?
  290. expression syntax in function main
  291. How to Save an new input using the output?
  292. linker error unable to open tv.lib
  293. New to programing keep getting error. Please help!
  294. malloc and calloc reg
  295. IF Statements
  296. Repeated dynamic memory allocation
  297. SOCKET connect C/C++ to PHP
  298. C++ tutorials for mobile development
  299. How do you change an image source using two or more drop down menus?
  300. redefining stdout/stderr
  301. Allegro problem on dev c++ 64 bit windows
  302. triangle determine if it is isosceles, scalene or equilateral
  303. How connect dll to C# - project?
  304. int abc[]={1,2,3,4,5,6,7,8,9,10}; array behv
  305. header file reg
  306. centering context menu
  307. Distance from a point to a line/segment
  308. what about LPCWSTR in the c in that code?
  309. Virtual Comm (serial port), C code ?
  310. C network programming
  311. c FILES
  312. Reading from a txt file
  313. How can we write a menu using switch statement?
  314. Why Garbage value is getting printed???
  315. Unable to Include a header into my application
  316. Want to create a process in D stat on Mirror disk
  317. C++ error LNK2001 issue
  318. Jump table instead of Switch cases
  319. # regarding
  320. ı couldn't undestand
  321. How to execute C program through Command line with arguments
  322. setting edit text of combox
  323. Prototype Declaration Error in RPC
  324. Error "Syntax in function main"-thing
  325. What are templates? Do they have advantages over polymorphism?
  326. [CORBA] Getter and setter for CORBA sequence of objects
  327. What is pop in C++ ?
  328. Read an input file character by character
  329. Error in output:some unknown characters printed
  330. Number of zeros in a factorial number
  331. C4droid (C compiler for android)
  332. How to Parse a CSV formatted text file in C programming
  333. Synchronize Database
  334. Surveillance Timer
  335. A calculation problem in c
  336. char * to wchar_t * conversion
  337. About header files
  338. macro
  339. Why must the struct (;) be deleted to avoid error
  340. How to access UI thread in C++/CLI?
  341. Google C++ Testing Framework- I do not know what's the final step to get started.
  342. Copying value from one vector to another
  343. Convert one function procesr(n,C) in matrice[i][j] ant print it in the screen
  344. linkage error: unable to open cos.obj error
  345. How do you create a table with variables from multiple structs?
  346. Error configuring event listener in C++ with .NET CLR support (managed and unmanaged
  347. Buggy Function
  348. Hash table
  349. how to make a recursion count up and stop at its input
  350. isdigit to work with negative numbers
  351. Get return type of function in template parameter
  352. C++ editor with a cross compiler
  353. how to display a message for a specific time
  354. finding the type of the variable given in the program
  355. rotate an array by 2 places
  356. How to display a message for specific time using timer in C
  357. Tinyxml produces 50 compiler errors in my application
  358. Converting key combination to CString
  359. Read A Line with 8 bytes of data from a file
  360. CTreeCtrl - GetTextExtent problem
  361. finding unused variable using c
  362. How to get text input ?
  363. multiple class in a map
  364. pseudocode: accepts 10 integers. determine and print the minimum integer
  365. Point in polygon
  366. Base Class Undefined
  367. C linked list within callback of sqlite
  368. How to call function in ALT project C++?
  369. Calling by same function name
  370. Get Warning LNK4222 , How to fix it ?
  371. How do I pass a path in file handling with C++ to create or open a file?
  372. Conversions in C
  373. Template Metaprogramming
  374. specification of path in file handling
  375. How to pass the arguments as a two-dimensional array of typedef to function
  376. Fastest/most efficient way to add two fractions
  377. How to read a line of unknown lenght from a file by using dynamic memory allocation
  378. Cannot convert float to float
  379. is dragonfiresdk legit?
  380. multiplication element of vector
  381. setfill(*) and setw() help needed!
  382. string manipulator help
  383. How to compare the time fetched from two week number of different year using C,C++.
  384. Ask a question
  385. Unable to create an Event Source on the remote machine
  386. SQL report server Header info
  387. Call of nonfunction & Misplace else
  388. How to print a float number using %d as format string in c language
  389. Why does printf not print after a while or for loop in C?
  390. I am getting a error code for this C program. It says that FILE is not undelared.
  391. how can i cheak if the file empty or not in c language (i have function(FILE* fopenOr
  392. can specific data be deleted in firefox cache ?
  393. How to overlaod ++ operator for a object having 2 data members?
  394. How to increment data members of dynamically created object?
  395. Floating Point Calculation
  396. how to send many images through socket ?
  397. Identifier 'deposit' cannot have a type qualifier
  398. find average of 10 numbers passed to an array using function. the array should be con
  399. difference in between const char* n[ ]={"name1",..};, char* a[ ] ={"names1"..}
  400. unqualified id before token '{' what is wrong to my code?
  401. outportb() function
  402. scan for ints in a process
  403. coding for timer in consile application of codeblock
  404. Solved: Threading: how to invoke it properly?
  405. Is it possible to initialize values to a single variable using '( )'
  406. mp3 file to play
  407. input/output
  408. input/output
  409. integer constant expression
  410. difference between auto and decltype in c++0x
  411. Explanation
  412. Splint warning in gcc compiler
  413. lcc compiler bug report
  414. Output wrong..
  415. Renaming(All) an existing vc++ project in Visual Studio 2010
  416. Can anyone plz tell me the good book in c,i want to be master in c.. plz asap
  417. A to the power B question
  418. static array
  419. static reg
  420. #define reg
  421. Solved: C programming: confused by void *
  422. declaration syntax error
  423. How to store the big values either int or floating values like our pc calculator?
  424. Arrays Question
  425. boost threads
  426. 5 login users
  427. Program crashing while executing a certain part of the code.
  428. baffling printf error in c++
  429. Help.. regarding string to float and float to string converion in C
  430. Counting charecter occurences in a file *Simple*
  431. getting syntax error !!
  432. memory leak, debugger
  433. syscall.c:2210:21: error: storage size of ‘sbuf’ isn’t known
  434. i need help to tokenize the string taken from the file
  435. Button with Right click events ?
  436. about wincodec
  437. how to use fread?
  438. what is clrscr() equivalent in gcc? I tried for system("clear") but it exits prgm
  439. can't find or compile zlib with minizip
  440. switch no default output
  441. C2712: Cannot use __try in functions that require object unwinding
  442. how do you get multiple source files to run one after the other?
  443. numeric constant
  444. precedence and associativity reg
  445. what does "cout<<*this;" do?!
  446. vs2010 express c++ showsa message "this project is out of date" when i hit f5
  448. variant records in c
  449. pointer to char array
  450. Eigenvectors from eigenvalues in c
  451. Basic Code not working
  452. Newbie Help! - "Request for member ' ' in something not a structure or a union"
  453. how can we use switch statement 2 times in a program????
  454. visual studio 2010 erroes C2601 and C1075
  455. ostringstream return value
  456. temp=tmpfile() lose all its contents?
  457. compilation error: conflicting declaration
  458. LNK 2019 unresolved external symbol
  459. need help fixing if statements
  460. program to check data from server
  461. general protection exception is written when execute my program why is it happen.
  462. Segmentation fault - using char pointer to read int data
  463. Data Table and Combo Box
  464. Changing complexity from O(n) to O(1)
  465. how to use semaphore in this situation
  466. what the function of ansi_c.h, where can we find it
  467. How to link an external library in my C++ application?
  468. How to make public member of a class, private in the derived class?
  469. Linker Error:Undefined Symbol ATM_c::run() in module Project.cpp
  470. Using strings and if statements in C++
  471. how to display the contents of a binary file at an indexed location?
  472. Optical mouse as position encoder
  473. How to fill gradient colors in a rectangle?(gradient effect may be lenear, diagonal,
  474. error: 'cpp cannot convert `float' to `double*' for argument
  475. How to access field of a class by name
  476. I get segmentation fault with "shmat" function
  477. Program that outputs numbers divisible by two values
  478. How to get active application's title through API.
  479. OPENSSL RSA Public Encryption
  480. Read a video frame by frame through a c program
  481. atoi and itoa
  482. File Managment
  483. Does objective C run on multiple platfroms?
  484. A C program that uses the radius to get area
  485. divisibility programs
  486. this is related to postfix and prefix
  487. Error when using infile in C++
  488. polymorphism, is their a better way to do this
  489. What happens when a half constructed constructor throws exception
  490. Unresolved external symbol
  491. multithreading programing in c
  492. i keep getting this error and i dont know how to fix it
  493. there is a declaration syntax error in the code i couldn't locate it plz help me find
  494. Help in snake game
  495. storage of global variable
  496. no matching function to call for
  497. How to open a filename which is in one class & then use that in a different class
  498. How to add strings to vectors?
  499. generating random numbers betwee 0 and 1
  500. Adding strings to vectors
  501. how to define default constructor for a template list class
  502. Looking for a standard book on C
  503. Get dimension of pixel in mm
  504. error related to pointer to member function
  505. about mean in gcc
  506. Please help my Update doesn't want to work!!
  507. Dice roll generator
  508. Syntax error in code
  509. implicit declaration of function
  510. how to handle exception in constructor
  511. How to produce 3D graph Using MathGL
  512. pointing a variable to a member function outside a class
  513. How do I reset a TIMER?
  514. Receiving error on a simple code and don't understand why?
  515. need help figureing out why my if statements are not working right
  516. why does the program below work without #include<stdio.h>?
  517. How can I use a string as a file name?
  518. Write a structure onto a file
  519. C++ array find the average mark, highest mark, lowest mark, number of students passin
  520. date validation
  521. rethrowing exception says source code not available
  522. convert date based on timezone in C/C++
  523. How to get the length of unsigned char ?
  524. one fstream member instead of ofstream and ifstream - acceptable practice?
  525. Compile c file in Windows
  526. Error in exception handling
  527. Why is this simple program not working?
  528. Access XML documents in C++
  529. How to convert Float variables into Network byte order format
  530. How to resolve "Error:initialization from incompatible pointer type" ?
  531. Pointer and Array
  532. invalid use of incomplete type struct...
  533. Windows API DefWndProc default message processing
  534. what is the difference between declaring a static variable inside and outside of main
  535. IOMX.cpp:408:42: error: '#' is not followed by a macro parameter
  536. Sending and Receiving a struct over TCP Socket in Linux
  537. Error C2228: left of '.getWithdrawl
  538. Find all Permutations of a list
  539. Memory address 0
  540. Scope error in C++
  541. About CRC4
  542. 'segmentation fault' error
  543. pass Enumeration to function in c++
  544. Delete last 4 characters from a given string.
  545. Operator overloading
  546. how to display this date format : 0x/0y/0z
  547. A* toh
  548. Phone Number search algorithm
  549. Issue parallelizing this c code with openmp
  550. Convert a while loop to a for loop