Jump to content
Xtreme .Net Talk

Martonx

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by Martonx

  1. I found two ways. 1. Publish the asp.net part of the solution. This method seems good, and elgant, with all of necessary components, BUT this method isn't working becasue of some kind of web.config error message from IIS. 2. Makeing a Realese insted of Debug. In this method there is only the key part of the Silverlight Business Application without any database, or connection strings. This method is working, but without databases. Please help me to find a good way to deploy my Silverlight application with properly working database.
  2. Hi all, I would like to host my Silverlight Business Application on my own IIS 7 webserver. Could anyone help me, what should I do? Please help me in step-by-step. Thank you in advance
  3. Hi Everyone, I have a C++ program lesson, but i can't to do it. I have a binary file with structured datas. I have to read the datas, and take into a class (structure array). Here is my code: #include <iostream> #include <fstream> using namespace std; struct dolgozo { char nev[30]; unsigned int kor; long int fizetes; }; class dolgoszt { private: dolgozo *adatok; int db; public: dolgoszt(char nev[]) { int i=0; db=0; dolgozo r; ifstream zh; zh.open(nev); if (zh.fail()) {cout<<"Error when open the file";exit(1);} zh.read((char*) &r, sizeof(dolgozo)); while (!zh.eof()) { db++; } adatok = new dolgozo[db]; zh.beg; zh.read((char*) &r, sizeof(dolgozo)); while (!zh.eof()) { adatok[i]=r; i++; zh.read((char*) &r, sizeof(dolgozo)); } zh.close(); } ~dolgoszt(); void kiir() { cout<<adatok->nev<<"\t"<<adatok->fizetes<<"\t"<<adatok->kor<<endl; } }; int main() { char file[30]="c:\\dolgozo.dat"; dolgoszt d(file); cin.get(); } But i can't compile this, i have some fatal error:confused: I think this part has the problem: adatok = new dolgozo[db]; zh.beg; zh.read((char*) &r, sizeof(dolgozo)); while (!zh.eof()) { adatok[i]=r; i++; zh.read((char*) &r, sizeof(dolgozo)); } I attached the binary file. Please help me. I am new in C++, i can programming in Visual Basic, but it is very hard to learn C++ :eek: dolgozo.zip
  4. Hello, I have the same problem. Could you tell me, what can I do, to use d3d9.h header. I am new in directx, and new in C++. Could you tell me in so many words? fatal error C1083: Cannot open include file: 'd3d9.h': No such file or directory Thank you!
×
×
  • Create New...