Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 14 results for
searchdatabase
- Page 1
C++ Compiling Error. Please Help!
Programming
Software Development
15 Years Ago
by xcruiser
…10]; public: void createDatabase(); void displayDatabase(); int
searchDatabase
(int); void Exit(); }; //Implementation File-- MyAssignment.…0; i<n; i++) student[i].
searchDatabase
(studentNo); break; case 4: student[size].…
Database saving problem and windows forms
Programming
Software Development
15 Years Ago
by originaldaemon
…::in|ios::out|ios::trunc); hfile.close(); } } void
searchDataBase
(char userDecision, string searchParameter, int results[1000]){ fstream hfile;… != '2' && userInput != '3'); cin>>searchParameter;
searchDataBase
(userInput, searchParameter, results); displayData(results); getch(); } }while(userInput != '3');…
Javascript Calling PHP Function
Programming
Web Development
12 Years Ago
by ibivobarn
… point me in the right direction. [CODE] <?php function
searchDatabase
($searchField){ /*...SQL call to get results based on search field…; + searchvar + "') ?>" searchcriteria[1] = "<?php echo
searchDatabase
('secondcriteria') ?>" //filling the array with 2 commands to…
Re: Javascript Calling PHP Function
Programming
Web Development
12 Years Ago
by ibivobarn
… + "') ?>" & searchcriteria[1] = "<?php echo
searchDatabase
('secondcriteria') ?>" run their php calls and get the…
Re: Search the ACCESS 2007 Database using vb.Net 2008
Programming
Software Development
12 Years Ago
by Oxiegen
…] Imports System.Data.OleDb Private table1 As DataTable Private Sub
SearchDatabase
() Dim connectionString As String = "Provider=Microsoft.ACE.OLEDB.12…
Re: C++ Compiling Error. Please Help!
Programming
Software Development
15 Years Ago
by Agni
You need to do 2 things 1> Post the exact error messages here 2> Use code tags for re-posting your code so that it can be easily read.
Re: C++ Compiling Error. Please Help!
Programming
Software Development
15 Years Ago
by xcruiser
I made few changes to the code and then the errors reduced to 56. The changes were addition of "#ifndef, #define and #endif" to the header file. ------ Build started: Project: MyAssignment, Configuration: Debug Win32 ------ Compiling... MyAssignment.cpp c:\documents and settings\xcruiser\my documents\visual studio 2008\projects\…
Re: C++ Compiling Error. Please Help!
Programming
Software Development
15 Years Ago
by Agni
Your implementation file needs the 'using namespace std' declaration.
Re: C++ Compiling Error. Please Help!
Programming
Software Development
15 Years Ago
by xcruiser
That didn't work fine. Made errors 57. Can you please tell me how to declare the global variables. I mean in which file should I type them? They seem to be the problem to me.
Re: C++ Compiling Error. Please Help!
Programming
Software Development
15 Years Ago
by seanhunt
Global variables are defined in a header file (so that various cpp files that include it can see it). Setw is defined in iomanip so this must be included where needed. Also, you are trying to use an array of your class in the implementation (student) without declaring it or defining it. Declaration so that a file can 'see' the variable (such …
Re: Database saving problem and windows forms
Programming
Software Development
15 Years Ago
by Salem
Well you could read the intro threads (there are plenty of opportunities, and you missed all of them. So much for paying attention) which tell you about code tags.
Re: Database saving problem and windows forms
Programming
Software Development
15 Years Ago
by originaldaemon
Sorry for the bad posting. Having some internet problems. Here are the two functions that im having the problem with. [CODE]void addStation(){ fstream hfile; hfile.open("database.txt", ios::binary|ios::in|ios::out); hfile.seekp(0, ios::end); cout<<"Enter URL:"<<endl; cin>>temp.url; cout<<&…
Re: Database saving problem and windows forms
Programming
Software Development
15 Years Ago
by Salem
Well the basic problem is your struct contains std::string. These contain pointers to dynamically allocated storage which will NOT be written to the file when you just write out the structure the way that you are (you just write the pointers). Similarly, reading in just reads pointers, but what will they point to (garbage). At the least, you …
Re: Javascript Calling PHP Function
Programming
Web Development
12 Years Ago
by Morta
hiiiiiii,the only way is to use ajax technic...you can't execute php function in client side(static) .... Thanks... %^^%Murtada%^^%
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Forums
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC