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. c++ code for shortest path in the graph
  2. erase vs. erase
  3. Simulating polymorphism without the overhead of virtual methods?
  4. debugging... dereferencing, & etc.
  5. Using Vectors
  6. Parent first or child first? (a class structure question)
  7. cin.clear() does not work
  8. Simple question about using += (sorry about posting in the wrong group)
  9. [New to C] Creating a simple animation using C.
  10. Question on C++ parent and child functions
  11. differentiating between files and directories
  12. sizeof argument
  13. cannot compile the following example code (person-pointer)
  14. printing an address of member function
  15. Question about using & and structs (sorry, poor subject title!)
  16. Such bug ;/
  17. Such bug ;/
  18. Atomic operations and Thread safe code
  19. Atomic operations and Thread safe code
  20. lvalue (s) and rvalue (s)
  21. dynamic allocation of an array of pointers
  22. Proper way to do casts while avoiding aliasing issues
  23. stdint types and conversion...
  24. passing the address of a pointer to a func that doesnt recieve a pointer-to-a-pointer
  25. Pointers to functions
  26. Simple string matching exercise
  27. Really simple string functions
  28. yanghui triangle
  29. regarding typedef
  30. exec with forked childs w/ stdin stout
  31. address of pointer from a pointer
  32. language problem in C
  33. Paging/Segmentation: How really are they implemented?
  34. k&r line count
  35. Overuse of Templates
  36. Windows API
  37. segmentation fault
  38. generate histogram based on word length
  39. File management
  40. how to remove duplicate entries in a vector of Pair?
  41. Please help
  42. is it possible to write such a macro?
  43. Creating a Windows Account APIs
  44. c
  45. C++ Scandal?!
  46. please help understand this compilation error
  47. Calling convention --- what is it?
  48. NI_MEASURESTUDIO
  49. 2007 daylight saving time issues with struct tm member tm_isdst
  50. Reading Running Process
  51. Preprocessor parsing rules
  52. pong game,while loop statement solution
  53. From the freestore
  54. queue stl template
  55. home work
  56. Destructor being called twice ?
  57. select () is hanging in AIX
  58. unsigned char** argv
  59. is "typedef int int;" illegal????
  60. C++ or C#
  61. language features!
  62. function pointers as arguments
  63. having trouble with Discrete Cosine Transform program
  64. Question about Loki::Singleton
  65. run a C program independently without requiring to install an external library
  66. Large 2D Array Problem
  67. event queue / checking if pointers are still valid
  68. far void()
  69. How to get Notifications when a word doc is modified and closed
  70. Problems about Mixed programming with C++ and Fortran
  71. Why does the rvalue change with assignment?
  72. I want a friend who come from the usa or other country
  73. while and goto
  74. Resources for generic programming/template information
  75. Initializing static structs
  76. Terminating program with "exit( )"
  77. C++ Question
  78. stl map
  79. Commandline argh [sic] processing
  80. silly little question on variable scope
  81. Assembly Process for FE (Finite Element) code in C
  82. XML Parsing
  83. Why heap is called so?
  84. New program
  85. New program
  86. Memory allocation problem
  87. Some assitance please
  88. How To Create a Function that Rearranges the elements of a table by ASC
  89. GNU indent styles
  90. Converting C# DateTime field into Native C object
  91. compiling ffmpeg -> missed dlls
  92. Compiling ffmpeg -> missed dlls
  93. Using STL map
  94. Using STL map
  95. Can't access member - structures.
  96. doubly linked list
  97. trying to use vector<char*> as char**
  98. get current directory in ANSI C
  99. How to get the correct size of inherit class?
  100. coverting binary data into unsigned int
  101. Macro parameter list
  102. Macro parameter list
  103. can you replace this line of code ?
  104. How to know the size of array
  105. confuse by typeid()
  106. problem with strcat function
  107. problem with strcat function
  108. How to create class which can't be inherited
  109. Using underlying bit representations of floats
  110. syntax: struct in a struct
  111. different behavior of destructor
  112. String search and Replace
  113. Facing Problem with operaror == in stl queue
  114. Embed Mozilla ActiveX Browser Control or MSIE the easy WAY!
  115. Embed Mozilla ActiveX Browser Control or MSIE the easy WAY!
  116. Question on Memory Pooling for char*
  117. callgraph using static analysis
  118. ofstream:seekp failed
  119. pointer, array arithmetic
  120. Why the while() doesn't work?
  121. function pointer question
  122. Use MessageBox in Win32 pgm with STL - winuser.h n/g in this context
  123. more on tempalates
  124. Another template compilation problem
  125. Syntax
  126. template compilation problem
  127. make: Fatal error in reader: Badly formed macro assignment
  128. New or nor
  129. robotic
  130. hash_map with multiple integer key
  131. PAC (presentation-abstraction-control) question
  132. convert a binary into decimal
  133. Reading a file...
  134. Static function returning object reference
  135. Template function and const array of chars
  136. Static losing its value?
  137. robotic
  138. ip address
  139. Change IP address of packets
  140. Little Confused
  141. Little Confused
  142. Choosing a matrix library for image processing. Blitz++,MTL or others?
  143. program problem
  144. reversing a byte
  145. good ebook links
  146. progrm to find a substring in a string
  147. Parsing a Section of Binary String Data!
  148. Got one compiler diagnostic I can't handle
  149. virtual inherite
  150. Why do we use libraries?(Sorry but i am a newBei)
  151. Quick Pointer Question
  152. loop doesn't stop in example program?
  153. Getting User Input after getting Input from a file
  154. array subscript type cannot be `char`?
  155. two this pointers in double inhertiance?
  156. Group rules
  157. x=x*x vs. i=i++
  158. Files to array with pointer.
  159. When to use pointers in a class?
  160. Casting a file pointer to char pointer
  161. reading character from stdin
  162. Redirection of Streams
  163. Strcpy
  164. std::map problem with inherited classes
  165. Containers
  166. "Shifting" floating point numbers
  167. base class copy ctor and assignment operator
  168. passing pointer to struct by reference
  169. size of array XXX is too large
  170. typecasting std::string to const void *
  171. Specialising a template with a templated type
  172. what's the 'right' way to get rid of size_t to int conversion warnings?
  173. help me atleast now
  174. help me atleast now
  175. Need help with input
  176. Need help with input
  177. making sql queris with dev-c++
  178. Int86 function in C
  179. Int86 function in C
  180. Iteration with unsigned integral type
  181. Member destructor inside a constructor
  182. renaming class templates
  183. Reading unicode (utf-16 le) using wifstream
  184. "cl HelloWorld.cpp" => "std.afx" not found
  185. Function Protoytpe Identifier....
  186. Sha512 help.
  187. Problem with endian notation and bit masks. Need suggestion.
  188. A map of varying vectors
  189. Solving Algorithm Equations
  190. new - bad_alloc or NULL
  191. help
  192. How to access the individual bytes of LONGLONG value
  193. operator= ?
  194. Why are the min and max values for a particular numeric type implemented as functions?
  195. CLC wiki: faq
  196. order of declaration
  197. recursive function kills me
  198. Overloading error
  199. How to ignore/catch unsigned int calculation overflow
  200. DCT algorithm
  201. Using Printer
  202. where's Boost's shared_ptr destructor?
  203. Array setup Question
  204. What's the easiest way to print the rest of the string
  205. boost::try_mutex mutex--code review/your advise-comments
  206. how to use c++ to efficiently solve this problem?
  207. Boost .rodata build error
  208. Reading from a file
  209. malloc for struct
  210. explain this.....
  211. Callbacks and member function pointers
  212. casting
  213. C++ Certification
  214. Creating a 3D Array
  215. How do set a default parameter....
  216. How likely is a function starting with an underscore to cause undefined behavior?
  217. how to return std::vector from function?
  218. length of a string
  219. To reverse a string
  220. Storing macro param?
  221. why c++ not support typeof()?
  222. Difference between standard and compatability mode compilatin in C++
  223. Ink
  224. Ink
  225. Updating C++ apps
  226. matrix of function pointers
  227. Difficulty designing a map with custom structs.
  228. Arrays of derived objects
  229. Problem with send()
  230. Estimating Software Projects
  231. Available C++ Libraries FAQ
  232. Pointer hell
  233. typecasting of function pointers
  234. Ink
  235. Ink
  236. what is fork() ?
  237. MEmory Addres of DOS screen
  238. compile problem
  239. compile problem
  240. Why the type of /this/ pointer not be X* const
  241. How to make a string buffer...
  242. STL Question
  243. Preprocessor: how to define a macro in terms of another
  244. Specialization of member function template in template class?
  245. Need helpin figuing out Segmentation fault when calling size() of STL vector
  246. Pesky Error
  247. Yet another date class, public-sourced
  248. Learning C and Learning Make/Configure/Building/Linking
  249. question of operator '->' precedence
  250. Help!
  251. to const or not to const
  252. question about older code
  253. Char array and integers
  254. How to simulate REAL card shuffling?
  255. code that compiles in c but not in c++?
  256. char array with multiple entries
  257. updating deprecated sys_errlist? Simple Question?
  258. Standards & Library functions
  259. pure virtual function: implementation?
  260. Is it legal to assign a template function to a function pointer this way
  261. About structure member order
  262. pointer to function problem
  263. Please explain about c
  264. Container of buffers
  265. Doubly linked list
  266. seperating pixel values to DCT blocks
  267. querry related to structure padding
  268. different outputs in gcc and tc
  269. STL vector memory footprint
  270. Looking for hooking SDK
  271. caught non-std exception
  272. explanation required???
  273. Sub strings
  274. Looking for a good C++ logging library
  275. Is the following code legal?
  276. Any ideas on tracking down memory corruption
  277. embeddable early-binded database
  278. operator overloading
  279. Benchmarking multiplications and additions
  280. A few things that puzzle me...
  281. array greater than 100
  282. error when callin matlab from c
  283. Difference between c structure and c++ structure
  284. Compiling problem
  285. Using DLLs in MS Visual C++ 6
  286. 10 Reasons Why Programming Is Like Drinking
  287. a socket programming problem
  288. how to write antivirus code using c++
  289. new to inter-process programming
  290. delete operator
  291. Error on Compiling LCC on WinXP VS.Net
  292. A question about reading an UTF-8 text file
  293. Encapsulation and Operator[]
  294. Have you ever considered of mousing ambidextrously?
  295. Have you ever considered of mousing ambidextrously?
  296. How to copy derived class from a base pointer
  297. I need a online c++ compiler
  298. char * can point to any byte?!
  299. should this compile? [const]
  300. Sin ()
  301. How to get the actual C code finally passed to compiler
  302. How can you make different existing classes into "observers"?
  303. =operator for structs
  304. linking question
  305. Forward declaration problem
  306. Passing Member Functions as Function Pointers
  307. Mysterious pointer mixed with array indices bug
  308. unit testing guidelines
  309. code in C
  310. Latest stable gcc
  311. Memory Management
  312. HICON from loading a .bmp
  313. [Generic/Polytypic] Template not quite right
  314. Implement BODMAS
  315. enum + long
  316. Reference to temporary objects
  317. STL set members sorted?
  318. structs and STL stack
  319. Code for ejecting the CD-drive.
  320. Raw image in header file
  321. Encoding Converter Windows Application (C#.NET)
  322. Encoding Converter Windows Application (C#.NET)
  323. Preprocessor magic needed
  324. Preprocessor magic needed
  325. queue<char> and memcpy()
  326. HOW TO??? call an unknown function's method
  327. c file reading
  328. When does Storage allocation for static data happens?
  329. Puntatori a funzioni
  330. Array problem
  331. Multithreaded application performance impact of global arrays
  332. What is wrong with this dll import code?
  333. Hi All
  334. Instansing singleton right in the header file
  335. Reading data from a text file
  336. Pointer-to-member-function code okay?
  337. Date Calculation
  338. pdf plug-in about add stamp to pdf files
  339. VC++ Client accessing Java Web Service
  340. Convert postcript to PDF?
  341. Explain C++ files generated plzzz...
  342. Algorithms for Trees
  343. Checking whether the exe is running or not
  344. String variable appears to become corrupted after assignment
  345. Checking whether the exe is running or not
  346. FASTER string copy ????
  347. Why c++ not support placement delete
  348. how to cast unsigned char to char?
  349. dynamic memory allocation question
  350. Namespace across files
  351. Void pointer to pass by reference
  352. Need help with exposure of object in MFC visual c++
  353. Question about lower_bound
  354. Checking for valid data in file
  355. Design of C++ Periodic table project
  356. Endian Reversal?
  357. Creating array of (some_arr[DynamicSize]) structure. (struct xxx)
  358. What's wrong with these simple codes? (parse error before `<' token)
  359. object reflection
  360. problem with a code segment.
  361. arrays incomplete function call
  362. problem passing list iterator
  363. this code is memory overflow or not?
  364. problem passing list iterator
  365. How do I get a count of the values in a array?
  366. destructors
  367. how to convert characters to upper case in utf8 env.
  368. how to convert characters to upper case in utf8 env.
  369. how to convert characters to upper case in utf8 env.
  370. Template specialization
  371. i++ * i++
  372. function calls like printf
  373. specialize a template for bitset<N>
  374. how to understand yytable yydgoto yylhs.... format?
  375. how to understand yytable yydgoto yylhs.... format?
  376. Global variables in files without functions
  377. Alternative to a very large array?
  378. Syntax Question
  379. Very large array?
  380. Inheritance: "abstract objects"?
  381. read data from excel using c
  382. querry regarding function pointer
  383. problem about outlook
  384. Simulation
  385. Type in derived template class unknown
  386. bit fields that do not fit in a built-in type
  387. how free() ,delete() works?
  388. FILE structure - porting C DLL into other languages
  389. freestanding enviroment !
  390. is there any faster way to parse string into float number
  391. calculate day's between two dates
  392. pattern recognition
  393. length of array
  394. Private destructor with virtaul inhertiance
  395. convert decimal number in a hexadecimal number ?
  396. compairing No without Operator
  397. How do i convert an integer to an address for a function pointer
  398. c++ compile error on linux 64 bit machine
  399. what will happen after i use free()???
  400. Looking for Software Developers and testers to work in India
  401. Regarding Padding bytes
  402. What is "marshal" in programming context?
  403. Help with open, dup and dup2
  404. VC++ or .NET
  405. VC++ or .Net
  406. An initialization with a class involved
  407. Mixing Wide & Narrow Character Output to stdout
  408. is there any instruction or operator to convert a Byte from 10110001 to 10001101?
  409. Newby: how to check if a module is loaded in linux
  410. Trap Representations - c99 [again]
  411. how to count rows and columns of integers/doubles in a file?
  412. Forcing Specified Libraries
  413. I went a help
  414. Simultaneously overriding multiple member functions
  415. -1.#IND00 problem
  416. MS vs Intel C++ compilers for Windows
  417. mutex error when using C function in C++
  418. removing a loop cause it to go at half the speed?
  419. Question about basic input output.
  420. how to create a sclock simulation program in c++
  421. wan ip
  422. clock simulation in C++
  423. Please explain signal handler behaviour
  424. are bit manipulation guaranteed to work endian independent
  425. iostream help
  426. Book-keeping metadata for allocated memory
  427. Executing exe
  428. Druck Position eines Textes ?
  429. Druckvorschau ist nur Schwarz weiß !!
  430. Idiotic question of an Idiot - dint like dont reply.
  431. question about linux static libraries
  432. GRATIS FREE: Your online Archive and Photo Gallery!
  433. fopen and non-blocking
  434. About Segmentation fault
  435. Template class to enable transparent use of pointers or references
  436. using maps errors
  437. how to implement a huge adjacent matrix?
  438. diff between strcpy() and memcpy()
  439. Aurora Compiler
  440. question about clock()
  441. problem with compilation
  442. Why do i get error "error: expression must have a constant value"
  443. OT(? - Hope Not): estor.lib In Symbian .mmp File
  444. the replacement rules of the macro?
  445. Is diagnostics of const violation required
  446. question on casting
  447. ccmake errors compiling VTK
  448. Inability to view a header file source in a debugger
  449. logische ausdrücke
  450. printf(): giving format to an unsigned long questions
  451. C code to flowchart convertor
  452. Very wierd problem
  453. explanation required
  454. making a simple module
  455. Find the ID file in Directory
  456. strange ???
  457. API design choice pointer vs. object
  458. Working with Endianness
  459. Map-like container?
  460. Please Explian
  461. Q: typename or not typename?
  462. how to evaluate user defined functions?
  463. C++ code in SPLASH2 benchmarks
  464. POD class member order
  465. object-like macro used like function-like macro
  466. OS version running
  467. Type information in structs of different types
  468. JSF++
  469. Strange behaviour with printf
  470. Stuck in inf loop in a multimap iterator?
  471. hi!every one !
  472. Migrating C Code to C++ Builder
  473. tool to check multiple inclusion of header file
  474. tool to check multiple inclusion of header file
  475. Need help regarding library conflict
  476. command line arguments
  477. about license
  478. Help With strtok
  479. Help with strtok
  480. Can anyone provide methe best books for C?
  481. best method to find the freequent numbers
  482. Copying pointers
  483. how to check a string whether it is
  484. Resetting a static int
  485. Regarding sizeof Operator
  486. Output of a program
  487. Virtual constructor
  488. Easy c programming tutorial
  489. Scope visibility
  490. Migrating C++ code from gcc 2.96 yo 3.4.4
  491. writing 0x0A to a bin file without having it automatically write 0x0D
  492. Can any one help me?
  493. Unicode: ugh!
  494. File reading and writing problem (SEGMENTATION FAULT)
  495. help
  496. array pointers
  497. Visual C: Obtaining __int64 value from a DLL
  498. can forward declearation of struct as class cause any problem
  499. chsize 64bit
  500. text and binary files confusion
  501. Converting from Unicode to Multibyte
  502. Min/Max gametree
  503. Opening picture file in C
  504. File reading problem probably newline character
  505. about iconv
  506. C++ and streams (not iostreams)
  507. c++ network programming library
  508. what's the difference between #include "queue.h" and #include "queue.cpp"
  509. help with queue
  510. wchar_t and wide characters
  511. In Debug it works but not in Release.
  512. Size of an inherited class ?
  513. extracting integers from a string.
  514. Optimizing C
  515. Problem related to design
  516. Problem related to design
  517. How can I read a 8 bit gray image using c ?
  518. i cannot initialize a object of ADODB
  519. Using an iterator to remove an item from a STL list
  520. C Database
  521. plasticmachine
  522. Help wih regexec() function in libc.a library ( Solaris platform)
  523. A question on function overloading
  524. redirecting clog
  525. Diff between namespace and include
  526. Philosophical reason behind the concept of friend function
  527. PROBLEM...please READ
  528. cin and getch()
  529. A general question
  530. [Linker error] undefined reference to vtable
  531. Coverity Scan of open source
  532. How to protect startup object
  533. error: expected initializer before '&' token
  534. Going Back To The Start OF C++.
  535. Problem with Borland C++ 5.02
  536. C++ Object Model
  537. C++ object model
  538. Problem with linking - can't find the right solution.
  539. C++ Builder 6 - SQL Query
  540. set<string>::iterator i to binary filename?
  541. Memory leak problem
  542. finding out what an optimizer did?
  543. C++ primerä¸*文第四版
  544. g95+OpenGL HowTo
  545. OO system design question
  546. Sequential and Associative containers
  547. Which container - std::pair or std::map ?
  548. Unix command that can post question to a group of expert like using the newsgroup.
  549. Want to pass a file name to a function
  550. What is the Purpose of Constructor in a class?