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. Is this a good method of repersenting an allocator?
  2. Using templates to enforce compile-time bounds checking
  3. iterator and const_iterator
  4. istream and ostream detail.
  5. Classes
  6. help please!
  7. Different ways of implementing virtual functions by a C++ compiler.
  8. cannot call systemfunction close
  9. Compiler Suggestions
  10. template function
  11. specialized containment???
  12. Help, read input from file ?
  13. C++ vs. Matlab
  14. What did the compiler do with my program?
  15. inconsistent behaviour of const_iterator and const_reverse_iterator
  16. Shared object linking problem
  17. ld.so.1: .... libstlport_sunpro.so.4.5: open failed: ...
  18. What is Max Heap, how to insert
  19. how to read a stream from a http source
  20. SHA1
  21. Recursion (slightly off-topic)
  22. threads within c++ class
  23. Structures
  24. String
  25. perimeter of triangle
  26. perimeter of a triangle
  27. perimeter of a triangle
  28. perimeter of triangle
  29. Bringing up a running program?
  30. How to create header file with compiling
  31. the difference among these ways of swapping two ints
  32. Dev-C++ - Files .o
  33. Binary File I/O and ^M
  34. TEST
  35. Sign of integer function.
  36. Can a C++ program affect time and space ???
  37. Reboot a PC with C++ code
  38. read data from file into structure ?
  39. What does & here mean? -
  40. Filling 2d array in less than O(n^2) time
  41. Best way to handle 'ostrstream'
  42. istringstream ?
  43. can't remember
  44. About c
  45. Renaming all files in a directory
  46. Dual search data structure
  47. codecvt mbstate_t values
  48. temporary and constructor
  49. difference in including the header files
  50. Naming convention fit for C++
  51. friend ostream& operator <<, compiles and runs in Dev++ no output or error in Borland
  52. stl container that store unique items
  53. How will it new/allocate memory when a class have string-type members?
  54. How to manange files of un-known numbers with STL?
  55. Why std::ostringstream inserts number group delimeter and how to disable this mode?
  56. Why doesn't this display the string?
  57. getting an array from an STL vector
  58. Empty class takes a byte?
  59. Available C++ Libraries FAQ
  60. operator^^()
  61. Are new std::map elements initialized?
  62. Question about the requirements of std::vector
  63. STL containers in C++ class public interface
  64. Image retrieval in IE's browser cache (Win32)
  65. creating alias for a class object
  66. Including files into executable
  67. DOS Window
  68. IS CONSTRUCTOR A SPECIAL MEMBER FUNCTION? OR SOMETHING ELSE HAVING THE SYNTAX OF FUNCTION?
  69. FILESTREAM HELP NEEDED
  70. How do you compare associative data types?
  71. Base class attribute visibility
  72. Robust XML-RPC C++ implementation
  73. Function resolution for temp object
  74. PLEASE HELP!
  75. HELP
  76. How big is an enum?
  77. Please help with bug in my function - converts int to string
  78. HELP
  79. c++, openssl & how to create SSL context
  80. dynamic memory allocation
  81. Any fast method to swap two nodes in a STL list?
  82. Weak Symbols
  83. How to insert immutable object into the stl map
  84. Source code formatter?
  85. [C++] Drawing a window border with asterisks
  86. pubsetbuf, filebuf and when to flush
  87. About -I option in g++?
  88. strtok() functionality in C++
  89. enumwindow
  90. deque implementation?
  91. outputting a NULL pointer to a stream
  92. how to access something efficiently ??
  93. access memory location
  94. garbage collection with digital mars compiler
  95. Converting strings to numbers - a question of speed
  96. Porting C++ application on 32 bit to 64 bit on AIX - ld : 0711-317 ERROR : Undefined symbol
  97. Between static & dynamic polymorphism...
  98. sprintf equivalent
  99. Easiest way to delay, throw away packets by interception.
  100. Linker odd behaviour while trying to assign objects from 2 different namespace
  101. not important at all - memory leak
  102. C++ Fundu queries ??
  103. command output
  104. valarray.sum() gives unclean results
  105. what is the diff between pointer and reference
  106. How to find the Maximum size of static data?
  107. Multiple Definition of Symbols
  108. help on templates
  109. difference in array and pointer
  110. Comparing 2 sorted vectors
  111. C++ test framework for TDD
  112. exception, constructor and return value
  113. Require help/suggestion
  114. exceptions in diamond's destructors
  115. template metaprogramming
  116. streams: files -> char*
  117. How to get C/C++ Language Help in Eclipse?
  118. Help about Graphy Theory and Communication Networks /C++ plz..
  119. C++ Programmers: Full Time, Permanent, National Institutes of Health
  120. STL iterator arithmetic
  121. error: invalid initialization of non-const reference of type
  122. expression template, two arguments, partial specialisation error
  123. portability thing?
  124. error: uninitialized reference member
  125. Help! "for (;;)"?
  126. Not calling base class constructors
  127. unistd functions in MSWin ?
  128. delete and exception
  129. class stack&queue.ineed some help
  130. Writing an allocator
  131. Writing an allocator
  132. How to catch all runtime exception
  133. Memory Footprint
  134. STL Vector and unique/sort algorithms
  135. Use of Pointer of Pointer
  136. "new int[10]" and "new int[10]()"
  137. Initializing class member variable with reference
  138. about system() in unix
  139. String cleaning?
  140. Where can I get some exploits?
  141. Still haven't gotten my exploits yet..
  142. Just to let you know
  143. Am I an idiot yet?
  144. Circumventing explicit constructors
  145. Guess what everybody!
  146. Instantiate class with non default constructor
  147. compile time problem
  148. Compiler warnings
  149. Advanced topics... optimising / C++ / OOP / RefCounting / type-safety
  150. Header and Classes Question
  151. converting C macros to templates
  152. distance between stream iterators
  153. ip, host from Apache
  154. GetBitmapBits and SetBitmapBits help
  155. reading a file
  156. Conditional statement ALWAYS works
  157. Bit Problem I met with IAR's C++ Compiler
  158. http handlers classes ?
  159. regex
  160. std::allocator
  161. File size limit on the FAT32 file system
  162. File size limit on FAT32 file system.
  163. bridging on Darwin
  164. error while compiling jni.h
  165. formatting buffers
  166. use object itself as key in stl map
  167. std::basic_string::copy deprecated?
  168. Inputting Data Into New Objects
  169. need algorithm
  170. What kind of error is it?
  171. why is it undeclared?
  172. Run cleanup before the program is killed from the outside
  173. Reducing dependencies
  174. Static Member Variables + Inheritance
  175. how to handle open() errors?
  176. output to a file
  177. enumerations: Possible to get the "key" string?
  178. Help with a simple c program
  179. about consts and function overloading
  180. about pointer initialization
  181. dynamic_cast help?
  182. Why there is no memory access violation?
  183. Initializing 2D array in constructor
  184. db connection
  185. Can't use <fstream> functions in a class?
  186. ifstream
  187. STL and shared libraries
  188. comparing two hashes (maps)
  189. operator const char*()
  190. some questions about "const"
  191. STL set broken?
  192. Problem With Basic Vector Sort
  193. Decrypt the code
  194. I rea......lly need your help ( C++ )
  195. going back to the top line in input file
  196. On polymorphism, pointers, and the like...
  197. c++ noob
  198. Abstract base class with no virtual methods?
  199. How to manage the memory in C?
  200. problem with recvfrom
  201. how to find that escape key is pressed while taking the string
  202. step in-between printer (LPT)
  203. Very simple question
  204. naive size of array question
  205. Access to extern struct in other header files
  206. why arrary with size of zero?
  207. Input function that terminates by a space and not return.
  208. Loop optimization
  209. Memory
  210. modify structure array pointer in the function
  211. Strange error of memory
  212. mode from array
  213. Gerry O'Connor a Nantes
  214. stray '\160' in program
  215. How to use delete in string in c++ With using class (delete information)
  216. could you help me to debug?
  217. help with C
  218. Precedence of Logical Operators
  219. Returning structs containing arrays
  220. Type mismatch error
  221. File system in linux
  222. what parallel C language does MIPS Pro C Compiler support?
  223. what is the use of void pointer?
  224. SHA1
  225. retrieve mode from data array
  226. Hash function (str -> uint16)
  227. Urgent Requirement
  228. difference between malloc and calloc?
  229. parallel programming
  230. making sure only integer is input
  231. Reboot a PC with C code
  232. convert infix to postfix
  233. ulltostr
  234. Formal Argument for int Array[x][y]?
  235. Formal Argument for int Array[x][y]?
  236. C99 Question
  237. question about vc++.net compiler
  238. wchar_t
  239. 3 C99 questions
  240. what is the difference between two assignments
  241. (: Pointer to struct withing pointer to struct :)
  242. returning array
  243. how to make?
  244. Tools to make makefiles?
  245. Help on understanding Structs
  246. Byte-sized integers in C
  247. Complex numbers
  248. Writing a delay function in C++
  249. shift and concatenate char *
  250. Help with code
  251. how to mofify this program
  252. Implementing Unix fmt ( ) function
  253. A memory question
  254. Compiler Error - help
  255. typedef question
  256. access memory location
  257. Doing short pauses
  258. can't find problem with memory
  259. Borland Turbo C 3.0
  260. declaring alpha numeric
  261. const struct *
  262. why error: "accept: Invalid argument"
  263. about pointer
  264. Help about Graphy Theory and Communication Networks C /C++ plz..
  265. VC++ Closing Macro Window/Prompt Problem
  266. how to restrict enum conversions ?
  267. stringstream
  268. question
  269. possibly memory leak?
  270. Tools to debug core file
  271. Is there any way in C to print ?
  272. Manual
  273. Outputting the size of an array
  274. Hello!
  275. Using an instance of a struct as a member of that struct
  276. Casting function pointers
  277. c99, but otherwise OT
  278. question about pointers inside functions
  279. Hey guys little prob
  280. Stack or Heap
  281. Time offset from UTC
  282. regex regcmp
  283. Variable FILENAME in fopen(). How to make it?
  284. Problem Initialising char arrays
  285. OT (Error:)
  286. Memory alloc for a Function
  287. Working with the for loop
  288. Change of program
  289. Strcpy versus Strncpy in arrays
  290. Dynamic matrix
  291. Searching trough an enumeration
  292. help me to write TSR through c
  293. Help with a C program
  294. Indexing an array with litterals
  295. What is the use of Function Pointers in C language?
  296. can i use + operator in Printf functions in C language?
  297. Memory Alignment
  298. How to count bits in a unsigned int?
  299. flexible array member
  300. Find Interface name
  301. CFP: SAS'06
  302. C program to count occurences of substrings in strings
  303. Inability to follow good programming practice by qualifying a pointer parameter with 'const'
  304. linux user switching
  305. Returning an array of strings in C
  306. Problems with running RPC code
  307. need help with C program
  308. Decrypt the code
  309. E-SOLUTIONS GALORE, RIGHT?!?!?!?! : D
  310. I rea......lly need your help ( C++ )
  311. need help with C program
  312. Detecting multipication overflow
  313. What is function pointer?
  314. What is the use of static functions in C lang?
  315. Help:How can I create a Huge array with 10000000 elements?
  316. What is the use of static function in C?
  317. multiple random number
  318. how can i compile gaim souce code in win2k
  319. why
  320. About (char)13 & (char)10
  321. Parallel Program
  322. Portable use of fread/fwrite with structs
  323. unsigned short comparison
  324. about address...
  325. How to output long long or int64?
  326. extracting front bits from an unsigned long long?
  327. What is the wrong with this code?
  328. Double pointers to integers
  329. Order of definitions
  330. C source print utility
  331. Read strings from a one dimensional buffer...
  332. How to code such function, thanks for any comments
  333. comparing two strcasecmp (stricmp) implementations
  334. Objective evidence comparing languages?
  335. Help
  336. Help
  337. How to build read-only file into exe file?
  338. extern decleration intialization
  339. Writing portable code [book] review
  340. Find Mac Address
  341. variable length array (was: question about dynamic memory allocation)
  342. Name of the part after the declaration list in a block in C89
  343. question about dynamic memory allocation
  344. verifycation of registed variable
  345. register
  346. printf()-like macro in C90
  347. A question from a new joinee
  348. Init structure of constants
  349. Are assignments guaranteed to be atomic ?
  350. is possible to build some pointer array?
  351. reading from long string
  352. function to generate 1 or 0 according to a given probability
  353. Educational Software
  354. A Philisophical Question
  355. Big tables in .h file!
  356. how to insert unique ID into binary file that created after compilation?
  357. bioinformatics and C
  358. Is pointer arithmetic associative?
  359. Is pointer arithmetic associative?
  360. memset to initialize double array?
  361. Fibonacci search
  362. Doubt in Question From C Faq
  363. C beginer
  364. sending signals upstream
  365. some misunderstanding of pointers
  366. Seeking a good C introduction book
  367. Implementations with CHAR_BIT=32
  368. Detecting support for unaligned words
  369. A possible memory overwriting.
  370. tell solve my problem
  371. Combime keys
  372. C: A Reference Manual ...
  373. Radix Tree
  374. Is C type checking?
  375. malloc
  376. malloc
  377. HELP ME on Sorting Characters.
  378. Certifications in C.
  379. Best way of clearing a compiler warning?
  380. Trigraphs
  381. [ques]use recursive function to print out n!
  382. Segmentation Fault in Craps program
  383. Passing Variables between functions
  384. Question about fscanf() behavior
  385. Casting Out nines, This one didn't work
  386. finding curve length
  387. printf extensions for output of arrays
  388. Why the setjmp and longjmp I wrote can not work?
  389. getopt()
  390. Question about massive arrays and memory
  391. linux code, about array initialization.
  392. Beginner requesting help - Segmentation fault
  393. How is a compiler written
  394. How to read data from several files into a single buffer?
  395. How to code such program?
  396. Syscall problem ?
  397. c compiler?
  398. need of a sprintf like function...
  399. Why this code is working
  400. Problem for refreshment of outtextxy
  401. Simple question
  402. Pointer problem.
  403. Can you recommend any C programming books?
  404. Calendar Program
  405. Channel
  406. How to write function with multiple parameters...??
  407. how to replace a substring in a string using C?
  408. Can I compile C/C++ Debug version partially?
  409. pls expand this macro
  410. Binary Search
  411. Why am I getting floating point exception?
  412. A Simple C Code to Discuss
  413. Sort of mystified from an earlier thread
  414. C++ runtime errors, can someone help plz
  415. PLEASE HELP - Fundamental C language question
  416. Sort of mystified from an earlier thread
  417. Avaliable symbol table library??
  418. Quick questions...
  419. Radix Sort Help
  420. The result of 1 << 32
  421. Block of pointers
  422. array init
  423. scan: which format for a long long int
  424. Array Problems
  425. Faulty while loop
  426. reading from a text file
  427. program to print a triangle of astericks
  428. Divide and conquer problem
  429. Is char** (or char*[]) implicitly convertible to 'const char * const *'?
  430. Problem with strcat, strcpy,sprintf
  431. Returning pointers to different items and memory storage
  432. How is this useful ???
  433. how to get 0.000001 with printf?
  434. Pse, help me to understand this code
  435. Order of evaluting functions ?
  436. Any idea about this warning
  437. Ints as strings, malloc
  438. How to read such kind of file format ?
  439. XPEDITER/CICS C Support?
  440. compilation of header file requested ? what is that mean
  441. fread() blocks when reading pipe with closed write end
  442. void* to char* ?
  443. How to code for pass one structure value to another structures?
  444. help regarding numerical linearization
  445. manipulate string
  446. where are the strings?
  447. DJ Bernstein's str library
  448. Redundant behavior in coding guideline
  449. Redundant behavior in coding guideline
  450. How do I reverse a string with a single variable for swapping
  451. about rand
  452. about rand
  453. invalid use of array with unspecified bounds.. why?
  454. arrays of strings and pointers
  455. Simply replace a string in a string...
  456. fibinocci series
  457. the quicksort algorithm in Numerical Recipes in C (2nd edition)
  458. Radix Sorting
  459. UDP concept help please
  460. Hello i am new to this C programs
  461. can u tell this will accept or not?
  462. what is K&R2
  463. minimum disjoint path covering of a graph - algorithm needed
  464. minimum disjoint path covering of a graph - algorithm needed
  465. Removing "if (a = b)" warning
  466. Memory Leak
  467. a Haskell a Day
  468. Pointer Allocation
  469. How to import the structure defined in foo.c into bar.c.
  470. replace and concatenate a string
  471. A new use for XML
  472. Portably extracting data from a bytestring
  473. Convert binary char array to integer with reordering
  474. Compiler gives error of missing ']' while it's already there.
  475. Runtime errors possible when I forgot include <string.h>
  476. unsigned char and -1
  477. verifying the password
  478. abbreviate string
  479. memcpy src & dst same
  480. control reaches the end of non-void function
  481. FFTW change from complex struct to float[2]
  482. Erradicating a Buffer Overflow
  483. Zeros or Zeroes?
  484. wrong in Socket program
  485. can we compare two integers without using relational operators
  486. Will the allocated memory be released after process exits?
  487. Validating keyboard input
  488. undefined symbol: _ZNSt8ios_base4InitC1Ev loading library
  489. typedef query
  490. truncating a floating type variable
  491. file or directory and st_mode
  492. PLEASE HELP - need good reference for pthread code
  493. Language design pointer definition
  494. gdb and gcc with IDE?
  495. Can anyone help out, please ?
  496. Representation of '\n' and EOF
  497. inline recursive functions
  498. Unaligned pointers question
  499. enum question
  500. Where can I get a copy of C89/99 ?
  501. Postcard
  502. why prefix increment is faster than postfix increment?
  503. C program is standard C++ program?
  504. Statistics standard discussion
  505. How come I can't use 'sqrt' and 'fabs'?
  506. Header file
  507. Where can I get the algorthm of dicrete convolution?
  508. Arg Eval
  509. ruminations on #include and paths
  510. How to find the size of dynamically allocated struct-type variable?
  511. can you tell that y the code is work like that
  512. where is the end of free()?
  513. how execute exe in c
  514. What should printf infinity show?
  515. Socket Programming Problem in C
  516. printf()
  517. please tell it works
  518. Bit Counting
  519. Find ip on my local machine
  520. Find ip on my local machine
  521. Who can introduce some books about advanced c programming to me?
  522. sentinel control loops
  523. How to calculate the stack and heap size
  524. how to determine a string to be a number?
  525. Initializing Pointer to an array
  526. The difference between signed and unsigned when doing `mod'
  527. How should ctype.h's functions be used?
  528. Crazy Send and Recv behaviour
  529. Inside C
  530. Standard compliant seek with long long?
  531. serial port behavior
  532. setrlimit
  533. how to use pure c to write OO programs
  534. what happens to free()?
  535. Jargons of Info Tech industry
  536. getting size using dirents structures
  537. Need forum Administrator
  538. External Variables
  539. Two-Dimensional Char Array
  540. malloc
  541. How to delay Global variable initilization
  542. Watching a File for Changes
  543. Help. What is the error?
  544. Unicode conversion
  545. Macro substitution and runtime question.
  546. Help. Where is my error?
  547. how to form queues for data storage and how to Handle the matching of the Responses
  548. cyclic doubly link list
  549. weird but interesting code - needs help
  550. fread() function and reading binary files