Report
Question
void fileRead() { student s22; fstream out; out.open(“ABC.txt”,ios::in); while(!out.eof()) { out.read((char *)&s22,sizeof(s22)); cout<<s22.roll_no<<“\t”<<s22.name<<“\t\t”<<s22.marks<<“\t”<<endl; } } When I try to read object from file using read function in C++ then it return last record 2 times. Output like this: 11 Ram 70...

### Please briefly explain why you feel this question should be reported .

0
C++ 2 months 0 Answer 256 views

## array

Report
Question
\$array=01*01*22*22*22*99*99*99*66*66*66*45*45*45*45*57*57*57*57*57*57*57*57*77*34*34*34*34*34*34*34*34*34*34*34*34* result jumlah 1 = 77* jumlah 2 = 01* jumlah 3 = 66*22*99* jumlah 4 = 45* jumlah 5 = jumlah 6 = jumlah 7 = jumlah 8 = 57* jumlah 9 = jumlah 10 = jumlah 11 = jumlah 12 ...

### Please briefly explain why you feel this question should be reported .

0
C++ 3 months 0 Answer 273 views

## if use

Report
Question
int a; scanf(“%d”,&a); if((a%2)==0){ printf(“this is even number”) } return 0; } what is if((a%2)==0)?   ...

### Please briefly explain why you feel this question should be reported .

in progress 0
C++ 5 months 1 Answer 183 views

## Decimal to binary conversion

Report
Question
I am trying to convert a decimal number input from user to its binary value using a function. I saw the solution given on w3resource.com and it all went good except one point i didnt understand. Below is the code : CODE:...

### Please briefly explain why you feel this question should be reported .

in progress 0
C++ 7 months 1 Answer 1291 views

## Write a program that has an array that contain values as below. Without changing the data position, print out the data according to the values from highest to lowest.

Report
Question
Write a program that has an array that contain values as below. Without changing the data position, print out the data according to the values from highest to lowest. 2.231 3.421 3.738 1.657 2.116 3.475 2.129 2.544 3.118 1.854 ...

### Please briefly explain why you feel this question should be reported .

in progress 0
C++ 8 months 1 Answer 640 views

## Having a file containing 3 columns.How I get the difference between second and first column putting result in a new file in c#?

Report
Question
how I get the difference between 2 columns in a file. ...

### Please briefly explain why you feel this question should be reported .

in progress 0
C++ 8 months 1 Answer 367 views