473,785 Members | 2,484 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problems with multiple CPP files in my project

I'm using MS VC++ 6.0
I'm working on a big project. I've currently have several files for this
project.

Here's the problem.
I have one header file phead.h
I have two code files main.cpp and gameloop.cpp

phead.h has all my core declarations in it like my main globals.
main.cpp has all my window initilization functions and my winproc loop.
gameloop.cpp has my main game loop, this file uses phead.h declarations and
hold HWND and WPARAM for keyboard control and window contols.

When I compile and run, sometimes it will compile and run fine. Then, when I
edit some of the gameloop.cpp file or the main.cpp file trying something
different, it won't compile because it says it doesn't know what HWND and
WPARAM are. I include it in gamemain.cpp and the compiler says there are
multiple statements for my gamemain.cpp functions, then i can delete the
include command and it will work, any idea on how to fix it or ideas on
project organization?
Jul 22 '05 #1
9 2593
Daniel Moree wrote:
I'm using MS VC++ 6.0
I'm working on a big project. I've currently have several files for this
project.

Here's the problem.
I have one header file phead.h
I have two code files main.cpp and gameloop.cpp

phead.h has all my core declarations in it like my main globals.
main.cpp has all my window initilization functions and my winproc loop.
gameloop.cpp has my main game loop, this file uses phead.h declarations and
hold HWND and WPARAM for keyboard control and window contols.

When I compile and run, sometimes it will compile and run fine. Then, when I
edit some of the gameloop.cpp file or the main.cpp file trying something
different, it won't compile because it says it doesn't know what HWND and
WPARAM are. I include it in gamemain.cpp
What is 'it' here ? How do you include the same ?
Do you mean to say you include specific headers that
has the relevant type definitions ?
and the compiler says there are
multiple statements for my gamemain.cpp functions, then i can delete the
include command and it will work, any idea on how to fix it or ideas on
project organization?


Have you used header guards in your project ?
With the little info. that you had provided it seems like
that could be the cause of the problem.
--
Karthik. http://akktech.blogspot.com .
' Remove _nospamplz from my email to mail me. '
Jul 22 '05 #2

"Daniel Moree" <D_*****@Bellso uth.net> wrote in message
I'm using MS VC++ 6.0
I'm working on a big project. I've currently have several files for this
project.

Here's the problem.
I have one header file phead.h
I have two code files main.cpp and gameloop.cpp

phead.h has all my core declarations in it like my main globals.
main.cpp has all my window initilization functions and my winproc loop.
gameloop.cpp has my main game loop, this file uses phead.h declarations and hold HWND and WPARAM for keyboard control and window contols.

When I compile and run, sometimes it will compile and run fine. Then, when I edit some of the gameloop.cpp file or the main.cpp file trying something
different, it won't compile because it says it doesn't know what HWND and
WPARAM are. I include it in gamemain.cpp and the compiler says there are
multiple statements for my gamemain.cpp functions, then i can delete the
include command and it will work, any idea on how to fix it or ideas on
project organization?


You will get more than just speculative answers if you post the _minimal_
code that shows your problem.

Sharad
Jul 22 '05 #3

"Daniel Moree" <D_*****@Bellso uth.net> wrote in message
news:Ht******** **********@bign ews4.bellsouth. net...
I'm using MS VC++ 6.0
I'm working on a big project. I've currently have several files for this
project.

Here's the problem.
I have one header file phead.h
I have two code files main.cpp and gameloop.cpp

phead.h has all my core declarations in it like my main globals.
main.cpp has all my window initilization functions and my winproc loop.
gameloop.cpp has my main game loop, this file uses phead.h declarations
and
hold HWND and WPARAM for keyboard control and window contols.

When I compile and run, sometimes it will compile and run fine. Then, when
I
edit some of the gameloop.cpp file or the main.cpp file trying something
different, it won't compile because it says it doesn't know what HWND and
WPARAM are. I include it in gamemain.cpp and the compiler says there are
multiple statements for my gamemain.cpp functions, then i can delete the
include command and it will work, any idea on how to fix it or ideas on
project organization?


Never include one cpp file in other.

Learn what should go in header file and what shouldn't. The list is too long
to repeat here, consult a good C++ book, but the biggest newbie mistake is
too define global variables in header file. You say you are declaring global
variables, that is OK, but many newbies don't know the difference between a
definition and a declaration, so maybe you have it wrong.

Every header file should include the header files it need to compile. So,
suppose your header file mentions HWND and WPARAM, then you header file
should include <windows.h>

Always use include guards in header files, and understand what they do and
don't do.

Don't make random changes to try and fix errors you don't understand. That
will just end up confusing you and any lessons learned are likely to be
incorrect.

When you have problems with code post the code.

Accept that solving your problems may take a few iterations.

Read good C++ books where all this stuff is explained.

That's the best I can do based on the small amount of information provided.
Be a bit more specific and I'll try and help some more.

john
Jul 22 '05 #4
Ok, Let me clear this up. Sorry for the short description.

phead.h - contains all global information, AppName/Class, Window size, and
Window depth, and two functions, fnKeyDown(GetAs yncKeyState) and
fnKeyUp(GetAsyn cKeyState)

main.cpp - contains all header files to include such as, windows.h,
windowsx.h, stdio.h, math.h, stdlib.h all withing "#include <file>"
brackets. I've included below that the following:

#include "phead.h"
#include "gameloop.c pp"

main.cpp is used to start the program with WindowProc and WinMain in it.
These are the only two functions in this file. The file defines
WIN32_LEAN_AND_ MEAN to exclude MFC.

gameloop.cpp - has the main game loop aswell as a key handler that uses
WM_KEYDOWN instead of using GetAsyncKeyStat e(). Two functions, GameLoop(HWND
hWnd) and KeyHandler(WPAR AM wParam).

The problem I'm having is that when the program is compiled it will work
fine one time and then I could add another If statement to my GameLoop()
function, and then compile which will cause errors saying it can't find what
HWND are and WPARAM are. I delete the if statement and it still does it. So
I #include <windows.h> and it says "fnKeyDown" is and undeclared Identifier.
I #include "phead.h" and compile and it says multiple statements of my
functions in gameloop.cpp. I delete both #include statements and sometimes
it will work again and sometimes it won't.

My gameloop.cpp file has at the top
#ifndef GAMELOOP
#define GAMELOOP
and at the end i've added the #endif, the same for phead.h but with the name
PHEAD.
My main.cpp does not have this. I've tried moving my include statments to
the Phead.h file so they are global but then main.cpp doesn't work. Not sure
what to do here so all help is greatly apprciated!!!
Jul 22 '05 #5

"Daniel Moree" <D_*****@Bellso uth.net> wrote in message
news:iv******** **********@bign ews4.bellsouth. net...
Ok, Let me clear this up. Sorry for the short description.

phead.h - contains all global information, AppName/Class, Window size, and
Window depth, and two functions, fnKeyDown(GetAs yncKeyState) and
fnKeyUp(GetAsyn cKeyState)

main.cpp - contains all header files to include such as, windows.h,
windowsx.h, stdio.h, math.h, stdlib.h all withing "#include <file>"
brackets. I've included below that the following:

#include "phead.h"
#include "gameloop.c pp"
That is wrong. As I said *never* include one cpp file inside another.

main.cpp is used to start the program with WindowProc and WinMain in it.
These are the only two functions in this file. The file defines
WIN32_LEAN_AND_ MEAN to exclude MFC.

gameloop.cpp - has the main game loop aswell as a key handler that uses
WM_KEYDOWN instead of using GetAsyncKeyStat e(). Two functions, GameLoop(HWND hWnd) and KeyHandler(WPAR AM wParam).

The problem I'm having is that when the program is compiled it will work
fine one time and then I could add another If statement to my GameLoop()
function, and then compile which will cause errors saying it can't find what HWND are and WPARAM are. I delete the if statement and it still does it. So I #include <windows.h> and it says "fnKeyDown" is and undeclared Identifier. I #include "phead.h" and compile and it says multiple statements of my
functions in gameloop.cpp. I delete both #include statements and sometimes
it will work again and sometimes it won't.

My gameloop.cpp file has at the top
#ifndef GAMELOOP
#define GAMELOOP
That is wrong, include guards are for header file, not source files.
and at the end i've added the #endif, the same for phead.h but with the name PHEAD.
My main.cpp does not have this. I've tried moving my include statments to
the Phead.h file so they are global but then main.cpp doesn't work. Not sure what to do here so all help is greatly apprciated!!!


As I said, don't make random changes when you don't understand what you are
doing. You will just end up in an even worse mess than you are now.

Now I have told you two things wrong, fix them. You probably still have lots
of other things wrong so it isn't going to work straightaway. Post again
we'll get there eventually, put please post the code, not descriptions of
code.

You could do worse than post the contents of phead.h

john
Jul 22 '05 #6
I've fixed these problems and tried several different things. My code if
fine, no errors at all. The code works greate all in one file with phead.h
the same way. I'm splitting up my commands to different files to make it
easier to edit. Below are my files:

===== phead.h ======
#ifndef PHEADER
#define PHEADER
// Main Application Constants
#define g_sAppName "Paint It: Paintball" // What the title will read
#define g_sAppClass "PaintIt" // What windows know the window as
// Window variables
int g_nVMode = 1; // 0 - 640x480, 1 - 800x600, 2 - 1024x768
int g_aWindowWidth[4] = {640, 800, 1024}; // Width: 640, 800, 1024
int g_aWindowHeight[4] = {480, 600, 768}; // Height: 480, 600, 768
int g_aWindowDepth[5] = {8, 16, 24, 32}; // Depth: 8, 16, 24, 32
// Window Globals
bool g_bQuitMsg = false; // This tells the Window to close or not
// Key states
#define fnKeyDown(vk_co de) ((GetAsyncKeySt ate(vk_code) & 0x8000) ? 1 : 0)
#define fnKeyUp(vk_code ) ((GetAsyncKeySt ate(vk_code) & 0x8000) ? 0 : 1)
#endif

===== main.cpp =====
#define WIN32_LEAN_AND_ MEAN
/*************** *************** *************** **/
/* Include Files */
/*************** *************** *************** **/
#include <windows.h>
#include <windowsx.h>
#include <stdio.h>
#include <math.h>
#include <mmsystem.h>
#include <stdlib.h>

#include "phead.h"

/*************** *************** *************** **/
/* Windows Procedure */
/*************** *************** *************** **/
LRESULT CALLBACK WindowProc(HWND hWnd,
UINT msg,
WPARAM wParam,
LPARAM lParam){
switch(msg) {
case WM_CREATE:
{
// Initialization Commands

} break;

case WM_PAINT:
{
// Paint commands
PAINTSTRUCT ps;
HDC hdc;
hdc = BeginPaint(hWnd , &ps);

EndPaint(hWnd, &ps);

} break;

case WM_DESTROY:
{
// Close commands
g_bQuitMsg = true;

} break;

case WM_QUIT:
{
g_bQuitMsg = true;
} break;

case WM_KEYDOWN:
{
int iKeyCode = wParam;
KeyHandler(iKey Code);
} break;
}

return DefWindowProc(h Wnd, msg, wParam, lParam);
}

/*************** *************** *************** **/
/* WinMain */
/*************** *************** *************** **/
int WINAPI WinMain(HINSTAN CE hInstance,
HINSTANCE hPrevInstance,
LPSTR szCmdLine,
int iCmdShow){
WNDCLASSEX winclass; // Holder for the window class
HWND hWnd; // Window Handle
MSG msg; // Message holder

winclass.cbSize = sizeof(WNDCLASS EX);
winclass.style = CS_HREDRAW | CS_VREDRAW;
winclass.lpfnWn dProc = WindowProc;
winclass.cbClsE xtra = 0;
winclass.cbWndE xtra = 0;
winclass.hInsta nce = hInstance;
winclass.hIcon = LoadIcon(NULL, IDI_APPLICATION );
winclass.hCurso r = LoadCursor(NULL , IDC_ARROW);
winclass.hbrBac kground = (HBRUSH)GetStoc kObject(BLACK_B RUSH);
winclass.lpszMe nuName = NULL;
winclass.lpszCl assName = g_sAppClass;
winclass.hIconS m = LoadIcon(NULL, IDI_APPLICATION );

// Register the window
if(!RegisterCla ssEx(&winclass) ){
Error(NULL, "Fatal Error Registering App!");
return 0;
}

// Create the window
hWnd = CreateWindowEx( NULL, // Extended Style
g_sAppClass, // Window class name
g_sAppName, // Window caption
WS_OVERLAPPEDWI NDOW, // Window style
0, // Initial x position
0, // Initial y position
g_aWindowWidth[g_nVMode], // Initial window width
g_aWindowHeight[g_nVMode],// Initial window height
NULL, // Parent window handle
NULL, // Window menu handle
hInstance, // Program instance handle
NULL); // Creation Parameters

if(!hWnd){
Error(NULL, "Failed To Create Window!");
return 0;
}

ShowWindow(hWnd , iCmdShow);
UpdateWindow(hW nd);

while(g_bQuitMs g == false){
if(PeekMessage( &msg, hWnd, 0, 0, PM_REMOVE)){
if(msg.message == WM_QUIT){ g_bQuitMsg = true; }
TranslateMessag e(&msg);
DispatchMessage (&msg);
}
MainLoop(hWnd);
}
return(msg.wPar am);
}

===== gameloop.cpp =====
/*************** *************** *************** **/
/* Game Functions */
/*************** *************** *************** **/
void MainLoop(HWND hWnd);
void KeyHandler(WPAR AM wParam);
void Error(HWND hWnd, LPCTSTR strMsg);

/*************** *************** *************** **/
/* Main Loop */
/*************** *************** *************** **/
void MainLoop(HWND hWnd){
if(fnKeyDown(VK _DOWN)){
Error(NULL, "Down!");
}
}

/*************** *************** *************** **/
/* Error Message Center */
/*************** *************** *************** **/
void Error(HWND hWnd, LPCTSTR strMsg){
MessageBox(hWnd , strMsg, "Error!", MB_OK | MB_ICONWARNING) ;
}

/*************** *************** *************** **/
/* Key Press Handler */
/*************** *************** *************** **/
void KeyHandler(WPAR AM wParam){
switch(wParam){
case VK_ESCAPE:
{ SendMessage(NUL L, WM_DESTROY, 0, 0); }
break;

case VK_UP:
{ Error(NULL, "You pressed the up key!"); }
break;
}
}
Jul 22 '05 #7

"Daniel Moree" <D_*****@Bellso uth.net> wrote in message
news:Sj******** **********@bign ews4.bellsouth. net...
I've fixed these problems and tried several different things. My code if
fine, no errors at all. The code works greate all in one file with phead.h
the same way. I'm splitting up my commands to different files to make it
easier to edit. Below are my files:

===== phead.h ======
#ifndef PHEADER
#define PHEADER
// Main Application Constants
#define g_sAppName "Paint It: Paintball" // What the title will read
#define g_sAppClass "PaintIt" // What windows know the window as
// Window variables
int g_nVMode = 1; // 0 - 640x480, 1 - 800x600, 2 - 1024x768
int g_aWindowWidth[4] = {640, 800, 1024}; // Width: 640, 800, 1024
int g_aWindowHeight[4] = {480, 600, 768}; // Height: 480, 600, 768
int g_aWindowDepth[5] = {8, 16, 24, 32}; // Depth: 8, 16, 24, 32 // Window Globals
bool g_bQuitMsg = false; // This tells the Window to close or not

These globals are all wrong.

The function prototypes for gameloop.cpp are missing.

Various other problems.
Here is how you should do it

1) Globals definitions go in a cpp file, say main.cpp, so put this in
main.cpp

// Window variables
int g_nVMode = 1; // 0 - 640x480, 1 - 800x600, 2 - 1024x768
int g_aWindowWidth[4] = {640, 800, 1024}; // Width: 640, 800, 1024
int g_aWindowHeight[4] = {480, 600, 768}; // Height: 480, 600, 768
int g_aWindowDepth[5] = {8, 16, 24, 32}; // Depth: 8, 16, 24, 32

// Window Globals
bool g_bQuitMsg = false; // This tells the Window to close or not

2) Global declarations go in the phead.h file. So put this in phead.h

extern int g_nVMode;
extern int g_aWindowWidth[4];
extern int g_aWindowHeight[4];
extern int g_aWindowDepth[5] ;

// Window Globals
extern bool g_bQuitMsg;

3) When you said you had put the global declarations in the header file you
were wrong. You had put global variable definitions in the header file,
that is wrong. Many newbies do not understand the difference between a
declaration and a definition, but it is crucial to understand the difference
if you are going to work with more than one source file.

4) You need to put function prototypes in phead.h for the function you one
to call from one cpp file but are defined in another cpp file. Add this to
phead.h

void MainLoop(HWND hWnd);
void KeyHandler(WPAR AM wParam);
void Error(HWND hWnd, LPCTSTR strMsg);

And delete the same from gameloop.cpp

5) phead.h now mentions windows types, so add #include <windows.h> near the
top of phead.h

6) phead.h declares what is common between main.cpp and gameloop.cpp, so
include it in both cpp files. At the moment you are just including it in
main.cpp

7) Do all the above and you will be a lot closer. I strongly suspect there
are other issues though, so post again if you get stuck. You really should
buy a book on C++, what you had was an awful long way from being correct.

john
Jul 22 '05 #8
>
7) Do all the above and you will be a lot closer. I strongly suspect there
are other issues though, so post again if you get stuck. You really should
buy a book on C++, what you had was an awful long way from being correct.

john


I've got several, I've been programming C/C++ for a while now and i'm just
moving to multiple files. I've got C++ Primer Plus, Teach yourself C in 24
hours, and a few others. I've always had my programs working great. My
program will work fine and I've had it working fine before. Why it doesn't
work now I don't know. This is the same setup I've had for a few other
programs in several files although the main code was in one file and the
globals were in another. My friend wrote a pong game in C++ and his was in
server files, I've done mine the exact same way except with the hungarian
notations. His works great! although it was written in MSVC++ 4 not 6

Thanks for the help i'll try that and see if it works.
Jul 22 '05 #9

"Daniel Moree" <D_*****@Bellso uth.net> wrote in message
news:Qo******** *********@bigne ws4.bellsouth.n et...

7) Do all the above and you will be a lot closer. I strongly suspect
there
are other issues though, so post again if you get stuck. You really
should
buy a book on C++, what you had was an awful long way from being correct.

john
I've got several, I've been programming C/C++ for a while now and i'm just
moving to multiple files. I've got C++ Primer Plus, Teach yourself C in 24
hours, and a few others.


Don't these books explain how to organise your code into seperate source
files?

Haven't rad either but here's a bad review of C++ Primer Plus,
http://www.accu.org/cgi-bin/accu/rvo...file=cp003131a. Of
course the title of the other is a joke.

I've always had my programs working great. My
program will work fine and I've had it working fine before. Why it doesn't
work now I don't know.
Neither do I.
This is the same setup I've had for a few other
programs in several files although the main code was in one file and the
globals were in another. My friend wrote a pong game in C++ and his was in
server files, I've done mine the exact same way except with the hungarian
notations. His works great! although it was written in MSVC++ 4 not 6

The whole point of seperate cpp files is that you compile the files
seperately. Sure you can make it work if you include one cpp file in another
but then you aren't compiling seperately any more. So what's the point. You
might as well cut and paste the contents of one cpp file into the other, it
amounts to the same thing.
Thanks for the help i'll try that and see if it works.


Here's complete example, two cpp files, main.cpp and other.cpp and a header
file header.h connecting them. It has a global variable and a function which
is called from main.cpp but is defined in other.cpp, so it's pretty similar
to your code. Notice how the header file only contains declarations and the
cpp files contain definitions, and the cpp files include the header. Really
that is all there is to it.

/****** main.cpp *********/
#include "header.h"

// definition of x
int x;

int main()
{
x = 22;
print_x();
}

/****** other.cpp *********/
#include "header.h"
#include <iostream>

// definition of print_x
void print_x()
{
std::cout << "x is " << x << '\n';
}

/****** header.h *********/
#ifndef HEADER_H
#define HEADER_H

// declaration of x
extern int x;

// declaration of print_x
void print_x();

#endif

Jul 22 '05 #10

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

Similar topics

2
2863
by: Johann Blake | last post by:
I can hardly believe I'm the first one to report this, but having gone through the newsgroup, it appears that way. I would like to open a solution in the VS.NET IDE that consists of multiple DLLs and a test application (an .EXE). The .EXE is my startup application. All the DLLs are shared components. This means that they contain a key and are stored in the GAC. When I go to run the test application in the IDE, it will not execute...
4
1469
by: JM | last post by:
Hi, I am an old programmer who is only just getting back into it after about 10 years, and for the life of me I can not work out what I am doing wrong. Firstly, I've recently downloaded and installed the very latest version of VB.NET Express & SQL Express. I have been slowly going through the suggested tutorial files on MSDN which after from the learnvisualstudio.net web site :
27
1836
by: Smithers | last post by:
Until now I have worked on small teams (1-3 developers) and we've been able to stay out of each others way. Now I'm about to start work on a project that will have 5 developers. I would appreciate some guidance on how we can proceed to develop without having to worry about "who is working on what files". We're developing with SQL Server 2005, VS 2005 Pro (no way management is going to spring for the $10,000 team edition for everybody),...
2
7644
by: Sam | last post by:
Hi All, I have a solution which consists of multiple projects and each of these projects has their own app.config file. The problem is that all of my projects in the solution pull keys from the app.config file from the main project (my start-up project). My question is can each project look for its keys in its own config file first? Is there something or settings that missing here? Would some one give me a hand? Regards,
2
3446
by: SharpCoderMP | last post by:
i'm trying to embed multiple program icons in my executable. the only way so far i managed to do that is to embed native win32 resource file with multiple icons. it works, but... when i create a native win32 resource file with the VS 2005 and put there my icons, VS always converts some of the 32bit icons into 24bit - so i loose alpha blending what makes my icons look ugly. I did an experiment and created a icon file with full range of...
3
2079
by: Claudio Pacciarini | last post by:
Hi everyone, I have a question about .NET code sharing and reuse, and also about application design best practices / guidelines. Currently, we have many different .NET projects in source depot. Although they are different, in some of them we share C# code by referencing source files that are external (not part of the projects) on each project. For instance, some of our projects have the typical “sources” file with:
3
2866
by: sjt003 | last post by:
I have been developing web apps in Visual Studio 2003, but since the other developers in my office don't use Visual Studio, I may have to stop too unless there is an efficient way for them to compile the code outside of Visual Studio if they need to adjust something I created. I have been trying to use vbc.exe, but I'm having problems with references to the DataSet I have created. Multiple pages reference my dataset - "DataSet1", ......
2
1290
by: stunt016 | last post by:
I have a C# project made in VS2005. The project is an ActiveXLink bridge between two pieces of software. It uses multiple DLL's including 3 DLL's that were created by my company, all are listed in the resources. The project builds fine for debug and release. I've put all files on 5 company laptops. 4 are Dell M65s and the other is an Older Compaq. All have identical software and OS. The exe will run on 3 out of the 5 machines. Won't...
6
3990
by: Joseph Geretz | last post by:
I have the following class which I am serializing and passing back and forth between my Web Service application and the client. public class Token : SoapHeader { public string SID; public string UID; public string PWD; }
0
9645
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look ! Part I. Meaning of...
0
9480
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10325
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10147
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9950
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8972
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6739
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3645
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.