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. puzzle static member & iline
  2. sleep(,int); function HELP :(
  3. exact time
  4. When/why to use size_t
  5. Multiply inherit from classes with conflicting function names
  6. C++ compiled and crashed error
  7. When a program crashes, is its memory reclaimed by the OS?
  8. What's pointers like *** mean?
  9. Dynamic Array of Strings
  10. Need help on TCHAR
  11. Cannot call a C module from Fortran
  12. order of calling overloaded operators
  13. problem with pointers in c. and dynamic memory allocation
  14. Found: Code Beautyfier for C++
  15. variable sized structures.
  16. how the C++ compiler implement the exception handling?
  17. Difference between local time and UTC
  18. Virtual Template Member Function - Design Workaroun
  19. mkdir problem
  20. new variable cause crash
  21. C beginner: searching in structs (dynamically allocated)
  22. Need Borland 4.52 compiler or upgrade.
  23. Fatal Error in C
  24. c++/c to asm
  25. serial port comunication problem in linux
  26. Find the size of a datatype
  27. Migrating generic.h to GNU GCC/G++
  28. Regarding Virtual Constructor
  29. i need to correlate between 2 dim' binary matrixes - Is there any library?
  30. How can i return an iterator from a fucntion?
  31. Translate from C/C++ to VB
  32. Need some help with this capturing keys
  33. Translate from C/C++ to VB
  34. one simple question
  35. Addnew fails when
  36. type casting
  37. default arg value lost via function pointer
  38. struct "overloading"
  39. String move Macro.
  40. Is this design pattern correct (builder)
  41. iterate through an STL multimap
  42. Bytes to bits
  43. About the binary tree
  44. POPL 07 Call for Papers
  45. regarding the usage of set_difference with maps
  46. link error
  47. SystemC basic question
  48. dropdown list
  49. sizeof( int ) != sizeof( void * )
  50. Printing a map
  51. c++ user created folders
  52. Hola, queres jugar?
  53. Deriving input stream ?
  54. A conversion question
  55. SIGSEGV due to fscanf
  56. Hola, queres jugar?
  57. fork, execv & state variables
  58. creating pattern using c
  59. ++ devils
  60. variable number of parameters passed to sscanf() at runtime
  61. c++ functions to enumerate days for a month?
  62. About operator overload?
  63. C spot run: initializing variables
  64. class matrix
  65. malloc fails if the function is called twice, how?
  66. A Map Question
  67. writing bits to file
  68. What's the meaning of this comma?
  69. why does this not work?
  70. math.h trig functions questions (and some forgotten high school math)
  71. The value of variables
  72. char [0-9] to int [0-9]
  73. Curses for win32 with VT100/ANSI support
  74. gcc cant support this ??
  75. Available C++ Libraries FAQ
  76. Memory question on std:string and use of c_str()
  77. System::Windows::Forms and Win32
  78. copying mutexes, cv and pthread_ts
  79. char [0-9] to int [0-9]
  80. correct way to use .h and #includes?
  81. Custom placement for vector
  82. How to check if a weak_ptr is empty?
  83. ReadFile Problem
  84. how to initialize a static vector
  85. using c++ with web development languages
  86. Flexible array member and alignement
  87. confusin with virtual inheritance
  88. Raw socket three way handshake
  89. A problem with Nested Maps
  90. Use of diff pointers
  91. access object in array of pointers to dynamic array of class complex
  92. Does integer over flow cause undefined behaviour ?
  93. Importing Existing Code into Eclipse 3.1 >> In Place <<
  94. Thread Safe bug-hunt...
  95. how much memory does vector<bool> take?
  96. Is "hello, world" a constant
  97. Address of static method
  98. varargs question: va_list in structure
  99. STL: assistance with error - class undefine type
  100. Help in OOP
  101. lower number
  102. Lower number/bound
  103. Weird build problem
  104. Using temporary std::stream object
  105. single x double precision on 32bit arch
  106. STL: User Defined Containers
  107. release memory occupied by Char array..
  108. I love yours site
  109. Need help in design
  110. HANOI PROBLEM PLEASE HELP
  111. How to pass STL containers (say a vector) ?
  112. What is the correct way to derive a class in regard to overloaded operators
  113. speed of execution
  114. How to add mySQL, save data to file connectivity to already finished application (novice kind question)
  115. renameTo
  116. date class.
  117. nftw question?
  118. Multithread Interlocking -- What is wrong with this soluition?
  119. static vs. dynamic polymporhism
  120. what is wrong with this code: declaring a char array using variable
  121. Random Number Generation
  122. Is it possible to let the c++ compiler run tasks parallely?
  123. Alternative for int ** to const int ** cast?
  124. Printing files every step
  125. What should a virtual destructor contain?
  126. Forward Reference for Typedef'd Type?
  127. Looking for tree-like structure
  128. float.h and math.h
  129. STL: map vs vector
  130. problems with pointers and structs
  131. Porting from C to C++
  132. own stream, stream_buf?
  133. Internal Project Staffing
  134. Internal Project Stafiing
  135. Internal Project Stafiing
  136. String Matching Problem (NUXI problem) ?
  137. Realloc array of pointers to objects?
  138. Small Correction to K&R Exercise 1-22 Solution on CLC-Wiki
  139. Counting number of zeros in an array
  140. checking double for Inf or NaN - how?
  141. Consts in Member Initialization list, before or after inherited ctor?
  142. pointer
  143. Variable number of arguments in a C++ function
  144. If you were given a mall would you take?
  145. If you were given a mall would you take it?
  146. what is polymorphism?
  147. why does _tzset return void?
  148. This case bypasses initialization of a local variable
  149. C++ Professionals invited
  150. C++ Professionals invited
  151. C++ Professionals invited
  152. Making virtual objects out of non-virtual objects
  153. How this code works n
  154. (OT) Dll and Lib (Do Correct Me)
  155. Simple C++ problem - C++ 101
  156. template error.
  157. Is there any article about "port Java code to C++ code"?
  158. Game Trees?
  159. malloc and new functions
  160. Linked List
  161. Error using '__attribute__'
  162. Initializer element Error
  163. how to find out the address of a variable after I compile the C file
  164. Homepages.
  165. Do parens cause problems when returning references?
  166. Constructor question (again)
  167. endianness and 64-bit machines
  168. va_list
  169. problem with setw(X) and library <iomanip.h>
  170. Static methods and members
  171. Language change question
  172. can't use extern with map?
  173. Enumerations
  174. ptr
  175. Problem with fstreams
  176. const volatile???
  177. Object Splicing
  178. copy conctructor?
  179. read data from a file algorithm?
  180. name decoration - why does this example code compile?
  181. From c++ string to c
  182. marshalling in C++
  183. type casting
  184. Game Development with DirectX
  185. stringstream and dll
  186. Read Txt File
  187. SSE2 Intrinsic usage with Visual Studio
  188. Text File I/O
  189. Binary to ASCII
  190. more auto_ptr confusion
  191. File handling question
  192. combind the C and C++ program
  193. Operators, how they are inherited, how they might be optimized
  194. CALL to label without another reference crashes
  195. release memory occupied by Char array..
  196. program output
  197. release memory occupied by Char array..
  198. how to reintialize a vector
  199. please review my code (splitting a char[])
  200. limite the use of CPU by threads.
  201. Converting Float to unsigned short and Back
  202. Borland Error Message
  203. Safe to return a local object?
  204. diff between sprintf() and fprintf()
  205. stuck with file organisation and global a global array of strings
  206. Cyclic Creation Dependency ?
  207. using select to read STDIN?
  208. Multiple UDP Binds to the same ip:port address?
  209. converting inline functions to C functions
  210. http - help
  211. Debugging at runtime
  212. windows regisrty
  213. Listing the multi-threading unsafe parts of C
  214. A trick with if-else
  215. va_list: how to produce warnings at compile time if calledincorrectly?
  216. Extern functions inside library
  217. Registry and Processes
  218. What is wrong with this. (files)
  219. what is the difference between abstract class and pure abstract class?
  220. how to use c++ to get the system process in windows?
  221. Dev C++ question
  222. void struct
  223. How do you do this?
  224. int fact( int n )
  225. Size of extern int x;
  226. Reg. For copy constructor.
  227. help: C++ error
  228. Structure initialisation
  229. Destructing global variables in correct order
  230. Join Date: May 2006, Posts: 10 Reputation: HAOBBOY is an unknown quantity at this point (<10) Stopping Sorting Feature of Maps
  231. Debugger query
  232. function template
  233. function template
  234. function template
  235. help with a garbage value
  236. help with types needed
  237. computing t = pow(-11.5, .333)
  238. Aspect oriented programming.
  239. Differences between using printf and cout
  240. type specifiers
  241. Silly returning-an-object question
  242. Static Map initialized with Static Function but error
  243. computed #include directives questiron
  244. please please help me
  245. Mixed public/private derivation?
  246. Exception in a derived class constructor
  247. hash_set help
  248. Need compiling help on c++builder 5
  249. C++ for smart phones
  250. child class as argument?
  251. Macro with argument
  252. Help needed in a simple UDP socket program
  253. static const in struct
  254. reading information in a file
  255. [fstream]how to set buffer
  256. iostream buffer and write to file
  257. passing by value pointer of a struct
  258. sprintf: anomalous behavior
  259. Static member use before its initialization
  260. Converting large floating point to string
  261. problem with initiallisation
  262. switch why?
  263. Introduce urself
  264. Declaring structs vs. classes
  265. WSAAsyncGetHostByName without window
  266. c++ project
  267. 2/4 bytes boundary problem
  268. Undefined Reference Error for Map
  269. Random Seeding
  270. Please Can Anny One Tell What This Declaration Says ?
  271. Reading unser input & deciding course of action.
  272. overloading, template, exception handling and c
  273. C++ and Games
  274. Problem with datagram socket
  275. problem including header files in TC
  276. problem including perl header files
  277. Good binary PRNG
  278. Gsoap webservice call Crash on Windows 2000 SP4
  279. string parametres becoming empty
  280. variable - modifiable lvalue
  281. any floating point library with more exponent bits?
  282. Where is the printf body defined?
  283. Windows equivalent of fstatfs() or fstatvfs()?
  284. Portable integer type which can hold int, wchar_t, and void *
  285. How to force client to catch exception thrown from failed constructor
  286. operator[] in matrix class
  287. strtok problem
  288. vsprintf(char *str, const char *format, va_list ap, ...)?
  289. Initializing Static Map Member
  290. Template class and inheritance
  291. any 1 helpe me
  292. What is std:: ?
  293. side effects
  294. New document
  295. What is wrong with reference into std::map?
  296. What are Threads?
  297. Question c faq
  298. variable sized structures.
  299. static method/C++ compiler question
  300. arrays
  301. Exception Terminate
  302. ADD WINGS TO YOUR RESUME !!
  303. Thread safe way to initialize static object
  304. Problem with small piece of C code
  305. Overloaded vendor library routine: is this C++? Or very clever C?
  306. Overloaded vendor library routine: is this C++? Or very clever C?
  307. short or int
  308. invalid conversion from void* to int**
  309. A little confused with this (const ptrs)
  310. DLL Encryption
  311. A stylistic question.
  312. Does this make sense?
  313. Help with Vectors and Dynamic Objects
  314. LOADEXE or LOADO: For those of you that have been following my posts
  315. need help finding error in binary tree code
  316. invalid conversion from void* to int**
  317. Declare a member variable of a class in the constructor
  318. Pragma
  319. Emotional programming
  320. Stupid C Question: fscanf to read a whole line from file
  321. NovelSpace Media, LLC announces the launch of their new online bookstore and web portal devoted to developers and programmers.
  322. NovelSpace Media, LLC announces the launch of their new online bookstore and web portal devoted to developers and programmers.
  323. 1)Executing by reading from executable 2)Compileing in a program
  324. Checking if a path isDir()
  325. pointer q
  326. using less<string>...
  327. doubly linked list
  328. Address in int
  329. partial ordering of template functions & parameter specification
  330. differance between binary file and ascii file
  331. Going Loopy and Losin My Thread... I think C++
  332. deleting a boost::filesystem::path object
  333. Role of copy constructor
  334. Can u help me??
  335. Container Classes
  336. learning name
  337. Text file Program help please
  338. shared_ptr to incomplete type, undefined behavior?
  339. C++, is it Dead?
  340. Iterators...
  341. puttextxy( int x, int y, char far *const );
  342. CTreeCtrl move + button to the right
  343. How to get all the files in a directory?
  344. Class Member Data and Member Function Parameters - Should Parameters Be Data Members?
  345. Extracting output from system(3) call
  346. function prototypes and declarations
  347. Please help me in this
  348. Writting A Psudo Filesystem
  349. Comparing Matrix for common entry
  350. Writting Pluggins
  351. C++ Error message
  352. attempting template metaprog to print arbitrary container
  353. Multiple Software Engineer Positions !
  354. invalid conversion from `const void*' to `void*'
  355. Rationale for Static Member Definition in ISO C++
  356. PLEASE HELP - How do I include OpenSSL in my code?
  357. processing html information in c++
  358. "virtual" variables?
  359. C++ for windows while camping outdoors.
  360. POS Capture Code
  361. Dynamic tracing of C code execution
  362. TekSystems WARNING
  363. Problem with C++ operator for Vector
  364. Quick way to zero array
  365. using extern to declare an instance of a class.
  366. Help converting this Write to operator<< overload
  367. strange exception
  368. Static Map Initialization
  369. creating output string
  370. Rounding Float in C and Remove those Zeros
  371. JPEG and C language..
  372. call constructor from base class
  373. 3n+1 problem revised
  374. Is it possible to use type traits as a template parameter?
  375. JPEG file handling using C language.
  376. delayed eof()?
  377. xml parser
  378. request for a program
  379. request for a program
  380. Neural net library?
  381. win32app & .net
  382. delayed eof()?
  383. continue with switch
  384. How to convert from a struct tm to a time_t ?
  385. ordinal number programming challenge
  386. Help regarding Josepheus problem.
  387. friends of a class...
  388. Avoiding malloc
  389. Compiler barfing on struct with map including structure as second
  390. c++ ide
  391. Shared Objects on AIX
  392. Scope resolution operator question
  393. How to simulate a key press?
  394. Derived class constructor
  395. Compiler error for "wrong" sized type
  396. cnuf
  397. Visual Studio 2005 compatiblity with VC6
  398. Large-Scale C++ Software Design
  399. q re abstracting set operations (I'm baffled)
  400. HELP : visualC++ with STL roguewave => errorC2079(first' uses undefined class...
  401. C code analisys tool
  402. Conversion from scalar to class type
  403. Where does one initialize a static template member?
  404. Noob question about parsing a BSTR
  405. storing delimited string in an array
  406. Debugger question again
  407. strtok causes Segmentation fault
  408. Need help sending email programmatically
  409. 64 bit Endianness issue
  410. Find the position of maximum value.
  411. Converting a float to a unsigned int?
  412. what is the problem with the getline / file?
  413. Trouble with heap after call of DLL method
  414. const int in header: linker error
  415. Program that prints itself
  416. i need any help for a project!
  417. unpredictable crash
  418. unicode mess in c++
  419. Const variables
  420. For loops help
  421. C++ buggy code - new/delete/ifstream/valgrind. Please help I'm a newbie!!
  422. For loops help
  423. avoid structure padding
  424. vector pointers
  425. Why does "function hiding" exists in C++
  426. const class reference return from function, what does const do?
  427. simplifying c code with function pointers
  428. mirror image of tree
  429. 8 numbers
  430. Array and Pointer Tutorial
  431. Testing for EOF in file with binary data
  432. Array and Pointer Tutorial
  433. Testing for EOF in file with binary data
  434. Lowercase std::string compare?
  435. returning address of stack variable
  436. VC++: line break problem in edit box
  437. How to increase stack space/heap space
  438. getchar() problem
  439. Help on callback function
  440. vectors
  441. can local variables be changed in a const [member] function?
  442. Inititialing list/vector inside a constructor
  443. why should throwing an exception by reference work
  444. ctor throws an exception case
  445. Sizes of integers
  446. Inserting Assembally into C source
  447. E-Mail parse library?
  448. Using STL in a library interface
  449. template-nested STL iterator question
  450. Source Code to Plauger's "Standard C Library"
  451. CD burning with a C/C++ programm
  452. accessing static variables from outside their function
  453. Function Pointer Question
  454. Numbers in string declaration
  455. Listing the most dangerous parts of C
  456. Sources for checked STL implementations?
  457. undefined reference
  458. Placement new and destructor
  459. libclc - from Boost thread
  460. Concept of Statements and Expressions
  461. Template partial specialization question
  462. definition of u_int32
  463. Steady State ?
  464. A little quiz on macros
  465. Question regarding int* const in function call.
  466. Function Pointer Question
  467. Will this code leaks memory
  468. Strange va_list problem
  469. Is this right??Is redefine??
  470. C++ References
  471. how to red doc file in c++
  472. question about exceptions
  473. operator overloand and .*
  474. map with pair of key
  475. Need help understanding program control/flow.
  476. Retrieving the src value of the img tag
  477. question
  478. database
  479. problem with function "_tfindfirst()"
  480. How can I make a Two-Dimension array of classes by operator overloading?
  481. how to overload subscript of 2D-array
  482. meaning of outport(LPT1,00)
  483. Problem: Thread in C
  484. Namespace clash for istream object :-(
  485. Bitwise AND etc
  486. Converting int of unknown length to a string
  487. Ansi standard with #defines and \ character
  488. OT - Name Mangling software
  489. Parsing a simple string
  490. dynamic mem alloc q
  491. preprocessor: checking for clashing #define
  492. a struct parser
  493. segementation fault
  494. call function with function pointer array as argument
  495. lgamma function: ANSI C or not?
  496. raeding disk block in linux
  497. Implementing this constructor...
  498. Finding errors in this code...
  499. pls answer
  500. about UDP packet capture error
  501. (const char *cp) and (char *p) are consistent type, (const char **cpp) and (char **pp) are not consistent
  502. GCC Preprocessor
  503. Why do we have to define a namespace with string header?
  504. yet another virtual functions question...
  505. declaring variables inside while loop illegal?
  506. Inheriting template class
  507. New to STL
  508. Segmentation Fault
  509. Writing to Vector Buffer
  510. Getting MSVC to compile proper unix stuff, like hash_map, fts.h, dirent.h
  511. Software Engineers - Multiple Positions
  512. Combination Testing to a predefined value
  513. Is this allowed in c++?
  514. using base class instance in a derived class
  515. MS S Compile problems MT and clr
  516. boost::filesystem::create_directoy()
  517. new and delete from different threads
  518. Linker error for instantiating static data members of template class
  519. PR_BODY
  520. auto_ptr question
  521. Debugger and DDD
  522. correct approach to fix a bug
  523. where is VTABLE stored ?
  524. Implementing this constructor...
  525. Finding errors in this code...
  526. create a database and dynamic allocation
  527. Copying Files from Windows to Linux Server throug VC++ Program
  528. Fun with strings and vectors
  529. static const function not allowed?
  530. Compilation Error?
  531. visual C++ error C2371 redefinition basic types
  532. std::vector and object copying
  533. Systemc?
  534. pointers
  535. windows programming prob
  536. does STL set have FindKth() functionality?
  537. What does this mean?
  538. Password program problem...
  539. can't get the right time
  540. what is .h file's function?
  541. Globally unique enums or macro values?
  542. problem with advisory file locks
  543. swapping bytes in an integer
  544. Utility Warrior announces Image to PDF Dynamic Link Library (DLL)
  545. std::cin.ignore(std::numeric_limits<std::streamsiz e>::max(), '\n');
  546. map value as function pointer
  547. code for implementing buddy allocator
  548. Improve an algorithme involving 6 loops
  549. Explanation of the code
  550. RAX?