473,554 Members | 3,078 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Need help with my conversion utility...

Hi,

I've had a introductory C++ course in the spring and haven't programmed in
C++ for a couple of months now (but I have been programmed in C since
january). So I decided to do my conversion utility in C++, before I forget
everything. But it doesn't compile:

------------
cat export_tex.C
#include <iostream>
#include <fstream>
#include <string>

using namespace std;
/*************** *************** *************** ****
* *
* This program takes data from some .vtk *
* input-files and exports them to .tex-format *
* *
*************** *************** *************** ****/
int main()
{
/* will contain LaTeX preamble etc */
string LaTeX_header = "test, bla.bla... \n\begin{docume nt}\n";
string LaTeX_tail = "\end{document\ n}";

string current_data_ty pe;
char* valid_data_type s[3] = {"Temperatur e", "Rho*cp", "Cell_energ y"};
string read_line;

unsigned int filenumber; /* current data file number */
unsigned int number_of_lines ; /* tells how many data lines follows */

/*************** *************** *************** ***************
* conversion loop - continue as long as data-files exists *
*************** *************** *************** ***************/

for(unsigned int i=0; i<999; i++)
{

ifstream infile("file", i, ".vtk"); /* file[filenumber].vtk */
if( infile )
{
infile >read_line;

/* ??? if read_line == one of the "valid_data_typ es" ...
then begin conversion... Else: read a new line */
/* valid lines beginn with:
"SCALARS" + spc + |current_data_t ype| + spc */
/* test: cout read_line; */

/* tex_file[filenumber].tex */
ofstream outfile("tex_fi le", i, ".tex");
/*************** *************** ****
* do the actual conversion here *
*************** *************** ****/

outfile << LaTeX_header;

/*
for(unsigned int linenumber=1; linenumber<numb er_of_lines;
linenumber++)
{
infile >something;
outfile << converted_somet hing;
}
*/

outfile << LaTeX_tail;

}

if( ! infile ) /* can't open file? Then finish */
break;
}
cout << filenumber+1 << " number of .tex files written" << endl << endl;

return 0;
}
------------

As you see it's probably very much C-style and not very good C++-style, as I
did my bachelor project in C (and this conversion utility is a continuation
of my bs.c project).

First step: How can I make this compile? Suggestions are most welcome...
I get a lot of strange things when I try to compile... Such as:

/usr/include/c++/4.1.0/i586-suse-linux/bits/c++config.h:43: error: expected
constructor, destructor, or type conversion before ‘namespace’
/usr/include/c++/4.1.0/i586-suse-linux/bits/c++config.h:47: error:
‘__gnu_debug_ def’ is not a namespace-name
/usr/include/c++/4.1.0/i586-suse-linux/bits/c++config.h:47: error: expected
namespace-name before ‘;’ token
...... etc. etc...
Best regards
Martin Jørgensen

--
---------------------------------------------------------------------------
Home of Martin Jørgensen - http://www.martinjoergensen.dk

Oct 13 '06 #1
31 3107
Hi,

Well this seems to come from the compiler itself, this means there is
something wrong with it. Just a wild guess; you might try to include the
'#include' s in a different order. If that doesn't work install another
version of g++.
Regards, Ron AF Greve

http://moonlit.xs4all.nl

"Martin Jrgensen" <ho**********@h otmail.comwrote in message
news:45******** *************@d read12.news.tel e.dk...
Hi,

I've had a introductory C++ course in the spring and haven't programmed in
C++ for a couple of months now (but I have been programmed in C since
january). So I decided to do my conversion utility in C++, before I forget
everything. But it doesn't compile:

------------
>cat export_tex.C

#include <iostream>
#include <fstream>
#include <string>

using namespace std;
/*************** *************** *************** ****
* *
* This program takes data from some .vtk *
* input-files and exports them to .tex-format *
* *
*************** *************** *************** ****/
int main()
{
/* will contain LaTeX preamble etc */
string LaTeX_header = "test, bla.bla... \n\begin{docume nt}\n";
string LaTeX_tail = "\end{document\ n}";

string current_data_ty pe;
char* valid_data_type s[3] = {"Temperatur e", "Rho*cp", "Cell_energ y"};
string read_line;

unsigned int filenumber; /* current data file number */
unsigned int number_of_lines ; /* tells how many data lines follows */

/*************** *************** *************** ***************
* conversion loop - continue as long as data-files exists *
*************** *************** *************** ***************/

for(unsigned int i=0; i<999; i++)
{

ifstream infile("file", i, ".vtk"); /* file[filenumber].vtk */
if( infile )
{
infile >read_line;

/* ??? if read_line == one of the "valid_data_typ es" ...
then begin conversion... Else: read a new line */
/* valid lines beginn with:
"SCALARS" + spc + |current_data_t ype| + spc */
/* test: cout read_line; */

/* tex_file[filenumber].tex */
ofstream outfile("tex_fi le", i, ".tex");
/*************** *************** ****
* do the actual conversion here *
*************** *************** ****/

outfile << LaTeX_header;

/*
for(unsigned int linenumber=1; linenumber<numb er_of_lines;
linenumber++)
{
infile >something;
outfile << converted_somet hing;
}
*/

outfile << LaTeX_tail;

}

if( ! infile ) /* can't open file? Then finish */
break;
}
cout << filenumber+1 << " number of .tex files written" << endl << endl;

return 0;
}
------------

As you see it's probably very much C-style and not very good C++-style, as
I
did my bachelor project in C (and this conversion utility is a
continuation
of my bs.c project).

First step: How can I make this compile? Suggestions are most welcome...
I get a lot of strange things when I try to compile... Such as:

/usr/include/c++/4.1.0/i586-suse-linux/bits/c++config.h:43: error:
expected
constructor, destructor, or type conversion before 'namespace'
/usr/include/c++/4.1.0/i586-suse-linux/bits/c++config.h:47: error:
'__gnu_debug_de f' is not a namespace-name
/usr/include/c++/4.1.0/i586-suse-linux/bits/c++config.h:47: error:
expected
namespace-name before ';' token
..... etc. etc...
Best regards
Martin Jrgensen

--
---------------------------------------------------------------------------
Home of Martin Jrgensen - http://www.martinjoergensen.dk

Oct 13 '06 #2


Hi,

Wait a minute, your file ends with .cc or not? Make sure you compile it with
g++ and not gcc.
Regards, Ron AF Greve

http://moonlit.xs4all.nl

"Moonlit" <news moonlit xs4all nlwrote in message
news:45******** **************@ news.xs4all.nl. ..
Hi,

Well this seems to come from the compiler itself, this means there is
something wrong with it. Just a wild guess; you might try to include the
'#include' s in a different order. If that doesn't work install another
version of g++.
Regards, Ron AF Greve

http://moonlit.xs4all.nl

"Martin Jrgensen" <ho**********@h otmail.comwrote in message
news:45******** *************@d read12.news.tel e.dk...
>Hi,

I've had a introductory C++ course in the spring and haven't programmed
in
C++ for a couple of months now (but I have been programmed in C since
january). So I decided to do my conversion utility in C++, before I
forget
everything. But it doesn't compile:

------------
>>cat export_tex.C

#include <iostream>
#include <fstream>
#include <string>

using namespace std;
/*************** *************** *************** ****
* *
* This program takes data from some .vtk *
* input-files and exports them to .tex-format *
* *
************** *************** *************** *****/
int main()
{
/* will contain LaTeX preamble etc */
string LaTeX_header = "test, bla.bla... \n\begin{docume nt}\n";
string LaTeX_tail = "\end{document\ n}";

string current_data_ty pe;
char* valid_data_type s[3] = {"Temperatur e", "Rho*cp", "Cell_energ y"};
string read_line;

unsigned int filenumber; /* current data file number */
unsigned int number_of_lines ; /* tells how many data lines follows */

/*************** *************** *************** ***************
* conversion loop - continue as long as data-files exists *
*************** *************** *************** ***************/

for(unsigned int i=0; i<999; i++)
{

ifstream infile("file", i, ".vtk"); /* file[filenumber].vtk */
if( infile )
{
infile >read_line;

/* ??? if read_line == one of the "valid_data_typ es" ...
then begin conversion... Else: read a new line */
/* valid lines beginn with:
"SCALARS" + spc + |current_data_t ype| + spc */
/* test: cout read_line; */

/* tex_file[filenumber].tex */
ofstream outfile("tex_fi le", i, ".tex");
/*************** *************** ****
* do the actual conversion here *
*************** *************** ****/

outfile << LaTeX_header;

/*
for(unsigned int linenumber=1; linenumber<numb er_of_lines;
linenumber++ )
{
infile >something;
outfile << converted_somet hing;
}
*/

outfile << LaTeX_tail;

}

if( ! infile ) /* can't open file? Then finish */
break;
}
cout << filenumber+1 << " number of .tex files written" << endl << endl;

return 0;
}
------------

