I AM TRYING TO USE CERTAIN VALUES FROM EXCEL IN MY PROGRAM BUT I DON'T KNOW HOW TO READ THE VALUES AUTOMATICALLY FROM EXCEL. THE VALUES CHANGE ALL THE TIME AND ITS GETTING TIRING INPUTTING THEM MANUALLY INTO THE PROGRAM I.E AT TIME 0; X=2,TIME 1 ;X=3,BUT THESE VALUES MAY CHANGE SO WHAT I'M...
I have written an if statement which states that when x == y a task should be carried out.
Now my values are in double and are decimal values the output is that x = 1.51675 and y= 1.51675 so they are the same. but when the statement is not executed and when i subtract y from x just to test the...
hello ,
sorry this is not actually a reply to your question because i don't know the answer.
But you asked me to send a complete code following my problem with equality which you answered yesterday.
The code is below:
you'll see that whern it runs uit cannot seem to recognize when the values...
I have written an if statement which states that when x == y a task should be carried out.
Now my values are in double and are decimal values the output is that x = 1.51675 and y= 1.51675 so they are the same. but when the statement is not executed and when i subtract y from x just to test the...
pLEASE COULD YOU HELP ME! i'M NEW TO c++ I AM TRYING TO WRITE CODE WHICH THE OUTPUTS ARE VARIOUS NUMBERS BUT I WOULD LIKE TO PLOT THESE VALUES ON A GRAPH BUT AT THE MOMENT I HAVE TO WRITE EACH RESULT AND THEN PLOT THE GRAPH. IS IT POSSIBLE FOR THE OUTPUT TO BE SENT TO EXCEL.
I HAVE VARIOUS VALUES IN MY CODE THAT I HAVE TO KEEP ENTERING SUCH AS DIMENSIONS IS IS POSSIBLE TO SET THESE VALUES SAY IN ANOTHER FILE AND THEN JUST GET MY PROGRAM TO USE THESE VALUES ALL THE TIME
I AM TRYING TO PLOT MY RESULTS ON A GRAPH, BUT I DO NOT KNOW HOW TO SEND THE OUTPUT TO ANOTHER FILE THAT CAN JUST LIST THE NUMBERS I.E EXCEL. CAN ANYONE HELP?
I am currently writing code to run a model which takes particular dimensions and then produces results.For each run though there is a variable that changes randomly so i would like the program to run like a hundred times without me having to change the dimensions. Please can anyone help?
I am trying to write a function which selects a value say between 2 and 10 randomly after each run but i cannot understand how to use the Srand function and rand() function.Please Help
Does anyone know how to write code in C++ that could allow a selection of numbers to be selected between two values.
for example i wish for a code that would allow any value to be selected between 2 and 30 for various iterations
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.