Forum: Geeks' Lounge Jul 27th, 2007 |
| Replies: 418 Views: 44,390 An English teacher is teaching kids new words. As an exercise she gives an assignment to all kids to learn a new word from the dictionary and use it in a sentence.
Next day she asks Harry "So Harry... |
Forum: Geeks' Lounge Jul 26th, 2007 |
| Replies: 418 Views: 44,390 |
Forum: C++ Jul 21st, 2007 |
| Replies: 47 Views: 8,670 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: Java Jul 6th, 2007 |
| Replies: 11 Views: 3,493 I needed to get links to some good Java, J2EE tutorials and was surprised that daniweb::Java didn't have a thread on that..
Of course it's easy enough having Sun provide tutorials on most things,... |
Forum: Geeks' Lounge Jun 29th, 2007 |
| Replies: 600 Views: 46,149 Hmm, so it seems like there are lotsa "nice" smokers around.. :).
Just the same way I tried saying that even though there are times when smokers are smoking in their smoking corners, and still ppl... |
Forum: C++ Jun 28th, 2007 |
| Replies: 10 Views: 1,711 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,060 >> 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: Java Jun 14th, 2007 |
| Replies: 16 Views: 2,720 Looks like local_jlist is a function local variable (inpublic Prod_applet()).. and not in the scope where you're using it (line 226).. make it a member variable.. it should work.. |
Forum: C++ May 20th, 2007 |
| Replies: 3 Views: 4,423 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 May 5th, 2007 |
| Replies: 24 Views: 9,536 Given that the code posted by me/Vijayan works both on windows and unix #ifdefs won't be needed in this particular case. |
Forum: C Apr 26th, 2007 |
| Replies: 6 Views: 1,231 Tell me abt it.. :)
Guess everyone faces this some time or the other while they learn programming..
That's teh reason I used words "lucky/unlucky".. may be after a few years your hand will get... |
Forum: C++ Apr 18th, 2007 |
| Replies: 20 Views: 3,715 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 Apr 17th, 2007 |
| Replies: 4 Views: 1,530 You can't take a 2D array as a function argument with both diamentions of variable length (it's allowed for single diamention but not for more than one !)
i.e.
void my_function1( int arr_1D[] )... |
Forum: C Mar 29th, 2007 |
| Replies: 11 Views: 3,909 A word on unresolved symbol:
This is the oppisite of "multiple definitions". In this case you have put extern declaration in some file, (so compiler is happy and leaves the work of finding it's... |
Forum: C Mar 28th, 2007 |
| Replies: 7 Views: 1,751 What abt GOTO LABEL?
if ( true )
{
cout << "Hi" << endl ;
goto ELSE_PART ;
}
else
{
ELSE_PART: |
Forum: C++ Mar 22nd, 2007 |
| Replies: 10 Views: 2,052 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,672 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: 930 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: 807 |