473,396 Members | 2,024 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

calling a function in cpp

Ken
hello,

I would to know if it is possible to call an object in a function within a
class.
Meaning , In a class, A function X calling onto a function Y, and function
Y we want one of the two calculation ( eg seconds , out of seconds and
minutes)
thanks ,

Ken
lerameur at yahoo.com

here is the program I wrote, but the function subtraction wich is calling
another function is not working, dont know how to access the info.

#include <iostream>
#include <conio.h> // Used in microsoft visual c++
using namespace std;
class Conversion
{
public:
void menu();
void sec_to_hours();
void time_to_seconds();
void substraction();
};

void Conversion::time_to_seconds() //Converts time to seconds
{ int seconds1, seconds2, hours, minutes, seconds;
char colon;
cout<<"Enter a time (hours:minutes:seconds): " ;
cin>> hours >>colon >>minutes >>colon >> seconds;
if ( hours >= 0 && hours < 24 ) seconds1 = hours * 3600 ;
else cout<<"Invalid amounts of hours " <<endl;
if ( minutes >= 0 && minutes < 60) seconds2 = minutes *60;
else cout<<"Invalid amount of minutes " <<endl;
if ( seconds >= 0 && seconds< 60) ;
else cout<<"Invalid amount of seconds " <<endl;
if ( ( hours >= 0 && hours < 24 ) && ( minutes >= 0 && minutes < 60) &&
( seconds >= 0 && seconds< 60) )
seconds = seconds1 + seconds2 + seconds ;
cout<< " There is: " << seconds <<" seconds." <<endl;
}
void Conversion::substraction()
{ int seconds ;//total_seconds;

time_to_seconds();
cout<<" Now enter the amount of seconds to subtract : " <<endl;
cin >> seconds ;

if ( time_calc.time_to_seconds() >= seconds)
cout<< " Substracting " << time_to_seconds.seconds <<" from " << seconds
<<" is: " << time_to_seconds().seconds - seconds ;
else
cout<< " The time has to be greater then the seconds. Please try again! "
;
}
void Conversion::menu()
{
int choice;
Conversion time_calc;
do {
cout << endl << endl;
cout << " Time Management System "<<endl;
cout << " ============================================== "<<endl;
cout << " 1: Convert a number of seconds into a time "<<endl;
cout << " 2: Convert a time into a number of seconds "<<endl;
cout << " 3: Substrat a number of seconds from a time "<<endl;
cout << " 4: Quit "<<endl;
cout << " ============================================== "<<endl;

cout << " Your choice please: ";
cin >> choice;

switch (choice)
{
case 1:
sec_to_hours();
break;
case 2:
time_calc.time_to_seconds();
break;
case 3:
time_calc.substraction();
break;
case 4: cout<<"Thank you for having used this system, Bye Bye!!!"; break;

default: cout<<"Error: Invalid option, Please try again" ;
}
} while (choice != 4);

}// end function menu

void sec_to_hours() //Conversion from seconds to hours and minutes
{ int seconds;

cout<<"Enter the number of seconds: " ;
cin>> seconds;
if (seconds >= 0 && seconds < 60)
cout<< "The number of seconds is " << seconds ;
else if (seconds >= 60 && seconds < 3600)
cout<< "There are " << seconds / 60 <<" minutes and " << seconds % 60
<<" seconds" ;
else if ( seconds >= 3600 && seconds < 86400 ) // 1 hours or more , 1 hour
= 3600 seconds
cout<< "There are " << seconds /3600 << " hours " << (seconds % 3600) /
60 <<" minutes " << seconds % 60 <<" seconds" ;
else if ( seconds >= 86400 ) //checking for days if seconds greater then
86400seconds ( 1 day)
{ cout<< "There is " << seconds / 86400 <<" days, " << (seconds % 86400)
/3600 << " hours " ;
cout<< ((seconds % 86400) %3600) / 60 <<" minutes " << (((seconds %
86400) %3600) % 60 ) %60 <<" seconds" ;
}
}

}; // end void time_to_seconds
void substraction()
{ int seconds, total_seconds;

time_to_seconds();
cout<<" Now enter the amount of seconds to subtract : " <<endl;
cin >> seconds ;

if ( time_to_seconds().seconds >= seconds)
cout<< " Substracting " << time_to_seconds.seconds <<" from " << seconds
<<" is: " << time_to_seconds().seconds - seconds ;
else
cout<< " The time has to be greater then the seconds. Please try again! "
;

}

