Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
class-size
- Page 1
Re: How Build video-player in html And css ?
Programming
16 Hours Ago
by simhakidsden
You can build a video player in HTML and CSS by using the <video> element to display the video and styling it with CSS to customize its appearance and layout. You can also use JavaScript to add additional functionality, such as play, pause, and volume controls.
How Build Html form ?
Programming
Web Development
2 Months Ago
by Kirubel_2
…<!-- div containing the popup --> <div
class
="content" onsubmit="togglePopup()"> <…absolute; right: 20px; top: 15px; background-color: #ae4732fe; font-
size
: 15px; color: white; border-radius: 50%; padding: 7px 14px; …
Re: How Build video-player in html And css ?
Programming
2 Months Ago
by Kirubel_2
…} .container button{ background: transparent; color:white; font-
size
: 20px; border:1px solid transparent; } .container button:hover…} } .sidebar ul li { margin-top: 16px; font-
size
: 30px; padding: 5px; } .sidebar ul li a{ color…
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
2 Months Ago
by toneewa
… 20); } } Frame.java: import javax.swing.JFrame; public
class
Frame { public static void main(String[] args) { JFrame frame …); frame.setSize(520, 540); // Set the frame
size
to 520x540 frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); // Close the application…
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
2 Months Ago
by toneewa
…} } // draw the balls for (int i = 0; i < b.
size
(); i++) { g.fillOval(this.b.get(i).getX(), this.b… 20, 20); } } Frame.java: import javax.swing.JFrame; public
class
Frame{ public static void main(String[] args) { JFrame frame = new…
How Build video-player in html And css ?
Programming
2 Months Ago
by Kirubel_2
…;i style="font-
size
: 49px; color: white;margin-right: 10px;" onclick="img()"
class
="ion-ios-contact-…span> </div> </div> <div
class
="discr"> <details> <summary>…
How to Optimize RecyclerView performance by implementing the ViewHolder
Programming
Mobile Development
2 Months Ago
by Mikekelvin
…performance by minimizing the number of findViewById() calls. public
class
MyAdapter extends RecyclerView.Adapter<MyAdapter.ViewHolder> {…} @Override public int getItemCount() { return 100; // Example
size
, use your actual data
size
here } } By caching references to views in the…
Re: How Build Html form ?
Programming
Web Development
1 Month Ago
by Dani
I'm not exactly understanding your question. I see you have an HTML form here in this HTML code. What is not working about it? You need to specify the action="#" to be a URL that will process the form.
Re: Extract Tabular Data from PDF Images using Hugging Face Table Transformer
Programming
Computer Science
1 Month Ago
by Harini sri
Hi, Thank you so much for the above code. Its giving better results compared to other libraries. I have few questions. In some tables, I have common column name for three columns and further I have sub columns like below.... in these cases the tables are not getting extracted properly...Do you have any suggestions for handling such cases? Also …
missing storage-class or type specifiers error
Programming
Software Development
17 Years Ago
by shift25
… ;int main() { int classSize; //
size
of the
class
// prompt the user for and input
class
size
cout << "\nEnter the… number of students in the
class
: "; cin &…<< endl; // prompt the user for and input
class
size
cout << "\nEnter the number of students in…
Memory layout of class
Programming
Software Development
12 Years Ago
by learningcpp
… output is this way? I thought A
class
size
is the summation of the byte
size
of its member variables. My machine is… wasted. Isn't it? return 0; } [/CODE] Why the above
class
size
is showing 8? Following code is priting 1 and 1…
Re: Memory layout of class
Programming
Software Development
12 Years Ago
by learningcpp
… the time I am getting the same result which is
class
size
8 bytes. Regards, S.
Re: Memory layout of class
Programming
Software Development
12 Years Ago
by mrnutty
… the time I am getting the same result which is
class
size
8 bytes. Regards, S.[/QUOTE] [URL="http://publications.gbdirect…
Re: need some help with sizeof(class)
Programming
Software Development
17 Years Ago
by jwenting
[QUOTE=sunnypalsingh;291333]But
class
B doesn't have any virtual function? So what's the point of pointer to virtual table for
class
B? Isn't the sizeof
class
B 4 because of the subobject A?[/QUOTE] Narue was speaking in general terms. VTables do influence
class
size
, just as do data members of superclasses.
Re: need some help with sizeof(class)
Programming
Software Development
17 Years Ago
by SpS
[QUOTE=jwenting;291384]Narue was speaking in general terms. VTables do influence
class
size
, just as do data members of superclasses.[/QUOTE] Actually she was quoting something else so I was thinking that. I don't doubt about her knowledge.
Re: Class Template Problem - Constructor Issues - Please help
Programming
Software Development
16 Years Ago
by doublediamond
…; n) throw(BADINDEX) { if(
size
> 0) { n = data[
size
];
size
--; } else { throw BADINDEX(); } return *this; } template <
class
T> T myVector<…> bool myVector<T>::isFull() { return (
size
== capacity); } template <
class
T> bool myVector<T>::isEmpty() { bool…
Class Template used for stack
Programming
Software Development
16 Years Ago
by bleonard989
… STACK_H const int MAX_SIZE = 10;
class
FullStack {};
class
EmptyStack {}; template <
class
ItemType>
class
StackType { public: StackType (int
size
= MAX_SIZE); ~StackType(); StackType(const StackType…
Class Template Problem - Constructor Issues - Please help
Programming
Software Development
16 Years Ago
by doublediamond
… 0; virtual void erase() throw(BADINDEX) = 0; }; template <
class
T>
class
myVector:public containerInterface<T> { public: myVector(); ~myVector…;T>& myVector::popBack(T& n) { n = data[
size
];
size
--; return *this; } T front() { return data[0]; } T back()…
class serialization issues
Programming
Software Development
12 Years Ago
by CPT
…identifier); return in; }[/code] [code="C++"]
class
CGuser { bool online; int score; string name; string …temp.messages[i]<<endl;
size
=temp.v_friends.
size
(); out<<
size
<<" "; for…temp.v_friends[i]<<endl;
size
=temp.groups.
size
(); out<<
size
<<" "; for…
Re: Class Template used for stack
Programming
Software Development
16 Years Ago
by bleonard989
… STACK_H const int MAX_SIZE = 10;
class
FullStack {};
class
EmptyStack {}; template <
class
ItemType>
class
StackType { public: StackType(int
size
= MAX_SIZE); ~StackType(); StackType(const StackType…
Re: Class Template used for stack
Programming
Software Development
16 Years Ago
by bleonard989
… STACK_H const int MAX_SIZE = 10;
class
FullStack {};
class
EmptyStack {}; template <
class
ItemType>
class
StackType { public: StackType(int
size
= MAX_SIZE); ~StackType(); StackType(const StackType…
Re: Class Template Problem - Constructor Issues - Please help
Programming
Software Development
16 Years Ago
by Narue
If you define a member function for a template
class
outside of the
class
definition, you need to recreate the template parameters: [code…=cplusplus] template <typename T> myVector<T>::myVector() {
size
…
Re: Class Template Problem - Constructor Issues - Please help
Programming
Software Development
16 Years Ago
by Laiq Ahmed
… it does [code] template <
class
T> void myVector<T>::grow(){ while(
size
>= capacity) { T* temp…; data = new T[capacity]; for(int i = 0; i <
size
; i++) { data[i] = temp.data[i]; } delete []temp; } } …
Class Composition Confusion
Programming
Software Development
14 Years Ago
by swolll
… school_H #define school_H #define
SIZE
15 #include <string> #include "student.h" using namespace std;
class
School{ public: int… read_list(Student list[], int
size
); bool open_file(ifstream &fin); void…
Re: Class Composition Confusion
Programming
Software Development
14 Years Ago
by mrnutty
… do you need help with? A composition is when your
class
is composed of some object. Here is an example : [code… { public : string aName; }; [/code] since string is a
class
and aName is an object, then one could say that …Name is composed of an object of the string
class
. And I guess when you say arrays, in this case…
Re: class methods help
Programming
Software Development
16 Years Ago
by mickinator
… first
class
. Tis pretty self explanatory: [code=java] public
class
PizzaOrder { protected String
size
; //
Size
of pizza…String representation of the pizza. */ public String toString( ) { return ( "
Size
: " +
size
+ "\nDelivery: " + toBeDelivered + "Cost: $" +…
Re: Class Composition Confusion
Programming
Software Development
14 Years Ago
by swolll
…' in 'target', which is of non-
class
type 'double' companyImp.cpp:188: error… (!flag); } void Company::Add(ofstream fout1, int
size
) { string firstName, lastName; int i, skill, benefitType…(taxID); process_list (int
size
); calcSums(int
size
);
size
++; } } void Company::search_and_destroy(int
size
) { string target; …
Class course that stores the course number,
Programming
Software Development
14 Years Ago
by braineater
…void dropCourse (int courseNumber); void print(); friend
class
course; private: int studentID; string studentName; vector…courseID [i] = courseID [courseID.
size
()-1]; courseID [courseID.
size
()-1] = temp; courseID.pop_back(); } } }
class
course { private: string name;…
Re: class serialization issues
Programming
Software Development
12 Years Ago
by CPT
… a problem when I allocate a buffer with the
size
of the
class
(you know, to send it)? [QUOTE=firstPerson;1596063]Why… this case I will need a default constructor for the
class
Re: class serialization issues
Programming
Software Development
12 Years Ago
by Narue
[QUOTE]wouldn't that be a problem when I allocate a buffer with the
size
of the
class
(you know, to send it)?[/QUOTE] You need to read up on serialization. Real serialization, not this shallow copy crap.
1
2
3
17
Next
Last
Search
Search
Forum Categories
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
Forums
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
© 2024 DaniWeb® LLC