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. I have a problem to solve summation in c++
  2. duplicates in array
  3. Problem writing struct out to file
  4. Problem with std::out_of_range
  5. Coding for a USB joystick in C++ on a Redhat linux machine
  6. a source code
  7. tic tac game using simple and basic level programming
  8. Calling a Overloaded constructor winthin a constructor
  9. PC-Lint in Eclipse ?
  10. Interperter pattern for regular expression
  11. Simple Question: function for type
  12. Square root from a large number (100 digits)
  13. ask about clock() function
  14. Confused in memory allocation
  15. syntax for overloading operators
  16. How do I get around circular references in C++?
  17. name mangling under Visual 8
  18. Design and development help in C++ text game
  19. How do i write a log file in C++ for a particular application?
  20. how to create C/C++ API
  21. Nested class with public access????
  22. ifstream to FILE*
  23. Templates
  24. How to disable CTRL + Tab in property sheet + mfc
  25. mblk
  26. Question about derived class and copy constructors....
  27. opengl fonts on dynamic style. help ...
  28. timing statistics for stl containers
  29. Process Id on windows
  30. sprintf problems
  31. local type as template argument
  32. Problem in reding file
  33. Structure padding warnings when porting to 64 bit
  34. I have a question
  35. Calling for a char from a different class.
  36. file processing
  37. unexplainable segfaults
  38. what's the correct behaver about this ( conversion operator )
  39. Space in directory line
  40. explain complex c declarations
  41. Removing/Increasing Stack Limit
  42. passing strings as pasams and returning them question
  43. passing strings as pasams and returning them question
  44. Replace an image in C using binary mode
  45. how to I check a string in "if" loops??
  46. how to I check a string in "if" loops??
  47. Using a template to 'new' a forward declared class
  48. Asyncronous UDP slows down
  49. some problem in C++
  50. some problem in C++
  51. how to use void
  52. pass by value
  53. using a new_handler
  54. Boolean variable thread safety in C++
  55. changing a character to integers
  56. Fatal error LNK1104: cannot open file "nafxcwd.lib"
  57. Extra few lines in my output
  58. cportlib error
  59. Ax=b Jacobi 100000x100000 sparse matrix
  60. sizeof()
  61. Allocating an array in a subroutine
  62. Embedded systems
  63. software requirement for c++ programming
  64. Using operator new in function call and what the expr evaluates to
  65. Deleting a node from a singly-linked list in C
  66. overloaded constructors and inheritence
  67. file access - design thoughts.
  68. Help with a custom control using images
  69. Singleton pseudo-random generator
  70. friend classes and functions
  71. The result of ++ is not an lvalue?
  72. C++ Syntax Confusion
  73. Hash function
  74. Problem overloading operator= in a class
  75. dynamic allocation
  76. need help on string array
  77. #ifdef __SunOS_5.10
  78. Frustrated. How do I use void display(char * str) in a header file?
  79. about static vector (of pointers) member function
  80. Hellow i need help
  81. Modify Date and time
  82. abt singleton classes
  83. Binary Search Tree
  84. c++ software guidance required
  85. how to Add textbox value into datagridview
  86. protected member
  87. PLEASE READ FIRST: Useful Links and Posting Guidelines
  88. gnuplot
  89. How do I write a programme to reverse the words in a sentence?
  90. Insert C code chunk in a big C++ program
  91. Insert C code chunk in a big C++ program
  92. sockaddr_storage : what is it? what is userfull for?
  93. How to get data between 2 delimiters using strtok
  94. teckchek c++ test
  95. Funny Error
  96. linux error
  97. Question about possible coding competitions
  98. Windows File Size
  99. Sort
  100. need help
  101. Getting a substring in C#
  102. Segmentation fault with array
  103. Spread the word about Saving Children
  104. Nested exception throwing
  105. 2D arrays of structs
  106. Help, cannot populate a list box when calling a thread function using AfxBeginThread
  107. Delete a node in a single link list that takes O(1) time
  108. Memory Leak/Profiling
  109. Process redirection
  110. rand() function generates same value when instantiating objects
  111. std::map and case insensitive search
  112. Use of memcpy() to transfer from memory to a variable
  113. Strings and reading from files
  114. File Read Progress Indicator
  115. bitfield diagram - interpretation welcomed!
  116. please check the problem here
  117. In need of program ideas. (C)
  118. Reading PODs Cross-Compiler
  119. Switch beetwen threads
  120. Lex/Yacc and multiple input files
  121. warning: assignment makes pointer from integer without a cast
  122. Accessing key and value from an Iterator
  123. bitwise on float
  124. Const memebr function behaviour.
  125. portability problem with a function returning a struct
  126. doubly link list formation
  127. Help finding memory usage
  128. a question related to void
  129. Clearing/resetting g++/ld linker path for each -l
  130. convert a string to long long
  131. Malloc
  132. Scope of constructor initialisation list
  133. Bug in MSVC ?
  134. comparison is always true due to limited range of data type BUT ITS NOT ALWAYS TRUE
  135. Pointer Questions
  136. reading the contents of a file in c++
  137. Is there something that I can do in C and not in C++?
  138. Make a text File
  139. Regarding fopen and chmod
  140. C in Linux
  141. WILDCARD: output all a* by searching a text file
  142. Better way of assigning memory
  143. program to find the dimensions of a circle
  144. How to compute eigenvalues and eigenvectors in C programming language?
  145. invoking C++ functions within C functions
  146. A question related to virtual function
  147. regarding reading and writting file
  148. if statement
  149. Type conversion function for user type again.
  150. Send email with c++
  151. operator overloading
  152. Equivalent to vector.reserve() in STL List?
  153. what does this error means "cannot call member function 'X' without object "
  154. How to put char by char from one string to enother?
  155. CScape, legacy code
  156. easy way to evaluate this array
  157. Convert char to int
  158. Error handling?
  159. Some theory
  160. Trying to use iostream in an open source project
  161. Struct in function
  162. Alignment of class
  163. Reviews requested: JPEG library
  164. basic question about "clearing" a string....
  165. g++ compiler error msg using templates
  166. malloc() and dinamic data question
  167. Clearing/resetting g++/ld linker path for each -l
  168. arrays linked lists trees graphs
  169. a good worthy project ??
  170. hi friends
  171. Odd behaviour with istream_iterator
  172. Is a class type using SFINAE
  173. checking a list for matching value
  174. Templates and generic programming?
  175. How to compare 2 directories?
  176. Bitwise Operations on double, float
  177. Clock() question
  178. urgent Opening of C#/C#.net
  179. How to wab for all chilren *processes* to return?
  180. How to wait for *all* children processes to return?
  181. calculate the inverse of a matrix
  182. Partial specialisation
  183. Where I can find a url decode algorithm
  184. Searching string for characters
  185. Segmentation fault
  186. 2Questions:The double semicolon and right way to store classes
  187. creating a temporary object using dynamically created object
  188. trying to spawn a process (say an exe file) with different user crendentials than that of the current user but getting 1314 error
  189. how to check if a pointer is unbound?
  190. BCL for native C++ - possible?
  191. Billion files in one directory (UNIX) ??
  192. How to create multiple files inside a folder in C?
  193. how to read differnet no. of lines from a file using c in linux?
  194. header file for template functions/classes
  195. How to tell a file is been close.
  196. convert c++ vector to java vector in jni
  197. Read csv files in C
  198. Can recursion cause segmentation fault?
  199. Personal Computers (PC's) contains a lot of info
  200. How to wait for *all* children to return ?
  201. Personal Computers (PC's) contains a lot of info
  202. Simple C++ databse connectivity example
  203. debugging memory location changes.
  204. (void*)(&abc) and (void *)(abc)
  205. output capture file format
  206. how to read data from excel using c
  207. remote connection using ftp
  208. Comparing Bits....
  209. regarding array
  210. fread/fwrite
  211. How to wait for *all* children to stop?
  212. Temporary & default c'tor
  213. Information
  214. passing array of strings as parameters in C
  215. fopen() in c returns null
  216. C++ memory loss (particularly lists of structs)
  217. Overoad operator<<
  218. Is how to lay out the constant string compiler dependent?
  219. How can I execute a system command in c++
  220. static and extern "C" function with the same name
  221. Query related to link list
  222. Scope of object variable in classes
  223. Display Arabic code using Unicode in C++
  224. Linux C/C++
  225. how to use own objects as elements of STL vector
  226. looking for patches to Borland C++ Development Suite 5.0
  227. looking for patches to Borland C++ Development Suite 5.0
  228. Function to sort list in ascending order
  229. how to increase the size of vector without deleting existing values
  230. Get Selected Text from other application
  231. Network Packet analyzer C/C++ code in Linux
  232. very simple question
  233. very simple question
  234. function returning reference to empty object
  235. MyLifeBrand
  236. Convert *.cpp to *.hex
  237. memory allocators & proper alignment...
  238. Reading outputs from the commandline
  239. Unintialized Pointer
  240. srand() & rand()
  241. Error while compiling a project file
  242. Problem with typename.
  243. Confused about friends in template class
  244. is this legal declaration/not correct output
  245. Error while compiling a project file
  246. While loop error in C++
  247. polynomials using a linked list
  248. Convert infinity to zero
  249. Problem with use of pointer
  250. read a text file backwards
  251. C programming in a mobile device environment
  252. Function declared before call but defined after - compilation fails
  253. Search and Replace in .txt file
  254. error compiling _w32_sharedptr_initialize
  255. Realloc
  256. GUI programming with Qt 4
  257. member access
  258. control flow or abstract syntax tree
  259. Overload operator
  260. Overloading template functions
  261. reborn ?
  262. Makefile
  263. find g++ library source code
  264. const vs const&
  265. define a konstant
  266. Restrict user to open same file instance
  267. exception and polymorphism problem
  268. code to capture images from camera
  269. Error: glibc detected and Invalid pointer
  270. pointer2function method in pthread_create
  271. Smart Pointers : auto_ptr and array
  272. strtok segfaults in CLI but not in GDB
  273. Can I use iterator in this way?
  274. Static Class in C++
  275. more string input confusion
  276. Type conversion function for user defined type...
  277. Composition vs. Inheritance
  278. Basic Stuff
  279. Run an exe through another C++ program
  280. print a semicolon without using a semicolon in the code?
  281. Error windows toggled with one or few breakpoints
  282. how can we create dead objects
  283. Read Input File (matrix) C++
  284. Start learning VC++ 2005
  285. format specifier
  286. Conversion from 32-bit to 64-bit OS
  287. source code tracer
  288. problems overloading << operator
  289. ld: 0711-317 ERROR: Undefined symbol
  290. shadowing a parameter c/c++
  291. Cipher Lab / Syntech
  292. Offline Tutorial
  293. subnormal floating point numbers
  294. subnormal floating point numbers
  295. adding numerical strings without converting them?
  296. C library package design
  297. singleton initialization
  298. output all a* by searching a text file
  299. How does strcpy function work
  300. Global variable
  301. Write a class to be used with cin/cout
  302. gcc: extraction of function prototypes
  303. store hex values in string
  304. Finding an element in a container
  305. need system error-code.
  306. Creating a DB SQL2000 Connection
  307. qualified name is not allowed
  308. try, catch , throw...
  309. difference between signed char and unsigned char in C
  310. static const int problem
  311. code a polymorphysim
  312. Problem with string declaration!
  313. How do you rotate Static Text using Visual C++ 6.0?
  314. write small c-parser (Lex-Yacc)
  315. question of double/ float
  316. Datatypes
  317. Matlab "textread" with skip function
  318. VC++ & Excel
  319. Problem with constructor overloading.
  320. Functional programming: its got what coders crave!
  321. Regarding #pragma
  322. class inher : private vector<option *>
  323. C++ (XSLT processor)
  324. show web page using wxURL
  325. Class wide object declaration question
  326. check for divisor equal to zero if when handling floats?
  327. Create and mount partitions
  328. How to check the memory usage in VC
  329. exception
  330. How to open a file and then read 1st line of that file
  331. maps to hold ultra large data sets using customer allocators to allocate disk space rather than main memory
  332. How to find out length of a physical drive
  333. scanf behaviour
  334. how to sort strings in c++ language
  335. pointer to function question
  336. Seeking tool to generate skeleton C++ code from header files
  337. Read data to double linked list in C
  338. Heterogeneous containers with CRTP
  339. Bitwise AND overloading and argument list
  340. Multiple template arguments
  341. Error : undefined reference to
  342. Compile-error with converted VC++ 2005 project
  343. transform into templates
  344. Compiling issues in Windows Vista with Turbo C
  345. Argument-Dependent Lookup
  346. Argument-Dependent Lookup
  347. Read Polylines in C
  348. Very confused,,,, divide in C
  349. BZip2 c++ error
  350. what's the design pattern of following codes?
  351. Drag and Dropping from MS outlook to a C# form
  352. Segmentation fault prob
  353. Query:api problems!
  354. Stringstreams Getline
  355. Question about mixed scalar type operation
  356. Question about mixed scalar type operation
  357. armstrong number
  358. how to compare string value in C (strcmp)
  359. Is there a default result?
  360. MS .NET VS C++ and Socket Class doing Raw IP ReceiveFrom
  361. #define
  362. trouble with globals
  363. Yet Another Software Challenge
  364. C project - solve for a 4 variable linear equation
  365. Q: Get x digits from int
  366. algorithm to find nth ugly number
  367. Default arguements in Template
  368. dynamic_cast problem
  369. Hash table
  370. How to use the "unsigned" representation of a number
  371. get the size of the Icon in VC++
  372. volatile variables
  373. a simple problem about using stl op text files
  374. typeid question
  375. output to printer code in C
  376. compiler error
  377. publicly/privately derived types
  378. copy construtor - when should it be used?
  379. aliasing a class
  380. Why is overloading operator. (member operator) forbidden?
  381. header file
  382. Help required
  383. STL linage problem
  384. Instantiating a Derived from a Base
  385. serialize function
  386. Dec2Bin conversion
  387. passing parameter in member declaration
  388. C++ Templates on MS VS C++
  389. hide/show window
  390. simple output input ....
  391. Overloading matching weirdness
  392. Using const references as local smart pointer?
  393. Error: printf statement should contain prototype
  394. Bogus cast from class to totally unrelated class works - why?
  395. What is wrong with this code?
  396. VISITING IT'S NEW
  397. Is the following hack legal at all?
  398. word count
  399. Database Error (HRESULT)
  400. get username as string (windows c++)
  401. IfThenElse template
  402. unions as function args
  403. C/C++ library to access a process's stdin and stdout?
  404. error: no match for 'operator=' in ...
  405. self deleting exe
  406. about mount func.
  407. Pointer arithmetics in 2D arrays
  408. create a dll from files
  409. I have a problem with allocating memory...
  410. gcd
  411. Function template type inference doesn't work with inheritance?
  412. check if disk is corrupt
  413. memory leak with localtime()?
  414. Variable over 2147483647?
  415. can anyone tell me why the letter grades aren't printing out on my program
  416. Optional method arguments
  417. MFC question
  418. Get folder size
  419. Problem Reading Bmp's ..
  420. FYI for all Bloodshed (Dev C++) users
  421. reading in file in C and storing the data
  422. How to specialize a function template correctly?
  423. funtions help
  424. help with c++
  425. a problem on fixed length allocator and data structures
  426. Open an Excell file using Workbook::Open
  427. C/C++ and MySQL
  428. Which function gets specialized?
  429. Handling Out of memory - Linux
  430. How I to do 3000x100 2d float matrix ?
  431. need a good idea for catch files deleted
  432. C Compiler and "Profile Guided Optimizations"
  433. How to write a paragraph explain the Big 3?
  434. Designing a class hierarchy with parents and children
  435. Synchronisation between class member and memory!
  436. frontend debugger?
  437. Floor() doesn't exist ??
  438. compile error aCC hpux
  439. problem with carraige return...
  440. UnUnderstandable typedef -- for me :-)
  441. What is the use of copy constructor
  442. atof(string)
  443. How can we get rid of the last element of a string in C
  444. questions about dynamic binding
  445. declarations for class dependencies
  446. vitual function
  447. about ++ operator
  448. Why does this dump core?
  449. Memory Allocation Problem, please help
  450. Trap representations producing Undefined Behavior
  451. need to push pop strings on a stack
  452. Specifying a defualt value for the parameters in a method
  453. Program help
  454. simple problem with delete []
  455. Array of Pointers and Freeing problem
  456. Array of Pointers and Freeing problem
  457. C or C++?
  458. question on c++ program using structs/classes
  459. bloodshed dev c++ compiler
  460. Question on precedence
  461. Dynamic multidimensional array, deallocation of pointer not malloced..
  462. initializing bitset with variable number of bits
  463. What's up with rounding in cmath?!
  464. pointer of pointer
  465. salut
  466. salut
  467. salut
  468. char[] to String^
  469. How to handle localtime() on old timestamps? Options
  470. #define versus a constant variable
  471. How to handle localtime() on old timestamps?
  472. how to determine users' connection status
  473. why is "this->" necessary sometimes?
  474. vsscanf()
  475. explain the code snippet
  476. Is this possible: map of references (map<string&, string&>)
  477. Linking vs8 c++ to FORTRAN static library
  478. URGENT
  479. Operation of STL vector
  480. 8 queen program question
  481. private constructor and new operator overloading.
  482. Problem with free()
  483. Templates vs overloaded functions?
  484. OPENSC COMPILATION: windows.h
  485. #include with "" or <>
  486. question about ifstream::read()
  487. cast exception
  488. Coin Counting Help
  489. Definition of 'memory free' with pointers
  490. a problem of 2D array...
  491. Difference between signal() and sigaction() function
  492. Efficiently reading a string from a specific point in a file
  493. strcpy help
  494. Using Vectors in classes - public access
  495. Debugging in Visual C++ 2005 Express.
  496. only first character is displated from string
  497. Path della dll in uso!
  498. How to convert std::wstring to const WCHAR*
  499. Set Output data in a file with Visual c++
  500. Paradox Language driver change
  501. how to insert a new line in a label, when the first line is imported from a dll file?
  502. copy constructor doubt
  503. Copy construtor
  504. Multidimensional arrays in C
  505. C++ library for SCADA project (Linux/Unix, Windows, OpenVMS)
  506. Line reader function
  507. scanf() quesion?
  508. large and sparse matrices
  509. save iterator as a DWORD
  510. Template array with pointers
  511. Need a computer
  512. Why construtors dont have return type?
  513. vector subscript out of range
  514. Generic container where type is known only at runtime
  515. wxDialog not displaying control
  516. how to pass a struct to a function
  517. how to op text file use stl string?
  518. Iterators
  519. C++ image Help
  520. help with DB2 prep and binding in C++ - static SQL
  521. Making Includes
  522. How Does One Discover the Full Path Name of the Current Directory?
  523. suggestions please
  524. "Virtual functions allow polymorphism on a single argument" ?
  525. Help: Problem with SDL code
  526. msvc and strdup?
  527. Generic programming
  528. Polymorph in Place
  529. WildCard
  530. Problem searching an array with String Compare
  531. OpenGL + C++ : 3D triangulation
  532. need help
  533. Mechanical Engineer with VC++ Skills
  534. .Net VC++ Java C++ Windows Internals Unix Internals
  535. .Net VC++ Java C++ Windows Internals Unix Internals
  536. Mechanical Engineer with VC++ Skills
  537. Neeeeeeed A Helpppppppp
  538. Why specify a virtual function in a derived class?
  539. Need Answer For my Question
  540. Creating .txt file
  541. Binary or text file
  542. Invoking a clr event from a non-clr library
  543. Tally9
  544. Self-reproducing program in Ken Thompson's Turing paper
  545. Please expplain this declaration
  546. Build error
  547. inline a function from a .s file?
  548. vector class string sort
  549. pointer error
  550. How to replace a string in #include define by using #DEFINE