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