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. code optimization
  2. Pointers to elements in a Double-Linkedlist
  3. _tfopen()
  4. memmove() Usage
  5. call copy constructor in "=" operator
  6. compile error " instantiated from here"
  7. compile error " instantiated from here"
  8. Program reading from the keyboard
  9. outporb problem
  10. Is there any code analyzer for c/c++ header file
  11. Double Linked List test
  12. Password without a file
  13. Using accumulate algorithm with a set of pairs
  14. Bytes Razor starts today at 6am
  15. Bytes Razor starts today at 6am
  16. template class compiling problem
  17. operator== for nested classes.
  18. problem with string::resize
  19. cast of ostream& to and from void*
  20. Semantics of unary minus
  21. Functions with varying number of arguments
  22. Basic Bit Operation Question.
  23. Basic Bit Operation Question.
  24. compile visual studio 6 project with intel C++ compiler from the command line
  25. Complex objects initialized at compile time
  26. program that return an address of multi dimensional array
  27. initilization of composite types
  28. sizeof help cont., ignore other post please
  29. sizeof help
  30. "Object-Oriented" C++?
  31. sizeof help
  32. office automation help please
  33. Destructor Question
  34. Answers to Accelerated C++
  35. problem opening a file
  36. What does the array do?
  37. cflow equiv. for c++ (on Unix)
  38. Help with error message.
  39. getchar() reading alphanumeric data
  40. placement new versus .. more
  41. Problem using locales
  42. Trying to figure a Banking Program
  43. Trying to figure a Banking Program
  44. Segmentation fault in STL iterator
  45. Random Numbers
  46. Forward-declaring classes from different namespaces
  47. Make a Makefile
  48. Passing binary file to function in C++
  49. playfunc.c:524: error: initializer element is not constant
  50. MS Visual Studio 2005 PRO - HTTP Download
  51. Bytes RAZOR
  52. how to write a program that takes arguments from commandline?
  53. URL encoder in c++
  54. Bytes RAZOR
  55. size_t and C90/C99
  56. Compile Errors
  57. cflow equiv. for c++ (on Unix)
  58. kernel hangs after "UNCOMPRESSING KERNEL OK BOOTING KERNEL"
  59. How do I use MS Word bookmarks and printing?
  60. MS Word Bookmarks and Printing
  61. Command Line Interface (CLI): your recommendations
  62. ManualDock
  63. Performance using member of
  64. Segmentation fault!
  65. invalid use of undefined type, .h file confusion
  66. implicite function call
  67. Unicode UTF-32 support in c++/stl/vc6?
  68. ctrl alt del
  69. How can I write highly optimized C code for reading and writing?
  70. Parallel Port Access
  71. A dllimport variable is accessed indirectly through a variable
  72. __declspec(dllimport)
  73. Little help please
  74. __declspec(dllimport)
  75. Shell program execution -yafray
  76. a great deal
  77. proper initialization
  78. Linker Error: Undefined symbol _closegraph in module GRAPHEX.cpp
  79. template specialization, nested?
  80. Windows/Linux optimization problem
  81. How can I instance such a class?
  82. Urgent Help: Multiple calls to JNI_CreateJavaVM
  83. Default initialization with dynamic allocation
  84. Which Callback implementation is better?
  85. outportb problem
  86. How do i set zero as a Integer?
  87. Catch bad_alloc?
  88. Using class initialization to initalize inherited attributes
  89. dao 3.6 in visual studio 6
  90. [Programmazione oggetti] inserimento in testa in una lista
  91. A question on malloc() and calloc()
  92. String pointers and string arrays
  93. sorting maps according to their value_type
  94. Debug exceptions
  95. Compiling in MSVC7
  96. windows hates signal?
  97. Function overriding
  98. asking for references
  99. Embedded Strings -- Arrays or pointers?
  100. C++ on Windows-XP
  101. how to search a table by any of the field
  102. conversion operator question
  103. How do I hash this ?
  104. Comparisons
  105. pointer concepts
  106. Can't dereference pointer to stack?
  107. Some hint requests for read_line variations
  108. How do I convert an int to binary form?
  109. why does the complier complain undeclare identifier even though i have included the header file?
  110. runtime error-gnu c compiler
  111. Why this code can't compile?
  112. efficiency of && vs. array
  113. about malloc and calloc
  114. return string from c++ to c
  115. Why the variablle's value is so weird
  116. Mental Abuse
  117. Places to declare variables
  118. Vector used inside class definition appears to become static
  119. C++ beginner Help
  120. Allocating space for array of pointers?
  121. Allocating space for array of pointers?
  122. What is the output of this program? and why?
  123. bitshift a large amount of data
  124. function vs. class partial specialization
  125. GUI kit with ref-counting
  126. How would you use qsort to sort on a string
  127. Code Review? memory management in C
  128. Run-Time Check Failure #n Question
  129. difference between compiling and linking...?
  130. returning an std:string pointer as a parameter
  131. text file indexing
  132. gethostbyname and timeouts
  133. stringstream str(), buffer overflows
  134. bmp->pgm
  135. &&
  136. Help with end-of-line string characters
  137. why int ** test :: iptr = & test :: i ; is incorrect?
  138. Modelling the real world
  139. restrict example - reasonable?
  140. Print Format
  141. UNIX : Full Form !!
  142. Passing char*
  143. scratch memory
  144. OK for compiler to not call function with constant return?
  145. Templated for-loop fantasy
  146. Output as SOURCE CODE itself !!
  147. About fork()
  148. ABC w/o virtual functions?
  149. Password changing using mutation strings
  150. Traversing the link list from end
  151. How to use htonl in IPv6
  152. what datatypes of key can be used in c++ maps?
  153. Determine equality of template parameters?
  154. discrete event simulation question
  155. How to encrypt and decrypt a C data at run time
  156. Sorting a double linked list
  157. static data member initialization
  158. how to convert string to double?
  159. Memory errors HELP!
  160. friendship and pImpl idiom
  161. Help with console problems
  162. Survey for Compiler usage
  163. Defining the fields of a structure at run-time
  164. Detecting binary files
  165. Compiler Directives Not Working
  166. Why foo and bar in every tutorial i read?
  167. why it is wrong?
  168. C++ help
  169. C++ help
  170. C++ help
  171. Store a char into an integer variable
  172. Unexpected results in matching a regex
  173. Byte ordering and array access
  174. std::set - sorting order specified?
  175. C++: Operator overload syntax error
  176. Help! About Profiling Problem
  177. Smallest "C" Program !!
  178. Bug in compiler?
  179. Need Help !!
  180. Undefined behaviour?
  181. Compilling allegro.h & windows.h
  182. error while "free"ing memory
  183. what's wrong?
  184. Compilation Problems on a AIX with XLC
  185. drawbacks of linux
  186. drawbacks of linux
  187. function pointers
  188. drawbacks of linux
  189. stdint
  190. get version of gcc from within the makefile
  191. Reverse Iteration
  192. lvalue error needs explanation
  193. programing with function pointers
  194. problems in file
  195. usb access
  196. usb access
  197. using member address of an unaligned structure
  198. 64 bit performance speedup over 32 bit
  199. 64 bit performance speedup over 32 bit
  200. fork implementation
  201. seekg Concerns On Fragmented File
  202. Style question: SetShutdown/GetShutdown .vs. SetShutdown() overridden
  203. communicating with every object of the class
  204. pre-ansi declarations
  205. Where can I find the ansi C source code of linux?
  206. random number in [0, 99]
  207. Vector and adding of object
  208. Pointer to array of structs?
  209. Can a static member func be a friend
  210. Q: portable way copy files using C on Unix an Windows -- dirent or similar
  211. hi
  212. union REGS donīt get DOS Version
  213. a question about a class and a list of the class.
  214. Validate IPv6 Address
  215. better way to read data?
  216. the time of the routine
  217. convert static final from java to c++
  218. opensource group
  219. can I re reference items in a map
  220. initializing a pointer?
  221. here is some problem in structures
  222. whats there in C that is not in C++ and VC++
  223. classes vs structs.
  224. warning: incompatible implicit declaration of built-in function 'malloc'??
  225. Unable to create *.dll
  226. operator += on short int values - strange compiler warning
  227. vector::iterator to a pointer casting
  228. code reuse and design reuse
  229. Comeau (working *.bat file)
  230. C++ Proofer
  231. comparing two structs .. revisited
  232. Great Job Board
  233. Great Job Board
  234. Overriding const member function with non-const
  235. is there a symbolic constant telling us we are using a C89 compiler?
  236. I need the math.h header file
  237. Sorting a list
  238. C++ Multiple Inheritance
  239. socket programming
  240. new & delete in CRT.How to get a efficitive memory allocator.
  241. parse comma delimited text string
  242. confused about pointer arithmetic
  243. Best Job Search Site...
  244. inline functions
  245. Class execution
  246. formated output excer (help)
  247. shift, signed unsigned
  248. Question about postfix ++ precedence
  249. how to read data?
  250. vectorstream analogous to std::stringstream
  251. Help debugging stack program
  252. string table in c?
  253. A c++ Program for Valentines day
  254. Usage of RAM related to C++ programming
  255. string table in c?
  256. Pointers for these pointers...?
  257. c++ to c
  258. Length of a string?
  259. about system call in driver
  260. about driver class
  261. Bigint library?
  262. online standard c++ library reference
  263. writing binary files to Sun workstation
  264. Short form of __FILE__
  265. undefined reference error
  266. stopping a boost::thread
  267. ridefinire bool
  268. How to declare function returning array of Integer pointers
  269. How to declare function returning array of Integer pointers
  270. Dynamic arrays help
  271. delete resouce of partial constructed object
  272. const string in the header file - solutions?
  273. preprocessor and parenthesis
  274. regarding core dump
  275. Reading in a variable number of integers with cin
  276. Shift portability
  277. Abridged FAQ Question
  278. basic c programming tutorial
  279. Why not add namespace feature into standard C?
  280. Calling new pointer twice?
  281. segmentation fault
  282. REQ: how to override 2 virtual functions with the same name and same parameter
  283. why standard files?
  284. Undefined reference to...
  285. What the use of (void)(a)?
  286. Implementing Chmod command using c
  287. Function declaring style
  288. Program Assistance
  289. I need a CFRONT C++ Compiler for MS-DOS/Windows to replace an Apollo Domain 2.1.0 compiler
  290. Function Pointers - design question.
  291. lvalue difference between static and non static member functions
  292. static opaque pointers?
  293. Beginning programmer... I need some help.
  294. Checking bits states
  295. variant template
  296. std::cout << x << " " << x++ << std::endl
  297. Trying to use rename(); correctly.
  298. Float to int type casting?
  299. Strange problem executing
  300. Compiling with GSL
  301. various way to delete pointer to pointer
  302. help with string to int
  303. C99 struct initialization (C99/gcc)
  304. where to inform about TR1/TR2 progress
  305. This Pointer is legal or not?
  306. fork()
  307. longjmp issue
  308. char* to string conversion
  309. how to encrypt a C data and write a bin file and read a bin at run time and decrypt C data
  310. Beginner help!
  311. REQUEST TO SOLVE MY PROBLEM IN VC++
  312. REQUEST TO SOLVE MY PROBLEM IN VC++
  313. REQUEST TO SOLVE MY PROBLEM IN VC++
  314. REQUEST TO SOLVE MY PROBLEM IN VC++
  315. REQUEST TO SOLVE MY PROBLEM IN VC++
  316. fork()
  317. Is this good code?
  318. string and pound symbol
  319. How can I cause the datetime to be the name of the output file.....
  320. simple question
  321. Template Member Functions of Template Classes
  322. trying to get a class to work
  323. Is this part of the standard?
  324. Behaviour of if and for loop without {}
  325. iterator problem
  326. iterator problem
  327. dynamic arrays (convert vector to array)
  328. Latest ANSI C++ proposal
  329. Cannot write 0 for pointer in a vector.
  330. Random access an element in a STL List
  331. Unix I/O and C library I/O, why there are two sets of I/O functions?
  332. get values from data file to integer variables..
  333. storing a map of inhomogeneous container types.
  334. WinXP: Ostream Operator Corrupting MFT(?)
  335. PostgreSQL - OTL programming readiness recipes
  336. Bugs in my code, help!!
  337. KDE FAQ states using static functions is better than putting themin an anonyous namespace
  338. Memory allocation problem
  339. request to solve my problem
  340. Duplicate removal
  341. request to solve my problem
  342. request to solve my problem
  343. clearing or capturing the screen
  344. Split the newsgroup.
  345. namespace and enum?
  346. Class / lib files
  347. Exception in Constructor
  348. Data statements in C++
  349. How to improve this code
  350. Protected Access
  351. implementation assistance
  352. Objects can't be passed by value
  353. Static Variables in C++
  354. Programar IP en DOS con C o C++
  355. Programar IP en DOS con C o C++
  356. Programar IP en DOS con C o C++
  357. TCP IP programming under DOS with C
  358. passing multiple-index array to function
  359. fopen and fclose?
  360. Programming IP with C++ under DOS
  361. Equation parsing
  362. finding slow parts in program
  363. c99 and popen()
  364. Encapsulation idiom
  365. Where to get gcc compiler?
  366. Reinterpret the bits of a float as unsigned long
  367. basic question
  368. concurrent distributed programming online resources?
  369. Straming video playback
  370. Basic/simple question regarding header file
  371. c problem
  372. STL lists as retrun value
  373. fwrite help needed
  374. How can I resume a download if the user gets disconnected (I am using CHTMLfile )?
  375. find digit length or the number of numbers in number ?
  376. communication - how?
  377. random number generators
  378. Order of construction
  379. curvature of a circle passing through three
  380. How to find number of array elements in a function argument.
  381. Converting C code to Assembly!
  382. reading a database file
  383. Doubt regarding returning const char*
  384. Sybase OC Library
  385. vector<bool>
  386. Program Help
  387. OT? My First Working Modification of C++ Example Code, under QT. :-D
  388. mem_fun_ref: parens in reference of function
  389. Checksum method determination
  390. 2d vector error
  391. Help converting malloc to new
  392. STL vectors..
  393. Parallel port command
  394. ofstream help needed
  395. floating point problems
  396. ASyncResult vs. IASyncResult
  397. What is the fastest way of getting the fraction part of a floating point?
  398. What is the fastest way of getting the fraction part of a floating point number?
  399. template specialization
  400. an enum and ntoh question
  401. CBitmap
  402. what is the better way to determine if a string is number or not?
  403. error checking by parsing thru a string
  404. Set operators
  405. How to disable preprocessor checks in BCC32
  406. Input Length
  407. source code commenting
  408. String Manipulation doubt
  409. pragmas with example
  410. virus
  411. Regarding UTF16
  412. virus
  413. Now a tricky one ;-)
  414. Static Table...
  415. Access to excel spread sheets
  416. structure padding
  417. Rotated Sorted List Search
  418. Simple reference counting.
  419. objects hierarchy problem
  420. accumulate() usage
  421. finding angle between two points
  422. Protecting Your Application
  423. Vector withing map: accessing values
  424. Template Specialization: when are extra template params required?
  425. Questions about const reference
  426. Dynamic object costuming
  427. generate
  428. how can c++ be slower than Perl?
  429. reading date and time
  430. Walking thru a STL list and remove element at the same time?
  431. what is the better way to do the mapping?
  432. catch(...) doesn't catch everything
  433. &*iterator
  434. DLLs - State of Play.
  435. random numbers
  436. Template specilization problems, howto work around
  437. executing program name
  438. Runtime Type Checking
  439. using .so file
  440. Apache C++ Standard Library 4.1.3 released
  441. Syntax for literal "s on Windows command line
  442. Safe conversion from floating real to integer (and vice versa)
  443. index vs iterator
  444. SetParent() on a control
  445. How to convert an integer into a string
  446. computing hexnumbers
  447. Traversing a 2D array
  448. Rotated Sorted list
  449. map/set and multithreading
  450. Question from the 2nd edition of "The C Programming Language"
  451. What is the Use Of Static Fuction.
  452. How to insert binary to memo
  453. ostream_iterator<wstring, wchar_t>(wcout,"\n"))
  454. changing the sorting behaviour of std::map
  455. Serial COM port driver
  456. How Globals is handle in C.
  457. Anonymous Uniouns
  458. binascii in C++
  459. is C compatible?
  460. Tokenizing a string using STRTOK() in g++
  461. C++ "packages"?
  462. Manipulating bits
  463. Reading a file that looks like this..
  464. Trouble with va_list processing
  465. Running system command
  466. Deleting a Polymorphic Class
  467. How to get pointer and offset from vector<bool>::iterator (or reference)
  468. Is C portable from PC to UNIX
  469. Convert an ip address to long value
  470. C style casts
  471. Initialization inside a class
  472. C99 conforming compilers
  473. storing arrays in cpp
  474. Manipulator for parsing quoted strings
  475. How to enforce execution order?
  476. Hardware
  477. Endian swaps with C++; comments please
  478. calling virtual destructors and virtual functions
  479. Find the Data Type of Variable
  480. Just curiosity about some constructs
  481. Design question
  482. g++ vs msvc++
  483. How to prevent a letter insert in a int var ?
  484. "Good" and "pricy" developement environment for c++
  485. tree container library, revisited
  486. Preventing delete
  487. hi
  488. Texinfo C code source reference (through doxygen) ?
  489. Operator overloading vs. class derivation/inheritance
  490. struct compatibility
  491. hii
  492. Trap representation
  493. Hi..
  494. What u mean by this statemnet ?.
  495. est
  496. test
  497. union
  498. Send receive using sockets
  499. Operator overloading - lhs, rhs?
  500. Operator overloading - lhs, rhs?
  501. Compile error
  502. restricting memory
  503. istringstream
  504. some last minute isues...
  505. ifstream read() loop
  506. Linux and c++
  507. Multiple Double Linked Lists
  508. Class Member Memory Allocation
  509. Read and write the same file
  510. Finding dupilcate entry in a STL
  511. compile detection of powf, etc
  512. ostringstream and write()
  513. Namespace and #Include best practises
  514. RoseRT to "clean c++"
  515. Help about windows programming with DLL
  516. Link errors
  517. operator overloading and virtual funtions
  518. Bad Reference?
  519. C++ Builder 6 - Controlling the main form
  520. linked list program in c++
  521. in-place functor comparison instead of std::binary_function
  522. Delete node from singly linked list when header is not known
  523. Function / Method in class
  524. Making C++ classes available for C
  525. avoiding code duplication w/ type lists
  526. Linking C programs...
  527. Linker errors on Template function definitions
  528. Working with 3D matrices
  529. Seg fault when delete a pointer to vector<int>
  530. loop thru a STL list causes an infinite loop
  531. IT tests. C, C++, XML, HTML, .NET, SQL...
  532. const and non-const variables
  533. gcc error for Name lookup. - Item 32 exception C++
  534. symbol reference error while linking the object files
  535. Timer, threads, exceptions
  536. STL remove compile error
  537. 1D array values into a 2D array
  538. qsort of malloc'ed structs
  539. CAN WE TYPE CAST AN INTEGER AS (VOID *)X..(Like can I return a value (void *)x)
  540. Is there any command like Pause or Nope in C++?
  541. reading lines from file
  542. Global Array with size for input
  543. break outside a loop and a switch
  544. checking and verifying input line in a C program
  545. [MFC] CDataExchange::Fail() fails
  546. which clustering algorithm to use
  547. File I/o questions
  548. Implementing
  549. help with string reverse
  550. Operator < in map template