void main()
{
Conversion time_calc;
time_calc.menu();
getch(); // Used in microsoft visual c++

}



Jul 22 '05 #1
3 2371
Ken
Oups , here is the program:

#include <iostream>
#include <conio.h> // Used in microsoft visual c++
using namespace std;
class Conversion
{
public:
void menu();
void sec_to_hours();
void time_to_seconds();
void substraction();
};

void Conversion::time_to_seconds() //Converts time to seconds
{ int seconds1, seconds2, hours, minutes, seconds;
char colon;
cout<<"Enter a time (hours:minutes:seconds): " ;
cin>> hours >>colon >>minutes >>colon >> seconds;
if ( hours >= 0 && hours < 24 ) seconds1 = hours * 3600 ;
else cout<<"Invalid amounts of hours " <<endl;
if ( minutes >= 0 && minutes < 60) seconds2 = minutes *60;
else cout<<"Invalid amount of minutes " <<endl;
if ( seconds >= 0 && seconds< 60) ;
else cout<<"Invalid amount of seconds " <<endl;
if ( ( hours >= 0 && hours < 24 ) && ( minutes >= 0 && minutes < 60) &&
( seconds >= 0 && seconds< 60) )
seconds = seconds1 + seconds2 + seconds ;
cout<< " There is: " << seconds <<" seconds." <<endl;
}
void Conversion::substraction()
{ int seconds ;//total_seconds;
Conversion time_calc;
time_to_seconds();
cout<<" Now enter the amount of seconds to subtract : " <<endl;
cin >> seconds ;

if ( time_calc.time_to_seconds() >= seconds)
cout<< " Substracting " << time_to_seconds.seconds <<" from " << seconds
<<" is: " << time_to_seconds().seconds - seconds ;
else
cout<< " The time has to be greater then the seconds. Please try again! "
;

}
void Conversion::menu()
{
int choice;
Conversion time_calc;
do {
cout << endl << endl;
cout << " Time Management System "<<endl;
cout << " ============================================== "<<endl;
cout << " 1: Convert a number of seconds into a time "<<endl;
cout << " 2: Convert a time into a number of seconds "<<endl;
cout << " 3: Substrat a number of seconds from a time "<<endl;
cout << " 4: Quit "<<endl;
cout << " ============================================== "<<endl;

cout << " Your choice please: ";
cin >> choice;

switch (choice)
{
case 1:
sec_to_hours();
break;
case 2:
time_calc.time_to_seconds();
break;
case 3:
time_calc.substraction();
break;
case 4: cout<<"Thank you for having used this system, Bye Bye!!!"; break;

default: cout<<"Error: Invalid option, Please try again" ;
}
} while (choice != 4);

}// end function menu

void sec_to_hours() //Conversion from seconds to hours and minutes
{ int seconds;

cout<<"Enter the number of seconds: " ;
cin>> seconds;
if (seconds >= 0 && seconds < 60)
cout<< "The number of seconds is " << seconds ;
else if (seconds >= 60 && seconds < 3600)
cout<< "There are " << seconds / 60 <<" minutes and " << seconds % 60
<<" seconds" ;
else if ( seconds >= 3600 && seconds < 86400 ) // 1 hours or more , 1 hour
= 3600 seconds
cout<< "There are " << seconds /3600 << " hours " << (seconds % 3600) /
60 <<" minutes " << seconds % 60 <<" seconds" ;
else if ( seconds >= 86400 ) //checking for days if seconds greater then
86400seconds ( 1 day)
{ cout<< "There is " << seconds / 86400 <<" days, " << (seconds % 86400)
/3600 << " hours " ;
cout<< ((seconds % 86400) %3600) / 60 <<" minutes " << (((seconds %
86400) %3600) % 60 ) %60 <<" seconds" ;
}
} // end void time_to_seconds

void main()
{
Conversion time_calc;
time_calc.menu();
getch(); // Used in microsoft visual c++

}

"Ken" <le******@yah00.c0m> wrote in message
news:mU**************@news20.bellglobal.com...
hello,

I would to know if it is possible to call an object in a function within a class.
Meaning , In a class, A function X calling onto a function Y, and function Y we want one of the two calculation ( eg seconds , out of seconds and
minutes)
thanks ,

Ken
lerameur at yahoo.com

here is the program I wrote, but the function subtraction wich is calling
another function is not working, dont know how to access the info.

#include <iostream>
#include <conio.h> // Used in microsoft visual c++
using namespace std;
class Conversion
{
public:
void menu();
void sec_to_hours();
void time_to_seconds();
void substraction();
};

void Conversion::time_to_seconds() //Converts time to seconds
{ int seconds1, seconds2, hours, minutes, seconds;
char colon;
cout<<"Enter a time (hours:minutes:seconds): " ;
cin>> hours >>colon >>minutes >>colon >> seconds;
if ( hours >= 0 && hours < 24 ) seconds1 = hours * 3600 ;
else cout<<"Invalid amounts of hours " <<endl;
if ( minutes >= 0 && minutes < 60) seconds2 = minutes *60;
else cout<<"Invalid amount of minutes " <<endl;
if ( seconds >= 0 && seconds< 60) ;
else cout<<"Invalid amount of seconds " <<endl;
if ( ( hours >= 0 && hours < 24 ) && ( minutes >= 0 && minutes < 60) && ( seconds >= 0 && seconds< 60) )
seconds = seconds1 + seconds2 + seconds ;
cout<< " There is: " << seconds <<" seconds." <<endl;
}
void Conversion::substraction()
{ int seconds ;//total_seconds;

time_to_seconds();
cout<<" Now enter the amount of seconds to subtract : " <<endl;
cin >> seconds ;

if ( time_calc.time_to_seconds() >= seconds)
cout<< " Substracting " << time_to_seconds.seconds <<" from " << seconds
<<" is: " << time_to_seconds().seconds - seconds ;
else
cout<< " The time has to be greater then the seconds. Please try again! " ;
}
void Conversion::menu()
{
int choice;
Conversion time_calc;
do {
cout << endl << endl;
cout << " Time Management System "<<endl;
cout << " ============================================== "<<endl;
cout << " 1: Convert a number of seconds into a time "<<endl;
cout << " 2: Convert a time into a number of seconds "<<endl; cout << " 3: Substrat a number of seconds from a time "<<endl;
cout << " 4: Quit "<<endl;
cout << " ============================================== "<<endl;

cout << " Your choice please: ";
cin >> choice;

switch (choice)
{
case 1:
sec_to_hours();
break;
case 2:
time_calc.time_to_seconds();
break;
case 3:
time_calc.substraction();
break;
case 4: cout<<"Thank you for having used this system, Bye Bye!!!"; break;
default: cout<<"Error: Invalid option, Please try again" ;
}
} while (choice != 4);

}// end function menu

void sec_to_hours() //Conversion from seconds to hours and minutes
{ int seconds;

cout<<"Enter the number of seconds: " ;
cin>> seconds;
if (seconds >= 0 && seconds < 60)
cout<< "The number of seconds is " << seconds ;
else if (seconds >= 60 && seconds < 3600)
cout<< "There are " << seconds / 60 <<" minutes and " << seconds % 60
<<" seconds" ;
else if ( seconds >= 3600 && seconds < 86400 ) // 1 hours or more , 1 hour = 3600 seconds
cout<< "There are " << seconds /3600 << " hours " << (seconds % 3600) /
60 <<" minutes " << seconds % 60 <<" seconds" ;
else if ( seconds >= 86400 ) //checking for days if seconds greater then
86400seconds ( 1 day)
{ cout<< "There is " << seconds / 86400 <<" days, " << (seconds % 86400)
/3600 << " hours " ;
cout<< ((seconds % 86400) %3600) / 60 <<" minutes " << (((seconds %
86400) %3600) % 60 ) %60 <<" seconds" ;
}
}

}; // end void time_to_seconds
void substraction()
{ int seconds, total_seconds;

time_to_seconds();
cout<<" Now enter the amount of seconds to subtract : " <<endl;
cin >> seconds ;

if ( time_to_seconds().seconds >= seconds)
cout<< " Substracting " << time_to_seconds.seconds <<" from " << seconds
<<" is: " << time_to_seconds().seconds - seconds ;
else
cout<< " The time has to be greater then the seconds. Please try again! " ;

}

void main()
{
Conversion time_calc;
time_calc.menu();
getch(); // Used in microsoft visual c++

}


Jul 22 '05 #2
Ian
Ken wrote:
hello,

I would to know if it is possible to call an object in a function within a
class.
Meaning , In a class, A function X calling onto a function Y, and function
Y we want one of the two calculation ( eg seconds , out of seconds and
minutes)
thanks ,

Ken
lerameur at yahoo.com

here is the program I wrote, but the function subtraction wich is calling
another function is not working, dont know how to access the info.

You've placed what should be class data members in the member function
time_to_seconds().

Hint:
class Conversion
{
int seconds1, seconds2, hours, minutes, seconds;

....
};

Then all member functions can access them, no need for odd things like
time_to_seconds.seconds.

Ian

#include <iostream>
#include <conio.h> // Used in microsoft visual c++
using namespace std;
class Conversion
{
public:
void menu();
void sec_to_hours();
void time_to_seconds();
void substraction();
};

void Conversion::time_to_seconds() //Converts time to seconds
{ int seconds1, seconds2, hours, minutes, seconds;
char colon;
cout<<"Enter a time (hours:minutes:seconds): " ;
cin>> hours >>colon >>minutes >>colon >> seconds;
if ( hours >= 0 && hours < 24 ) seconds1 = hours * 3600 ;
else cout<<"Invalid amounts of hours " <<endl;
if ( minutes >= 0 && minutes < 60) seconds2 = minutes *60;
else cout<<"Invalid amount of minutes " <<endl;
if ( seconds >= 0 && seconds< 60) ;
else cout<<"Invalid amount of seconds " <<endl;
if ( ( hours >= 0 && hours < 24 ) && ( minutes >= 0 && minutes < 60) &&
( seconds >= 0 && seconds< 60) )
seconds = seconds1 + seconds2 + seconds ;
cout<< " There is: " << seconds <<" seconds." <<endl;
}
void Conversion::substraction()
{ int seconds ;//total_seconds;

time_to_seconds();
cout<<" Now enter the amount of seconds to subtract : " <<endl;
cin >> seconds ;

if ( time_calc.time_to_seconds() >= seconds)
cout<< " Substracting " << time_to_seconds.seconds <<" from " << seconds
<<" is: " << time_to_seconds().seconds - seconds ;
else
cout<< " The time has to be greater then the seconds. Please try again! "
;
}
void Conversion::menu()
{
int choice;
Conversion time_calc;
do {
cout << endl << endl;
cout << " Time Management System "<<endl;
cout << " ============================================== "<<endl;
cout << " 1: Convert a number of seconds into a time "<<endl;
cout << " 2: Convert a time into a number of seconds "<<endl;
cout << " 3: Substrat a number of seconds from a time "<<endl;
cout << " 4: Quit "<<endl;
cout << " ============================================== "<<endl;

cout << " Your choice please: ";
cin >> choice;

switch (choice)
{
case 1:
sec_to_hours();
break;
case 2:
time_calc.time_to_seconds();
break;
case 3:
time_calc.substraction();
break;
case 4: cout<<"Thank you for having used this system, Bye Bye!!!"; break;

default: cout<<"Error: Invalid option, Please try again" ;
}
} while (choice != 4);

}// end function menu

void sec_to_hours() //Conversion from seconds to hours and minutes
{ int seconds;

cout<<"Enter the number of seconds: " ;
cin>> seconds;
if (seconds >= 0 && seconds < 60)
cout<< "The number of seconds is " << seconds ;
else if (seconds >= 60 && seconds < 3600)
cout<< "There are " << seconds / 60 <<" minutes and " << seconds % 60
<<" seconds" ;
else if ( seconds >= 3600 && seconds < 86400 ) // 1 hours or more , 1 hour
= 3600 seconds
cout<< "There are " << seconds /3600 << " hours " << (seconds % 3600) /
60 <<" minutes " << seconds % 60 <<" seconds" ;
else if ( seconds >= 86400 ) //checking for days if seconds greater then
86400seconds ( 1 day)
{ cout<< "There is " << seconds / 86400 <<" days, " << (seconds % 86400)
/3600 << " hours " ;
cout<< ((seconds % 86400) %3600) / 60 <<" minutes " << (((seconds %
86400) %3600) % 60 ) %60 <<" seconds" ;
}
}

}; // end void time_to_seconds
void substraction()
{ int seconds, total_seconds;

time_to_seconds();
cout<<" Now enter the amount of seconds to subtract : " <<endl;
cin >> seconds ;

if ( time_to_seconds().seconds >= seconds)
cout<< " Substracting " << time_to_seconds.seconds <<" from " << seconds
<<" is: " << time_to_seconds().seconds - seconds ;
else
cout<< " The time has to be greater then the seconds. Please try again! "
;

}

void main()
{
Conversion time_calc;
time_calc.menu();
getch(); // Used in microsoft visual c++

}


Jul 22 '05 #3
Ken
what about using a pointer to get the information from the other function?

K
"Ian" <no***@nowhere.com> wrote in message
news:10***************@drone5.qsi.net.nz...
Ken wrote:
hello,

I would to know if it is possible to call an object in a function within a class.
Meaning , In a class, A function X calling onto a function Y, and function Y we want one of the two calculation ( eg seconds , out of seconds and
minutes)
thanks ,

Ken
lerameur at yahoo.com

here is the program I wrote, but the function subtraction wich is calling another function is not working, dont know how to access the info.

You've placed what should be class data members in the member function
time_to_seconds().

Hint:
class Conversion
{
int seconds1, seconds2, hours, minutes, seconds;

...
};

Then all member functions can access them, no need for odd things like
time_to_seconds.seconds.

Ian

#include <iostream>
#include <conio.h> // Used in microsoft visual c++
using namespace std;
class Conversion
{
public:
void menu();
void sec_to_hours();
void time_to_seconds();
void substraction();
};

void Conversion::time_to_seconds() //Converts time to seconds
{ int seconds1, seconds2, hours, minutes, seconds;
char colon;
cout<<"Enter a time (hours:minutes:seconds): " ;
cin>> hours >>colon >>minutes >>colon >> seconds;
if ( hours >= 0 && hours < 24 ) seconds1 = hours * 3600 ;
else cout<<"Invalid amounts of hours " <<endl;
if ( minutes >= 0 && minutes < 60) seconds2 = minutes *60;
else cout<<"Invalid amount of minutes " <<endl;
if ( seconds >= 0 && seconds< 60) ;
else cout<<"Invalid amount of seconds " <<endl;
if ( ( hours >= 0 && hours < 24 ) && ( minutes >= 0 && minutes < 60) && ( seconds >= 0 && seconds< 60) )
seconds = seconds1 + seconds2 + seconds ;
cout<< " There is: " << seconds <<" seconds." <<endl;
}
void Conversion::substraction()
{ int seconds ;//total_seconds;

time_to_seconds();
cout<<" Now enter the amount of seconds to subtract : " <<endl;
cin >> seconds ;

if ( time_calc.time_to_seconds() >= seconds)
cout<< " Substracting " << time_to_seconds.seconds <<" from " << seconds <<" is: " << time_to_seconds().seconds - seconds ;
else
cout<< " The time has to be greater then the seconds. Please try again! " ;
}
void Conversion::menu()
{
int choice;
Conversion time_calc;
do {
cout << endl << endl;
cout << " Time Management System "<<endl; cout << " ============================================== "<<endl; cout << " 1: Convert a number of seconds into a time "<<endl; cout << " 2: Convert a time into a number of seconds "<<endl; cout << " 3: Substrat a number of seconds from a time "<<endl; cout << " 4: Quit "<<endl; cout << " ============================================== "<<endl;
cout << " Your choice please: ";
cin >> choice;

switch (choice)
{
case 1:
sec_to_hours();
break;
case 2:
time_calc.time_to_seconds();
break;
case 3:
time_calc.substraction();
break;
case 4: cout<<"Thank you for having used this system, Bye Bye!!!"; break;
default: cout<<"Error: Invalid option, Please try again" ;
}
} while (choice != 4);

}// end function menu

void sec_to_hours() //Conversion from seconds to hours and minutes
{ int seconds;

cout<<"Enter the number of seconds: " ;
cin>> seconds;
if (seconds >= 0 && seconds < 60)
cout<< "The number of seconds is " << seconds ;
else if (seconds >= 60 && seconds < 3600)
cout<< "There are " << seconds / 60 <<" minutes and " << seconds % 60 <<" seconds" ;
else if ( seconds >= 3600 && seconds < 86400 ) // 1 hours or more , 1 hour = 3600 seconds
cout<< "There are " << seconds /3600 << " hours " << (seconds % 3600) / 60 <<" minutes " << seconds % 60 <<" seconds" ;
else if ( seconds >= 86400 ) //checking for days if seconds greater then 86400seconds ( 1 day)
{ cout<< "There is " << seconds / 86400 <<" days, " << (seconds % 86400) /3600 << " hours " ;
cout<< ((seconds % 86400) %3600) / 60 <<" minutes " << (((seconds % 86400) %3600) % 60 ) %60 <<" seconds" ;
}
}

}; // end void time_to_seconds
void substraction()
{ int seconds, total_seconds;

time_to_seconds();
cout<<" Now enter the amount of seconds to subtract : " <<endl;
cin >> seconds ;

if ( time_to_seconds().seconds >= seconds)
cout<< " Substracting " << time_to_seconds.seconds <<" from " << seconds <<" is: " << time_to_seconds().seconds - seconds ;
else
cout<< " The time has to be greater then the seconds. Please try again! " ;

}

void main()
{
Conversion time_calc;
time_calc.menu();
getch(); // Used in microsoft visual c++

}


Jul 22 '05 #4

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

Similar topics

8
by: Muthu | last post by:
I've read calling conventions to be the order(reverse or forward) in which the parameters are being read & understood by compilers. For ex. the following function. int Add(int p1, int p2, int...
6
by: jchao123 | last post by:
Dear All, I have an MDB file (Access 2000/XP) which contains generic routines I use in various apps (eg, API calls, File access classes etc). I have compiled into an MDE file which I reference...
14
by: ericellsworth | last post by:
Hi, I'm trying to use a class to pass variables back and forth from a form opened in dialog mode. I have created a class which invokes a form in its show method, like so: Public Sub Show() '...
1
by: Jesse McGrew | last post by:
Hi all, I'm trying to make a plugin DLL for a third-party application, using VC++ .NET 2003. This DLL acts as a bridge between the C++ plugin API of the application, and my actual plugin code...
5
by: Nick Flandry | last post by:
I'm running into an Invalid Cast Exception on an ASP.NET application that runs fine in my development environment (Win2K server running IIS 5) and a test environment (also Win2K server running IIS...
2
by: Geler | last post by:
A theoretical question: Sorry if its a beginner question. Here is a quote from the MSDN explaning the C/C++ calling convention.. It demonstrates that the calling function is responsible to clean...
18
by: John Friedland | last post by:
My problem: I need to call (from C code) an arbitrary C library function, but I don't know until runtime what the function name is, how many parameters are required, and what the parameters are. I...
15
by: dspfun | last post by:
Hi, Is it possible to print the function name of the calling function? For example, f1() and f2() both calls f3(), in f3() I would like to print the name of the function calling f3() which...
11
by: briankirkpatrick | last post by:
Forgive me if my post seems a little amateurish... I'm requesting assistance from some of you smart folks out there to get the managed calls write that meet the specification in the esa.h for...
16
by: teju | last post by:
hi, i am trying 2 merge 2 projects into one project.One project is using c language and the other one is using c++ code. both are working very fine independently.But now i need to merge both...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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...
0
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,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...
0
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...

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.