@date November 2017 ... - Pastebin.com [PDF]

5 days ago - /**@brief Funkce pro nahrani dat ze souboru do struktury. *@param struktura .... /**@brief Funkce pro sber

10 downloads 27 Views 233KB Size

Recommend Stories


Date: 18 November 2004
I cannot do all the good that the world needs, but the world needs all the good that I can do. Jana

November​​ ​2017
If you are irritated by every rub, how will your mirror be polished? Rumi

November 2017
When you talk, you are only repeating what you already know. But if you listen, you may learn something

2017 • november
The wound is the place where the Light enters you. Rumi

2017 November 2017
At the end of your life, you will never regret not having passed one more test, not winning one more

2017 November 2017
When you do things from your soul, you feel a river moving in you, a joy. Rumi

Wieringernieuws.nl - Donderdag 16 november 2017 [PDF]
Sterling @2015-05-10 17:40:46, What do you like doing in your spare time? penegra in hyderabad Financial markets seem likely to welcome Dinkic's continued presence in government. He has slowed the rate of increase of Serbia's budget deficit and publi

(PDF) | November 2016 bis Januar 2017
The best time to plant a tree was 20 years ago. The second best time is now. Chinese Proverb

MFT hírlevél 2017 november-december, pdf
You're not going to master the rest of your life in one day. Just relax. Master the day. Than just keep

Leather Post - November 2017
No amount of guilt can solve the past, and no amount of anxiety can change the future. Anonymous

Idea Transcript


P A S TE B IN

new paste

trends



API



tools



faq

search...





Untitled A GUEST

DEC 5TH, 2017

53

NEVER

Guest User





-

SHARE

Public Pastes

TWEET

Untitled 4 sec ago Untitled 4 sec ago Untitled 4 sec ago Untitled 8 sec ago Untitled 9 sec ago Untitled 12 sec ago MApping LSRP 13 sec ago

Not a member of Pastebin yet? Sign Up, it unlocks many cool features!

Untitled CSS | 13 sec ago daily pastebin

11.97 KB

goal 29%

1. ///@author Jan Kollarik 2. ///@date November 2017

help support pastebin

3. ///@mainpage KOL0411 - Sport tracker 4. 5. #include 6. #include 7. #include 8. #include 9. 10. using namespace std; 11. 12. int *counter = (int*)malloc(sizeof(int)); 13. unsigned int opt=0; 14. unsigned int nsos; 15. bool inserted=false; 16. 17. /**@struct Activity 18. *@brief Struktura popisujici aktivitu 19. *@param Acitivity.ID - jedinecny identifikator aktivity 20. *@param Activity.date - datum konani aktivity 21. *@param Activity.type - typ aktivity 22. *@param Activity.dist - vzdalenost prekonana behem aktivity 23. *@param Activity.time - doba trvani aktivity 24. *@param Activity.calories - odhad spalenych kalorii behem aktivity 25. */ 26. typedef struct{ 27. int ID; 28. string date; 29. string type; 30. double dist; 31. double time; 32. double calories; 33. } Activity; 34. 35. /**@struct InsertedActs 36. *@brief Pomocna struktura pro zadane aktivity 37. *@param Acitivity.ID - jedinecny identifikator aktivity 38. *@param Activity.date - datum konani aktivity 39. *@param Activity.type - typ aktivity 40. *@param Activity.dist - vzdalenost prekonana behem aktivity 41. *@param Activity.time - doba trvani aktivity 42. *@param Activity.calories - odhad spalenych kalorii behem aktivity 43. */ 44. typedef struct{ 45. int ID; 46. string date; 47. string type; 48. double dist; 49. double time; 50. double calories; 51. } InsertedActs; 52. 53. /**@brief Funkce pocitajici pocet radku v csv soubor 54. *@param vstupni datovy proud 55. *@return Pocet radku 56. */ 57. int rowCount(ifstream& file) 58. { 59. string s; 60. int rcount=0; 61. while(getline(file,s)) 62. { 63. rcount++; 64. } 65. file.clear(); 66. file.seekg(0,ios::beg); 67. return rcount; 68. } 69. 70. /**@brief Funkce pro nahrani dat ze souboru do struktury 71. *@param struktura 72. *@param vstupni proud 73. */ 74. void fillStruct(Activity act[],ifstream& input) 75. { 76. string row,sid,sdist,stime,scal; 77. int ord=0; 78. int position; 79. while(getline(input,row)) 80. { 81. sid=""; 82. sdist=""; 83. stime=""; 84. scal=""; 85. position=0; 86. for(unsigned int i=0;i name; 131. return name; 132. } 133. 134. /**@brief Funkce pro vlozeni html hlavicky 135. *@return html hlavicka 136. */ 137. string htmlHead() 138. { 139. string s= "" 140. "" 141. "Sport tracker"; 142. return s; 143. } 144. 145. /**@brief Funkce pro vypsani dat vybraneho mesice do html 146. *@param struktura 147. *@param pocet prvku struktury 148. */ 149. void monthHtml(Activity act[], int sos) 150. { 151. string name=fileName(); 152. ofstream htmlmonOutput(("..\\vystupy\\"+name+".html").c_str()); 153. htmlmonOutput

Smile Life

When life gives you a hundred reasons to cry, show life that you have a thousand reasons to smile

Get in touch

© Copyright 2015 - 2024 PDFFOX.COM - All rights reserved.