15,911,789 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Harshal Patil (Top 14 by date)
Harshal Patil
8-Jul-16 10:25am
View
In between zeroes.
Harshal Patil
7-Jul-16 16:55pm
View
its taking average but cant differentiate that its from which data block. I want to save first average as object1 second as object2, third as object3 and so on.
Harshal Patil
20-Jun-16 12:51pm
View
The above code is saving all generated data in List.
Example
Mag-4512,4125,2365,4857,1256....
ObjectAngle-125,132,142,121,112....
if i want to do 4857-4512?
how should i go through?
Harshal Patil
20-Jun-16 12:46pm
View
Thanks.Its working
Harshal Patil
20-Jun-16 12:30pm
View
As my Timer is running I am generating Two float Data "mag" and "ObjectAngle".
i want to save this data together.
example mag=5, ObjectAngle=10.
if i ask for objectAngle=10 then i should get mag=5.
How do i do that?
Harshal Patil
20-Jun-16 12:17pm
View
I am using struct List.
Harshal Patil
20-Jun-16 12:01pm
View
didnt get you?
i want to save my mag and objectAngle for at least next 10 iteration so thts why i need List to add data to list.
i have used List and was trying to add but giving me errror.
Harshal Patil
15-Jun-16 17:06pm
View
for (int j = 0; j < disp.Length; j++)
{
if (!assembling)
{
if (disp[j] == 0)
{
T1 += disp[j];
count++;
da.total = T1 / count;
T1 = 0;
count = 0;
assembling = true;
}
}
if(assembling)
{
if (disp[j] != 0)
{
T1 += disp[j];
count++;
da.total = T1 / count;
count = 0;
T1 = 0;
assembling = true;
}
}
}
ObjectData.Add(da);
what do you say abt this one?
Harshal Patil
15-Jun-16 16:30pm
View
what do i do for that?
Harshal Patil
15-Jun-16 15:32pm
View
I am Talking about the solution you gave me.
Is that rght?
i am using struct list and writing what you said to me but its giving me only one average of all
Harshal Patil
15-Jun-16 14:24pm
View
Are you sure whatever you said above gonna give me three separate average.
its giving me only one average of all
Harshal Patil
14-Jun-16 15:57pm
View
public void Averages()
{
DataAnalyse da = new DataAnalyse();
float T1 = 0, T2 = 0;
int count = 0;
bool assembling= true;
for (int j = 0; j < disp.Length; j++)
{
if (disp[j] == 0)
{
assembling = true;
T1 += disp[j];
count++;
da.total = T1 / count;
T1 = 0;
count = 0;
assembling = false;
}
if (disp[j] != 0)
{
T1 += disp[j];
count++;
da.total = T1 / count;
assembling = true;
}
ObjectData.Add(da);
}
whats wrong with this one?
Harshal Patil
14-Jun-16 14:49pm
View
Not homework
project work and i m not good in c# for sure.
Harshal Patil
14-Jun-16 14:36pm
View
i Really appreciate but still seems difficult for me.
Can you give me code for only one Set
Show More