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 strongm 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. CDuddley

    displaying a splash screen

    i'm using a dialog box with no frame or borders, and i'm trying to display an image in the background like for an installer splash screen. and then, i'll just use the buttons to install stuff with. i tried making the whole dialog transparent so that only the buttons show up, and then do...
  2. CDuddley

    how to use glob...

    I'm trying to figure out how to use the glob sub routine. I've called it this way "$filename = glob("*.whatever")" and this way "use File::Glob ':glob'; @list = bsd_glob('*.whatever');" neither of which work on windows XP. How do I get it to work in...
  3. CDuddley

    To Encrypt Or Not To Encrypt That Is The Question :)

    I'm using MPPE encryption on my R7100 Netopia router. I was wondering since it really slows down the connection can I turn it off since we already have the VPN tunnel up. Are the packets safely tucked away behind the tunnel? Or do they really need to be encrypted. We're not dealing with any...
  4. CDuddley

    VPN Connections Dropping

    Oh I thought he was using the W2K server behind the router. That's what I started out doing :). But, my router was much better :). -CDudd
  5. CDuddley

    PERMISSION TO CHANGE PASSWORD

    When you created users for them there should have been an option to let them change their password. Goto Control Panel->Admin Tools->Computer Management and then goto the users area, which is inside the Computer Management program. Right click on one of the users and select properties or...
  6. CDuddley

    Setting Up VPN...

    I'm to setup a VPN with a friend on a cable modem. I have DSL with a static IP. My Netopia router has PPTP request support and it is set up properly and working (I tested it locally and it connects and seems to work just fine.) I'm not sure though, since my friend is not here locally how will...
  7. CDuddley

    Finding closest CPoint to an array of random CPoint objects

    #include &quot;AnArray.h&quot; #include <iostream.h> int main() { CAnArray CPointS; CPoint pt, spt; srand( (unsigned)time( NULL ) ); for(int i = 0; i < 20; i++) { pt.x = rand()%100; pt.y = rand()%100; CPointS.Add(pt); cout << &quot;(&quot; << pt.x << &quot;,&quot; << pt.y <<...
  8. CDuddley

    Need a for loop

    Just curious why'd you need to search through it like that anyway? -CDudd
  9. CDuddley

    Formula

    I think that comma before -length is throwing it off. Does that powf function return anything? Put whatever powf returned into a variable. And just do 1 - vpowf - length. Lemme know if you need more help. -CDudd
  10. CDuddley

    Need a for loop

    #include <iostream.h> int main() { int ione, itwo; int element[6][6]; for(ione = 0; ione < 2; ione++) { for(itwo = 0; itwo < 2; itwo++) { element[ione][itwo]; cout << ione << itwo << endl; } } for(ione = 0; ione < 2; ione++) { for(itwo = 2; itwo < 4; itwo++) {...
  11. CDuddley

    how do I change the backround color for dialog boxes?

    class CTestDlg : public CDialog { ... protected: CBrush m_brush; ... }; BOOL CTestDlg::OnInitDialog() { ... m_brush.CreateSolidBrush(RGB(255, 255, 255)); // color white brush ... } HBRUSH CAboutDlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor) { /* ** No need to do this! ** **...
  12. CDuddley

    how do you write a code for displaying the number of numbers entered

    No problem had fun doing it :). -CDudd
  13. CDuddley

    Checking if a string is a number?

    Use a switch-case flow control for the operators. -CDudd
  14. CDuddley

    how do you write a code for displaying the number of numbers entered

    #include <iostream.h> int main() { int n, count; //declaration double sum=0, average; int x[10]; //declare array’s elements as type int cout << &quot;How many numbers do you want to enter not exceeding 10?&quot;; cin >> n; //accept integer...
  15. CDuddley

    how do you write a code for displaying the number of numbers entered

    #include <iostream> using namespace std; void main() { int n, count; //declaration double sum=0, average; int x[10]; //declare array’s elements as type int cout << &quot;How many numbers do you want to enter not exceeding 10? &quot...
  16. CDuddley

    how do you write a code for displaying the number of numbers entered

    Post the code you have. I'll try and see if I can fix it. -CDudd
  17. CDuddley

    Convert day of year

    No each element in the month array contains the days per month. So just search through the array (using that loop he wrote) until you find your day :). -CDudd
  18. CDuddley

    Convert day of year

    MFC has some cool classes like CTime and CTimeSpan you can check more out at http://msdn.microsoft.com/ Hope that helps. -CDudd
  19. CDuddley

    ODBC

    Could you use MySQL? -CDudd
  20. CDuddley

    how do you write a code for displaying the number of numbers entered

    Are you wanting to just count to 10 or actually let them enter some numbers and you repeat them back to them? Cause right now it looks like you just looping from 0 - 9 and displaying the the sum of array garbage. When I say garbage I mean you don't have anything in that array, so it could be...

Part and Inventory Search

Back
Top