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. cplusplus help w/comparing strings
  2. Program help
  3. Help me with this program
  4. vector of pure virtual base class
  5. qsort wiht struct and pointers
  6. Merge File without copies
  7. How to start a program using another program?
  8. GDB, I know, I know, off topic
  9. Save to file after sorting
  10. problem with linking errors in C++
  11. Loading MFC dll from C# using VS2005 when copy to another computer
  12. Program Showing its Source Code!!!
  13. \' issue
  14. wide character
  15. Pure Virtual Constructor
  16. catch(Exception* e){ throw;} generate error
  17. Getting Linking error in Visual C++
  18. To store each digit from a number into successive array location
  19. fwrite()
  20. Row-wise vs. column-wise image processing
  21. Row-wise vs. column-wise image processing
  22. Exception handling
  23. How can I erase() using a reverse iterator?
  24. problems with pointers
  25. How to provide authentication information using DAO classes??
  26. Accessing the Clipboard and Overriding CPU listeners
  27. How to profile C++ programs in Linux
  28. Using class functions as a struct object
  29. Question about cast
  30. The meaning of the ARM Instruction ldmcsia
  31. TRACE in VC++
  32. CObList SetAt method problem....
  33. Incompatible types in assignment
  34. Member types used as function definition parameters
  35. Looking for advice on how to deal with array of structs
  36. error LNK2001: unresolved external symbol DllCanUnloadNow
  37. couldn't open include file
  38. How do I return early from a void function?
  39. first chance exception and invalid heap signature at <memory address>
  40. error: parse error before 's'
  41. i need hel, changing the registry of the cpu
  42. if(x.size() != s) x.resize(s);
  43. Read the memory from both C program and C++ program simultaneously
  44. Use the memory created by C++ from C program
  45. Multiply float by -1: fast or slow?
  46. "initializer element is not constant"
  47. Creating an excel chart using Visual Studios C#
  48. Merge File without copies
  49. exiting debug process
  50. MFC application crash
  51. Windows application crashing on a single machine
  52. Windows application crashing on a single machine
  53. Windows application crashing on a single machine
  54. Basic questions about C
  55. printf
  56. Help!!!! with my assingment
  57. please help me with this trouble
  58. What is the benefit of putting a class definition in a header file.
  59. eagerly waiting for banfas next tutorial
  60. Need help in loop printing
  61. Memory deallocation issues with ostringstream
  62. checking if pointer is NULL allowed?
  63. structure problem
  64. Setting String(with special chars) in WString (C++)
  65. Help - Need code example
  66. weird problem
  67. Help With Simple Program...
  68. Rounding/truncating numbers across Windows, Linux, Solaris
  69. Converting WHILE LOOP into FUNCTIONS
  70. Whats the meaning of this code
  71. Nodes and Linked List
  72. Performance Analysis
  73. New to C/C++ programming I have an ARRAY question. any Help?
  74. Questions about Unicode
  75. The blog on Pc trouble shooting skills,Networking,Linux
  76. c++ assignment
  77. Bitwise 2K7 - An Algorithm Intensive Time Constrained Online Programming Competition.
  78. "some_type* p_some_type = new some_type [0]" legal?
  79. expression eval question
  80. Colon initialiser?
  81. what is 0xFFFFFFF ?
  82. Insert a number into a linked list in ascending order
  83. friends of multiple templates
  84. Variable Scope
  85. std::complex<long double> division
  86. response.redirect to specific lines
  87. regarding header files Windows.h and process.h
  88. regarding header files Windows.h and process.h
  89. ISO C++ forbids declaration of 'Rectangle' with no type
  90. what can be optimized?
  91. specialize template member function of a template class
  92. sprintf into newly mallocated memory block
  93. Another Question
  94. deleteing base class after dynamic cast
  95. everytime I read this it make me mad
  96. tokezing a string
  97. Bugs in an is_prime() implementation
  98. string parsing
  99. The clc wiki
  100. build a 64 bit executable with gcc
  101. build a 64 bit executable with gcc
  102. generating random bits using _bios_serialcom
  103. extern int pthread_mutex_init (pthread_mutex_t *__restrict __mutex,__const pthread_mutexattr_t *__restrict__mutex_attr) __THROW;
  104. Looking for some help, problems with C++ Dlls (Using Visual Studio C++ 6.0)
  105. going from c to c++
  106. compare string and "" string literal
  107. Program that runs "over" half-life (windows + ui)
  108. Decimal to Roman Numerals
  109. digits to words
  110. Thrown exception doesn't get caught where it "should."
  111. user defining number
  112. Extracting Images from RTF documents
  113. using std::max
  114. What's wrong with this server code ?? Cant read incoming data
  115. Need Help in getting Referrals for some up and coming star performers in Embedded Programming
  116. A problem with an array of unknown size.
  117. cin.get loop help
  118. Memmove v/s Linked list Implementation
  119. iterator for derived class of std::vector
  120. Form on second monitor
  121. vector <Base *> = vector <Derived *> ??
  122. lex/yacc with c++...... HELP!!!
  123. about atoi
  124. Gaussian smoothing using rlft3 (numerical recipes)
  125. File
  126. What are pointers?
  127. The blog on Pc trouble shooting skills,Networking,Linux
  128. Check if program finished to read a whole file
  129. Can we use % operator for double type?
  130. fgets() problem
  131. KO mafia CFR ILLUMINATI ! Global Democracy TRIVOLUZIONE ARTSENU COLD FUSION W post OPEC
  132. KO mafia CFR ILLUMINATI ! Global Democracy TRIVOLUZIONE ARTSENU COLD FUSION W post OPEC
  133. Question
  134. Need Help in VC++
  135. why doesn't my while loop finish?
  136. Function returning pointer to itself
  137. How to upload an Image file to a webserver using C for CGI scripting.?
  138. how to distinguish what is the encoding style of the text?
  139. Gcc misunderstanding vector<const T>??
  140. c program
  141. overload new and delete with memalign or malloc
  142. use of #Pragma
  143. Just a tiny question.
  144. C source migration to CPP
  145. Question on usage of functional object.
  146. Question on usage of functional object.
  147. diffrence b/w c and c++
  148. How can cin.get() != EOF work on Mac OS X (like on SunOS) ?
  149. Need Help in C or C++
  150. virtual base class and vtable
  151. heap allocation by the OS
  152. String concat using Recursion
  153. can u help me , what the output will be
  154. reading lines from a text file
  155. Force std::size_t to use __uint64
  156. Encode-Decode Sting
  157. work related dig regarding separation of definitions and implementations
  158. Force std::size_t to use UInt64 (unsigned long)
  159. need virtual behavior for friend operator<<()
  160. Boost::uBLAS::mapped_matrix max size too small. typedef size_t ulong
  161. what is an opaque_type?
  162. Usefulness of %hd in printf
  163. Structures and Linked Lists (hopefully a really stupid question)
  164. Convert time represented as a string to seconds
  165. destructor and file descriptors
  166. Need help with loops
  167. # operator
  168. Help about compile with st20cc.exe
  169. Printing in GDI+
  170. Convert binary string to float
  171. Any suggestion on graphics package in C++ for creating montecarlo simulation!!
  172. Sending data through a USB port
  173. Mergesort algorithm for linked lists
  174. Program Solaris driver for parallel port SmartMedia card reader?
  175. creating file with permissions in c++
  176. creating files fwith read & write permissions
  177. Bisection method in C++
  178. Accessing a NULL pointer
  179. c problem
  180. how to post an xml using vc++
  181. repeated readings
  182. Sample code won't compile
  183. the question is about do while loop in c programming
  184. Can I use the map-constructor in a clever way and get rid of this function?
  185. mixing unmanaged and managed c++ code
  186. Deleting STL list entry - are all iterators invalidated?
  187. C Code For Automatic Lightning Controller
  188. Shifting unsigned long long values by 64 bits
  189. Map comparison between key value pairs
  190. Deleting an entry from Map Data structure
  191. Forward declaration and embedded classes
  192. Initialising Variables
  193. free()
  194. How to set bits 4-7 without changing bits 0-3
  195. TO find whether MSB of a unsigned int/char is ZERO or ONE
  196. if (--n==n)
  197. Another silly question: array with vars
  198. What is the input range of (x >> 8) before overflow kicks in?
  199. c program
  200. struct memory padding
  201. c program
  202. Problem with bitset!!!
  203. download "The C Programming Language" K&R
  204. boost::regex_replace compiler error
  205. problem with scope!!
  206. Good morning...
  207. Advice
  208. Help: how to read data file seperated by comma
  209. why could I not write static time_t current_time = time(); in c program?
  210. Bisection method in C++
  211. ifstream buffer size conversion from size_t to std::streamsize --> Is this OK?
  212. how to call this .sh script in my C cgi script?
  213. Class
  214. Global var in Balance calculation
  215. std::list of template class
  216. DirectX 9 - problem with sprites
  217. mprotect
  218. This problem is really bugging me
  219. prime number generator
  220. What is this?
  221. conversion to binary in printf()
  222. doubt
  223. MENU DRIVEN PROGRAM To select a file in C or C++
  224. OOps!
  225. Turbo c++ editor
  226. problems when enabling nonblocking i/o in udp socket
  227. Solve this question
  228. (0x41u*0x201)&0x7FFF undefined?
  229. use of VOID
  230. File Locking
  231. if / || question
  232. double array pointer modification
  233. Bitwise arithmetic
  234. casting ostream
  235. The Art of Counting TIME
  236. qsort() and std::vector
  237. using std::map in a template class, getting LNK2019 link error when creating an object from this template class
  238. include file hidsdi.h
  239. Give color and sound
  240. Preventing multiple instantiations of a templated function
  241. printf
  242. How To Code Inverse Of A Square Matrix In C
  243. snprintf() return value
  244. "error C2057: expected constant expression", "error C2466: cannot allocate an array of constant size 0". Why doesn't my simple program work???
  245. smart pointer
  246. Programming resources
  247. how to compile and run C++ program in red hat linux
  248. building linklist in java
  249. Help on calculate time taken to execute a function!!
  250. data from a csv file
  251. How to specify a non-null pointer argument in C
  252. I have no programming experience. Would you recommend C?
  253. is &(vector[0]) always valid?
  254. First glance at Design Patterns
  255. can you take a look at this code for me plz?
  256. this pointer
  257. Having trouble with a recursion program - Wff 'n Proof
  258. is it text file?
  259. How to see the results
  260. compilers
  261. Need some help!
  262. how to initialize std::vector?
  263. Choose template return type?
  264. Exceptions
  265. Take a break!!
  266. peugeot.html
  267. Free
  268. true/false statements
  269. Helppp
  270. copy constructor: initialize the base
  271. addition/substraction of pointers while passing to a function
  272. Locales
  273. File i/o issues
  274. Simulating Classes in C Using Structs
  275. Learn the C++
  276. casting from a string object (doing like Class.forName in java)
  277. What's the Cost of a Try Block
  278. Value output by a map
  279. getch() and ungetch() ?
  280. Implementing template
  281. What does this line of code mean?
  282. How to pass map as default parameter to a function
  283. getch() and some more!!
  284. initialization on a struct member fails
  285. Starting Multitasking with out threads in C
  286. Are c++ features a subset of java features?
  287. iterator
  288. Enums without identifier, enums and typedef
  289. A program to test efficiency of emulated FPU
  290. Please dont look at here ,only a test ,no question,no help
  291. Please dont look at here ,only a test
  292. Polymorphism
  293. lang c++
  294. About virtual destructor
  295. C++ syntax, "MyClass m;" versus "MyClass m();"
  296. A problem with polymorphism
  297. std:map insert question
  298. Problem with strlen() returning void - need help
  299. Sprintf memory leak ?
  300. Navigating Classes in a Tree Structure?
  301. Division by 7 without using the divide operator
  302. C# - Please help: Url detection stopped working suddenly
  303. How to prevent circular #include
  304. how to work with excel files and c++
  305. cout or fopen
  306. Final call for papers
  307. Final call for papers
  308. Few questinos
  309. Criticisms?
  310. Uploading a Image File using C
  311. One line...parse error? New programmer needs help please!
  312. solution for keyword "uuidof" of g++ ?
  313. How to disable some base class method?
  314. Memory Leaks Help (valgrind report)
  315. User defined data type.
  316. STL: Scalar increment inside insert() - bad?
  317. a bug in g++ std::map implementation?
  318. copy constructor
  319. Very beautiful
  320. beautiful
  321. Lastic local variable
  322. including c headers in c++ (NOT the one in FAQ)
  323. Small question! Why doesn't this print what I want it to print!
  324. Where to find a C++ hash code function for text files ?
  325. DLL Returning char *
  326. including c headers in c++
  327. set cookie using c language
  328. Very New to C++ and need help
  329. any ideas for a c++ presentation?
  330. Good shareware compiler for C?
  331. logarithmic interpolation
  332. remotely legal?
  333. logarithmic interpolation
  334. ostream_iterator
  335. need help declaring multiple variables
  336. fprintf
  337. Clear/ Re-paint / Invalidate function?
  338. Crc16 on power failure
  339. does `C o1(C());' declare a function
  340. passing pointer to function - modify in different function not working
  341. Macro that test BCDness evaluating its argument only once
  342. Casts that look like function calls?
  343. Can someone look through this code for me?
  344. comma before ?:
  345. baseclass enforcing one of two methods
  346. problem with timer.
  347. recursions in functions
  348. Fuzzy Union in C++
  349. c questions
  350. implement an xml parser using state pattern
  351. implement an xml parser using state pattern
  352. statically compiling
  353. how to 'group' an array by STL ?
  354. a question about using magick share lib
  355. a question about using magick share lib
  356. splitting a vector into two parts
  357. counting consequitive zeroes from LSB(bitwise operations)
  358. How to open a file using openfile() method...
  359. std9bad_alloc
  360. How Can I init array m_obj in class MyContainer?
  361. How to use SaveToFile() in C++?
  362. fscanf and pointer address question
  363. 1, 2, 3, 5, 7... PRIME Numbers
  364. 1, 2, 3, 5, 7... PRIME Numbers
  365. Vector element erase cause SIGSEGV
  366. a vector to a class
  367. How to stop cmd from closing after running the program.
  368. Memory leaks in STL
  369. questions about link
  370. "missing storage-class..." and "missing ';'... "
  371. How to measure performance in C++
  372. What is the .c file for?
  373. Very beautiful
  374. C++ application which crashes in dynamic_cast
  375. i need help in writing a power function..
  376. Why are there no static virtual functions?
  377. Embedded project
  378. Randomize..
  379. plz help with a rounding program..
  380. Connecting File Streams
  381. Check Access permissions of Directory?
  382. How to control a process execution?
  383. how to find the length of the hypotenuse?
  384. How to control a process execution?
  385. help with a floor program
  386. warning: comparison between pointer and integer
  387. How can MIN macro without :? be written?
  388. Simulating a queue model
  389. Hi! A petty doubt before geeks!!
  390. Palindromes
  391. mine sweeper game simple coding in c++
  392. Code being skipped
  393. Write accents in C.
  394. Abstract base class with pure virtual functions
  395. How do we write odd function in an if-else statement
  396. test
  397. ifstream create new file
  398. long type in solaris
  399. Handling exceptions in gtkmm
  400. C++ ics calendar file parser
  401. SOAP web server
  402. Hooking up a GUI to a console application
  403. Default buttons in Borland workshop
  404. What does this mean?
  405. Software project....
  406. Segmentation faults on "new"
  407. std::reverse_copy() woes
  408. How to SetBits 0-4 in a byte using C language
  409. Edit boxes and static text on a click button
  410. Tsr
  411. make a pipe perl2C
  412. Segfault during a call to fopen
  413. File Help
  414. Help with my lab! data from file into arrays.
  415. Exception Handling in c++
  416. memory leak, valgrind...help plz!
  417. std null stream ?
  418. To execute shell script from within a process
  419. Function Definition
  420. OID in snmp will support multiple values or not
  421. HELP with while loop
  422. ranges of unsigned int/long
  423. does rtti of gcc support "get object by name at runtime" ?
  424. Compile C program in Visual Studio 2005
  425. Counting poker hands
  426. Problem with C++ Vector
  427. About rand()
  428. Life is Different here, sky has no limit but you must grip it with this website
  429. Illegal double increment operation???
  430. Very beautiful
  431. Very beautiful
  432. Not C++
  433. VxWorks socket class
  434. static data structs in win32 DLL, hex editor
  435. What is the relationship, if any, between iostream and the STL
  436. display a html file
  437. Simple C++ that just fails to do what it is supposed to
  438. Strings inside arrays
  439. piping to c
  440. Info on C++ courses
  441. C++ courses
  442. Read in enum types
  443. difference between int and long
  444. fantastic
  445. fantastic
  446. fantastic
  447. new
  448. Is it better idea to do resize of vector before calling push_back?
  449. sprintf
  450. process management
  451. How the stack grows
  452. hello,everyone
  453. Validity of several ++operators on the same line
  454. Reformulating a macro to use argument just once
  455. Reformulating a macro to use argument just once
  456. context in template point of instantiation (g++)
  457. create a COM object which supports threading
  458. Asynchronous Sockets in C++?
  459. #define increases compile time significantly
  460. A command line C++ code generator, which makes Unix/Linux C++ development faster.
  461. Integer part of double
  462. how do you add three numbers then average the same three numbers?
  463. FindWindow(...)
  464. HEEELLLPPP socket programing instant messaging
  465. Need help on Looping Statement (C++)
  466. how to use string.h to check for vowels and consonants
  467. Beyond LOC
  468. RegisterClass fails the 2nd time it is called
  469. Getting at optional arguments
  470. An implementation where sizeof(short int) does not divide sizeof(int)
  471. Integer promotion, relational operators, and unequal integer ranks.
  472. Moving class declaration from .cpp file to .h file
  473. returning a char table (C)
  474. Possible to use Codewarrior 7 to program under WinXT?
  475. Process::Start problem
  476. Reusing tests in cppUnit
  477. Learning about wrappers, DLL etc.
  478. SIMPLE PROGRAMME IN C/C++/J
  479. Is this code standard ?
  480. Adding Random Numbers help
  481. Do any good C++ code reformatters exist?
  482. freebsd to ubuntu
  483. sink returning data via outgoing COM interface
  484. C++ wrapper class for OLE control
  485. hex float literals in C++
  486. IPHlpAPI Library
  487. Any buddy looking for Job
  488. Question about shared libraries
  489. returning a struct pointer
  490. how does this program work?
  491. I want to make a chat client in C++.
  492. Help needed in transfering VC++ program to WWW
  493. WinArpSpoof and CbuildPacket
  494. Suspected Memory Leak in Multithread queue implmenetation
  495. sgi lib
  496. sgi lib
  497. dilation erosion bitmap
  498. fstream.getLine() does an abort at newline
  499. Segmentation problem when assigning data to string in a structure pointer
  500. "++*this" crashing
  501. Help on (*Ptr)
  502. Program that prints it's own source
  503. regarding switch-case and if-else statements
  504. C++ General
  505. How to return a map< string , structure* > from a function
  506. template<> keyword - unexpected hides base typedefs
  507. Socket programming CHAT system
  508. Doubt on Stack variables.
  509. Reg. Doubt in C++ References
  510. how to check a double is inf or NaN?
  511. Execute a .vsb file from C++ or VB or whatever
  512. C++ Ftp Class
  513. hi
  514. EOF question..
  515. sgi lib
  516. Dynamic event delegates in c++
  517. hlep please
  518. ISO C++ forbids declaration of 'xxx' with no type
  519. Compiler specific?: struct with wrong sizeof
  520. C++ compiling problem
  521. electric bill
  522. (Design question) Formatting objects for file output
  523. Inheriting a template class
  524. Please suggest a project for a second year computer engg. student
  525. alternative of getch() of Turbo C in UNIX version of C
  526. interchanging arrays in c
  527. test
  528. Crystal Report viewer delay
  529. I met a wierd thing when using fwrite() and fputc(), 0x0d is automatically added before 0x0a
  530. Help in for, while and do-while loop
  531. Explain internals of throw/catch implementation
  532. memcpy
  533. >> Track DLL function calls. <<
  534. function cprintf( ) doesn't work....
  535. Problem using sockets
  536. C++ Design question
  537. C++ Design question
  538. What is the problem with writing singleton in multithreaded enviroment
  539. how to erase a list member with just an iterator (without the list itself)?
  540. regarding free
  541. pre-processor string replacement
  542. eliminate excessive brackets in C++ expression
  543. Help passing a reference to a pointer several times
  544. Strange bit corruption in a double
  545. C++ Nuts and Bolts - Source Code for the Standard C/C++ Library
  546. Best Place to Define TRUE/FALSE
  547. Multiple Inclusion of Standard Header Files
  548. How to write data to a ostringstream?
  549. macros with parameters
  550. In Strong Need Of Your Help