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. ques on function which i was given in a test. can anyone help in solving it??
  2. besi
  3. problem with using shortcuts...
  4. question on two lines of code
  5. question on mips and code
  6. overriden virtual function not called by dase constructor
  7. unmanaged dll calls and locks managed dll
  8. Inheritance
  9. Assert in Threads
  10. Convert subroutine
  11. Activex: Getting the Process ID of a Browser:
  12. Packed array in C
  13. copy ctor
  14. Code for read a file
  15. Need of Explicit Constructor Call in C++
  16. The usage of %p in C
  17. Benefits of c over c++
  18. Optimization Problem
  19. API documentation links for OS development
  20. union float[3] and x,y,z
  21. Problem in handling the STL List
  22. Boost library - regex_search
  23. static member object initialization
  24. Enums
  25. ambiguous constructor? Is it right?
  26. initialization by copy
  27. Format of floating point output
  28. keep splitting the atom question
  29. DFA simulation
  30. Fourier Expansion implementation in C++
  31. problem in running c++ graphics in windows vista o.s
  32. Nested loops
  33. Allegro Game library
  34. I had a bad day
  35. Template specialisation with multiple typenames
  36. Cannot access memory at address 0x4c6d000
  37. convert .dat to html in file handling by c/c++
  38. hacking,anti-hacking,registry tweaks,compter tricks
  39. hacking,anti-hacking,registry tweaks,compter tricks
  40. Reversal of a sentence
  41. copying elements from a <list> to <deque>
  42. problem updating linked list
  43. Can't typedef a struct
  44. Regarding returning of function
  45. Extracting Data from a Triple/Double Pointer pointed to a Multidimensional array
  46. How to calculate financial year bonus?
  47. Something with static...
  48. problem with if statement
  49. how to call a variable without reference in c
  50. switch on strings
  51. difference for array in c and c++?
  52. how to connect ms-access from c/c++ with code
  53. returning arrays from COM to JScript
  54. Member function pointer cast question
  55. how #define a main() function and call our own main function?
  56. clarify Me
  57. Extracting the first column from a file
  58. Declare any mathematical equation
  59. About time spent have big difference in two running
  60. process of learning C language
  61. understanding of data abstraction, information hiding and encapsulation
  62. how to install C on Mac
  63. Atm machine
  64. copy constructors with iterators
  65. how to implement sum of bits using template metaprogramming
  66. Writing an array and calling the array question
  67. Declaring a very long integer
  68. time program in c
  69. Need help in converting C++ to C
  70. Reading / Writing to Hardware Registers
  71. running for loop
  72. Addressing a &vector<>[i] as a C-array & the C++ standard.
  73. Trouble with Isomorphism in Trees
  74. Callling a function from another file...
  75. C++ Language details (speed, comparisons, etc...)
  76. creating rows
  77. Student Question
  78. system class to application local class....
  79. Maybe a stupid question about short ev.
  80. i'm new to c++
  81. issue with edit boxes...
  82. Any preprocessor definition to tell if inline is supported?
  83. Implicit Declaration of Function Error
  84. client server framework
  85. client server framework
  86. C++ program to determine if text line contains a palindrome
  87. read image file and print out it in form of matrix
  88. combinations of anumber
  89. Any recommendation about open source project on Natural Language Processing or Information Extraction
  90. Where does programming begin?
  91. C++ FILE function
  92. Vector Erase
  93. Word search in byte image data
  94. static member in base class
  95. array size
  96. is there any thread related header file other than this ou_thread.h
  97. databases
  98. How do I force a compiler error if two #defines exist?
  99. implementing tail command
  100. Reading Hexadecimal value of an ASCII character..
  101. can c++ deal with hardware???
  102. Memory problems in c++
  103. class with a map
  104. pointers arithmetics
  105. inverse of a mxn matrix
  106. in keil software
  107. Float as Infinity
  108. order purchase goods
  109. How to use it?
  110. How to use it?
  111. Conditional include
  112. Algorithm optimization for a map of strings
  113. polynomials(using linked list)
  114. comparing an array of bits
  115. C++ SOAP TimeOut Problem
  116. Trouble optimizing for-loop
  117. new object declaration
  118. new declaration
  119. What does it mean
  120. Conditional include
  121. private structure
  122. strange behaviour of code.....
  123. Link error
  124. Problem moving between nodes of a linked list
  125. how to allocate dynamic memory
  126. parsing with std::istringstream.
  127. How to write a Code for printing in DOS mode in C/C++?
  128. Nonlinear Function
  129. heathfield
  130. im getting a segmentation error can anyone help
  131. regarding Inline functions
  132. strptime equivelent on windows
  133. Application of Queues : Information Center Simulation
  134. Passing pointer to function - C programming
  135. executing c program using Cygwin
  136. Command Prompt input
  137. file input problems (should be an easy question)
  138. combinations of substrings
  139. dynamic allocation array/function
  140. ~ operator returns signed value
  141. Generalized "observer" pattern
  142. Map coloring problem using the depth-first search in C++
  143. Sorting an array of pointers
  144. why does the following not run ?
  145. help with a c++ calculator
  146. Open source project on C++ to compare XML as ExamXML.
  147. Multi-Dim Arrays
  148. Doubling equation for C++ program.
  149. Amount of bits needed (as a compile time constant)
  150. Writing to a file where the filename is from a string
  151. Implementing overloaded operator new[]/delete[]
  152. Memory allocation problem
  153. Compatible codes for both Visual Studio 2005 and gcc
  154. Linking in a module?
  155. menu program in c language
  156. C++ Program to output type of input entered (int, char, etc...)
  157. need c++ tutorials
  158. Program Crashs When Input Is Entered
  159. COMPLETE n00b needs help with n00b question
  160. Is this a correct place to ask questions on GDB
  161. file stream object as a function arguement
  162. Using C99 "restrict" with newly allocated and initialized arrays/structures
  163. A plan for Jacob
  164. array declarators
  165. How to overwrite 'new' operation in c++
  166. assignment operator
  167. c book
  168. to me c,c++teach forwarad please
  169. "processor fault"
  170. Error compiling file using lcc compiler
  171. Problem on using a casted void pointer
  172. Problem regarding process
  173. why is the backslash-space combo a escape sequence 040
  174. Finding and Replacing Substrings In A String
  175. Printing a 1D array as a 2D array (another 8 queens variant)
  176. the gotoxy(int x, int y) function
  177. 8 RANDOM queens.
  178. wait function and sound
  179. help on prime number list c program
  180. Q on loading txt file in C++, and search algorithm
  181. __ has exited due to signal 11 (SIGSEGV).
  182. simulation
  183. NULL not declared in scope
  184. Creating Arrays with files...
  185. reflection in c++
  186. toUpper and pointer to a string
  187. Introduction to C language
  188. Insert function in hash_map.
  189. Program launches within Visual Stdui 2005, fails otherwise.
  190. key logger in c
  191. updating a class
  192. accessing protected member functions in c++
  193. number conversion into words
  194. Game of craps giving class error
  195. object as function
  196. Handy hint, length of string scanfed.
  197. Are there unsupported OOP concepts in C++?
  198. distinguishing wheter void* ptr points to class A or class B?
  199. Question on structure pointers
  200. Sorting two arrays with one call to sort()?
  201. could you please tell me whats the error in the code
  202. Is this a STLport bug
  203. linked list - duplicates
  204. System call error
  205. Build a new system
  206. help on making a stopwatch using c
  207. calculation problem with math.h predefined methods
  208. how to link libws2_32.a?
  209. Friends and Visual C++ Express 2005
  210. new classname() showing error
  211. A question: Convert double to string
  212. Calculating the nth term of a series with C/C++
  213. Help needed to understand "member function template"
  214. do structure definitions go in data area or in code area...
  215. Inches to Feet, Fahrenheit to Celsius
  216. C++ Sql Server Connectivity
  217. Worldwide Precious Gem Stone Development
  218. Need a guitar?
  219. array[2] == 2[array], why is that?
  220. Iterator to last element in list?
  221. Boolean data type?
  222. realloc error in dynamic array of char*
  223. Pointers to Members question
  224. Using c++ template metaprogramming for high performance number crunching?
  225. substituting a function ptr with a function object
  226. Logical XOR
  227. template question
  228. Associate Objects using domain ID or using object references?
  229. pointer to pointer
  230. redirect system() stdout to buffer
  231. Overloading problem
  232. Making a function
  233. How to find which objects use most of the memory
  234. How to find which objects use most of the memory
  235. Win32 Buffer Overflow
  236. Validating input (Allow Float Only)
  237. inheritance problem: error: expected class-name before '{' token
  238. comparison between signed and unsigned int
  239. help me in implementing Factory design pattern
  240. facing problem during compilation
  241. Any search pattern method recommed for mmap memory
  242. List of arrays as a class member function
  243. Any guide to look something up in the Holy Standard?
  244. C++ An Inline Function Question
  245. Dvd
  246. Executing DOS commands
  247. Pass the array value to another function
  248. complex object declaration
  249. passing a (char *) as an argument
  250. Endians forest
  251. Counting in lojban
  252. Most frequent number
  253. Random-numbers...?
  254. C++ compiler in Linux/Ubuntu?
  255. XML containing C Code
  256. discussion of protected in Lippman
  257. Undefined reference to pow
  258. using C library functions in C++
  259. c++ code for reading an excel file
  260. Implementation in a *.h file
  261. @ output
  262. Default precision for sprintf
  263. Is there a better way to do this?
  264. Confused at newline requirement for printf
  265. polymiorphism and access privilege ?
  266. Need help understanding a const function returning an object reference.
  267. beginner question on successive factoring
  268. Delete the dynamic allocated using new char[]
  269. Loop forever
  270. "this" question
  271. Eclipse Europa IDE scanf issue
  272. ambiguous types: want automatic conversion
  273. Input Question
  274. C++ Program help
  275. Size of an array
  276. Serial Communication
  277. While vs nested if?
  278. is speed of exec of a member function always impacted by an extra layer in a class hierarchy?
  279. c tips
  280. recursive functions of 1)strcmp 2)reverse a string
  281. const int Foo in paramater list? Question of style
  282. C Terminologies
  283. question on loading a string from a file into a vector
  284. asking for help
  285. Simulation In C++
  286. How do I know which library file am i suppose to call?
  287. dynamic space allocation problem
  288. makefile problem
  289. How to add a double to an unsigned char array?
  290. Embedded systems, suggest microcontroller and compiler
  291. Discuss..thx
  292. why this code shows sigmentation fault?
  293. win32 wrapper (not off topic imho)
  294. Howto link a lib in my Makefile
  295. Program to calculate sum of cash drawer.
  296. How to catch the return value of main in C
  297. about shifting
  298. can we impliment the circular buffer by array in C
  299. Suggest microcontroller and compiler
  300. Embedded Systems, please suggest microcontroller and compiler
  301. pointers to Enum in C
  302. Write toNum() function to convert char to int
  303. Read a text file and output ASCII values
  304. pet structure program
  305. IT Executive
  306. Error on compiling code in VS 2005
  307. Scope question
  308. Does "delete" work?
  309. How can u read a VRML file in a c programm
  310. c++
  311. qsort semantics
  312. Difference between a MACRO and a FUNCTION
  313. Remainder of two different variable types
  314. sob..Someone can help me????plsss
  315. Why the simple code can not compile?
  316. How to write sql commands in turbo c++
  317. Output the Highest Number in C
  318. The canonical clc malloc idiom
  319. Recursive function to print numbers in reverse
  320. behaviour of a function
  321. alignment using malloc
  322. How compiler diffrentiates oridnary/member funtion w.r.t private data members
  323. Help on code that compares strings
  324. multi-template parameter friend template functions
  325. yessssssss, I did it
  326. Struct size
  327. Alignment puzzle
  328. Multi Function program
  329. is input_stream >> std::ws supposed to set fail() bit?
  330. Return smallest key from std::map?
  331. any hints would help
  332. Global objects...
  333. Listing on Graph
  334. What errors are caught at compile time vs link time
  335. plzzzzzzzzzzzzzzzzzzzzzz help
  336. plzzzzzzzzzzzzzzzzzzzzzz help
  337. Why does my dll not work for VBA calling?
  338. Reformat file input/output
  339. what
  340. C++: Converting a 3 digit hexadecimal number to decimal help?
  341. const static initialization in Visual Studio
  342. Equation printing program
  343. What is best way to implement "tail"?
  344. What is best way to implement "tail"?
  345. TRHX client
  346. What is best way to implement "tail"?
  347. What is best way to implement "tail"?
  348. how can I return nothing?
  349. stringstream question
  350. undo/redo algo
  351. koch curve
  352. how to use if else macro while compilation
  353. conversion between string and numerical value
  354. Order of statements using if
  355. Converting program from gcc v3 to gcc v6
  356. problem with removing spaces in the string
  357. Accessing base class function
  358. virtual function
  359. TDD and Mock Classes
  360. how to run some exe file by using standard C++ code?
  361. how to run some exe file by using standard C++ code?
  362. how to get a windows token using VC++
  363. Definition of obscure pointer/array declaration
  364. global variables/passing
  365. complex pointer declaration
  366. About tree -- some code in C Primer - I don't understand
  367. what is error status flags?
  368. read an entire line in a C++ string
  369. Standard C library functions in freestanding systems
  370. What is a virtual constructor?
  371. hash_map in STL.
  372. How to pass a huge matrix to a function
  373. Standard C library functions in freestanding systems
  374. Copy Constructor Query
  375. VC++ Message map is not capturing Ctrl-C key press event
  376. Howto design my method?
  377. Jump to Case label
  378. Hi guys~ i wonder that why this simple code error!!
  379. C++ polymorphism question
  380. EOF
  381. Getting lvalue error
  382. what are the erorr in c
  383. error #2135
  384. Sorting
  385. pass by value
  386. Compilation Error in C language
  387. dinamic allocator for structures
  388. Find version of a filesystem using C in Linux
  389. Lips' Extraction in C programming
  390. Storing objects in map class
  391. NULL in second call of strtok()
  392. Wide char functions without UNICODE
  393. question related to passing variable number of arguments
  394. Segmentation fault on volatile unsigned char in C
  395. Graphics functions
  396. Abstract Interpretation for C
  397. Hex to IEEE format
  398. Errors in socket program
  399. question on cout and operator<<
  400. Connect to database using C++
  401. ANSI C: How to validate input string using regular expression?
  402. strange syntax in stl (gnu version)
  403. Size of structure in C without using sizeof()
  404. warning: the `gets' function is dangerous and should not be used.
  405. c prime number program
  406. returning error from main()
  407. error: syntax error before numeric constant
  408. I don't find the keyword "volatile" in C99..............
  409. Unable to solve compiler errors
  410. const related error from Intel and g++ compiler but not from VC8.0
  411. C Preprocessor val##LL
  412. SOFTWARE ENGINEER/ C/ UNIX/ CONTRACT/ MI
  413. Another sizeof question
  414. Loops?
  415. Smart pointers and this
  416. 3 dimensional array
  417. An example of a program to average these values
  418. templates and inheritance
  419. C - integer from string in array of chars (or array of integers?)
  420. Syntax error
  421. pointer, union, something...
  422. Win32 Edit newline
  423. mem_fun fun
  424. Templates and header organization
  425. token string program
  426. Save a System::Drawing::Bitmap from device context
  427. a program using four arrays of pointers
  428. Is this scenario a good use for polymorphic functions
  429. HI can give suggesstion
  430. writing a code for both windows and linux
  431. question regarding vectors
  432. #INF00 ocurrs when cal. sum=(n/2)*(2*a+(n-1)*d)
  433. HI can give suggesstion
  434. ds
  435. How to return an array of strings and print it on my main() function
  436. union find
  437. correction
  438. hi can give me idea
  439. Implementing stack and Lucas series in C++
  440. enum and pointer help
  441. Error: aggregate value used where an integer was expected
  442. overloading based on function being const
  443. Function Problem
  444. sending a structure with an array of strings through tcp
  445. One and two - dimensional array passing
  446. Copy constructur or bitwise copy
  447. Message after compilation to turn on debugger
  448. how to convert char * to CString?
  449. lrint and rounding mode
  450. Howto identify a string value vs. a numeric value in std::string
  451. Ode to Keith
  452. .hpp
  453. undefined refference problem
  454. compare two string using stryncmp
  455. I want C++ to count the letters i want it to count after asking me to provide a word
  456. Segmentation error
  457. data structure and algrothim using c
  458. Performance monitoring tools.
  459. Tool for checking memory leaks.
  460. solution to problem for verifying answer
  461. Couldn't understand what my error means
  462. Redundant statement in the Standard?
  463. function to return string array
  464. Function pointers and callback functions
  465. how to find the ip of a host while the name is known
  466. problem of graphics.
  467. The meaning of a = b in object oriented languages
  468. a question about ostringstream
  469. C program to create 8 bit hash
  470. system() function in c
  471. Question about declaring const pointer to const value
  472. Create linked list, queue, and stack implementations in C++
  473. C++ program to calculate corresponding ASCII values for case
  474. why memory leak here?
  475. how to read text file from usb port
  476. why memory leak here?
  477. why memory leak here?
  478. passing infinite number of arguments to a funcion in C
  479. Constants Data Members in C++
  480. Binnary I/O operations
  481. vector problem
  482. Problem with pointer-to-class-data-member
  483. What does this mean?
  484. char * to TByteDynArray in Borland C++ Builder 6
  485. Pointer to class data member question
  486. Checking if a file descriptor is valid
  487. Access returned String diffuculties
  488. Rational Numbers in c++
  489. Turning In Deburger
  490. Fraction Program - Reducing it to the lowest terms
  491. smart ptrs in vectors
  492. try/catch scope question...
  493. New at Borland Developer Studio
  494. Returning a pointer to a constant string
  495. Initializing Union Structure
  496. A Portable C Compiler
  497. C++ multidimensional array allocation using new []
  498. reading and deleting from file
  499. sum of two integers
  500. Bucketsort?
  501. static or non static
  502. slen function with recursion
  503. How to set the include path an environment variables of g++
  504. C&C++
  505. How to save a string with white spaces on an array
  506. 2D arrays
  507. exceptions
  508. Query: are typedef templates supported in C++. and on the VAC 6 compiler?
  509. Error: invalid operands of types `double' and `double' to binary `operator>>'
  510. shared_ptr and containers
  511. how to initialize a static map
  512. compilation error with forward declaration
  513. Bresenham's algorighm for counterclockwise circle
  514. C editing a file
  515. Desktop Heap Size
  516. Graphics in c/c++
  517. Trying to find a functional language integrated with C++
  518. ICQ Sniffer?
  519. Reading from fstream into vector
  520. How can I access non-static variables from static funcition?
  521. is this a C++ BUG?
  522. Nesting variadic functions
  523. How can I nest variadic functions?
  524. equivalent class to POD
  525. fractal images in c++
  526. C++ use of constructors
  527. Coding style
  528. Pointer to a vector
  529. pointers in c
  530. Executing commands on a Linux system with C/C++
  531. generating array and random move of it
  532. Creating containers on the heap
  533. Best way of Allocating and Deallocating memory
  534. c++ editing a file
  535. Pointer to class data member question
  536. informatique
  537. telephone pointer program
  538. problem about C program design.
  539. C Array declaration with const
  540. addition puzzle
  541. Trying Something New To Experiment with
  542. Array of Strings
  543. How to find the bit width of a processor
  544. C++ OO design question
  545. Help with peak detection algorithm
  546. inlining overloaded methods
  547. Creating bitmap from native values
  548. Implementing a Linked List
  549. Switch/case statement
  550. Program to switch between packages, all 3 being chosen