Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
width
- Page 1
Re: Android Native - How To Request Notification Permissions
Programming
Mobile Development
2 Days Ago
by Inamullah_1
Great tutorial—thanks for sharing! Just a few quick additions: Starting with Android 13 (API 33), apps must request permission for POST_NOTIFICATIONS at runtime, while older versions allow notifications by default. It’s best to check the Android version before requesting this permission to avoid unnecessary prompts. Also, remember to handle the …
How to display chart with long X axis values without congestion
Programming
Software Development
2 Weeks Ago
by PM312
… like data is displayed in DataGrid view without reducing column
width
.  Then you do an equation:
width
**2 + height**2 = distanceBetweenPonts**2
width
Programming
Software Development
17 Years Ago
by gusbear
how after drawing a square with two points at opposite corner would i find the
width
of it?? thanks
Re: width
Programming
Software Development
17 Years Ago
by Ene Uran
If you have upper left corner coordinates (x1, y1) and lower right corner coordinates (x2, y2), then your
width
would simply be x2 - x1.
Width adjustment for a simple jquery slider
Programming
Web Development
13 Years Ago
by phaedrusGhost
…;}); var liSize = o.vertical ? height(li) :
width
(li); // Full li size(incl margin)-Used for animation…for just the visible items) li.css({
width
: li.
width
(), height: li.height()}); ul.css(sizeCss,…div.css(sizeCss, divSize+"px"); //
Width
of the DIV. length of visible images if(…
width section
Programming
Software Development
17 Years Ago
by jimJohnson
… the height to exit! Enter the height: 7 Enter the
width
: 5 Enter the character to fill the rectangle with: + - - …again!!! Enter the height: 5 Enter the
width
: 1 Invalid:
Width
cannot be less than 3. Try Again… for the height to exit!"; double cha, height = 0,
width
= 0; cha = Get_Character(); while (cha != -1) { …
Re: width section
Programming
Software Development
17 Years Ago
by jimJohnson
…{ do { cout << "Enter the
width
: ";
width
= Get_Number("
width
"); if (
width
<=3 ) { cout << "… << endl; Draw_Rectangle(height,
width
, symbol); Draw_Top_Bottom(
width
); cout << endl; Draw_Middle(height,
width
, symbol); cout << endl…
Re: width section
Programming
Software Development
17 Years Ago
by jimJohnson
… do { cout << "Enter the
width
: ";
width
= Get_Number("
width
"); if (
width
<= 3 ) { cout << &… = Get_Character(); Draw_Rectangle(height,
width
, symbol); Draw_Top_Bottom(
width
); cout << endl; Draw_Middle(height,
width
, symbol); Draw_Top_Bottom(
width
); cout << endl…
Re: width section
Programming
Software Development
17 Years Ago
by jimJohnson
… void Draw_Rectangle(int height, int
width
); void Draw_Top_Bottom(); void Draw_Middle(); int main() {… Get_Number(); cout << "Enter the
width
: ";
width
= Get_Number(); cout << "Enter …Draw_Rectangle(int height, int
width
) { int a = height; int b =
width
; } void Draw_Top_Bottom() { int
width
, count = 0; char…
Re: width section
Programming
Software Development
17 Years Ago
by jimJohnson
…(int height, int
width
, char symbol); void Draw_Top_Bottom(int
width
); void Draw_Middle(); int main() { int height,
width
, i; char symbol…;< "Enter the
width
: ";
width
= Get_Number(); for (i = 0;
width
.length(); i++); { cout <<
width
[i] << &…
Re: width section
Programming
Software Development
17 Years Ago
by jimJohnson
…(); void Draw_Rectangle(int height, int
width
, char symbol); void Draw_Top_Bottom(int
width
); void Draw_Middle(); int main() { int height,
width
, i; char symbol; cout… << "Enter the
width
: ";
width
= Get_Number(); for (i = 0;
width
.length(); i++); { cout <<
width
[i] << " "…
Re: width section
Programming
Software Development
17 Years Ago
by VernonDozier
…quot;; height = Get_Number(); cout << "Enter the
width
: ";
width
= Get_Number(); cout << "Enter the character to fill… "; } else { inputInvalid = false; } } return x; } void Draw_Rectangle(int
width
, int height, char symbol) { using namespace std; } void Draw_Top_Bottom(int…
Re: width section
Programming
Software Development
17 Years Ago
by jimJohnson
… int Get_Number(); void Draw_Rectangle(int height, int
width
, char symbol); void Draw_Top_Bottom(); void Draw_Middle(); … else cout << "Enter the
width
: ";
width
= Get_Number(); cout << "Enter… with: "; symbol = Get_Character(); Draw_Rectangle(height,
width
, symbol); return 0; } int Get_Number() { int…
Re: width section
Programming
Software Development
17 Years Ago
by VernonDozier
…) { exit(1); } else cout << "Enter the
width
: ";
width
= Get_Number(); cout << "Enter the character to fill…(char symbol) { } char Get_Character() { for(int col = 0; col <
width
; ++ col) { cout << symbol; } } [/code][/QUOTE] Your Draw_Middle function…
Re: width section
Programming
Software Development
17 Years Ago
by jimJohnson
…) { exit(1); } else cout << "Enter the
width
: ";
width
= Get_Number(); cout << "Enter the character to fill… the rectangle with: "; symbol = Get_Character(); Draw_Rectangle(height,
width
, symbol); return 0; } int Get_Number() { int x; bool inputInvalid = true…
Re: width section
Programming
Software Development
17 Years Ago
by VernonDozier
… cout << "Enter the
width
: ";
width
= Get_Number(); cout << "…with: "; symbol = Get_Character(); Draw_Rectangle(height,
width
, symbol); return 0; } int Get_Number() {…char Get_Character() { for(int col = 0; col <
width
; ++ col) { cout << symbol; } } …
Re: width section
Programming
Software Development
17 Years Ago
by jimJohnson
…) { exit(1); } else cout << "Enter the
width
: ";
width
= Get_Number(); cout << "Enter the character to fill…(); cout << endl; Draw_Rectangle(height,
width
, symbol); Draw_Top_Bottom(
width
); cout << endl; Draw_Middle(height,
width
, symbol); cout << endl; Draw_Top_Bottom…
Re: width section
Programming
Software Development
17 Years Ago
by jimJohnson
…height to exit!"; int height,
width
; char x; height = Get_Number();
width
= Get_Number(); cin >> …; while (x = 1) { height = Get_Number(); }
width
= Get_Number(); return 0; } int Get_Number() { int height; int…
width
; cout << "\nEnter the height…
Re: width section
Programming
Software Development
17 Years Ago
by jimJohnson
…for the height to exit!"; int height,
width
; char x; height = Get_Number();
width
= Get_Number(); while (x = -1) … return 0; } int Get_Number() { int height; int
width
; cout << "\nEnter the height: "…; cout << "Enter the
width
: "; cin >>
width
; return (height); } [/code]
Re: width section
Programming
Software Development
17 Years Ago
by VernonDozier
…height to exit!"; int height,
width
; char x; height = Get_Number();
width
= Get_Number(); while (x = -1…0; } int Get_Number() { int height; int
width
; cout << "\nEnter the height:… cout << "Enter the
width
: "; cin >>
width
; return (height); } [/code][/QUOTE]…
Re: width section
Programming
Software Development
17 Years Ago
by jimJohnson
…height: "; height = Get_Number(); cout << "Enter the
width
: ";
width
= Get_Number(); Draw_Top_Bottom(char ); Draw_Middle(); cout << "Enter… with: "; symbol = Get_Character(); return 0; } void Draw_Top_Bottom(int
width
) { } void Draw_Middle(char symbol) { } void Draw_Rectangle(int height, int…
Re: width section
Programming
Software Development
17 Years Ago
by VernonDozier
…quot;; height = Get_Number(); cout << "Enter the
width
: ";
width
= Get_Number(); Draw_Top_Bottom(char ); Draw_Middle(); cout << "… "; symbol = Get_Character(); return 0; } void Draw_Top_Bottom(int
width
) { } void Draw_Middle(char symbol) { } void Draw_Rectangle(int height…
Re: width section
Programming
Software Development
17 Years Ago
by jimJohnson
… std; char Get_Character(); int Get_Number(); void Draw_Rectangle(int height, int
width
, char symbol); void Draw_Top_Bottom(); void Draw_Middle(); int main() { int height…: "; height = Get_Number(); cout << "Enter the
width
: ";
width
= Get_Number(); cout << "Enter the character to fill…
Re: width section
Programming
Software Development
17 Years Ago
by mitrmkar
…using namespace std; int main() { int height = 3; int
width
= 3; unsigned char fillSymbol = 0xf0; // draw a 3x3 … while(height --) { for(int col = 0; col <
width
; ++ col) { // output the symbol one at a time cout… strange ways, i.e. // this seems like
width
is an instance of a class/struct having a member…
Re: width section
Programming
Software Development
17 Years Ago
by jimJohnson
…int Get_Number(); void Draw_Rectangle(int height, int
width
, char symbol); void Draw_Top_Bottom(); void Draw_Middle(); …(); cout << "Enter the
width
: ";
width
= Get_Number(); cout << "Enter…quot;; symbol = Get_Character(); Draw_Rectangle(int height, int
width
, char symbol); return 0; } int Get_Number() …
Re: width section
Programming
Software Development
17 Years Ago
by jimJohnson
…(); cout << "Enter the
width
: ";
width
= Get_Number(); cout << "Enter…quot;; symbol = Get_Character(); Draw_Rectangle(int height, int
width
, char symbol); return 0; } int Get_Number() … = false; } } return x; } void Draw_Rectangle(int
width
, int height, char symbol) { using namespace std; } void…
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
Backlink Auditor
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC