Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
c3861
- Page 1
Graph of quadratic function with CanvasRenderingContext2D
Programming
Web Development
1 Day Ago
by alexanderrm2024
Hello everyone, I have a task in which I would like to implement the graphical visualisation of a quadratic equation in the interval x =[-10,10] and - if any exist - the corresponding zeros, using CanvasRenderingContext2D methods. To convert the coordinates into pixel coordinates within the canvas: the coordinates into pixel coordinates …
Re: Calling an object from another in PHP using construct
Programming
Web Development
6 Days Ago
by FarrisFahad
Hey, I know that this discussion is old but I need to know now. I am new to OOP in PHP. Is it good to call a class within a class? Why or why not? How should I create an object? I want objects to use other methods from other objects. Your example is good ... class A { private $obj; public function __construct…
Re: Calling an object from another in PHP using construct
Programming
Web Development
4 Days Ago
by pritaeas
That causes an infinite loop as described by jkon. I'd go for a container class: ```php class Container { private $A; private $B; private $C; public function __construct($A, $B, $C) { $this->A = $A; $this->B = $B; $this->C = $C; } } $A = new A(); $B = new B(); $C = new …
Re: Graph of quadratic function with CanvasRenderingContext2D
Programming
Web Development
1 Day Ago
by Dani
Have you learned how to graph things? Did your professor teach you about using Canvas yet? Here is a tutorial for getting started: https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API/Tutorial
Re: How about implementing a door opening system based on finger print?
Programming
Software Development
3 Days Ago
by trueframe
Sure! Creating a door system that opens with fingerprints is a great idea. It's secure and convenient. Instead of keys, you use your fingerprint. It's unique to you, so only you can open it. It's safer than traditional locks and doesn't require carrying keys.
Re: Which programming language is best Ludo game development?
Programming
Game Development
3 Weeks Ago
by kishanrg
When it comes to developing a Ludo game, the choice of programming language largely depends on your familiarity with the language and the platforms you intend to target. However, some commonly used languages for game development, including Ludo games, are C++, C#, Java, JavaScript, and Python. Ultimately, the "best" programming …
Re: how to create a simple elevator simulation?
Programming
Software Development
2 Weeks Ago
by trueframe
To make a basic elevator simulation, first, identify the floors and the elevator's capacity. Then, use loops and conditionals in programming to mimic its movement. Include buttons for users to call the elevator and select floors. Test thoroughly for accuracy.
Re: Which programming language is best Ludo game development?
Programming
Game Development
3 Weeks Ago
by polles
i would choose JavaScript
Re: Which programming language is best Ludo game development?
Programming
Game Development
1 Week Ago
by m2host
I will choose Python or JavaScript
Re: Calling an object from another in PHP using construct
Programming
Web Development
1 Week Ago
by jkon
In every OOP language that I know you can create infinite recursive loops in a construction method . Lets play a bit with it in PHP: class A { private $obj; public function __construct() { $this->obj = new B(); } } class B { private $obj; public …
Re: This is me venting
Community Center
Meta DaniWeb
3 Weeks Ago
by jkon
Dani , yes I also believe that you are responsible for the decline of DaniWeb .... BUUUT that was many years ago. We all foreseen the decline of "forums" back in early 2010's , there were many alternatives of what to do , and I strongly believe that you choose the wrong one. I will not repeat what you did or what you could be done …
Re: What's the most unexpected hobby or interest you have outside of coding?
Community Center
Geeks' Lounge
3 Weeks Ago
by toneewa
With "Tennis Elbow", it’s the tendons that connect these muscles to the bones that are primarily affected by this condition. Tendons, which connect muscles to bones, are primarily composed of collagen, a protein that requires several key nutrients for its formation and function. Vitamin A: It can help enhance collagen development. …
Re: Microsoft Copilot is missing!
Hardware and Software
Microsoft Windows
4 Weeks Ago
by Reverend Jim
Right click on taskbar and select taskbar settings. If you want the icon to show then turn copilot preview on. Or you can use the hotkey WINDOWS+C. Copilot should appear docked to the right of the screen..
Re: Printing multiple integers EASY SOLUTION
Programming
Software Development
2 Weeks Ago
by Bunker
A straightforward solution to printing multiple integers is to use a loop. For example, in Python, you could use a "for" loop to iterate through a list of integers and print each one. This method is simple and effective.
Re: Video is not the main content of the page
Digital Media
Digital Marketing
Search Engine Strategies
4 Weeks Ago
by Read a Book
BUMP. Anyone can help with this issue ? :/
Re: Video is not the main content of the page
Digital Media
Digital Marketing
Search Engine Strategies
4 Weeks Ago
by Dani
I’ll take a look at this tomorrow. I’m currently in bed :)
Re: Video is not the main content of the page
Digital Media
Digital Marketing
Search Engine Strategies
4 Weeks Ago
by Dani
You have the itemtype set to a VideoObject but, as you point out, only sometimes is there actually an .mp4 file. The rest of the time, it's a static image such as a png, jpg, or jpeg. Google probably doesn't trust your meta tags since they are inaccurate half the time.
Re: Video is not the main content of the page
Digital Media
Digital Marketing
Search Engine Strategies
2 Weeks Ago
by Read a Book
But i am generating the JSON code dynamically. If there is no video than i hide the VideoObject tag with if statement. Should i just remove the `itemscope itemtype="http://schema.org/VideoObject"`
Re: Video is not the main content of the page
Digital Media
Digital Marketing
Search Engine Strategies
2 Weeks Ago
by Dani
Yes, if the page does not contain video content, then remove `itemscope itemtype="http://schema.org/VideoObject"` I'm so sorry for not responding sooner. I just saw your post now.
How do I swap out the mesh on a humanoid armature in Unity 3D?
Programming
Game Development
3 Weeks Ago
by Michael_80
In Unity 3D, utilizing the Starter Assets package, I am trying to swap the mesh on the Starter Asset character that I duplicated in the scene. I unpacked a prefab so that I could utilize the mesh filter of the new prefab that I imported. I realized that there are several meshes on the (prefab/game object) that I unpacked and wanted to know how to …
C++ programming error
Programming
2 Months Ago
by sammieb
I am trying to enter a single string in C++ in which I give a URL citation. the entire line is as follows: cout << 'furey, edward "sphere calculator" at https://www.calculatorsoup.com/calculators/geometry-solids/sphere.php from calculatorsoup, https://www.calculatorsoup.com - online calculators' << endl; I am getting the…
Read file properties of video files in C++
Programming
Software Development
1 Month Ago
by Thomasio
I want to figure out what Windows does when you right-click a video file and check properties and I would like to write a similar piece of code in C++. I should be able to figure out how to read the file type and size, but I'm lost in how to get details of the video like resolution and runtime. Which API commands does Windows use there?
Re: Read file properties of video files in C++
Programming
Software Development
1 Month Ago
by toneewa
The [Windows Media Foundation API](https://learn.microsoft.com/en-us/windows/win32/api/mfmediaengine/nf-mfmediaengine-imfmediaengine-getduration#requirements) is probably what you are thinking of. You also can just use my example, using the ffmpeg library. Just change the filename. extern "C" { #include <libavformat/…
Re: Getting Started With C# - The List
Programming
Software Development
2 Months Ago
by Shahzad111
C-Sharp Tutorial is for student and prefessional who want to learn C# programming from basic to advance. We have discussed every topic of C# alonge with examples in this tutorial guide. https://c-sharptutorial.com/
Re: How can I better use C++and data structures and algorithms
Programming
Computer Science
2 Months Ago
by tinstaafl
Here's a free course that also has video transcripts in Chinese [Click Here](https://www.edx.org/learn/data-structures/ibm-data-structures-algorithms-using-c?irclickid=wHcSD31V3xyPTCjz4zwfC1-YUkH1ZVUH5RvbSQ0&utm_source=affiliate&utm_medium=Class%20Central&utm_campaign=Harvard%27s%20Computer%20Science%20for%20Python%20Programming_&…
how converte C to VB6?
Programming
Software Development
2 Months Ago
by cambalinho
how can i convert these C line: (py>>6)<<6) to VB6?
Re: how converte C to VB6?
Programming
Software Development
2 Months Ago
by SCBWV
VB6 doesn't support <<. As best I can determine, the C code is shifting bits to the right, then back to the left, effectively clearing the lower 6 bits. In VB6, you can do the same by: Dim py As Long Dim shiftedValue As Long shiftedValue = py / (2 ^ 6) ' Shift right by 6 positions shiftedValue = shiftedValue * (2 ^ 6)…
Re: C++ programming error
Programming
2 Months Ago
by rproffitt
You'll want to escape those quote marks and maybe more. Read https://en.cppreference.com/w/cpp/language/escape Example follows: #include <iostream> using namespace std; int main() { cout << "furey, edward \"sphere calculator\" at https://www.calculatorsoup.com/calculators/geometry-solids/…
Create And Install Windows Service Step By Step In C#
Programming
Web Development
1 Month Ago
by Rabiya_1
I'm New In c# and want to create a windows service here what I'm trying public TestService() { InitializeComponent(); timeDelay = new System.Timers.Timer(); timeDelay.Elapsed += new System.Timers.ElapsedEventHandler(WorkProcess); } public…
Re: Read file properties of video files in C++
Programming
Software Development
1 Month Ago
by pritaeas
Here's a good place to start: https://mediaarea.net/en/MediaInfo
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
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