Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
c-c++
- Page 1
Re: how to create a simple elevator simulation?
Programming
Software Development
2 Days 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: Printing multiple integers EASY SOLUTION
Programming
Software Development
2 Days 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
5 Days 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"`
Read file properties of video files in C++
Programming
Software Development
3 Weeks 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
3 Weeks Ago
by toneewa
…, using the ffmpeg library. Just change the filename. extern "
C
" { #include <libavformat/avformat.h> #include <libavformat…
Re: Which programming language is best Ludo game development?
Programming
Game Development
1 Week Ago
by kishanrg
… commonly used languages for game development, including Ludo games, are
C
++,
C
#, Java, JavaScript, and Python. Ultimately, the "best" programming…
Create And Install Windows Service Step By Step In C#
Programming
Web Development
2 Weeks Ago
by Rabiya_1
I'm New In
c
# and want to create a windows service here what I'…
Re: ASUS Laptops - my experience
Hardware and Software
4 Weeks Ago
by rproffitt
"I allocated a
C
partition and formatted as NTFS then boot back into my … and you find a lot of partitions other than the
C
drive.
Re: ASUS Laptops - my experience
Hardware and Software
3 Weeks Ago
by Reverend Jim
…. Fortunately, I have determined over the years how big my
C
partition should be to allow for extra apps. And there…
Video is not the main content of the page
Digital Media
Digital Marketing
Search Engine Strategies
2 Weeks Ago
by Read a Book
… itemprop="uploadDate" content="<?php echo date('
c
', strtotime($upload_date)); ?>"> </div> </div…
Re: Improve HAVING BY performance
Programming
Databases
2 Weeks Ago
by toneewa
… the two, it as folllows: Query Duration / Fetch
C
++: 0.30402 sec MWB: 0.000 sec / 0.…297 sec WHERE:
C
++: 0.018953 sec MWB: 0.000 sec / 0….000 sec HAVING:
C
++: 0.0626546 sec MWB: 0.062 sec / 0…
Re: Improve HAVING BY performance
Programming
Databases
2 Weeks Ago
by toneewa
… a server, a database, and wrote a
C
++ program to connect to it. It measures the…(lib, "mysqlcppconn.lib") // For MySQL Connector/
C
++ version 6 #pragma comment(lib, "mysqlcppconn8.lib"…;) // For MySQL Connector/
C
++ version 8 sql::mysql::MySQL_Driver* driver; sql::Connection* …
Re: This is me venting
Community Center
Meta DaniWeb
1 Week Ago
by jkon
… answer and not more reasoning (example my
C
++ threads). Even if you don't know
C
++ , learn or ask someone that knows…
Re: What's the most unexpected hobby or interest you have outside of coding?
Community Center
Geeks' Lounge
1 Week Ago
by toneewa
… function. Vitamin A: It can help enhance collagen development. Vitamin
C
: It may help collagen structure and ligament function. Vitamin…
C
is also important because it helps increase collagen production. Vitamin …
Re: Word Association Game
Community Center
Geeks' Lounge
4 Weeks Ago
by Dani
Seriously?! I need to go twice in a row b/
c
after almost two decades of this thread staying alive, no one's posted in 4 years? OK, fine ... snobby --> princess
Re: Microsoft Copilot is missing!
Hardware and Software
Microsoft Windows
1 Week 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: Read file properties of video files in C++
Programming
Software Development
3 Weeks Ago
by pritaeas
Here's a good place to start: https://mediaarea.net/en/MediaInfo
Re: Read file properties of video files in C++
Programming
Software Development
3 Weeks Ago
by Thomasio
How would that help me? That's just another program that does more or less the same Windows does, but doesn't mention which API commands one needs to get this output. It's open source, meaning one could look into the code and try to figure out the relevant commands but we all know figuring out what someone elses code does takes far longer than …
Re: Read file properties of video files in C++
Programming
Software Development
3 Weeks Ago
by pritaeas
> It's open source, meaning one could look into the code That's the way I learn... There is no real Windows API to read video info, as this info is different for each video format. With the Windows Property System you can read some information, but it is not accessible with all platforms. Personally I'd choose to learn how to read the …
Re: Read file properties of video files in C++
Programming
Software Development
3 Weeks Ago
by rproffitt
When you asked for runtime you triggered a memory from long ago where MP3 runtimes were at times wildly inaccurate. Just like the man who was turned into a newt in Monty Python who said "I got better", such are better now but I still read complaints it's not exact. So here's the thing, you may want that runtime but it's not always …
Re: Read file properties of video files in C++
Programming
Software Development
3 Weeks Ago
by Thomasio
Yes, I know, Windows doesn't report details for all video files, sometime it just doesn't and I already guessed that may be because of a file format Windows cannot read correctly. But then for the video files where Windows does report details within the file properties it gets them correct and it does that in near no time which makes me believe …
Re: Read file properties of video files in C++
Programming
Software Development
3 Weeks Ago
by rproffitt
Regarding "doesn't open the file". I've used so many tools over the years to profile and log what apps access that I can write that Windows does open the file for a peek. And then we have the problem that many files don't have duration. https://www.loc.gov/preservation/digital/formats/fdd/fdd000105.shtml is for MP3 and it's not in …
Re: Read file properties of video files in C++
Programming
Software Development
3 Weeks Ago
by Salem
If you want to know what windows is up to when you do something, then try using https://learn.microsoft.com/en-us/sysinternals/downloads/procmon
Re: Read file properties of video files in C++
Programming
Software Development
3 Weeks Ago
by Thomasio
Thanks @toneewa that looks like what I want, at least a basis from where I can try to work it out for my needs.
Re: Which programming language is best Ludo game development?
Programming
Game Development
1 Week Ago
by polles
i would choose JavaScript
Re: Create And Install Windows Service Step By Step In C#
Programming
Web Development
2 Weeks Ago
by rproffitt
Since the answer would be many pages long, read https://learn.microsoft.com/en-us/dotnet/framework/windows-services/walkthrough-creating-a-windows-service-application-in-the-component-designer and consider the two other pages noted there.
How do I swap out the mesh on a humanoid armature in Unity 3D?
Programming
Game Development
1 Week 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 …
Re: ASUS Laptops - my experience
Hardware and Software
4 Weeks Ago
by toneewa
If the power connector was replaced with the motherboard, then your charging cord is suspect. If they setup your PC with Windows 11, there's a good chance a GPT partition was used instead of NTFS (outdated). Imaging back to this would fail. Always check in your BIOS to see if your drives shows up there. If you're setup in UEFI mode, instead of …
Re: ASUS Laptops - my experience
Hardware and Software
4 Weeks Ago
by Reverend Jim
When I got it back they had replaced both the motherboard and the power supply and I checked in the store to verify there were no power issues. I suspect you are correct about them not reconnecting the touchpad as that was not working in Linux either. As for GPT vs NTFS, I have never formatted to anything but NTFS, and when I originally got the …
Re: ASUS Laptops - my experience
Hardware and Software
4 Weeks Ago
by Reverend Jim
Likewise... Whenever I reinstall Windows, other than the times I've reset to factory, when it gets to the "where do you want to install to" I always get the installer to delete, then recreate the partition.
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
Meet People
Forums
Top Members
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