Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. rzrdigo

    code error?

    Alright, maybe I was not clear. The following code compiles, no errors, it runs normaly until the ACHA_FI_P() function is called. Then nothing happens, I can't know if the program is in an infinite loop because i couldnt debug it with Dev C++, or if it crashes, but the printf after the function...
  2. rzrdigo

    code error?

    Does anybody have any idea why this code doesnt work? the error is in the ACHA_FI_P() function... the problem is I couldnt debug this code using dev c++, anybody know a good debugger? the ACHA_FI_P function is to resolve 2 equations to find values of Fi2 and Fi3 that zero W and Z. any help will...
  3. rzrdigo

    what is wrong below??

    Error: Incompatible type conversion Z=((sqrt(Alfa23_linha)*Tetaliq*Rms*exp(-Alfa23_linha*Fi3*Fi3))/(ERF(sqrt(Alfa23_linha)*Fi3)-ERF(sqrt(Alfa23_linha)*Fi2))+(sqrt(Beta23)*Rls*Tetai*exp(-Beta23*Fi3*Fi3))/(ERFC(sqrt(Beta23)*Fi3))-(sqrt(3.14)*Fi3*Fliq)/(St)); OBS: everything is double Error...
  4. rzrdigo

    Using Charts

    anyone?
  5. rzrdigo

    Using Charts

    Hi all, I am using charts to draw some XY graphs, until here no problem. There is also a report in another window, in which i wish to copy the graph to. I used the following code: //To plot the graph int p; double c[500],b[500]; for(p=0;p<500;p++) { c[p]=p; b[p]=3*p...
  6. rzrdigo

    QuickReport

    If you could do that it would help a lot. Thank you.
  7. rzrdigo

    QuickReport

    I am using QuickReport and am trying to make a report with more than one page. I tried to create two reports in diferent forms, separate, and then in the main form I put a preview button and a composite report to put both reports together, however on the preview just appears the last page added...
  8. rzrdigo

    Using Data In different forms

    In my form FMain, I use values given in the Edits to do some calculations on button click. I need to use the results of some of these calculations on another form. So should I do it like: class Main : public TFMain { public: Alfa1; //The result of a calculation done in FMain }
  9. rzrdigo

    Using Data In different forms

    Hi, i wanted to use in Form2 the data given in the Edits or calculated in Form1. How can i do this? Thanks in advance.
  10. rzrdigo

    QuickReport

    I am using Builder 6 and QuickReport for printing. The preview does not show anything, I do not know if i programmed it right anyway. Where can i find something good to study the QRep?? Thanks
  11. rzrdigo

    two conditions in one if ?

    thanks a lot, that simplifies it a lot. i was using + as OR and , as AND. And the + is also an OR or not? hehe
  12. rzrdigo

    two conditions in one if ?

    i wanted to do the following: "If RadioButton1 AND RadioButton2 ARE NOT checked, send message "Check one", else blabla" i tried like this: if((RBtnIsot->Checked==false) ,(RBtnIsoc->Checked==false) ) { MessageDlg("Choose the simulation.", mtError, TMsgDlgButtons() << mbOK, 0); } else { ... but...
  13. rzrdigo

    Only numbers in the edit box

    thanks, got it
  14. rzrdigo

    Only numbers in the edit box

    Is there a way that the user is only able to put numbers in an Edit box? I tried to program so that a warning would be sent if a letter was typed but i couldnt manage. Would have to do too many comparisons and there are too many edit boxes. Any body can help?
  15. rzrdigo

    catch for letters or empty

    Using an EditBox, is it possible to catch weather what is written in the Edit is a letter or a number and if it is empty too?
  16. rzrdigo

    Edit's AnsiString to Double

    Got it, had to do it like this: k1=atof((Ek1->Text).c_str()); thanks for the help
  17. rzrdigo

    Edit's AnsiString to Double

    No no, i mean in the Edit Box i use a value like "1.2546", that is not an integer.What i want is to do some calculations with the numbers given in the edit boxes. Using both codes above gives me the same error, but it works fine for integers. i think i m missing an #include<> or what could it...
  18. rzrdigo

    Edit's AnsiString to Double

    Do i have to #include some other lib to be able to include those functions? For me it gives an error when i put a fraction in the edit like: class EConvertError with message"1.23 is not a valid floating point value
  19. rzrdigo

    Edit's AnsiString to Double

    How do i convert the number given in an Edit box to double for calculations? Only found how to convert ansistring to int: K=StrToInt(Edit1->Text); How do i do that but to double??

Part and Inventory Search

Back
Top