As you see it's probably very much C-style and not very good C++-style,
as I
did my bachelor project in C (and this conversion utility is a
continuation
of my bs.c project).

First step: How can I make this compile? Suggestions are most welcome...
I get a lot of strange things when I try to compile... Such as:

/usr/include/c++/4.1.0/i586-suse-linux/bits/c++config.h:43: error:
expected
constructor, destructor, or type conversion before 'namespace'
/usr/include/c++/4.1.0/i586-suse-linux/bits/c++config.h:47: error:
'__gnu_debug_d ef' is not a namespace-name
/usr/include/c++/4.1.0/i586-suse-linux/bits/c++config.h:47: error:
expected
namespace-name before ';' token
..... etc. etc...
Best regards
Martin Jrgensen

--
---------------------------------------------------------------------------
Home of Martin Jrgensen - http://www.martinjoergensen.dk


Oct 13 '06 #3
cat export_tex.C
....
First step: How can I make this compile? Suggestions are most welcome...
It's complaining about the word "using," which is C++ specific.

My guess - change the filename to .CC or .cc or .cpp or something like
that. At least a couple of compilers I've used have a heuristic that
checks filename and compiles in C mode or C++ mode depending. And be
sure you're using the C++ version of the compiler (g++ instead of gcc).

I tried compiling in VS, and it complains, but not about that.

Michael

Oct 13 '06 #4

Martin Jrgensen wrote:
Hi,

I've had a introductory C++ course in the spring and haven't programmed in
C++ for a couple of months now (but I have been programmed in C since
january). So I decided to do my conversion utility in C++, before I forget
everything. But it doesn't compile:

------------
cat export_tex.C

#include <iostream>
#include <fstream>
#include <string>

