125 Posted Topics

Member Avatar for shaqnolysis
Member Avatar for masijade
0
97
Member Avatar for pmhayden

there is different ways to solve the problem. you can store the value in a static variable if you have only one user at a time (which is not the case i believe), or you can directly access the variables of object [hint: every user is an object. login informations, …

Member Avatar for orko
0
295
Member Avatar for onsir

it is always good to use diff classes in java... datz the whole point of OO programming... i don't know y u r trying to put them together. n wat classes do u want to combine? watz the approach u have made? show us some of ur work so that …

Member Avatar for orko
0
975
Member Avatar for mimsc

I am not clear about the problem yet. But seems like you did not declare any class. In java, almost e'thing is an object. So in order to make your function work, you have to put it inside an object. sample solution can be: [code] public class MyClassName { public …

Member Avatar for mimsc
0
154
Member Avatar for tygerberg

Hey! Obviously doable. You should try Java Media Framework (JMF). They have a lot of samples. This is a complete solution for sound. Link: [url]http://java.sun.com/products/java-media/jmf/[/url]

Member Avatar for orko
0
98
Member Avatar for orko

Hello, I usually don't complain too much. But this time I am getting mad. I just wrote a linked list, where 1. If the value was not present before in the list, it will be added. In this case, there is a capacity. If the new value increases the list …

Member Avatar for Lerner
0
131
Member Avatar for niceguy167
Member Avatar for greendayrok

aha! for php thr r some hosting service...... or u can try this [url]http://www.free-webhosts.com/webhosting-01.php[/url] ...... here u ll find a bunch of free web hosting companies

Member Avatar for alpha2006
0
145
Member Avatar for yawni

boot from cd.... n run chkdisk or if ur compaq have any tool to check hard disk's condition...... bcoz some times, the hd is fine, but the rpm rates becomes too low to run the pc..... check the rpm, any bad sector.

Member Avatar for nizzy1115
0
90
Member Avatar for amnezia

if u have to include i after all the calculations, the ans. will be some thing like a+ib, whr a and b are two numbers..... as example 2+3i or 4-7i ....... n ans.s shud look like this.

Member Avatar for SpS
0
1K
Member Avatar for kevjeffers

besides, u can write a test file to implement the functions one by one..... thus, u can understand which function is not working actually..... good luck!

Member Avatar for kevjeffers
0
107
Member Avatar for tuannie

we do binary calculation on following manner: [QUOTE] [CODE]0 1 0 . 1 0 1 0*2^0 1*2^(-3) 0 1/8 (.125) 1*2^1 0*2^(-2) 2 0 0*2^2 1*2^(-1) 0 1/2 (.5) ---------------------------------------------------------------- (Adding all) 2. 625[/CODE] [/QUOTE] read carefully, then read salem's posting..... i hope u ll get ur ans. :).... cheers!

Member Avatar for anupam_smart
0
211
Member Avatar for almared_6

yah.... using array is good idea for beginners..... n don't forget to subtract 1 from the total element number before finding the avg.... :P .... as i used to do such mistakes a lot! *** after finishing ur coding, ask if u r still in any trouble!

Member Avatar for Bench
0
140
Member Avatar for DrJD

or might be a good job in any institutions or in uni, as prof or research....... so cheers! :)

Member Avatar for DrJD
0
99
Member Avatar for ultirian

very simple u r calling char m_f_name[30] inside ur remove member function..... n u r not returning anything to the main function..... so, watever is done inside the remove function doesn't link to the main function.... beside, in every function u r doing wrong work..... u r not giving anything, …

Member Avatar for orko
0
101
Member Avatar for Tiffiney_v24

[QUOTE=Tiffiney_v24][code]#include "stdafx.h" #include <iostream> using namespace std; // class with identifiers and functions class real { private: double n[10],s; // declarations int i; double avg; public: real() { s=0; } void read() { cout<<"Please Enter 10 Numbers"<<endl; for (i=0;i<10;i++) { cout<<"You have Entered Number:"; cin>>n[i]; } }; void print() { …

Member Avatar for orko
0
106
Member Avatar for Mr T.

u can use debugging tool or watch function of ur compiler for better understanding wat u made wrong..... n the thing is i have run ur program.... it seems like it z working fine.... okay for overdraw: [code] if(fwithamount>bal) { printf("\nYour new balance is $%.2f\n",bal-fwithamount-35); bal=bal-fwithamount-35; } else { printf("\nYour …

Member Avatar for orko
0
188
Member Avatar for kjones2k1

ok [QUOTE]string text = "the Dog At5674 654 Mypaper";[/QUOTE] instead write [QUOTE]char text[max_lim]="the Dog At5674 654 Mypaper";[/QUOTE] don't forget to declare the value of the constant max_lim then instead of the for loop u used, try [QUOTE] int count=1 //assuming u r starting with first word for(i=1; text[i]!='\0' ;i++) { …

Member Avatar for orko
0
178
Member Avatar for johnray31
Member Avatar for Tiffiney_v24

check this: [QUOTE]int _tmain(int argc, _TCHAR* argv[]); { { class real [/QUOTE] try without these lines..... y r u using int _tmain(int argc, _TCHAR* argv[]); for? and check brackets on the top part! n which compiler u r using?

Member Avatar for Ancient Dragon
0
125
Member Avatar for sandra2005

sandra, i agree with narue...... at first u have to help urself.... try to solve the problems..... wish ur good luck with dat...... if u face problem after ur 3 hrs trying on any single issue, then plz post ur code here.... thank you :)

Member Avatar for sandra2005
0
128
Member Avatar for newgurl

and u can use stricmp() instead of strcmp() to ignore upper case n lower case ..... actually this is not good way to compare string sizes....... bcoz: [QUOTE]int strcmp (const char str1[], const char str2[]);[/QUOTE] compares str1 and str2 if they have same character. try [QUOTE]int strlen (const char str[]);[/QUOTE] …

Member Avatar for orko
0
7K
Member Avatar for ZenaNqld

don't worry, we might be worse than u :P...... come on, we don't know u personally.... n here u r trying to learn...... no one will laugh at u.... e'one is very nice here

Member Avatar for orko
0
94
Member Avatar for gropedersen

if (isEmpty(s)) // if stack is empty, cannot remove data { cout << "Stack underflow"<<endl; exit(1); //terminate the program } You can write: if (isEmpty(s)) // if stack is empty, cannot remove data { throw invalid_argument("Stack Underflow"); } same in push(), top() and other functions. then the main() should be: …

Member Avatar for Lerner
0
753
Member Avatar for jglw

[QUOTE]do { c = fgetc (stdin); tmp->element = c; tmp->edge = new Nodec; tmp = tmp->edge; } while (c != '\n');[/QUOTE] Here, the loop is running although the line is finished..... so better, if u use EOF or only while loop.

Member Avatar for orko
0
278

The End.