Skip to content
View akm6872's full-sized avatar
  • ajeenkya dy patil university
  • pune

Block or report akm6872

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
akm6872/README.md

Hi there 👋

#include #include // Include the list header file

using namespace std;

int main() { // Create a list of integers list mylist;

// Add elements to the list
mylist.push_back(10);
mylist.push_back(20);
mylist.push_back(30);

// Iterate through the list and print its elements
cout << "List elements: ";
for (auto it = mylist.begin(); it != mylist.end(); ++it) {
    cout << *it << " ";
}
cout << endl;

// Accessing elements by index is not supported in lists,
// but you can iterate or use other methods to access elements.

// Other operations such as pop_back(), push_front(), pop_front(),
// insert(), erase(), clear(), etc., are also available for lists.

return 0;

}

Popular repositories Loading

  1. akm6872 akm6872 Public

  2. leaning-git leaning-git Public

    Forked from GDSCADYPU/learn-git

    Github & Git Event 2024

  3. myfile myfile Public

    Jupyter Notebook

  4. webdev webdev Public

    HTML

  5. test1 test1 Public

  6. test-plaacement test-plaacement Public