Forum: C++ Jul 21st, 2007 |
| Replies: 47 Views: 8,786 Yeah, I first noticed that "java" executable is written in C/C++ when I had some hotspot error and it wrote down a core file, whose pstack showed calls from main()->createVM()... So it's C at least... |
Forum: C++ Jun 28th, 2007 |
| Replies: 10 Views: 1,717 Now that's perfect question to be answered with someone's signature (I really searched for it and couldn't find) which goes something like:
"Although it might be possible to collect the twigs using... |
Forum: C++ Jun 18th, 2007 |
| Replies: 6 Views: 3,100 >> int fildes = open("/dev/hda", O_RDWR);
Seems like you're trying to access a special file (device)
I donno abt those. Check is the man page says anything abt it.
There are at least 2 attributes... |
Forum: C++ May 20th, 2007 |
| Replies: 3 Views: 4,504 It's pretty simple first create a binary tree, then read the input and insert each element in appropriate place in teh tree, then read it back in postfix notation.
Let us know once you're done with... |
Forum: C++ Apr 18th, 2007 |
| Replies: 20 Views: 3,732 You don't need a array of 5 ints to store a 5 digit integer. Change the struct to:
struct person
{
long phone number;
string name;
string address;
int zip;... |
Forum: C++ Mar 22nd, 2007 |
| Replies: 10 Views: 2,064 It's hard to explain in precisely the given code. I need to know types and values of AFE_REG_FLAG_CDR and AFE_REG_FLAG_MSR. Also what're all these flags used for?
In general may be some example... |
Forum: C++ Mar 21st, 2007 |
| Replies: 13 Views: 2,729 Line 27 and 28:
x = growthRate( birthRate , deathRate ) ;
population = estimatedPopulation ( growthRate , cPopulation, n ) ;
SHould either be:
x = growthRate( birthRate , deathRate ) ;... |
Forum: C++ Mar 20th, 2007 |
| Replies: 5 Views: 932 while ( !airportsMaster.eof())
{
airportsMaster.getline(icaoChr, 5,',');
for ( int i=0; i<(numAirports); i++ )
{
if (icaoChr == icaoStr[i])
{
airportsList... |
Forum: C++ Mar 15th, 2007 |
| Replies: 1 Views: 809 |