Search the web
Sign In
New User? Sign Up
c-prog · C/C++ Programmer's Mailing List
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 52740 - 52769 of 71513   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
52740
... Is that even safe? If I was writing a compiler, I'd be taking advantage of a variable's constness. I can imagine situations where overwriting a const ...
Adelle Hartley
adelle@...
Send Email
Mar 1, 2006
9:08 am
52741
Hi! Everyone, Can anyone tell me how to increase the size of array dynamically? Thanks & Regards, Sangeeta ... Jiyo cricket on Yahoo! India cricket Yahoo!...
Sangeeta Shende
sangeetashende
Offline Send Email
Mar 1, 2006
9:08 am
52742
... Ah. Indeed. ... Wouldn't work. You'd get a false positive with (say) 1000.11 and 1000.21. Or a false negative with 0.0012 and 0.0014. Could always strcmp()...
Paul Herring
shabble
Offline Send Email
Mar 1, 2006
9:09 am
52743
The result is confidently true because the compiler checks the all digits. ... Jiyo cricket on Yahoo! India cricket Yahoo! Messenger Mobile Stay in touch with...
ANANTHA RAJAN
anantharajan...
Offline Send Email
Mar 1, 2006
9:10 am
52744
... 1000.21. Why false? 1st 3 digits are the same, which I thought was what the OP was after. ... Ah- yes, assuming OP is interested in the 0.00, but I wonder...
John Matthews
johnmatthews...
Offline Send Email
Mar 1, 2006
9:17 am
52745
... The International Obfuscated C Code Contest http://www.ioccc.org/...
andrew clarke
zoomosis
Offline Send Email
Mar 1, 2006
9:19 am
52746
... No. It's undefined behaviour. A caveat I should have mentioned in my original answer :) ... Well quite. -- PJH Student Suspended Over Suspected Use of PHP:...
Paul Herring
shabble
Offline Send Email
Mar 1, 2006
9:20 am
52747
... In C you would probably use realloc(). In C++ you would probably use vectors....
andrew clarke
zoomosis
Offline Send Email
Mar 1, 2006
9:20 am
52748
... Declare it dynamically using malloc(), then increase when necessary using realloc(). -- PJH Student Suspended Over Suspected Use of PHP: ...
Paul Herring
shabble
Offline Send Email
Mar 1, 2006
9:20 am
52749
Hello, ... Use the Standard Template Library (STL). For instance, the closest thing to an array in STL is a vector. typedef std::vector<long> vec_long_t; ...
Adelle Hartley
adelle@...
Send Email
Mar 1, 2006
9:24 am
52750
... Because I assumed same within 2 decimal places. You clearly assumed same within 3 significant digits. Another reason for the clarification I asked for :D ...
Paul Herring
shabble
Offline Send Email
Mar 1, 2006
9:26 am
52751
can u give me any small example ... In C you would probably use realloc(). In C++ you would probably use vectors. To unsubscribe, send a blank message to...
Sangeeta Shende
sangeetashende
Offline Send Email
Mar 1, 2006
9:27 am
52752
have a global object that on construction outputs the text required. Regards Som ... From: madhu raj To: c-prog@yahoogroups.com Sent: 28/02/2006 6:57 PM ...
sun
thesunils
Offline Send Email
Mar 1, 2006
9:35 am
52753
... hai rash, thnks for ur help....
Jafarkhan
jafarkhan_cm
Offline Send Email
Mar 1, 2006
9:44 am
52754
hai all, anybody help me to know how garbage collector works in c/c++?. is possible give me some sample codes for the same. thnks and regrds Jafar...
Jafarkhan
jafarkhan_cm
Offline Send Email
Mar 1, 2006
9:47 am
52755
... sorry, completely wrong for the following reasons: 1) The compiler does not check anything at run-time, this sort of work is done by the program itself (or...
Nico Heinze
nico_heinze
Offline Send Email
Mar 1, 2006
10:01 am
52756
... <snip> I'm not Paul, but I think the following will help: 1) open your browser and surf to www.google.com 2) in the text entry field, enter realloc+sample ...
Nico Heinze
nico_heinze
Offline Send Email
Mar 1, 2006
10:23 am
52757
... Have you seen that new website called Google? http://www.google.com/search?q=garbage+collection+C+algorithm -- PJH Student Suspended Over Suspected Use of...
Paul Herring
shabble
Offline Send Email
Mar 1, 2006
10:27 am
52758
On 3/1/06, Nico Heinze <grollnar@...> wrote: [...] ... I think you'll find it was Lenson who posted them this time. I've only been arguing with John about...
Paul Herring
shabble
Offline Send Email
Mar 1, 2006
10:28 am
52759
HI, I have a strange problem regarding fopen, the following code snippet: FILE *stream; stream=fopen(fname.c_str(),"r"); if( stream !=NULL) { //something...
Anand B
b_m_anand
Offline Send Email
Mar 1, 2006
11:09 am
52760
Well, I created two arrays which consist of float numbers. Here is part of my code ================================= ... for(count_1 = 0;count_1 <...
Titi Anggono
tiang_ono
Offline Send Email
Mar 1, 2006
11:10 am
52761
i know this is possible through the melloc function that intilized the memory dynamically of array as well as structure in c and c++ so for this just refer the...
manish agravat
manish_agravat
Offline Send Email
Mar 1, 2006
11:10 am
52762
... Why are you using <cstdio> instead of <iostream> in a C++ program? ... /Only/ 95 files? Why do you need so many open?? ... Don't have so many open files....
Paul Herring
shabble
Offline Send Email
Mar 1, 2006
11:20 am
52763
... Could I suggest that you only need to find out how *close* they are to each other, rather than comparing for equality? abs() and an upper limit should...
Paul Herring
shabble
Offline Send Email
Mar 1, 2006
11:26 am
52764
... Is this another meaningless interview question? The easiest way is in your editor, put the cursor on the 'c' and press delete 5 times, then you will not ...
Ray Devore
rbdevore2007
Offline Send Email
Mar 1, 2006
12:50 pm
52765
Hey guys, Forgive me, I'm a C guy, not C++. I'm attempting to read a txt file with the below code and enter each line into a string vector. I can get the first...
MM
matt-martin@...
Send Email
Mar 1, 2006
1:36 pm
52766
Hi, This is a part of legacy code, so we are using FILE instead of ftream objects. If I use fstream object and open the file, the fstream.fail call return...
Anand B
b_m_anand
Offline Send Email
Mar 1, 2006
1:40 pm
52767
Reply embedded... ... For what language? In C, use malloc() to allocate the memory for the array, realloc() to change its size and free() to deallocate the...
Shyan Lam
sflam108
Offline Send Email
Mar 1, 2006
1:43 pm
52768
thanks martin, i know c++ only and making user interface through VB. I have searched a lot in Google and books too, but i didi not get the commands.i have got...
ashi
ashi_abcd
Offline Send Email
Mar 1, 2006
2:08 pm
52769
search on www.planetsourcecode.com , I saw dozens of examples of what you want to do in both VB and C++ Matt...
MM
matt-martin@...
Send Email
Mar 1, 2006
2:12 pm
Messages 52740 - 52769 of 71513   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help