Skip to content
  • About Us
  • Contact Us
  • Privacy Policy
  • Terms and Conditions

Programming Tutorial

Start Learning to Code

  • About Us
  • Contact Us
  • Privacy Policy
  • Terms and Conditions

Breaking News

Nextjs: running code after complete fetch

why does 400 status code result always entercatch block execution with axios?

Saving the state of the button onClick

TypeScript: Specify that value must be in Array using spread operator

Show separate number with comma in django tempalte

Why does my website keep showing old index.html, style.css, app.js…?

Using Python Flask to change the colour of an icon when it detects a words like scam, pending and verified

x clear icon appears only when the input has value – react

Login button redirects to two pages. For first time loginers, it redirects to agreement page, and for rest, it redirects straight to home?

WebComponent setter not triggered if defer is used

Tag: struct

Arrays

Swift: Unable to append struct instance to array

admin December 20, 2019

I have been having some trouble creating a temporary array of user data from Firestore. Basically I created a function that retrieves user data from a Firestore collection and then iterates through …

appendarraysgoogle-cloud-firestorestructswift
Linux

Problem in sorting alphabetically a linked list in C

admin December 13, 2019

i’m trying to sort alphabetically a linked list in C. The linked list i used is the following: struct lineList{ //structure with all the line of the input file char *line; struct lineList *…

clinked-listlinuxsortingstruct
Arrays

How to build Array of Lists of Structs in C# (with predefined size of the Array)

admin September 23, 2019

Trying to build Array of Lists of Structs in C#. And getting a System.NullReferenceException with the best try (error on line test[i].Add(info1);) The question is not how to avoid System….

arraysclistoopstruct
Arrays

Why this struct with optional values returns nothing?

admin September 8, 2019

I visited this thread to know about optionals and I saw a quote from the docs, which I quote again. If your custom type has a stored property that is logically allowed to have “no value”—perhaps …

arraysstructswift
Arrays

Creating array of struct inside another struct

admin March 23, 2019

I am having trouble in code: typedef struct{ int a; int b; } Passanger; typedef struct{ int ammount; Passanger bus_array[ammount]; } Bus; The amount undeclared here.

arrayscstruct
Arrays

Replace data in array struct in Golang

admin March 3, 2019

I have 3 struct data (GOLANG) that I call A, B, and C, struct C is result array replace between struct A and B when data is similar or more than 0 then I set all result to struct C using array. …

arraysgostruct
Arrays

Get the sum of the values of the same label from the struct

admin January 20, 2019

I need to add the unappeared to the Array from this information. If there is a duplicate, the money will be summed up and then saved into one. How can I achieve this? The data may be a lot. import …

arraysgenericsstructswift
Arrays

C99 | (BItfield) Struct in a Struct don’t work to be choosen with name1.name2.variable

admin January 12, 2019

How to fix this error? I want to have an Array where i can scan the data of “students” and used therefore structs. The Problem is, that the bitfield struct in the other struct fails. Is there any way …

arrayscc99struct
Linux

How to share opaque type across multiple translation units?

admin November 27, 2018

I’m working on my own C-project and need some design/common_C_idiom advice. The problem I’m trying to solve is to open an input date stream of a configured device. But I want to keep configuration and …

clinuxstruct
Arrays

How to pass an array variable of a struct to another function?

admin September 21, 2018

I am pretty new to using typedef struct, so I hope you’ll be able to give pretty basic explanation so I can understand better. I have declared an array variable called ExpNum[3] for my typedef …

arrayscfunctionstructtypedef

Posts navigation

Previous 1 2 3 … 8 Next
Privacy Policy