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. MT Exception Handling
  2. programming, in c,
  3. programming, in c,
  4. ofstream and close()
  5. c99 array size Q
  6. Scope/use of prototypes Qs
  7. errno 72
  8. reading line by line from file
  9. Disabling "incompatible pointer type" warning.
  10. getting screen aspect
  11. casting between pointers
  12. Misra Rule 18.2. An object shall not be assigned to an overlapping object
  13. is this a memory leak?
  14. rain
  15. accessing Serial ports in C/C++
  16. How to define an array of struct nested within a struct?
  17. Remove "smallest" element from a linked list?
  18. problems on assigning value to a 3D array and print it out,thx:)
  19. Help on templates
  20. C++ information resources
  21. Can a static function defined in a C file be ever referred (called) externally ?
  22. program to reverse a sentence
  23. SIMD?
  24. delete [] faults in destructor..
  25. Reversing Input
  26. Segfault, please help!
  27. C++ HTTP server wanted
  28. Small exercise with template metaprogramming
  29. logical const and event programming
  30. Use of unions
  31. Comparing structs...
  32. char vs. unsigned char
  33. Complement of unsigned char
  34. Not executing the body of a if statement
  35. Regular expresions
  36. File name from file description
  37. 0 or NULL?
  38. containership
  39. web
  40. web
  41. const string in static class
  42. B.Baron Metody numeryczne e Builder 6
  43. virtual functions
  44. Pointer Artithmetic Puzzle
  45. Any support for indefinite length integer
  46. fopen extensions
  47. Function name commingle
  48. Protected member inheritence in templated classes
  49. I bought a computer yesterday ,but its speech can't quackly
  50. fnmatch.h help
  51. Use of System function
  52. priority_queues or not?
  53. Opening of .chm files
  54. returning char arrays from a function
  55. Need urgent help.
  56. templates and polymorphism
  57. std::less and pointers?
  58. Random number between 1 and 4000?
  59. a question about libstdc++
  60. on variadic function in C when porting matlab files to C
  61. PCI Bus access in C++ (Windows)
  62. design question
  63. overloaded operators returning wrong values
  64. passing argument to user defined type
  65. Learning Multithreading by example
  66. passing argument to user defined type
  67. How to programmatically check the connection speed
  68. Error: passing `const state' as `this' argument of `void state::dumpState()' discards qualifiers
  69. Learining C++
  70. About default copy constructor when using auto_ptr as the member
  71. why does this work?
  72. arrays question
  73. Why it doesn't work?
  74. A volunteer for any C project with Linux
  75. "const int" and "const char*" in header (.h) files
  76. Sorting Multiple Arrays Together in C++
  77. arrays - where they finish?
  78. Resolve shared libraries location at runtime ?
  79. When you need an integral type. . .
  80. old versions of ecpp & estl
  81. copy constructor is not called?
  82. What is the fastest way of copying files
  83. Linking sibling in a binary tree
  84. about Compiler
  85. something like java interface?
  86. Detecting virtual inheritance
  87. variadic macros and and empty replacement for __VA_ARGS__
  88. Will this work using C++?
  89. virtual casting
  90. Relationship between Classes
  91. checking constant conditions on compile time
  92. Help: Function Overloading Resolution, Which Function?
  93. need to convert a char to an hexadecmial value
  94. filling up of a frame with 10bit words c++
  95. Need help on string manipulation
  96. How to change char or string to unsigned short
  97. About Macro
  98. gSOAP multithreaded?
  99. new, reinterpret_cast<void*> and delete
  100. ofstream output
  101. Problem in char " "
  102. compilation error of Lex.yy.c
  103. loop in a single linked list
  104. using find to find a member of a struct in vector
  105. bitset rotational shift?
  106. minor confusion - std::stringstream and operator (>>/<<)
  107. basic stream confuse.(charset level).
  108. indefinite number of arguments
  109. General question
  110. pointers to pointers question
  111. format specifier for long long ints....
  112. Reading local time into time_t
  113. Why no segmentation fault
  114. looking for Ms Visual c++ 1.5
  115. Problem with recursion
  116. Weird return statement
  117. links
  118. C++ file problems
  119. About my School Project!
  120. Any c++ pros out there?
  121. Context Inversion Of Control & c++
  122. Iterators within templates
  123. type of an expression
  124. A decade of trolling: a brief and hopefully evocative "then and now" perspective.
  125. Array name as pointers
  126. infinite loops
  127. Calcluating Grades
  128. initialize static members
  129. autoconf and shared library
  130. Kernel of Interrup System Alg.
  131. c++ code for shortest path in the graph
  132. erase vs. erase
  133. Simulating polymorphism without the overhead of virtual methods?
  134. debugging... dereferencing, & etc.
  135. Using Vectors
  136. Parent first or child first? (a class structure question)
  137. cin.clear() does not work
  138. Simple question about using += (sorry about posting in the wrong group)
  139. [New to C] Creating a simple animation using C.
  140. Question on C++ parent and child functions
  141. differentiating between files and directories
  142. sizeof argument
  143. cannot compile the following example code (person-pointer)
  144. printing an address of member function
  145. Question about using & and structs (sorry, poor subject title!)
  146. Such bug ;/
  147. Such bug ;/
  148. Atomic operations and Thread safe code
  149. Atomic operations and Thread safe code
  150. lvalue (s) and rvalue (s)
  151. dynamic allocation of an array of pointers
  152. Proper way to do casts while avoiding aliasing issues
  153. stdint types and conversion...
  154. passing the address of a pointer to a func that doesnt recieve a pointer-to-a-pointer
  155. Pointers to functions
  156. Simple string matching exercise
  157. Really simple string functions
  158. yanghui triangle
  159. regarding typedef
  160. exec with forked childs w/ stdin stout
  161. address of pointer from a pointer
  162. language problem in C
  163. Paging/Segmentation: How really are they implemented?
  164. k&r line count
  165. Overuse of Templates
  166. Windows API
  167. segmentation fault
  168. generate histogram based on word length
  169. File management
  170. how to remove duplicate entries in a vector of Pair?
  171. Please help
  172. is it possible to write such a macro?
  173. Creating a Windows Account APIs
  174. c
  175. C++ Scandal?!
  176. please help understand this compilation error
  177. Calling convention --- what is it?
  178. NI_MEASURESTUDIO
  179. 2007 daylight saving time issues with struct tm member tm_isdst
  180. Reading Running Process
  181. Preprocessor parsing rules
  182. pong game,while loop statement solution
  183. From the freestore
  184. queue stl template
  185. home work
  186. Destructor being called twice ?
  187. select () is hanging in AIX
  188. unsigned char** argv
  189. is "typedef int int;" illegal????
  190. C++ or C#
  191. language features!
  192. function pointers as arguments
  193. having trouble with Discrete Cosine Transform program
  194. Question about Loki::Singleton
  195. run a C program independently without requiring to install an external library
  196. Large 2D Array Problem
  197. event queue / checking if pointers are still valid
  198. far void()
  199. How to get Notifications when a word doc is modified and closed
  200. Problems about Mixed programming with C++ and Fortran
  201. Why does the rvalue change with assignment?
  202. I want a friend who come from the usa or other country
  203. while and goto
  204. Resources for generic programming/template information
  205. Initializing static structs
  206. Terminating program with "exit( )"
  207. C++ Question
  208. stl map
  209. Commandline argh [sic] processing
  210. silly little question on variable scope
  211. Assembly Process for FE (Finite Element) code in C
  212. XML Parsing
  213. Why heap is called so?
  214. New program
  215. New program
  216. Memory allocation problem
  217. Some assitance please
  218. How To Create a Function that Rearranges the elements of a table by ASC
  219. GNU indent styles
  220. Converting C# DateTime field into Native C object
  221. compiling ffmpeg -> missed dlls
  222. Compiling ffmpeg -> missed dlls
  223. Using STL map
  224. Using STL map
  225. Can't access member - structures.
  226. doubly linked list
  227. trying to use vector<char*> as char**
  228. get current directory in ANSI C
  229. How to get the correct size of inherit class?
  230. coverting binary data into unsigned int
  231. Macro parameter list
  232. Macro parameter list
  233. can you replace this line of code ?
  234. How to know the size of array
  235. confuse by typeid()
  236. problem with strcat function
  237. problem with strcat function
  238. How to create class which can't be inherited
  239. Using underlying bit representations of floats
  240. syntax: struct in a struct
  241. different behavior of destructor
  242. String search and Replace
  243. Facing Problem with operaror == in stl queue
  244. Embed Mozilla ActiveX Browser Control or MSIE the easy WAY!
  245. Embed Mozilla ActiveX Browser Control or MSIE the easy WAY!
  246. Question on Memory Pooling for char*
  247. callgraph using static analysis
  248. ofstream:seekp failed
  249. pointer, array arithmetic
  250. Why the while() doesn't work?
  251. function pointer question
  252. Use MessageBox in Win32 pgm with STL - winuser.h n/g in this context
  253. more on tempalates
  254. Another template compilation problem
  255. Syntax
  256. template compilation problem
  257. make: Fatal error in reader: Badly formed macro assignment
  258. New or nor
  259. robotic
  260. hash_map with multiple integer key
  261. PAC (presentation-abstraction-control) question
  262. convert a binary into decimal
  263. Reading a file...
  264. Static function returning object reference
  265. Template function and const array of chars
  266. Static losing its value?
  267. robotic
  268. ip address
  269. Change IP address of packets
  270. Little Confused
  271. Little Confused
  272. Choosing a matrix library for image processing. Blitz++,MTL or others?
  273. program problem
  274. reversing a byte
  275. good ebook links
  276. progrm to find a substring in a string
  277. Parsing a Section of Binary String Data!
  278. Got one compiler diagnostic I can't handle
  279. virtual inherite
  280. Why do we use libraries?(Sorry but i am a newBei)
  281. Quick Pointer Question
  282. loop doesn't stop in example program?
  283. Getting User Input after getting Input from a file
  284. array subscript type cannot be `char`?
  285. two this pointers in double inhertiance?
  286. Group rules
  287. x=x*x vs. i=i++
  288. Files to array with pointer.
  289. When to use pointers in a class?
  290. Casting a file pointer to char pointer
  291. reading character from stdin
  292. Redirection of Streams
  293. Strcpy
  294. std::map problem with inherited classes
  295. Containers
  296. "Shifting" floating point numbers
  297. base class copy ctor and assignment operator
  298. passing pointer to struct by reference
  299. size of array XXX is too large
  300. typecasting std::string to const void *
  301. Specialising a template with a templated type
  302. what's the 'right' way to get rid of size_t to int conversion warnings?
  303. help me atleast now
  304. help me atleast now
  305. Need help with input
  306. Need help with input
  307. making sql queris with dev-c++
  308. Int86 function in C
  309. Int86 function in C
  310. Iteration with unsigned integral type
  311. Member destructor inside a constructor
  312. renaming class templates
  313. Reading unicode (utf-16 le) using wifstream
  314. "cl HelloWorld.cpp" => "std.afx" not found
  315. Function Protoytpe Identifier....
  316. Sha512 help.
  317. Problem with endian notation and bit masks. Need suggestion.
  318. A map of varying vectors
  319. Solving Algorithm Equations
  320. new - bad_alloc or NULL
  321. help
  322. How to access the individual bytes of LONGLONG value
  323. operator= ?
  324. Why are the min and max values for a particular numeric type implemented as functions?
  325. CLC wiki: faq
  326. order of declaration
  327. recursive function kills me
  328. Overloading error
  329. How to ignore/catch unsigned int calculation overflow
  330. DCT algorithm
  331. Using Printer
  332. where's Boost's shared_ptr destructor?
  333. Array setup Question
  334. What's the easiest way to print the rest of the string
  335. boost::try_mutex mutex--code review/your advise-comments
  336. how to use c++ to efficiently solve this problem?
  337. Boost .rodata build error
  338. Reading from a file
  339. malloc for struct
  340. explain this.....
  341. Callbacks and member function pointers
  342. casting
  343. C++ Certification
  344. Creating a 3D Array
  345. How do set a default parameter....
  346. How likely is a function starting with an underscore to cause undefined behavior?
  347. how to return std::vector from function?
  348. length of a string
  349. To reverse a string
  350. Storing macro param?
  351. why c++ not support typeof()?
  352. Difference between standard and compatability mode compilatin in C++
  353. Ink
  354. Ink
  355. Updating C++ apps
  356. matrix of function pointers
  357. Difficulty designing a map with custom structs.
  358. Arrays of derived objects
  359. Problem with send()
  360. Estimating Software Projects
  361. Available C++ Libraries FAQ
  362. Pointer hell
  363. typecasting of function pointers
  364. Ink
  365. Ink
  366. what is fork() ?
  367. MEmory Addres of DOS screen
  368. compile problem
  369. compile problem
  370. Why the type of /this/ pointer not be X* const
  371. How to make a string buffer...
  372. STL Question
  373. Preprocessor: how to define a macro in terms of another
  374. Specialization of member function template in template class?
  375. Need helpin figuing out Segmentation fault when calling size() of STL vector
  376. Pesky Error
  377. Yet another date class, public-sourced
  378. Learning C and Learning Make/Configure/Building/Linking
  379. question of operator '->' precedence
  380. Help!
  381. to const or not to const
  382. question about older code
  383. Char array and integers
  384. How to simulate REAL card shuffling?
  385. code that compiles in c but not in c++?
  386. char array with multiple entries
  387. updating deprecated sys_errlist? Simple Question?
  388. Standards & Library functions
  389. pure virtual function: implementation?
  390. Is it legal to assign a template function to a function pointer this way
  391. About structure member order
  392. pointer to function problem
  393. Please explain about c
  394. Container of buffers
  395. Doubly linked list
  396. seperating pixel values to DCT blocks
  397. querry related to structure padding
  398. different outputs in gcc and tc
  399. STL vector memory footprint
  400. Looking for hooking SDK
  401. caught non-std exception
  402. explanation required???
  403. Sub strings
  404. Looking for a good C++ logging library
  405. Is the following code legal?
  406. Any ideas on tracking down memory corruption
  407. embeddable early-binded database
  408. operator overloading
  409. Benchmarking multiplications and additions
  410. A few things that puzzle me...
  411. array greater than 100
  412. error when callin matlab from c
  413. Difference between c structure and c++ structure
  414. Compiling problem
  415. Using DLLs in MS Visual C++ 6
  416. 10 Reasons Why Programming Is Like Drinking
  417. a socket programming problem
  418. how to write antivirus code using c++
  419. new to inter-process programming
  420. delete operator
  421. Error on Compiling LCC on WinXP VS.Net
  422. A question about reading an UTF-8 text file
  423. Encapsulation and Operator[]
  424. Have you ever considered of mousing ambidextrously?
  425. Have you ever considered of mousing ambidextrously?
  426. How to copy derived class from a base pointer
  427. I need a online c++ compiler
  428. char * can point to any byte?!
  429. should this compile? [const]
  430. Sin ()
  431. How to get the actual C code finally passed to compiler
  432. How can you make different existing classes into "observers"?
  433. =operator for structs
  434. linking question
  435. Forward declaration problem
  436. Passing Member Functions as Function Pointers
  437. Mysterious pointer mixed with array indices bug
  438. unit testing guidelines
  439. code in C
  440. Latest stable gcc
  441. Memory Management
  442. HICON from loading a .bmp
  443. [Generic/Polytypic] Template not quite right
  444. Implement BODMAS
  445. enum + long
  446. Reference to temporary objects
  447. STL set members sorted?
  448. structs and STL stack
  449. Code for ejecting the CD-drive.
  450. Raw image in header file
  451. Encoding Converter Windows Application (C#.NET)
  452. Encoding Converter Windows Application (C#.NET)
  453. Preprocessor magic needed
  454. Preprocessor magic needed
  455. queue<char> and memcpy()
  456. HOW TO??? call an unknown function's method
  457. c file reading
  458. When does Storage allocation for static data happens?
  459. Puntatori a funzioni
  460. Array problem
  461. Multithreaded application performance impact of global arrays
  462. What is wrong with this dll import code?
  463. Hi All
  464. Instansing singleton right in the header file
  465. Reading data from a text file
  466. Pointer-to-member-function code okay?
  467. Date Calculation
  468. pdf plug-in about add stamp to pdf files
  469. VC++ Client accessing Java Web Service
  470. Convert postcript to PDF?
  471. Explain C++ files generated plzzz...
  472. Algorithms for Trees
  473. Checking whether the exe is running or not
  474. String variable appears to become corrupted after assignment
  475. Checking whether the exe is running or not
  476. FASTER string copy ????
  477. Why c++ not support placement delete
  478. how to cast unsigned char to char?
  479. dynamic memory allocation question
  480. Namespace across files
  481. Void pointer to pass by reference
  482. Need help with exposure of object in MFC visual c++
  483. Question about lower_bound
  484. Checking for valid data in file
  485. Design of C++ Periodic table project
  486. Endian Reversal?
  487. Creating array of (some_arr[DynamicSize]) structure. (struct xxx)
  488. What's wrong with these simple codes? (parse error before `<' token)
  489. object reflection
  490. problem with a code segment.
  491. arrays incomplete function call
  492. problem passing list iterator
  493. this code is memory overflow or not?
  494. problem passing list iterator
  495. How do I get a count of the values in a array?
  496. destructors
  497. how to convert characters to upper case in utf8 env.
  498. how to convert characters to upper case in utf8 env.
  499. how to convert characters to upper case in utf8 env.
  500. Template specialization
  501. i++ * i++
  502. function calls like printf
  503. specialize a template for bitset<N>
  504. how to understand yytable yydgoto yylhs.... format?
  505. how to understand yytable yydgoto yylhs.... format?
  506. Global variables in files without functions
  507. Alternative to a very large array?
  508. Syntax Question
  509. Very large array?
  510. Inheritance: "abstract objects"?
  511. read data from excel using c
  512. querry regarding function pointer
  513. problem about outlook
  514. Simulation
  515. Type in derived template class unknown
  516. bit fields that do not fit in a built-in type
  517. how free() ,delete() works?
  518. FILE structure - porting C DLL into other languages
  519. freestanding enviroment !
  520. is there any faster way to parse string into float number
  521. calculate day's between two dates
  522. pattern recognition
  523. length of array
  524. Private destructor with virtaul inhertiance
  525. convert decimal number in a hexadecimal number ?
  526. compairing No without Operator
  527. How do i convert an integer to an address for a function pointer
  528. c++ compile error on linux 64 bit machine
  529. what will happen after i use free()???
  530. Looking for Software Developers and testers to work in India
  531. Regarding Padding bytes
  532. What is "marshal" in programming context?
  533. Help with open, dup and dup2
  534. VC++ or .NET
  535. VC++ or .Net
  536. An initialization with a class involved
  537. Mixing Wide & Narrow Character Output to stdout
  538. is there any instruction or operator to convert a Byte from 10110001 to 10001101?
  539. Newby: how to check if a module is loaded in linux
  540. Trap Representations - c99 [again]
  541. how to count rows and columns of integers/doubles in a file?
  542. Forcing Specified Libraries
  543. I went a help
  544. Simultaneously overriding multiple member functions
  545. -1.#IND00 problem
  546. MS vs Intel C++ compilers for Windows
  547. mutex error when using C function in C++
  548. removing a loop cause it to go at half the speed?
  549. Question about basic input output.
  550. how to create a sclock simulation program in c++