|
Wordle 583 5/6
⬛🟩⬛⬛🟩
⬛🟩🟩⬛🟩
⬛🟩🟩⬛🟩
🟩🟩🟩⬛🟩
🟩🟩🟩🟩🟩
Get me coffee and no one gets hurt!
|
|
|
|
|
Meet me at the corner.
Booo
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
Are you sure they did not say Visual Studio sucks?
|
|
|
|
|
After they meet
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
#Worldle #366 1/6 (100%)
🟩🟩🟩🟩🟩🎉
https://worldle.teuteuf.fr
easy one - and was just discussing this at lunch today.
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
I was always puzzled how hatches on space stations stay tight sealed. Today I had a revelation. A space station is like a submarine just the other way around. On a submarine the exit hatch opens towards the outside. When closed the water pressure pushes the hatch against the door step frame because the hatch is on the outside. On ISS the hatches are on the inside. The ISS modules are pressurized so the pressure from the inside pushes the hatch against the door step creating a tight seal. The only thing that still remains a mystery in my mind is how two hatches bind to each other.
|
|
|
|
|
|
|
For a more generalized description of docking/berthing/mating this article is very good.
Docking and berthing of spacecraft - Wikipedia[^]
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
passenger jet liners are similar. their doors and panels are designed to pressurize outward; actually most jets are that way. Pressurized water can get inside the plane when it is on the ground (i.e. de-icing, etc.). The cracks in the door and panel seals don't fully close until the plane is at altitude and it can pressurize.
|
|
|
|
|
And it's designed that way so passengers can't open the door in flight.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I have been trying to create a static library (in C) that uses another published static library.
No where does VS do I have link options to include that library.
VS SUCKS
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
You can try to link the static lib by specifying this pragma statement in any c source file.
#pragma comment(lib, "c:\\your_folder\\your_lib.lib")
|
|
|
|
|
The reason the VC++ static library project does not have the linkage option is that the static library does not have to link to any library, the source code file only needs to include the headers file to compile correctly.
The executable project that uses your C static library must link with both static libs in the link options.
modified 22-Jan-23 0:13am.
|
|
|
|
|
Thanks. Pragma's seem to the answer to all the weird VS behavior I have encountered such as fopen vs fopen_s etc.
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
jmaida wrote: weird VS behavior I have encountered such as fopen vs fopen_s etc.
Again, that has nothing to do with Visual Studio, but only the code that you are writing.
|
|
|
|
|
A lot of members here at Code Project love to hate on Visual Studio for no intelligent reason at all.
"I got into a car crash this morning, I hate Visual Studio."
"I stubbed my toe getting out of bed this morning, Visual Studio sucks!!"
"I don't know what I am doing, it's Visual Studio's fault!"
the list literally goes on forever...

modified 22-Jan-23 5:07am.
|
|
|
|
|
Slacker007 wrote: A lot of members here at Code Project love to hate on Visual Studio for no intelligent reason at all.
But they express undying love for some other bit of technology? Which bit is that exactly?
|
|
|
|
|
|
Python?!? Hell no!
But there are much better tools out there than VS, specially if one is interested in programming just in C, without any of those C++isms...
|
|
|
|
|
Ralf Quint wrote: But there are much better tools out there than VS
Bash scripts and make?
|
|
|
|
|
No bash, and no make, if one can avoid it.
But for C programming, as per original post, there's for example Pelle's C, which is not only a fraction of the size of VS, but also Freeware. Commercially, then there is Embarcadero's Delphi/C++Builder/RAD Studio, and FreePascal/Lazarus are an Open Source Object Pascal option.
All of those are smaller and easier to use than VS. But it seems that some people just stick to VS because of their masochistic tendencies, just like a lot of macOS users think they just have to punish themselves by using XCode...
|
|
|
|
|
I TOTALLY disagree. The code I am working with is just a simple basic C libary. In VS I chose static library, etc. The problem is VS is way too complicated, trying to do to many things for too many types of language applications. I have used VS off and on for years so I know what I am talking about. I came back to it because of potential conversion of a large graphics application that will be "potentially" ported to it. I am quickly changing my mind as to whether it is worth it or not. The application is mostly window's agnostic.
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
jmaida wrote: The problem is VS is way too complicated Well, I totally disagree with you on that. And I have been using it, or its predecessors, for almost thirty years. I have created complete applications, and static and dynamic libraries, using C, C++, C# and even VB.NET, so I also know what I am talking about.
|
|
|
|
|