using namespace std;
/*************** *************** *************** ****
* *
* This program takes data from some .vtk *
* input-files and exports them to .tex-format *
* *
*************** *************** *************** ****/
int main()
{
/* will contain LaTeX preamble etc */
string LaTeX_header = "test, bla.bla... \n\begin{docume nt}\n";
string LaTeX_tail = "\end{document\ n}";
Keep in mind that C++ uses "\" as an escape character, so the above
line probably doesn't do what you expect.

string current_data_ty pe;
char* valid_data_type s[3] = {"Temperatur e", "Rho*cp", "Cell_energ y"};
string read_line;

unsigned int filenumber; /* current data file number */
unsigned int number_of_lines ; /* tells how many data lines follows */

/*************** *************** *************** ***************
* conversion loop - continue as long as data-files exists *
*************** *************** *************** ***************/

for(unsigned int i=0; i<999; i++)
{

ifstream infile("file", i, ".vtk"); /* file[filenumber].vtk */
The above line does not use a valid constructor for ifstream.
ifstream's constructor is declared as follows:

explicit basic_ifstream( const char *filename, ios_base::openm ode mode =
ios_base::in);

In other words, your three argument constructor isn't valid, AFAIK.

if( infile )
{
infile >read_line;

/* ??? if read_line == one of the "valid_data_typ es" ...
then begin conversion... Else: read a new line */
/* valid lines beginn with:
"SCALARS" + spc + |current_data_t ype| + spc */
/* test: cout read_line; */

/* tex_file[filenumber].tex */
ofstream outfile("tex_fi le", i, ".tex");
/*************** *************** ****
* do the actual conversion here *
*************** *************** ****/

outfile << LaTeX_header;

/*
for(unsigned int linenumber=1; linenumber<numb er_of_lines;
You never initialized number_of_lines .

That's a start, anyway.

Best regards,

Tom

Oct 13 '06 #5
Martin Jrgensen wrote:
>cat export_tex.C
Is this C or C++? Sometimes compilers trigger on the filename suffix, so see
if that fixes it.

(However, your compiler's forum is the best place for subsequent questions
on how to drive it...)
I get a lot of strange things when I try to compile... Such as:

/usr/include/c++/4.1.0/i586-suse-linux/bits/c++config.h:43: error:
expected
constructor, destructor, or type conversion before 'namespace'
A 'config.h' is often the very first header file of any translation unit,
because (again, off-topically) many compilers rely on install scripts that
build config.h with their platform-specific details.

However, your compiler can't understand its first C++ line. Maybe the
compiler is in C mode, and then maybe the error message incorrectly
specifies C things.

Alternately, maybe your compiler is old and doesn't understand namespaces,
which are new. Try these:

$ which c++

That might show a path with a version other than 4.1

$ ls -l `which c++`

That might show a link to path with a version other than 4.1

$ c++ -v

And that might show version info other than 4.1.

And, naturally, you might be calling some wrapper other than c++, such as
g++. Check your makefile.

--
Phlip
http://www.greencheese.us/ZeekLand <-- NOT a blog!!!
Oct 13 '06 #6
Thomas Tutone wrote:

-snip-
> /* will contain LaTeX preamble etc */
string LaTeX_header = "test, bla.bla... \n\begin{docume nt}\n";
string LaTeX_tail = "\end{document\ n}";

Keep in mind that C++ uses "\" as an escape character, so the above
line probably doesn't do what you expect.
Thanks. I think \\ must be the correct thing then.

-snip-
> for(unsigned int i=0; i<999; i++)
{

ifstream infile("file", i, ".vtk"); /* file[filenumber].vtk */

The above line does not use a valid constructor for ifstream.
ifstream's constructor is declared as follows:

explicit basic_ifstream( const char *filename, ios_base::openm ode mode =
ios_base::in);

In other words, your three argument constructor isn't valid, AFAIK.
Damn... I wanted the loop to process these file names:

file000.vtk
file001.vtk
file002.vtk
file003.vtk
.....
.....

So that explains the "file" + the counter in the loop, "i", + extension. How
to do this, then? And my original suggestion also didn't take into account
that the numbers should always take up 3 characters. Here's my
C-implementation (this is how I make the output filenames in C):
--- for-loop --
if(*filecounter >999)
{
printf("Error! Too many results have been written.\n\n");
quit_program(__ FILE__, __LINE__);
}

sprintf(fname, "file_%03d.vtk" , *file_counter);
---
How to this in C++? - In an "elegant" way, ofcourse...
> if( infile )
{
infile >read_line;
Here I want to read a line... Not sure I did it correctly...
> /* ??? if read_line == one of the "valid_data_typ es" ...
then begin conversion... Else: read a new line */
I must compare the beginning of each line with the word "SCALARS". Once I
find that word in the beginning of a line, I must see if it's one of the 3
char *valid_data_typ es[3].

-snip-
> /*
for(unsigned int linenumber=1; linenumber<numb er_of_lines;

You never initialized number_of_lines .

That's a start, anyway.
You're right, thanks... The number of lines is something I'll have to
extract from inside the data-file and I haven't exactly figured out how to
do that yet...
I can now compile my program. I had a stupid "x" in the top of the file and
after I removed the ifstream infile("file", i, ".vtk") line (and also for
the ofstream) I got something usable:

Complete program follows:
------------------------
cat output_to_latex .cpp
#include <iostream>
#include <fstream>
#include <string>

using namespace std;
/*************** *************** *************** ****
* *
* This program takes data from some .vtk *
* input-files and exports them to .tex-format *
* *
*************** *************** *************** ****/
int main()
{
/* will contain LaTeX preamble etc */
string LaTeX_header = "test, bla.bla... \n\\begin{docum ent}\n";
string LaTeX_tail = "\\end{document }\n";

string current_data_ty pe;
char* valid_data_type s[3] = {"Temperatur e", "Rho*cp", "Cell_energ y"};
string read_line;

unsigned int filenumber; /* current data file number */
unsigned int number_of_lines ; /* tells how many data lines follows */

/*************** *************** *************** ***************
* conversion loop - continue as long as data-files exists *
*************** *************** *************** ***************/

for(unsigned int i=0; i<999; i++)
{

ifstream infile("file000 .vtk");
// ifstream infile("file", i, ".vtk"); /* file[filenumber].vtk */

if( infile )
{
infile >read_line;

/* ??? if read_line == one of the "valid_data_typ es" ...
then begin conversion... Else: read a new line */
/* valid lines beginn with:
"SCALARS" + spc + |current_data_t ype| + spc */
/* test: cout read_line; */
ofstream outfile("tex_fi le000.tex");
/* should be tex_file[filenumber].tex, something like:
ofstream outfile("tex_fi le", i, ".tex"); */
/*************** *************** ****
* do the actual conversion here *
*************** *************** ****/

outfile << LaTeX_header;

/*
for(unsigned int linenumber=1; linenumber<numb er_of_lines;
linenumber++)
{
infile >something;
outfile << converted_somet hing;
}
*/

outfile << LaTeX_tail;

}

if( ! infile ) /* can't open file? Then finish */
break;
}
cout << filenumber+1 << " number of .tex files written" << endl << endl;

return 0;
}

------------------------

Suggestions are welcome... I probably should make a file-class and then have
a smaller main-function with a loop that just increments the file-counter
and calls some function in that class... or something...

I still have a few problems to solve...
Best regards
Martin Jørgensen

--
---------------------------------------------------------------------------
Home of Martin Jørgensen - http://www.martinjoergensen.dk

Oct 14 '06 #7
Phlip wrote:
Martin Jrgensen wrote:
>>cat export_tex.C

Is this C or C++? Sometimes compilers trigger on the filename suffix, so
see if that fixes it.
I've read that .c is C and .C is C++ on unix... And it didn't make any
difference to use .cpp, but now I use .cpp even though it isn't necessary.

Best regards
Martin Jørgensen

--
---------------------------------------------------------------------------
Home of Martin Jørgensen - http://www.martinjoergensen.dk

Oct 14 '06 #8

Michael wrote in message
<11************ *********@k70g2 000cwa.googlegr oups.com>...
>
cat export_tex.C
...
>First step: How can I make this compile? Suggestions are most welcome...

It's complaining about the word "using," which is C++ specific.

My guess - change the filename to .CC or .cc or .cpp or something like
that. At least a couple of compilers I've used have a heuristic that
checks filename and compiles in C mode or C++ mode depending. And be
sure you're using the C++ version of the compiler (g++ instead of gcc).
[ GCC Docs ]
For any given input file, the file name suffix determines what kind of
compilation is done:

file.c
C source code which must be preprocessed.
[ use gcc ]

file.cc
file.cp
file.cxx
file.cpp
file.c++
file.C
C++ source code which must be preprocessed. Note that in .cxx, the last
two
letters must both be literally x. Likewise, .C refers to a literal
capital C.
[ use g++ ]

--
Bob R
POVrookie
Oct 14 '06 #9

Martin Jørgensen wrote in message
<45************ *********@dread 12.news.tele.dk >...
Thomas Tutone wrote:

-snip-
>
>Keep in mind that C++ uses "\" as an escape character, so the above
line probably doesn't do what you expect.
>Thanks. I think \\ must be the correct thing then.
Yup!

-snip-
>> for(unsigned int i=0; i<999; i++){
ifstream infile("file", i, ".vtk"); /* file[filenumber].vtk */

The above line does not use a valid constructor for ifstream.
In other words, your three argument constructor isn't valid, AFAIK.
>Damn... I wanted the loop to process these file names:
file000.vtk
file001.vtk
file002.vtk
file003.vtk
....
/* "
So that explains the "file" + the counter in the loop, "i", + extension. How
to do this, then?
And my original suggestion also didn't take into account
that the numbers should always take up 3 characters. Here's my
C-implementation (this is how I make the output filenames in C):

How to this in C++? - In an "elegant" way, ofcourse...
" */

One way is to use 'stringstream' (header <sstream>), then put it in a
std::string.

#include <string>
#include <sstream // for std::ostringstr eam
#include <iomanip // for std::setfill(), std::setw()

int fnumb(5); // you will use the 'int' in your for loop.
std::ostringstr eam Oss;
Oss << "file" <<std::setfil l( '0' )<<std::setw( 3 )<< fnumb << ".vtk";
std::string Filename;
Filename = Oss.str();
// or just: std::string Filename( Oss.str() );

std::cout<<" Filename ="<<Filename<<s td::endl;
// --- output ---
// Filename =file005.vtk

ifstream infile( Filename.c_str( ) ); /* file[filenumber].vtk */

>> if( infile ){
infile >read_line;
Here I want to read a line... Not sure I did it correctly...
std::string read_line;

std::getline( infile, read_line );
>> /* ??? if read_line == one of the "valid_data_typ es" ...
then begin conversion... Else: read a new line */
>I must compare the beginning of each line with the word "SCALARS". Once I
find that word in the beginning of a line, I must see if it's one of the 3
char *valid_data_typ es[3].
std::string FindThis( "SCALARS" );
if( read_line.find( FindThis ) != std::string::np os ){
/* "SCALARS" is in read_line */
std::string FindThis1( valid_data_type s[0] ); // may need 'adjusting'
(*)
if( read_line.find( FindThis1 ) != std::string::np os ){
/* valid_data_type s[0] is in read_line */
}
}

Read-up on std::string and std::streams, then you'll have much power at your
command! <G>

Hope that helps. This ain't homework is it?
--
Bob R
POVrookie
Oct 14 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
3501
by: Grant Edwards | last post by:
Is there any utility to convert Python sources from space-based block indentation to tab-based? You can use "expand" convert from tabs->spaces, but "unexpand" isn't bright enough to do the reverse. -- Grant Edwards grante Yow! By MEER biz doo at SCHOIN... visi.com
1
4897
by: Manoj | last post by:
Hi All, I am using command line bcp utility of SQL Server to import data from a text file to database. I have some german words in the text file and after import the German characters are lost. see eg below. Input : Khner, Klaus -> Text file value
1
1223
by: Canneloni | last post by:
Is there a conversion utility that will take a SQL server database and port it to mySql ( or postGres sql ) ? -- W '04 <:> Open
2
2170
by: OZ | last post by:
Hi, I am new C++ and need a little help with a public domain program that is suppose to perform a byte swap. I am receiving the following error messages during the compile process with Microsoft C++ 2003. Here are the error messages and source code: (97) : error C2664: 'fgetpos' : cannot convert parameter 2 from 'void
1
1725
by: mwnorris | last post by:
Thank you for your help in advance! I am having a serious difficulty with a database conversion utility that I have created using Director and Datagrip to help support a database application that we already have in the field. We just updated our database structure and this utility reads information from the previous version database and...
2
2255
by: Brian Pelton | last post by:
My basic question is this: Is there a Conversion class in the .Net framework that you can pass and object to and a type to and get back an object of the given type? For example. Let's say I have a string value of "32". Is there a method that will take "32" and Type.GetType("System.Int32") and return an object of the in32 type? What I...
0
3918
by: Lokkju | last post by:
I am pretty much lost here - I am trying to create a managed c++ wrapper for this dll, so that I can use it from c#/vb.net, however, it does not conform to any standard style of coding I have seen. It is almost like it is trying to implement it's own COM interfaces... below is the header, and a link to the dll+code: Zip file with header,...
0
1862
by: vikasthukral17 | last post by:
Hello Friends i want to convert xml shown under into excel file,xml is as <?xml version="1.0" standalone="yes"?> <?xml-stylesheet type="text/xsl" href="AggrPositions.xsl"?> <DataOut> <NoName> <AggregatedPosition> <PositionReference>549</PositionReference>
0
10727
Debadatta Mishra
by: Debadatta Mishra | last post by:
Introduction In this article I will provide you an approach to manipulate an image file. This article gives you an insight into some tricks in java so that you can conceal sensitive information inside an image, hide your complete image as text ,search for a particular image inside a directory, minimize the size of the image. However this is not...
0
7493
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8008
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7854
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6113
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5411
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupr who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5133
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3525
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1107
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
808
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.