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: *

  • Users: livestrong
  • Order by date
  1. livestrong

    visual studio 2005 .net and mysql

    Also have mssql, and access, just need a simple db, which is easiest to implement with c++ and visual studio 2005? Thanks
  2. livestrong

    visual studio 2005 .net and mysql

    Hi Everyone, Does anyone know an easy way to get a c++ script to use a mysql db on windows using vs 2005. Have a mysql db installed and working just cant find much info online about c++ and mysql. what libs to use etc. Cheers Everyone.
  3. livestrong

    enum inheritance

    Thanks xwb, Think im on track now, learning as i go! Thanks again
  4. livestrong

    enum inheritance

    ok im not sur i get this 100% I have defined the below method in Piece class bool nextMove(int next_rank, char* next_row) { if (this->white) { cout << "white"; } if (this->black) { cout << "black"; } return true; } Also i have the below objects created in main which...
  5. livestrong

    enum inheritance

    Yes thanks, again I realise that now, doh!! what if i want to put this in a function, how would i refer to p1? example bool next_box(int next_rank, char* next_row) { if (p1.colour == Piece::white) { cout << "white" } return true; } I know this...
  6. livestrong

    enum inheritance

    can do this if (Piece::white == true) which is ok Thanks again
  7. livestrong

    enum inheritance

    Just one more thing about enumerators How can i compare them e.g. bool Move(int next_rank, char* next_row) { if (p1::colour = white) { cout << "Piece white"; } return true; } int main() { Piece1 p1("P1",2,"b",Piece::white); p1.Move(1,"a") return 0; } basically i would like to...
  8. livestrong

    enum inheritance

    Thats Great thanks, its working now, Thanks again.
  9. livestrong

    enum inheritance

    Hi Everyone, Im a newbie to c++ and im trying to inherit a enum from class a to class b Please see below code exerpt. #include <iostream> #include <cstring> using namespace std; //class piece class Piece { int rank; //private char* row; public: //constructor for piece enum colour...
  10. livestrong

    location header target

    Hi Guys, I need my page to relocate to my target frame below is the incorrect code im using! header(Location: ' . $mypage . ' TARGET: mainFrame'); Any ideas It works when i take the "traget" piece out header(Location: ' . $mypage); Any help would be great with this one.
  11. livestrong

    connect from unix mysql server to ms access server

    Hi Everyone, Im wondering is it possible to connect through my mysql db (running on fedora core 4) and access the ms access tables on the ms access server? I have a connection setup the other way around using an odbc bridge, is it possible to do this the other way around enabling me to view /...
  12. livestrong

    running php from command line

    Hi Jpadie, Do you think this is the case even though php / mysql works fine through apache? Killing the current installations would really be the last option. I remember when installing the packages there was no mysql supprot for my php, and i had to make a few changes this may be causing the...
  13. livestrong

    running php from command line

    Hi Everyone, I'm trying to get php working from the command line / terminal. (os - fedora core 4) Just trying to run a simple test script to echo a variable. #!/usr/bin/php <?php $test = 'mytest'; echo $test; ?> when i try run the script ->php test.php Im getting the following error PHP...
  14. livestrong

    sedmail.mc masquerading options do not seem to be working

    Do you mean without MASQUERADE_DOMAIN(exchange.livestrong.com)dnl Still the same. Do you think it is something to do with my hostname setup? or my /etc/sysconfig/network file??
  15. livestrong

    sedmail.mc masquerading options do not seem to be working

    The only thing that seems to be masquerading is the from address.
  16. livestrong

    sedmail.mc masquerading options do not seem to be working

    HI, On my Lan i have an exchange machine which my onlinestore is using to send mail at the moment, however this is the company mail server thus i wish to configure my sendmail server to masquerade as the exchage machine. In my sendmail.mc file i have the following...
  17. livestrong

    ftp shell script problem

    Thanks guys got it sorted now cheers.
  18. livestrong

    ftp shell script problem

    Hi Everyone This is my 1st attempt at writing an automated ftp script and im kinda stuck atm #!/bin/sh ftp -n ftp.open-range.com quote user <myuser> quote pass <mypass> i understand that -n restrains ftp from running through the normal process of logging in thus allowing us to pass the...
  19. livestrong

    mysql obdc bridge dropping

    Hi Everyone, I know its been a while but anyone got any ideas on the above / below?? It seems that the odbc bridge will only work for a few days and then i need to recreate the user in the mysql table in order to be able to connect from the access machine. Is there any logging on the mysql...
  20. livestrong

    reload different frame while not reloading current frame

    Hi Everyone, I have an online store. It has two frames that we are concerned with here mainframe = contains table of results and quick add button topframe = contains basket info At the moment when a user hits the add button the mainframe reloads and i have a piece of javascript that...

Part and Inventory Search

Back
Top