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. no :of nodes
  2. C graphics image to JPEG
  3. Handling 'initializer element not constant' error
  4. First address of a bidimensional array
  5. Increase stack size in eclipse cdt
  6. C library containing implementations of associative containers.
  7. B+ tree
  8. Once again pointer to first element vs pointer to array cast topointer to element
  9. Reading input problem
  10. How to find longest bitrange of ones
  11. Issue with memory allocation and file reading
  12. type-punning?
  13. String literals and storage duration
  14. pointer to integer to pointer conversions
  15. come in(I have a puzzled)
  16. Determining possible encodings of a given text
  17. SOLUTION TO YOUR PROBLEMS
  18. Game Development
  19. Re: Dev-C++ compiling problem in Vista
  20. Re: K&R2, exercise 6.4
  21. Re: K&R2, exercise 6.4
  22. Re: K&R2, exercise 6.4
  23. Shootout (sum-file)
  24. Pointer question...last for the day? :-)
  25. Allocate Static Memory?
  26. C and OpenMP
  27. Rusty's message to C++ programmers (C or C++)
  28. When you declare an array of chars and store a string in it, where isthe position of the null character \0? And what happens to the unused memorylocations?
  29. Problem with SYS_mount
  30. Re: An interesting c program for beginners
  31. strcpy question
  32. How is it working? Am I doing it right?
  33. socket creation
  34. Re: An interesting c program for beginners
  35. Globals and Exports
  36. array declaration
  37. #define f(g,g2) g##g2
  38. Portability: Harmony between PC and microcontroller
  39. A question: Is 200,000 element array worth sorting and search?
  40. Opinions about a book
  41. C Declarations
  42. What is the difference between: int a (*daytab)[13] and int a*daytab[13]
  43. That's odd...
  44. [Meta] WWDPD
  45. problem with realloc
  46. little/big endian question.
  47. Re: Dev-C++ compiling problem in Vista
  48. Re: Putting an int value in a char array
  49. Re: Dev-C++ compiling problem in Vista
  50. Re: Dev-C++ compiling problem in Vista
  51. previous declaration of Table was here / conflicting types for
  52. Example of the optimiser recognising a pattern
  53. program bug
  54. Testing the keyboard buffer for MT/Not MT
  55. help required.
  56. Integer types in embedded systems
  57. Fastest way to check variable against two values
  58. printing values of "arrays of pointers"
  59. Could someone please explain me this error?
  60. Brace-enclosed array initialisers
  61. trying to find the error
  62. C popularity
  63. Simple Single-Threaded Region Allocator...
  64. Reading input doesn't work
  65. Pointers, typedef's and const's
  66. A site for all your C/C++ programming language needs
  67. Reverse and print a string
  68. Re: K&R2, exercise 6.4
  69. DO U WANT TO KNOW ABOUT SCIENTOLOGY?
  70. GGC's Machine Code Production ?
  71. Re: K&R2, exercise 6.4
  72. doubly-linked list & sorting
  73. Any way to capture stdcout output to memory?
  74. K.N. King's Second Edition
  75. Functions, arrays, structs and passing by reference
  76. Mixed case?
  77. hot new stories
  78. How can i emulate sizeof()
  79. Siebel Automation Test Engineer
  80. Doubt about array's name
  81. Temporarily close stdout?
  82. Defining a list of macro parameters.
  83. Eclipse 4.0 beta - New, Crisp UI. Supports C/C++/Java/PHP/Perl bydefault
  84. value of the constant expression 1<<(1?1:1) < 0x9999
  85. Why this program fails for larger input value ?
  86. Why this program fails for larger input value ?
  87. Pascal2C convertor for windows enviourment
  88. struct versioning
  89. Blank Post
  90. need help with arrays
  91. "Change your language and you change your thoughts."
  92. Is cast operator unary or binary? How many operands?
  93. 128 bit integer code needed
  94. Power of two alignment (bit masks)
  95. string splitting plzzzzzz help me...
  96. string splitting
  97. taking a "word" as input
  98. systematic miscompilation of volatile accesses
  99. Using Algorithms to Represent A List Of Words
  100. Integer to string conversion
  101. bitshifting
  102. A school for all your C/C++ language needs
  103. Portable replacement
  104. C is best
  105. fopen() with full path affecting subsequent fopen calls
  106. FAQ 13.8, comparing strings
  107. problem with file i/o in binary
  108. SUPER AFFILIATE BUSINESS, SUPER REFERAL COMMISSION 1.25$, 100% LEGAL,HOME BUSINESS
  109. Confusion over main function syntax
  110. Help with 2-level macro expansion
  111. how main() is called in C programme
  112. -D_HAVE_ISOC9X_SOURCE and gcc -std=c99
  113. server-side http libraries?
  114. linking problem
  115. Validating a string with sscanf
  116. #define vs typedef
  117. Help with pointers and absolute memory addresses
  118. American Made Circuit Exercise Equipment
  119. Is this correct..??
  120. Re: converting int values to other formats
  121. time()
  122. // comments
  123. Problem setting signal handler
  124. WebGoo 4.0.0
  125. Very good CGI Programming text book
  126. Collatz Conjecture
  127. Re: translation from matlab to C object containing matrices undefinedlength of object
  128. fclose(0)
  129. Question on Wording
  130. Insert a string into a string
  131. Re: how this works ?
  132. Riva FLV Encoder 2.0 - FLV Converter
  133. Another dynamic memory doubt
  134. cast multi-dimension array to pointer: T[][] to T*
  135. Welcome to visit my blog
  136. New Donwload offer...
  137. lcc-win32 conformance question
  138. renew() an array?
  139. Is malloc() function provided in <stdlib.h> thread-safe?
  140. C aptitude
  141. Question on quicksort and mergesort calculations
  142. Re: translation from matlab to C object containing matrices undefinedlength of object
  143. Problem with the incrementation of pointer
  144. translation from matlab to C object containing matrices undefinedlength of object
  145. Garbage collection
  146. How to replace /(division) operator
  147. x % y = ( x -(x/y) * y)
  148. scanf("%d. %d. %d",&d,&m,&y);
  149. Can not `setlocale(3)' more than once in Linux
  150. printf("%d",*(&ptr2 + 2))
  151. udp multicast server and client
  152. Need Hashmap in C AND C++
  153. A tutorial for all your C/C++ programming languages
  154. best way to suppress "unused" warning?
  155. Newbie. Microsoft Visual Express 2008. Problem with Assignment
  156. What the fastest algorithm for find max/min in an array of integers?
  157. __stdcall alternative
  158. ubuntu and its C compiler
  159. Are there statistics packages in ANSI C and/or ANSI C++?
  160. error and warning
  161. ansi c & SSL
  162. atoi
  163. Random IO Read
  164. "libdb-4.2.la" not found
  165. C programming question
  166. dragging a file to a textbox, and a filename appearing
  167. dealing with huge data
  168. Timer in C (like in Java)
  169. casting question - i64 = *((__int64*)&d);
  170. srinivas
  171. How to know linked Files
  172. Help
  173. test
  174. Using C for game development
  175. answer this question
  176. Sliding window and wrap-around
  177. optimizers are overrated
  178. 'half' floating point type
  179. signals blocking
  180. avl tree
  181. a fanny question
  182. Test C Skill [Online Exam)
  183. concatenating strings
  184. While and fgets
  185. Efficient strcat implementation.
  186. sorting the input
  187. Re: relative ordering of static libraries
  188. Must for computers
  189. character conversion
  190. C written test for samsung
  191. Implementing DataBase concepts using C
  192. Computer Science teaching posts at UK Colleges (Daily Feed)
  193. Getting path components
  194. A school for all your C/C++ programming langauge needs
  195. Single RJ-45 with two NICs?
  196. C FAQs section 20.27
  197. implementation of drand48() as given in steve summit's book
  198. constant multidimensional array in a function argument
  199. NuTemp Portable Heater Rental Nationwide
  200. Re: A trick question
  201. K&R2 , exercise 7.6
  202. Need help
  203. GDBM prototype magic.
  204. Re: relative ordering of static libraries
  205. getline() problem
  206. Re: CERT C Secure Coding Standard - last call for reviewers
  207. Unsigned datatype
  208. Re: Arrays & Pointers
  209. Time delay loop less than 1ms
  210. Multiple inheritance doubt
  211. Earn 75 cents on every hour navigation Update!!
  212. diff o/p
  213. Floating-Point Constant with Payload
  214. Should embedded systems compilers be trusted
  215. HI.........
  216. K&R Ex 1-3
  217. A trick question
  218. looking for implementation of strtok
  219. memset o/p not correct
  220. Announcement: C-code generation from statecharts
  221. Char buffer error in a Structure
  222. What are the minimum numbers of bits required to represent C stdfloat and double components?
  223. A one stop website for all your programming language needs
  224. Pointer subtraction problem, source boost pic
  225. Can a double be 32 bits?
  226. compile errors. pls help
  227. sizeof in old C compilers
  228. Identifiers starting with __
  229. Realloc and pointer arithmetics
  230. how to specify power of number
  231. Problem in writing structure to Binary file in C lang
  232. pointer to string
  233. pointer to string
  234. Token Pasting
  235. Size of array too large
  236. Unpacking 12bits integer type into 16bits
  237. Function pointer cast
  238. A one shop website for all your programming language needs
  239. read file help
  240. ioctl serial port and SIOCGSTAMP
  241. Subtracting strings
  242. tools to analyze the code at compile time
  243. UDP source port
  244. Bitmask vs bitfields
  245. Trigger function on shared module init
  246. Discovered a really cool secret
  247. Puzzle Book & Answer Book
  248. Re: Getting a programs cannonical path
  249. Moronic reference site
  250. function prototype in code block
  251. writing a makefile
  252. why this does n't works
  253. un named bit fields
  254. hi, is there any C runtime library in coff .obj format?
  255. Working with Cash and uses of Typedef
  256. pointer normalization
  257. odnoklassniki.ru
  258. Question about a struct declaration
  259. binary tree node deletion
  260. vague lvalue vs rvalue question
  261. Sockets
  262. Error with fgets
  263. Error with cc sunstudio compiler
  264. atoi and INFINITY
  265. problem with rand()
  266. printf("....%d",sizeof((int)(double)(char) i))
  267. y >> (8 * (sizeof(int) -1))
  268. string combination
  269. malloc() and implicit cast
  270. Dynamically loop through array of structures
  271. understanding getopt_long()'s hasarg setting
  272. Vectors vs arrays
  273. Trekking in Nepal
  274. without main()
  275. Use preprocessor in header
  276. Organization of Structs
  277. why cant functions return arrays
  278. #redefine preprocessor macro statement.
  279. problem with double data in exponential form
  280. How to determine curreent date and time/
  281. Re: Network modules
  282. Re: Network modules
  283. Re: Network modules
  284. Static checking of C programs with LCLint
  285. Funny mustsee video: Very bad driver parking, and causing traffic
  286. Ambiguous errata solutions for K&R2
  287. const problem
  288. GetCommState failed with error 87.
  289. linked list
  290. Please help me where the failure is
  291. Link through Header Files
  292. Re: Network modules
  293. struct/union pointer/address stuff.
  294. Struct/Union pointer stuff
  295. Replacing fgets Problem solved.
  296. Write two separated objects?
  297. How to design a program in C?
  298. Using C as target language
  299. Question on the FAQ
  300. #define for very small numbers ?
  301. How do I create a function in my library for passing user callback function
  302. Problem with atoi and strlod
  303. An array of function pointers - generated parametrically
  304. Recursion Basics
  305. `if (!p ? i++ : 0) break;' == `if (!p){ i++; break;}' ?
  306. Library Function for converrting double to string
  307. Re: qsort problem
  308. Best Prometric Test center in Bangalore (like Microsoft, SunMicrosystems, Exin - ITIL, Dell, HP)
  309. Re: '__setvideomode': unresolved external
  310. K&R2 Exercise 4-12
  311. A one shop website for all your programming language needs
  312. Strange I/O error
  313. Re: NUL to terminate strings; was reinventing ASCII?
  314. success! I think
  315. Sliding window
  316. "row major" - technically no such thing in C?
  317. ow to prevent macro expansion in C/C++?
  318. Re: Ambiguous/debatable errata
  319. Re: Ambiguous/debatable errata
  320. Re: Ambiguous/debatable errata
  321. local variables in a recursive program
  322. C Books and algorithm books
  323. Function return value doubt
  324. Test the validity of each argument in a function
  325. Variable declaration followed by colon?
  326. case label does not reduce to an integer constant
  327. How much fast is C++ than Java?
  328. Re: When to use macros.
  329. TESTING SPAM FILTER cklee@lgm.gov.my
  330. writing structure to a file
  331. Re: heathfield vs navia
  332. Regarding extern
  333. When to use macros.
  334. Re: is this portable?
  335. working of drand48()
  336. How to eliminate this global variable, silent?
  337. How to return two values in a function?
  338. How to test the correctness of a function?
  339. What is the use of qualifier const
  340. 'static' to make object accessible by file
  341. super ideas to improve ur gk
  342. Re: Why do people say 'extern' is error prone ?
  343. converting from system::string^ to char* problems
  344. more inheritance patterns
  345. class design: where to put debug purpose utility class?
  346. A vector of strings
  347. Pointer to member function
  348. about std::complex<>'s real() and imag()
  349. Concerning Partial Template Specialization
  350. Portable C++ GUI framework
  351. Shared library compiled by Sun studio can't be used by G++
  352. how to write a macro like this?
  353. List of doubles for overloaded assignment operator's RVALUE???
  354. Book Recommendation?
  355. is it safe to access a complex<double> array as a double array oftwice the length?
  356. need a good explanation
  357. Pointers In C++
  358. Logical Constness
  359. Two i/o questions
  360. Q. about POD with const member (or g++ vs. Comeau)
  361. construct a new type obj failed---how to walk around it...
  362. How can you edit the std::cin delim char?
  363. How to sort vector<complex<double> >
  364. Purpose of protected constructors
  365. Parsing string
  366. Reading an int array from file.
  367. learning c++
  368. Recursive Function
  369. C++0x Enumeration question
  370. C++ Framework
  371. stl heap question: restoring heap validinty after changing 1 element
  372. Internals of how variable scoping works
  373. Funny bit games
  374. Help needed on "no match function error"
  375. Memory access vs variable access
  376. C++ equivalent to Java::TreeSet
  377. Any IBM POSS Programmers? How do I make a IBM POS VFD Customer Display work?
  378. Unit Testing in C++
  379. 64-bit Random Number Generator
  380. calling system() with whitespaces
  381. STL map problem
  382. share a variable across two libraries
  383. iterator as key for unordered_map
  384. Help...A Link error...?
  385. speed of C++ relative to C#.net and Java
  386. omg hc
  387. function object for [] and *
  388. Can someone explain this code?
  389. Valid code or not?
  390. Matching chars in a std::string
  391. auto_ptr<istream> problem
  392. Intel vs Gnu compiler output quality
  393. Problem in Float Arithmetic
  394. How to define a map whose 'key' is a structure?
  395. STL map, compare function
  396. good open source IDE
  397. How to pass a third argument to compare function?
  398. destructor
  399. int *iPtr = new int;
  400. Derived classes and parent constructor
  401. Best Advanced C++ book?
  402. What does this syntax mean?
  403. Warning in C++ Microsoft Visual studio
  404. trouble with structs
  405. Loops
  406. Ideas for a programming
  407. Encapsulating related utility functions
  408. Re: Are so many subclasses such a good idea?
  409. Help in Templates
  410. boost::shared_ptr and multiple inheritance
  411. how to partially specialize a template class nested inside anothertemplate class?
  412. datetime arithmetic over business calendar
  413. c++ mastermind game console app
  414. Re: polymorphic sorting functors
  415. Problem in restoring exchange server database.
  416. Java faster than C++ ?? Impossible !
  417. Square a float: pow or f*f?
  418. Re: can you do if((myptr) && (myptr->IsGreen()) without blowing up?
  419. Simple multi-threading
  420. Need help with relative file path
  421. VC++ DLL Debug
  422. Debugging C++ function call using Interposition agent
  423. output_iterator_tag and back_insert_iterator
  424. HELP with online research.
  425. where is unique_ptr?
  426. Initialize a static array with struct elements
  427. openCV and ogre3d
  428. find a pattern in binary file
  429. can you do if((myptr) && (myptr->IsGreen()) without blowing up?
  430. Can singleton be owned by any object other than itself
  431. Some perfomance thoughts required
  432. postfix operator++(int) with const
  433. a hard problem about template specification
  434. VS2005 to gcc
  435. Application crashes while using OTL class
  436. fopen large file (tera byte) support?
  437. API Calls in C++
  438. A const behavior I don't understand
  439. Microsoft's so called programmers (ROTFL! :-)
  440. counfused.. about rule of 3...
  441. Re: polymorphic sorting functors
  442. templates and abstract base classes
  443. Turning off template parameter deduction
  444. [Q]:Creating objects _only_ by new ?
  445. Self reference in Template class?
  446. Is there a better way to do this?
  447. Attaching a preallocated buffer to an existing std::vector.
  448. Optimal buffer growth
  449. Is it okay to ask questions about Accelerated C++ exercises here?
  450. Boost Graph problem
  451. Solving nonlinear algebraic systems
  452. Overloading sizeof operator
  453. Returning reference to member object
  454. May the size argument of operator new overflow?
  455. Recursive Code
  456. Any better way to do this virtual constructor?
  457. hiding mechanism, FAQ 23.9
  458. Problem with one-liner string conversion
  459. Re: Slow manual 'garbage collection' in C++ ??
  460. fstream issue with ! operator
  461. Static Region Allocator...
  462. Re: Slow manual 'garbage collection' in C++ ??
  463. Deriving my own stream class
  464. Saving a file URL
  465. using character as array subscript
  466. two class definitions which uses each other
  467. Re: C++0x: release sequence
  468. Re: C++0x: release sequence
  469. declare a struct with c++ vectors in a header file...
  470. declare a struct with c++ vectors in a header file...
  471. Creating a class
  472. image generation in C++
  473. Local Variables not getting values back
  474. using and de-referencing a function pointer in a member function
  475. Array/Struct Initialization Confusion
  476. I could not get this const before a function declaration
  477. ios::trunc vs unlink
  478. Providing a no-overhead way for a contained class to access its container?
  479. Null pointer (NULL array pointer is passed)
  480. RS232 problem
  481. class system setup
  482. Re: How can I make a better program from the following one
  483. Software design: Wrapping valarray, or not.
  484. Virtual << operator?
  485. tutorials to learn C++
  486. Out of Memory error
  487. += operation
  488. Visual C++: the need for MFC
  489. Functional Verification Books
  490. Calling constructors and temporary objects
  491. Writing CPU Emulator in C++ language
  492. Quote-Dot-Quote Operator
  493. const or not const, that's the question here! :-)
  494. CAD models of parts?
  495. propagation of exceptions over module/language boundaries
  496. Mastermind
  497. Friendship and nested classes
  498. valarray/slice_array
  499. 2 * 2 * 2 * 2 or pow(2, 4)?
  500. Issues related to storing heterogeneous-sized objects in a vector
  501. Delete chars in a file stream
  502. Command Line Downloaders.
  503. Re: Are so many subclasses such a good idea?
  504. Heap overflow/corruption problem in an arbitrary precision class
  505. boost::multi_array and variable assignment
  506. Memory occupied by Map
  507. Re: Help with naming convention requested
  508. Temporary Object Lifetime
  509. Linking to DLL
  510. Floats on 64 bit machines
  511. How to Use CUnicodeString
  512. memmove on array of objects
  513. initialization of a const static float data member in a class
  514. reg parser for interpretor pattern in C++
  515. How to modify the CMWC4096 PRNG to make an LCG of it?
  516. virtual methods and derived classes
  517. double assignment
  518. Copy constructor doesn't get called when initialized by functionreturning object of same class
  519. Copy constructor doesn't get called when initialized by functionreturning object of same class
  520. Singleton? Or something else
  521. returning an object by value using a non const copy constructorargument
  522. Re: Parallel multithreading for I/O operation in linux ?
  523. Re: Parallel multithreading for I/O operation in linux ?
  524. C++ Object model layout
  525. What is type_info object?
  526. Adding pointer to container
  527. C++ Object model
  528. undefined external template fn?
  529. pointer-to-member of pair<>
  530. Does the typedef definition matter inside a extern "C" declration
  531. Re: a few stl container questions: allocators and comparers.
  532. Re: a few stl container questions: allocators and comparers.
  533. I am getting the following error
  534. Preprocessor Wraper
  535. Need a good RNG and a LCG, both with a max period >= 31 bits
  536. class as template parm
  537. library functions similar to gotoxy(),clrscr() etc. in gnu and otherc++
  538. Meaning of .a extension
  539. fstream tests
  540. reinterpret_cast
  541. When to use a garbage collector?
  542. Performance Question ...
  543. Illegal VIRDEF fixup index in Module XYZ
  544. How to detect that memory is used up?
  545. C/DataDraw beats C++/STL on EDA-like benchmarks
  546. Snake Game problem
  547. Template methods - avoiding instantiation, declaration andimplementation in header file
  548. Template methods, declaration and Implementation in header file andoverloaded methods.
  549. Template methods, declaration and Implementation in header file, andOverloaded methods.
  550. changing vector while processing one of its elements?