Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
c%2b%2bborland
- 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…
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: 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: 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.
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…
Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
2 Weeks Ago
by jprog1000
Hello, I have a program which creates multiple balls and bounces them off when they collide. This works fine. import java.awt.Rectangle; public class Ball{ private int x = 0; private int y = 0; private int radius; private int panelwidth = 500; private int panelheight = 500…
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
2 Weeks Ago
by toneewa
Some minor syntax fixes. Some things to consider are the collision and distance of drawing the next ball. A ball inside a ball's radius will cause numerous collisions. Even the starting ball locations can be already causing collisions. I added a collision counter display. Increased the maximum balls to make to 50. The timer delay can also impact …
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
2 Weeks Ago
by toneewa
I cleaned up the code some more. Removed some things that were not being used. I ran into a couple problems which caused the freeze you mentioned. It was memory heap space and array allocating. E.g., if x or y becomes negative, and also infinite recursion. I added a x/y coordinate display for a ball, and tinkered with the placement of the …
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
VB2010- why i get a different vertical size\color on RayCasting?
Programming
Software Development
3 Weeks Ago
by cambalinho
these is the VB6 function for RayCasting: Private Sub DrawRays() Dim StepX As Double Dim StepY As Double Dim VertX As Double Dim VertY As Double Dim HorizX As Double Dim HorizY As Double Dim MapX As Long Dim MapY As Long…
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: Which programming language is best Ludo game development?
Programming
Game Development
1 Week Ago
by polles
i would choose JavaScript
Re: How Build video-player in html And css ?
Programming
3 Weeks Ago
by Kirubel_2
body{ /* background: url(../img/w11.png); */ background: url(../img/m.jpg); background-size: cover; background-repeat: no-repeat; margin: 0; padding: 0; height: 101vh; overflow-y: hidden; } .container button{ background: transparent; …
Re: Improve HAVING BY performance
Programming
Databases
3 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: 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: 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 …
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