Search Results

Showing results 1 to 40 of 113
Search took 0.01 seconds.
Search: Posts Made By: abhi_elementx
Forum: C++ 28 Days Ago
Replies: 3
Views: 174
Posted By abhi_elementx
I think he wants to know how random numbers are generated by the built in function.....
Forum: C++ 28 Days Ago
Replies: 2
Solved: Linked list
Views: 187
Posted By abhi_elementx
Also, using the count var can tell u how many nodes u've added.
But make sure you decrease the count when u free the nodes.
Forum: C++ 28 Days Ago
Replies: 2
Solved: Linked list
Views: 187
Posted By abhi_elementx
use a global count variable to keep track of the nodes u are inserting.
if count = 0, then only add a node as head...

Getting the idea?
Forum: C++ 28 Days Ago
Replies: 5
Views: 288
Posted By abhi_elementx
No probs :)
Forum: C++ 28 Days Ago
Replies: 5
Views: 288
Posted By abhi_elementx
specify a size while declaring the array:
List <GrabStuff> *bucket[52];

you can later 'push' elements to the end of the list.
Forum: C++ 28 Days Ago
Replies: 5
Views: 288
Posted By abhi_elementx
try :

private:
List <GrabStuff> *bucket[];


instead of:
List <GrabStuff> bucket[];
Forum: C++ 28 Days Ago
Replies: 4
Views: 322
Posted By abhi_elementx
Hi.
Try this. Naive, but should give you some idea.
The way you architect the classes entirely depends on you.

#include<iostream>
using namespace std;
const int SIZE = 3;

class Matrix{...
Forum: C++ 28 Days Ago
Replies: 10
Views: 387
Posted By abhi_elementx
This should work now. You gotta learn arrays, passing arrays to functions, returning arrays, etc. profoundly in order to master arrays.


#include <cstdlib>
#include <iostream>
#include...
Forum: XML, XSLT and XPATH 29 Days Ago
Replies: 3
Views: 557
Posted By abhi_elementx
Hi.
First of all, you need to to decide the language u are going to use for the application.
And then if there is an API to allow your app to communicate with the web.
For example, check this c++...
Forum: C++ 29 Days Ago
Replies: 2
Views: 236
Posted By abhi_elementx
Urmi, your problem seems to be API specific. There are many APIs/connectors/drivers that can be used to connect a language and a database. Search the docs of the API u are using. See if u can find...
Forum: C++ 29 Days Ago
Replies: 10
Views: 387
Posted By abhi_elementx
BTW, cube of a number is different from its cube root, as pointed by jonsca.
Forum: C++ 29 Days Ago
Replies: 10
Views: 387
Posted By abhi_elementx
Hi.
From what i see,

void square_array (double values [size])
{

int index;
cout << "\nThe square of the numbers are:\n";
for (index = 0; index < size; index++)
{
Forum: C++ 29 Days Ago
Replies: 3
Views: 278
Posted By abhi_elementx
hi,
Did u try writing the '\n' char instead of 'endl'?
Forum: C++ 33 Days Ago
Replies: 4
Views: 213
Posted By abhi_elementx
You are most welcome. :)
Forum: C++ 33 Days Ago
Replies: 17
Solved: Void Functions
Views: 619
Posted By abhi_elementx
no probs. :)
Forum: C++ 33 Days Ago
Replies: 4
Views: 247
Posted By abhi_elementx
no probs :)
Forum: C++ 33 Days Ago
Replies: 7
Views: 296
Posted By abhi_elementx
True. You actually actually schedule any exe(application), written in any of the languages for that matter.
Forum: C++ 33 Days Ago
Replies: 17
Solved: Void Functions
Views: 619
Posted By abhi_elementx
See, if u want to compare fractions, why not covert the fraction into string and then compare the strings(the answer and the result)
Forum: C++ 33 Days Ago
Replies: 17
Solved: Void Functions
Views: 619
Posted By abhi_elementx
oh. please ignore the above post :P
Forum: C++ 33 Days Ago
Replies: 17
Solved: Void Functions
Views: 619
Posted By abhi_elementx
Ah. Floats cant be compared directly. And even if you get a result, the same code might not work on different runtime environments(cmpiler, hardware, etc). Therefore u need to set a margin. ...
Forum: C++ 34 Days Ago
Replies: 1
Views: 166
Posted By abhi_elementx
Check
http://stackoverflow.com/questions/294343/read-and-write-rtf-files-with-c-qt
Forum: C++ 34 Days Ago
Replies: 8
Views: 206
Posted By abhi_elementx
You can write:

# include <iostream.h>

void main ()

{int a=0;
int b=0;
int c=a-b;
char ans;
Forum: C++ 34 Days Ago
Replies: 3
Views: 147
Posted By abhi_elementx
Hi.
Where is the problem?
Have u not understood what the program is?
Do you know c++(basic level)?



Cheers
Forum: C++ 34 Days Ago
Replies: 7
Views: 296
Posted By abhi_elementx
You are definitely right. But i gotta justify my reply.
The poster wanted to ask if he can call exes at given time.
For this the he can write a code to call his exes.

The scheduler does schedule...
Forum: C++ 34 Days Ago
Replies: 4
Views: 213
Posted By abhi_elementx
Hi.
This thread is related to designing/modelling. No two developers can create the same design/model. This issue is related to the ethics of ARCHITECTURE.
If u really want to create a high...
Forum: C++ 34 Days Ago
Replies: 7
Views: 296
Posted By abhi_elementx
Yes you can.
See the system() function for more information.

Cheers
Forum: C++ 34 Days Ago
Replies: 4
Views: 247
Posted By abhi_elementx
Try using this:

test obj;
test *t = &obj;
t->run();


instead of:

test* t;
Forum: C++ 34 Days Ago
Replies: 4
Views: 247
Posted By abhi_elementx
Try using this:

test obj;
test *t = &obj;
t->run();

test* t;
t->run();
Forum: C++ 34 Days Ago
Replies: 17
Solved: Void Functions
Views: 619
Posted By abhi_elementx
Ah. Its a simple error on our hand.
We forgot that floats cannot be compared directly
0.33333 = 0.33 will not return true always and even it does, change in the execution environmet(compiler,...
Forum: C++ 34 Days Ago
Replies: 17
Solved: Void Functions
Views: 619
Posted By abhi_elementx
I tried this:
Welcome to my math world and enjoy some training ......

Would you like to play the game? (y/n) => y

Which operation do you like to play? (+, -, *, /) => /

Give me an...
Forum: C++ 34 Days Ago
Replies: 17
Solved: Void Functions
Views: 619
Posted By abhi_elementx
no probs :)
Forum: C++ 34 Days Ago
Replies: 1
Views: 181
Posted By abhi_elementx
Actually there is no need to initialise it to NULL as we do in case of normal pointers.
How ever, for more info, you can refer to the boost library docs.

Cheers
Forum: C++ 34 Days Ago
Replies: 17
Solved: Void Functions
Views: 619
Posted By abhi_elementx
OK. I've tried some changes and seems it's working now(hopefully)

change your diviGame() function to


diviGame(intResult, answer, diviWins, diviLosses, diviTotal);


Change you divide()...
Forum: C++ 34 Days Ago
Replies: 17
Solved: Void Functions
Views: 619
Posted By abhi_elementx
I see that the intResult variable is a double type.

There are issues with the types alright.
Forum: C++ 34 Days Ago
Replies: 2
Views: 249
Posted By abhi_elementx
initialize bonus as:
double numtick, percentage, total,revenue,balance, bonus = 0;
Forum: Python Nov 3rd, 2009
Replies: 14
Solved: palindrome
Views: 420
Posted By abhi_elementx
bravo!!! snipsat.
Dint know something like this exists in Python.
Forum: MS SQL Nov 3rd, 2009
Replies: 1
Views: 610
Posted By abhi_elementx
use getdate() function : insert into tab_name values(getdate())
Forum: PHP Nov 3rd, 2009
Replies: 2
Views: 172
Posted By abhi_elementx
You can write a script to open a given dir(which will contain your mp3 files) and start uploading every file in it in loop.(refer to file operaions under PHP)
At the same time you can fill the song...
Forum: Python Nov 3rd, 2009
Replies: 14
Solved: palindrome
Views: 420
Posted By abhi_elementx
just compare the inString with reversestring using the == operator
Forum: C++ Nov 3rd, 2009
Replies: 16
Views: 7,073
Posted By abhi_elementx
Hello superiors.
Maybe, the the poster(one who started the thread) was talking about DSLs....like Groovy.
Showing results 1 to 40 of 113

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC