The book explain: "there's no address operators for the variable. we don't need address operator because the parameters are already addresses. we have used the address operator (&) up to this example to tell the compiler that we want the address of the variable, not its content. since the...
program 1
int main() {
int a = 2;
int b = 3;
swap (&a, &b); //extract the address of a and b
return 0;
}
void swap(int* a, int*b) {
*a = *a + 2; //dereference it and assign new value to a.
*b = *b + 2;
}
In program 1, we need to use *.
Program 2
/*This program adds two integers...
NIC card has no problem.
i uninstall nic driver and reinstall it which may lead to reset tcp/ip configuration.
i uninstall IE7 and reinstall it.
i can ping 127.0.0.1 and any ip outside of the internet.
i use nslookup to resolve google.com and ping and tracert the ip and get proper response from...
Hi. i have small question. i searched google and find that most tutorial or guide talking about install a clean xp in a PC instead of vmware at the beginning of building a master image. Can i install clean xp in vmware instead of regular pc? because i don't want to format reinstall my computer.
Hi, i need help to make ghost image which is pre-installed windows xp home/pro for all kind of computer and laptop.
i have to ghost an image into several different computers for customer everyday.
so, does anyone have instruction to do it?
what do i need?
i made ghost image before, but the...
do you know any good way or any other windows environment to verify or check the audio that is not defective physically?
if it is defective, there's no way we could install the driver.
Hi. my operating system is vista x86 32bit.
4GB of RAM.
i tried the audio driver from the motherboard DVD disc.
i also tried the microsoft's UAA high definition audio driver.
i also downloaded the realtek's latest audio driver.
i downloaded the new mobo driver from mobo official website, but i...
is my computer infected terribly??
i tried my account and administrator account. Both are the same. I click the account picture to login and it get logoff immedately. It never successfully login windows.
anyone know what's wrong with my laptop??
my vista is clean installation DVD.
my xp can't go through.
i didn't enter product key , because i was trying to enter product key after the installation. It doesn't matter anyway.
i tried XP and doesn't go through.
i think the mobo has problem.
i used Hiren's bootcd to test the mobo and the...
linney:
i start the installation from the dvd.
It's retail DVD. It is not come with computer.
the hard drive is brand new.
i already update BIOS. i already reload the BIOS setting to default and no problem at all.
i did removed USB connection on the motherboard.
i can't format hard drive...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.