diff --git a/lab003.cbp b/lab003.cbp
index bce77cc..da846d5 100644
--- a/lab003.cbp
+++ b/lab003.cbp
@@ -13,7 +13,11 @@
+
+
+
+
@@ -31,7 +35,11 @@
+
+
+
+
diff --git a/main.cpp b/main.cpp
index c47b176..86113af 100644
--- a/main.cpp
+++ b/main.cpp
@@ -63,12 +63,17 @@ return inn;
int main(int argc, char* argv[])
{
- if (argc > 1){
- cout << argc;
- cout << argv[0];
+
+ CURL *curl = curl_easy_init();
+ if(curl) {
+ CURLcode res;
+ curl_easy_setopt(curl, CURLOPT_URL, "http://uit.mpei.ru/study/courses/cs/lab03/marks.txt");
+ res = curl_easy_perform(curl);
+ curl_easy_cleanup(curl);
+
return 0;
}
- curl_global_init(CURL_GLOBAL_ALL);
+
bool flag;
bool prompt;