Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
swap
- Page 1
Re: 💻 What’s the First App You Install on a Fresh Windows Machine?
Hardware and Software
Microsoft Windows
8 Hours Ago
by dnBunnie
the app "Everything" after Comodo Internet security
Re: 💻 What’s the First App You Install on a Fresh Windows Machine?
Hardware and Software
Microsoft Windows
8 Hours Ago
by Reverend Jim
I agree. [Everything](https://www.voidtools.com/) is always a definite install after imaging. It's something that should have been built into Windows. I've never found the need for any security software other than what comes with Windows.
Re: 💻 What’s the First App You Install on a Fresh Windows Machine?
Hardware and Software
Microsoft Windows
5 Hours Ago
by Dani
As a macOS user these days, does Windows not have a find tool? /confuzzled
Re: 💻 What’s the First App You Install on a Fresh Windows Machine?
Hardware and Software
Microsoft Windows
1 Hour Ago
by Reverend Jim
As is typical with Microsoft, their search/find tools work poorly, can hog resources, and are difficult to use. "Everything Indexer" is easy to use, has a small footprint, and has almost no effect on my resources. Search queries show you results as you type, and you can create complex search terms with logical operators, as opposed to the…
💻 What’s the First App You Install on a Fresh Windows Machine?
Hardware and Software
Microsoft Windows
1 Week Ago
by asadalikhan
… in your "must-install immediately" list! Let’s
swap
recommendations — you might just discover a tool you didn’t…
Re: 💻 What’s the First App You Install on a Fresh Windows Machine?
Hardware and Software
Microsoft Windows
1 Week Ago
by Reverend Jim
First app is Macrium Reflect so I can take an image of the fresh install. Then I repartition to C/D, move my user folders (documents, pictures, etc.) to D. Then I take another image. After that I begin installing my base apps before imaging one more time.
Re: 💻 What’s the First App You Install on a Fresh Windows Machine?
Hardware and Software
Microsoft Windows
1 Week Ago
by Reverend Jim
Further note: Because Microsoft insists on crammine OneDrive down our throats, moving the My Documents is damn near impossible. I've found the easiuest way is to initially set up my computer using a Microsoft Account (something they have also made it almost impossibole to avoid), then create a local admin account and always log on with that. That …
Re: 💻 What’s the First App You Install on a Fresh Windows Machine?
Hardware and Software
Microsoft Windows
1 Week Ago
by Dani
* Microsoft Office (for macOS) And then to manage DaniWeb: * PhpStorm * Remote Desktop Manager * Viscosity * Screaming Frog SEO Spider
Re: 💻 What’s the First App You Install on a Fresh Windows Machine?
Hardware and Software
Microsoft Windows
1 Week Ago
by Dani
Jim, I have not used Windows in a very, very long time, but can you not configure Windows to store My Documents on D? I'm quite sure that you can, if I remember correctly? https://superuser.com/questions/1725456/wha-cant-i-move-my-documents-folder
Re: 💻 What’s the First App You Install on a Fresh Windows Machine?
Hardware and Software
Microsoft Windows
1 Week Ago
by Reverend Jim
>I'm quite sure that you can, if I remember correctly? Before OneDrive it was easily done. Not anymore. Microsoft is slightly brain dead. Locations for shell folders are stored in the registry. You'd think they'd all be under "Shell Folders", but not all of them are. And you'd think they would have consistent names. But here are …
Re: 💻 What’s the First App You Install on a Fresh Windows Machine?
Hardware and Software
Microsoft Windows
1 Week Ago
by Reverend Jim
BTW I've spoken with a former Microsoft Engineer. He also agrees OneDrive is an abomination.
Swap example using pointers and passing by reference
Programming
Software Development
16 Years Ago
by serkan sendur
…(int * pNumber1, int * pNumber2); };[/CODE]
swap
.cpp : [CODE]#include "
Swap
.h"
Swap
::
Swap
(void) { }
Swap
::~
Swap
(void) { } void
Swap
::SwapNumbers(int & number1, int &…
Swap 2 number without using third variable
Programming
Software Development
14 Years Ago
by vijaykrishnabor
Swap
2 number without using third variable code do not use …
Re: Swap memory works as reserve RAM?
Hardware and Software
Linux and Unix
11 Years Ago
by rubberman
… will move the least-recently used memory blocks to the
swap
space, freeing that physical memory for active processes. This can…still in use by other processes will remain in the
swap
space until needed, then they will be swapped from disc…is what you are asking. Myself, I usually allocate a
swap
partition at least as large as my physical memory, and…
Re: swap member function
Programming
Software Development
17 Years Ago
by Narue
>
swap
(Scores[i][0], Scores[min]); >
swap
(Scores[i][1], Scores[min]); >
swap
(Scores[i][2], Scores[min]); >
swap
(Scores[i][3], Scores[min]); This strikes me as a type mismatch. Most likely you're trying to
swap
a float with an array of floats, and the compiler doesn't like it.
Re: swap two elements of the array using pointers
Programming
Software Development
13 Years Ago
by rubberman
Swap
elements 1 and 3: void swap1and3(void) { char* p1 = &menu[1]; char* p2 = &menu[3]; char tmp; tmp = *p1; *p1 = *p2; *p2 = tmp; }
Re: Swap example using pointers and passing by reference
Programming
Software Development
16 Years Ago
by Rashakil Fol
Why do you have a class named
Swap
?
Re: Swap example using pointers and passing by reference
Programming
Software Development
16 Years Ago
by serkan sendur
[QUOTE=Rashakil Fol;792214]Why do you have a class named
Swap
?[/QUOTE] i just created it using visual studio, it didnt matter if it is in class or not, but my question is what is the difference between the two
swap
method? if they are the same thing, why does the syntax of the language gives me two ways to the same thing?
Re: Swap 2 number without using third variable
Programming
Software Development
14 Years Ago
by DJSAN10
… a scenario where you have written your code like this
swap
(int *a, int *b) { *a ^= *b ^= *a ^= *b; } Now, … is quite possible in sorting algorithms which sometimes try to
swap
a variable with itself (maybe due to some small, …end up giving you wrong results. Method3 One can also
swap
two variables using a macro. However, it would be required…
Re: Swap 2 number without using third variable
Programming
Software Development
14 Years Ago
by b1izzard
… b=a-b; a=a-b; printf("\nVariables after
swap
\nA= %d \nB= %d\n",a,b);…{ int a=10,b=20; printf("Variables Before
swap
\nA= %d \nB= %d",a,b);… b=a/b; a=a/b; printf("\nVariables after
swap
\nA= %d \nB= %d\n",a,b);…{ int a=10,b=20; printf("Variables Before
swap
\nA= %d \nB= %d",a,b); …
Re: Swap 2 number without using third variable
Programming
Software Development
11 Years Ago
by deceptikon
… is a risk and *greatly* increases the complexity of the
swap
for the negligible benefit of a few bytes saved memory…. If you try using the XOR
swap
, swapping with self is a risk and slightly increases the… complexity of the
swap
. XOR also demands that the swapped type be integral. These…
swap dead Sony laptop for dead Dell laptop
Community Center
17 Years Ago
by fulltlt
I have a Sony PCG-GRX570 with a bad MB that I'd like to
swap
for a Dell 8500 with a bad MB.
Re: Swap 2 number without using third variable
Programming
Software Development
13 Years Ago
by AL ZARRAR
…;%d%d",&i,&j); printf("before
swap
:First Var.=%d\tSecond Var.=%d\n",i,j…+j; j=-(j-i); i=-(i-j); printf("After
Swap
: First Var.=%d\tSecond Var,=%d\n",i,j…
Re: Swap 2 number without using third variable
Programming
Software Development
10 Years Ago
by Hiroshe
… swapping variables. In fact, if you use a temp to
swap
variables, you'll introduce new overhead. So, in a sense… of programming in general, there is a way to
swap
variables without introducing new overhead, just as long as your…
Re: Swap 2 number without using third variable
Programming
Software Development
10 Years Ago
by Anmol_2
best solution of C program to
swap
two numbers http://programmergallery.com/c-program/c-program-
swap
-two-numbers.php
Re: Swap 2 number without using third variable
Programming
Software Development
14 Years Ago
by Zamansiz
just a tricky way #define
SWAP
(a, b) do { a ^= b; b ^= a; a ^= b; } while ( 0 )
Re: Swap 2 number without using third variable
Programming
Software Development
14 Years Ago
by sharathg.satya
haii this code also works to
swap
two numbers if a=5,b=4 then a=(a+b)-(b=a); also works
Re: Swap 2 number without using third variable
Programming
Software Development
11 Years Ago
by sbesch
…. Why move big chunks of data when you can simply
swap
a pointer? Want a simple assembly language example? Mov ECX…
Re: Swap 2 number without using third variable
Programming
Software Development
10 Years Ago
by rachnabss
import java.io.*; class
swap
{ public static void main(String args[]) throws IOException{ BufferedReader br=…
Re: Swap 2 number without using third variable
Programming
Software Development
10 Years Ago
by deceptikon
… all of the mental gymnastics involved in devising ways to
swap
without a temporary (though these days everyone just Googles for…
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC