Câu hỏi của Dong

Xử lý string trong C++

#include <iostream> #include<string> #include <math.h> #include <vector> using namespace std; int main() { int i, j, k; vector<string> SS; //Vector of string string Str = "I love you. anh yeu em. anh yeu em"; while (!Str.empty()) { SS.push_back(Str.substr( ...

Dong viết 10:43 ngày 01/10/2018 chỉnh sửa

Mọi người giúp đỡ lỗi bị trôi lệnh

#include<stdio.h> #include<conio.h> #define MAX 100 struct Student { char id[8]; char name[255]; double point; }; int quantity; struct Student st[MAX]; int main() { printf("Nhap so hoc vien: "); scanf_s("%d", &quantity); for (int i = 0; i < quantity; i++) ...

Dong viết 10:39 ngày 01/10/2018 chỉnh sửa
1