|
by: Tim |
last post by:
Why won't the declaration of a struct array work if I do it like this:
1 typedef struct
2 {
3 int pens;
4 int pencils;
5 } Stationers;
6
.........
|
by: SleepSheep |
last post by:
two struct in c#
public class A
{
int i1;
byte i2;
}
|
by: moondaddy |
last post by:
I need to return a nested string array from a function and am getting hung
up on syntax. Here's a simple example of a function that returns the array
and how I'm trying to call it.
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button2.Click
Dim arr()() As String = Me.TestArr1
End Sub
Private Function TestArr1() As String
|
by: symbol |
last post by:
I am having this problem in a managed c++ DLL which mixes managed and
unmanaged C/C++ code. I tried to assign value to a struct array nested in
another struct. but I can only write to the first element in array, not the
others.
struct struct2{
int a;
int b;
};
|
by: vikerneso |
last post by:
I'm trying to sort an array of structs. My code looks something like this:
struct Foo
{
int number;
};
int main()
{
|
|
by: GARiMTO |
last post by:
Hi there
I'm introducting myself in structures in C
What i'm trying to do, is create a structure with 3 types like name, age, weight, etc, so i typedef a struct
in order to save information for more than one "guy", i must create a struct array so that data could be saved.. and that's where my problem is!
i'll send my code here and hope anyone helps me with solving this!
the real question is, how to make the array, and in the end, print the...
|
by: themadme |
last post by:
hi, im trying to amke a dynamic struct array with in a struct. Im not entirely sure how to do so.
would it be something like this
struct foo
{
}
|
by: Sheldon |
last post by:
Hi,
I have a unique case where I need an array of structs that grows and
within this array is another struct that grows in some cases. I'm
having trouble allocating memory. Since I have never done this before,
I'm sure it's a rookie mistake but I cannot seem to find it. Can
someone render some assistance please?
struct Fpos {
grib_handle *h;
|
by: mike91 |
last post by:
Hello,
I have a text file of unknown size that I need to read into a struct array where the struct looks like :
{
short hours
float secondsPastHour
float data1
float data2
}
But the text file is in the format
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|