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. Odd structure question reformulated
  2. where to find functions libariey
  3. about the #pragma
  4. about the #pragma
  5. How to concatinate 32bits of 4 bytes in a char array, and assigning to an int?
  6. Testing file deletion from under ostream object.
  7. opensolaris C library vs. GNU C Library
  8. Odd structure
  9. static method no locks
  10. association problem
  11. Conversions and casts
  12. Pointers to functions
  13. writing MyClass::Operator unsigned long()
  14. templated deletePointer in for_each algorithm
  15. define versus typedef
  16. assigiment problem
  17. Source Code for memcpy()
  18. writing GUI in C++
  19. sparse matrix class implementation
  20. const methodes and lazy calculation
  21. My Explode function(s) are too slow.
  22. conditional operator again
  23. C error : elements of array have incomplete type
  24. Any references on pattern matching?
  25. stdint.h vs. stdio.h
  26. wchar_t
  27. NEED HELP WITH A PROGRAM....ANYONE PLEASE HELP!
  28. string question
  29. How do I make my own custom C compiler?
  30. correct usage of pointers?
  31. A Question about delete..
  32. The Nature of the “Unix Philosophy”
  33. Dynamic multidimensional array using auto_ptr
  34. Coder wanted
  35. #define p
  36. The use of explicit with constructor
  37. Button class
  38. Not reading in what was written out...
  39. Passing "++a" to a function taking "int&"
  40. How to decide whether it is an English letter or a number?
  41. how do I tell whether the read is an English letter or a number
  42. Struct inside a struct, annonymous?
  43. type-punned pointers!?
  44. Searching the MSDN Win API
  45. best practices using STL <algorithm>
  46. vector memory cost
  47. Strange Question
  48. Sentenced to 66 years and 6 days
  49. Determine if a function has been overridden
  50. Recovering Default new/delete Operators
  51. Help is needed for C program compiled by C++
  52. segmentation error in vector<vector<long> >
  53. STL - delete current object in queue
  54. how to solve this problem?
  55. Streaming message box
  56. update object
  57. g++ 3.2.2 error - "no matching function for call to A::setResponse(std::wstring)"
  58. C/C++ calling convention
  59. (boolean_expression) ? statement;
  60. STL question - an array of sets
  61. nested conditional operator
  62. ArrayOps 2.0 released.
  63. How to get total heap size of a process
  64. how to pass the function 'endl' as a parameter?
  65. Use of bitwise operator for signed number
  66. portability problem
  67. OOP design problem with dynamic_cast
  68. returning reference of a member variable
  69. Three #include guards, which will never break?
  70. program exit, while trying to initialize a class
  71. filling vectors in the parameter list
  72. problem with porting custom app wizard from vc++ 6.0 to vc++7.1(.Net)
  73. exception problem: basic_string::_S_construct NULL not valid
  74. How to initialize a pointer in c++,
  75. compose2 (STL)
  76. How do you find out if a machine is 32 bit or 64 bit?
  77. Can't pass a callback function as a parameter to a DLL
  78. How to add two numbers without using the plus operator?
  79. Yet another pointer issue!!
  80. Segmentation fault if I dont use printf?
  81. Validating user input?
  82. Is this valid C?
  83. Valid C++?
  84. Template Help: Map<T, int> and Set<T>
  85. extern question
  86. extern question
  87. strstr and const problem
  88. What is polymorphism?
  89. stdext::hash_map
  90. "long double" and "printf"
  91. Converting negative integer to octal/hexadecimal
  92. Semi-defined Function arguments???
  93. Static function of some class as a friend of other class
  94. A simple question - how to convert from UTF8 to wide char (wchar_t) on linux
  95. choosing an object to create
  96. Problem about type promotion and equality operator.
  97. Problem about type promotion and equality operator.
  98. multiple inhiretance.
  99. What's next? Virtual wife?
  100. barbershop model
  101. covert time from date Hour min sec format to epoch time i.e time since 1 jan 1970 in C
  102. c++ Tricky / Interview
  103. preprocessor problem
  104. iostream hierarchy to support endianess
  105. memset 'this' in constructor?
  106. Event Viewer
  107. Struct assignment, historical question
  108. ANSI c++ development in .net
  109. ifstream not reading everything
  110. Q: STL priority_queue with boost shared_ptr
  111. map insert cause crash, please look
  112. name of running code
  113. help with a funcition-please
  114. Global Variables
  115. MYSQL question
  116. ihi = y[1]>y[2] ? (inhi=2,1) : (inhi=1,2);
  117. Forcing a keyword to be treated as function
  118. std::map and insert()
  119. conversion from '...' to non-scalar type '...' requested
  120. STL initialize iterator problem with compiler change
  121. Who define __cdecl, __stdcall, etc...
  122. tmpfile and freopen
  123. Feature Article in Better Software Magazine
  124. Feature Article in Better Software Magazine
  125. Is 'enum Colour : int { red, green, blue };' legal?
  126. Can u tell me the explanation reg this problem
  127. Can u tell me the explanation reg this problem
  128. #defining a comment
  129. pointer problem
  130. Whats wrong
  131. To use global variables or no????
  132. Masks: Why?
  133. template inherits from template passing its argument is not legal c++ ?
  134. How to make whole container to create in heap
  135. which c++ book i am not able to get Accelerated C++
  136. incompatible pointer type warning ?
  137. MultiFunctor implementation trouble
  138. spaces & special characters in C++
  139. sprintf causing segmantation fault
  140. incompatible types in assignment
  141. Disadvantages of Multiple Inheritance
  142. problem with <iostream>
  143. Connecting to the database and executing SP in C++
  144. how to use AGC(automatic gain control) in software??
  145. char math?
  146. r- r-value vs l-value?
  147. In-Memory Processing
  148. Linked List problem
  149. Typecast illegal from int to pointer?
  150. Problem of Compiling VTK5.0 with Qt Support in Win2000
  151. strcat help
  152. strcat Help
  153. strcat help
  154. a variable use of variables is what i'm after i think
  155. i want to have a friend!
  156. 如何用软件编程自动增益控制
  157. Program In C
  158. do static method get inherited ?
  159. how do i read odd numbered lines from a file
  160. how do i read odd numbered lines from a file
  161. ctype.h - macros or functions?
  162. how to call the destructor in the case of a endless loop?
  163. help in C/C++ to read .DOC & PDF files
  164. .h problem
  165. Loki Typelist
  166. The world's evilest code formatting style
  167. Attempted to read or write protected memory. C++ dll vs vb 2005
  168. Converting long int to hex with printf in TC 3.0
  169. MSc in Computer Science, at Bristol or UCL?
  170. replace bitfields with shifts and masks
  171. Arithmetic problem
  172. Typedef specializations
  173. wonder about constructors?
  174. Type definiton with structurs probem and fgets
  175. game design
  176. std::list::reverse_iterator not working right.
  177. Is this the correct way to do this template?
  178. Mutually dependent classes where both have only inline functions?
  179. template arguments / compile-time binding of int/float/double numbers
  180. detecting standard support
  181. odd behaviour of overloaded * operator
  182. vector iterators ...
  183. How to put in a multi-line string without quotes on each line?
  184. overloading the [] operator
  185. forward declarations in C
  186. shifts and masks
  187. Calling function exported in a dll..
  188. Problem with string
  189. Statically linked library causes segmentation violation upon C++ throw
  190. Socket communication on multihomed box
  191. unfamiliar syntax: class MyClass;
  192. cout core dump
  193. Problem with Generic Pointers
  194. address of class from within class method
  195. Inheritance question: best wrapper for copying base pointer?
  196. stl hash_map and user defined data type update
  197. string->int
  198. string->int
  199. ISO C 90 standard
  200. Ndis Coding
  201. malloc question again
  202. Multiplying two doubles
  203. object construction recognized as function declaration
  204. insure++
  205. What does this mean in C++ AType(Ptr)[index]
  206. loss of precision in doing file I/O
  207. template static data members
  208. try--catch inside do...while
  209. ignore please
  210. What is this
  211. "Appending" at beginning of file
  212. i need a c programm to implement an expression
  213. Drag and Drop onto console app
  214. New and improved binary class
  215. References question
  216. object of type int
  217. Please compile the attached c++ program for me
  218. Reusing variable argument list
  219. In C++, How do I insert a block of codes in the middle of my Main?
  220. Value Bits Vs Object Bits
  221. malloc questions
  222. Best way to set MSB
  223. Operator Overloading
  224. C++ HTML library
  225. C++ get time in milliseconds
  226. Question about random generator.
  227. how to parse an executable in C and find out if there is any return(RET in assembly) or not
  228. strcpy question
  229. Entry-Level IDE
  230. Why is this working?
  231. What is the problem with this???
  232. What is the problem with this???
  233. undefined reference error compiling demo program
  234. Good C++ XML library
  235. please help with mysterious error....
  236. Segmentation fault char array pointer
  237. constructing and initializing a scoped_array
  238. compile error in demo program
  239. Recover template type from non-template base class
  240. C++ Builder 6 - Getting a value from a DBGrid
  241. Problem with Heap Sort
  242. [Linux gcc] decode MIME RFC1522
  243. copy files in c++
  244. Problems mixing boost::lambda::bind and boost::shared_ptr..
  245. G++ 3.3.2 and Files over 2 gb
  246. Specifier extern
  247. How do I find a compiler that will compile a specific program?
  248. Can I pass addres of constant reference to a function in c++.
  249. OCX in C++
  250. applying a method to an array of objects.
  251. using namespace std;
  252. Is this template possible?
  253. What is best searching algorithm for URL
  254. C Style Strings
  255. STL set question
  256. dynamic array of objects
  257. Doubt on Templates
  258. how to prove 'roundup' arithmetic
  259. #include from #define macro???
  260. Named CTORs - symualting it by tempaltes?
  261. service me
  262. forcing c++ to use an overloaded method
  263. static initialization of array members?
  264. Returning iterator from template class
  265. Using a MS Visual C++ DLL in Borland C++ Builder
  266. C Pointer problem
  267. Hot links
  268. What's better C++????
  269. invalid enum values
  270. legality of forward declaration
  271. Pointer decrementation delivers wrong result
  272. Regarding released memory.
  273. Observer Design Pattern
  274. gnu optimization bug
  275. What's about the future of C++?
  276. Binary outout to std::cout
  277. regarding const modification
  278. Can you delete a pointer without newing it up? (modified version)
  279. malloc() implementation
  280. Can you delete a pointer without newing it up?
  281. CORBA ORB for Linux and C#.NET CORBA ORB
  282. -Bstatic flag
  283. bibliography
  284. Writing a custom libc
  285. why is operator<< not found
  286. how to install vc6 without java vm?
  287. Can we override [][] ?
  288. vector.resize() taking a short time on AMD, a long time on Intel
  289. casting X* to char*
  290. std::binary(n)
  291. namespace trouble
  292. Simplicity has a future
  293. Problem while installing a linux-library
  294. traffic counter in linux or bsd
  295. Dynamic polymorphism vs. Static polymorphism
  296. VC++ keybd_event and VK_SHIFT problem
  297. Help is need immidiately
  298. problem with MMTimer [maybe OT]
  299. Problem with find for string objects
  300. deferring member object instantiation to constructor
  301. Help with Naming Conventions
  302. pointer to pointer
  303. how write a final method in c++ like java ..
  304. problem with size of
  305. output from program - why?
  306. Really easy cygwin / gcc question
  307. How do i view files of a directory?
  308. C++ construct on AIX
  309. pointer to a class?
  310. question about constructor grammar..
  311. Initialisation of reference vs. initialisation of reference member
  312. Modifying the value of key of a map.
  313. convert std:string to LPCTSTR
  314. LL help
  315. error 'unnamed fields'
  316. Bump map in 2D terrain
  317. Need help ... tnx
  318. scope q
  319. What is the purpose of the construct ``if (m <<= 0)'' ?
  320. increment pointer
  321. increment pointer
  322. UNIX libraries in windows
  323. floor of log(k)/log(b)
  324. slightly interresting derrived class problem
  325. C style , one argument, recursive, string reverse
  326. Problem instatiating a template container
  327. illegal explicit template specialization
  328. Working with strings
  329. namespace convention confusion ?
  330. Operator Overloading
  331. PLease help me.Wots the problem with following code....?
  332. a set of N classes?
  333. constructor throw problem
  334. PLease help me.Wots the problem with following code....?
  335. Can list container contain an vector object, such as list< vector<string> >??
  336. memory allocation
  337. DOS using C
  338. applying C preprocessor partially
  339. Converting char to int.
  340. Storing variable arguments for future use in C?
  341. Storing variable arguments for future use in C++?
  342. Diffrence
  343. Difficulty
  344. Modulus with double variables
  345. Style Question: erasing map element in for loop
  346. why does this pointer work?
  347. pointers
  348. linked list - struct problem
  349. Reall biginner
  350. verify inline function
  351. How can we perfom multiplication programatically without using + or * operator.
  352. String Handling
  353. Generalized Loops
  354. Writing <lf> verbatim to file opened in text mode
  355. Hiding a file
  356. Virtual function behaviour
  357. C++ : protections and freedom...
  358. Deleting a pointer...
  359. printf("%s\n", __FILE__); /* why SIGSEGV? */
  360. delete vs delete[]
  361. Work around for the array of references issue
  362. template argument deduction
  363. Me again with same problem.
  364. Help with threads
  365. Fun with const
  366. Limit of a sequence
  367. Is it UB once it's an L-value?
  368. Is it fine??
  369. pointer to function as template parameter
  370. over loading new and delete question
  371. Bit fiddling
  372. Bit fiddling
  373. Load image from internet
  374. Error C3440 on overloaded operator []
  375. Does anyone has already seen a non mutable String based on std::string
  376. "We don't need no steenking headers!"
  377. Subclassing compile error
  378. pointer-to-pointer to char
  379. strange problem
  380. precision problem
  381. Fibonacci Program
  382. vector<vector<double> > & segmentation fault
  383. Near a solution
  384. must iterator be bound to owner/source?
  385. class templates with pointers to each other in seperate header files
  386. 'Looping' an std::list
  387. String Buffers?
  388. Stuck with Bresenham drawing line algorithm!
  389. SYNTAX AND SEMANTICS
  390. SYNTAX AND SEMANTICS
  391. input of a string
  392. strange behaviour
  393. efficient code to do left shit on 64-bit values
  394. need help on coding grammar about reference / pointer /instance.
  395. use same library, other result currupt..
  396. What does the initialization of a reference object do?
  397. need a date look here
  398. x=(x=5,11)
  399. defines and structure instantiation
  400. constant expression with float type
  401. Data initialization (is this correct?)
  402. Sorting Multidimensional Array
  403. Linkage errors
  404. Implementing ORDER BY clause in c++
  405. Variable of type DOUBLE converts number strangely.
  406. Arrays issue
  407. Question about odd syntax: char* c = {"Text"};
  408. Taking a test for a job
  409. Structure through sendto()
  410. VC++ 5.0 runs this different then VC++2003
  411. export/import C++ managed classes
  412. vector of stringstream*
  413. Reference Errors with vectors
  414. Router [speedtouch585]
  415. busco programador c++ senior
  416. Critic of the given code.
  417. paxCompiler for scripting C++ applications
  418. Dev-C++ Error: "In file included from..."
  419. Probably an easy one for you but pls check
  420. Need experts suggestion
  421. Style: preferring parentheses to '=' for initialization?
  422. How delete works!
  423. signal for kill -9
  424. Sequence points.
  425. unexpected unique_copy constness issue
  426. illegal friend templates?
  427. fprintf(fp,Count); gives C2664 error
  428. Static Map
  429. New Software Organization
  430. Right shift >> weird result... Why?
  431. Asignments and different signness of the variables
  432. C++ Parser Web Service
  433. Struct alignment
  434. What is the linkage of a namespace scope typedef?
  435. Return key not displaying
  436. removing a printf statement from my program causes it to crash!?
  437. Multiple inheritance ambiguity
  438. sscanf error
  439. Always making members private/protected?
  440. 8 bit character string to 16 bit character string
  441. virtual mechanism acivation
  442. Template Confusion: Short Code I promise!
  443. using find_if/binary_function
  444. Data Manipulation
  445. structure
  446. data structures please help which book ?
  447. Deploy ActiveX component in Internet Explorer
  448. implicit_cast isn't possible... is it?
  449. IPropertyBag
  450. IOstream reference - source code?
  451. custom streambuf - not working with >> but works with << and .get()
  452. std::max_element real value complex sequence
  453. Guidelines to using Libraries
  454. Help required on getting data from database to cursor and sending to structure.
  455. Can a name of a object be name of any other class?
  456. In Dev-C++, how can I make a rounding to nearest integer?
  457. Class and Struct
  458. Problem with include header file
  459. Gethostname, `FindAtomA' could not be found
  460. Gethostname, `FindAtomA' could not be found
  461. Tree generation & minimax
  462. Warning comes when using Unions
  463. pointer and reference confusion
  464. about design consideration of strcpy()
  465. Has anyone tried something like this to speed up programs?
  466. Extracting keys and values in a map.
  467. set inside a map
  468. Question Regarding Pointers
  469. +0.3 microsecond delay for iterating empty vectors
  470. +3.0 microsecond for iterating empty vectors
  471. about c_str()
  472. Converting C to C++
  473. String comparison?
  474. help dev c++
  475. map of valarray
  476. map of valarray
  477. alphabet q
  478. problem with functions
  479. What is wrong with the code
  480. IOStream file overwriting
  481. Multi-posting clc++ and clc++m (was: Multiply inherit from classes with conflicting function names)
  482. single-quoting a macro argument
  483. reading multiple files
  484. output of client thread
  485. varargs etc.
  486. Using the cURL executable..
  487. Breaking strings apart
  488. static_cast and virtual base classes
  489. Specialize a template based on the existance of a member function
  490. form c# to c++
  491. hi hope u dont mined
  492. Dev-C++ Error Help
  493. Generic Sort
  494. What this mean? Compiler output
  495. Null pointer to cout
  496. OOD and C++
  497. Const array initialization problem
  498. why can't we use static type as structure member?
  499. DEVCPP + rewind(stdin)
  500. Local structs
  501. About sleep() in child process
  502. [COSPA-EU] Documents on Migrations to Open Source available by the COSPA Consortium
  503. How to create a format string used by eg sscanf
  504. still problem of organize file
  505. .mat file, malloc: Having some problems
  506. inexplicable System.NullReferenceException when using stl vector
  507. deleting rows or columns in GSL matrices
  508. Interview with Stroustrup, Leaked.
  509. Make ArrayList in Unmanaged C++
  510. cast constant vs. construct temporary
  511. how to separate a class code to different files?
  512. Virtual function
  513. is it a good style to make a function return the referrence of one of its input parameters?
  514. Is there a Freeware version of C++ compiler
  515. Is there a Freeware version of C++ compiler
  516. Weird?
  517. C++ shines in what application domains?
  518. Pointer to an array
  519. NIS Service on Solaris
  520. Design question on wrapping a logging library
  521. Need help regarding accessing structure elements using pointer to array of structures
  522. How do I access an AST of parsed C++ code?
  523. std:string assignments
  524. waveInOpen Code Help
  525. GTK Libraries in WIndows
  526. fork call
  527. Polymorphism via Inheritance not working as planned
  528. Blend Blit bug
  529. map ordering
  530. Seeking advice on crash in __tcf_0
  531. help please
  532. gcc err : undefined reference to ?
  533. ifstream.get truncaing file
  534. pointer argument trouble
  535. how to output the wchar_t type string
  536. General rules on interface (function) design
  537. Borland C++ 5.5.1, Uresolved External
  538. pointers to function
  539. automatic linking of MFC problem
  540. automatic linking of MFC problem
  541. WHERE can I get the `ANSI C89 specification' related?
  542. Compiled C vs C++
  543. class acces scope weirdness
  544. Linked List Problem
  545. how dodgy are these examples of char array use
  546. aggregate initialisation
  547. gcc and command line symbols
  548. allocate a multidimensional array dynamically
  549. Wat is wrong wif this very short code?? Please help
  550. comma expression