|
file write Hello group members, i am a newbie and trying to write array values to a file. array values are dynamic so i need to create file first and later append the values here is the code i tried... the file is created but it is empty can any one help.... void filewrite (unsigned int *sad, unsigned char *p... 25 Jul 2008 08:22
Heap corruption detected!! I am reading the "C++ Primer, 4th Edition". I compiled the following codes, // C-style character string implementation const char *pc = "a very long literal string"; const size_t len = strlen(pc +1); // space to allocate // performance test on string al... 24 Jun 2008 23:37
cheap discount prada chanel coach puma versace wallet sneakers www.efootjoy.com wholesale Michael jordans shoes fusion force shoes wholesale jordan shoes air force ones dunks, sandals, glasses, puma air max 87 89 90 95 ltd timberland jeans ugg boots lacoste sandals hoodies, t-shirts, mauri shoes, dsquared , hogan shoes, dunks , red monkey, polo t-shirts, evisu jeans, bbc je... 24 Jun 2008 20:33
Division result is always 100 instead of 99.99 Hi All, My coding have following stmt in which I divide large number say X by number y which is sligthly greater then X. Say Y = X + 1 double successRate = 0; double passedCandidates = 10000000 ; double failedCandidates = 1; sucessRate = (passedCandidates * 100) / ( passedCandidates + failedCandidates... 25 Jun 2008 10:52
how to get std::map-keys Hi, i have a std::map<AnsiString,int> ErrorLabel; ErrorLabel["first"] = 231; ErrorLabel["second"] = 334; now i want to loop through all elements: for (std::map<AnsiString,int>::iterator it=ErrorLabel.begin(); it!=ErrorLabel.end(); it++) { *it // here i need the keys "first" "second" but how do i ge... 20 Jun 2008 10:10
Initialize with Copy Constructor? Hi all, I accidentally found that g++ compiles the following: B b = b; In this case, B is a class, and the copy constructor of B is called, no default constructor is called however. It means that I'm actually initializing b with an uninitialized b. Is this a compiler bug or intended behavior? I thought ... 23 Jun 2008 03:30
newbee help : parser in C hi all . i am trying to build a parser in ANSI C . I made a lexical analyser in the same language a while ago . It was a very simple lexer that tokenised a simple C source code text file - basically a very simple lexer . I had made use of hash tables for the data structure . Now i want to know how to build a parser... 20 Jun 2008 02:00
Saving a file from I`net URL Hi all, Given a file url (internet url) , I need to save it on my hard disk using c++ code. Is there anyway I can do this through pure c++ ? The code needs to be portable on both windows and linux. Also, i do not wish to use system calls usch as system("wget") etc. Plz guys.. could someone help me out ? I`m ... 19 Jun 2008 01:11 |