Questions tagged [assign]

Something related to an assignment operation, i.e. the process of changing the content of a variable to reflect some given value.

1695 questions
0
votes
4 answers

Copy arrays of same type and size but different index type in Ada

I am learning Ada at the moment and the current lesson is on arrays. Consider the following program; procedure Main is type T_Bool is array (Boolean) of Integer; type T_Intg is array (Integer range 1 .. 2) of Integer; A1 : T_Bool := (others…
Steztric
  • 2,832
  • 2
  • 24
  • 43
0
votes
1 answer

How to store struct data in an array in C++?

I have this program for school it gets data about a student, does a few calculations and stores the data in a struct which is returned by the input function. Right now I've only got it working for one student, but I need to be able to store and…
tail_recursion
  • 660
  • 1
  • 7
  • 11
0
votes
0 answers

How to sort data in chaintable? One Point in the chaintable can not be assigned successfully

I'm coding a project —— MIS for students' information. I use chaintable to organize the data.I have written a function Sort() to make the data sorted by stuID(student's ID).However, the point CNode *p has not been assigned, it is 0x00000000…
Yingli Yan
  • 69
  • 1
  • 8
0
votes
0 answers

Core Data assignment - value instead of address

I'm assigning values to 3 objChordFun (Core Data object) properties. The problem is the degree property. Its contents are being released somewhere inside the loop. What's wrong? I'd be grateful for some help. for (TonalScale *tonalScale in…
0
votes
2 answers

From file to variable?

I'm relatively new to C++ and I want to ask how "make variables from a file". I want to write a program that reads the file and it uses symbols as markings, like an assigning language. I want it to give out a frequency like this:…
lixpoxx
  • 9
  • 1
0
votes
2 answers

How to set a variable from a text view and displaying it on a label

In my .h file I have set properties for both the text field and the label: @property (retain, nonatomic) IBOutlet UITextField *phoneNumberEntry; @property (retain, nonatomic) IBOutlet UILabel *testLabel; I also synthesized them in the .m…
MrWhetherMan
  • 1,184
  • 2
  • 11
  • 27
0
votes
3 answers

html assigning value to input text using javascript does not work

I am new to programming and I have a small problem I have a form named "fr" with an input text box named "in" and a variable "n" with the value of "my text" this is my code what I have: