我试图在Bootstrap中有两个不相等的列.我想在每一侧都有一列(所以如果有1到12列,1和12将是空的),col-md-2~5是一列,6~11是另一列.
我真的找不到这个例子(除了偏移).有人能帮我吗?
我有这样的代码,我有1> test.obj:错误LNK2019:"void __cdecl iceCreamDivision(int,double)"(?iceCreamDivision @@ YAXHN @ Z)외부기호(참조위치:_main함수)에서확인하지 못했습니다.1> D:\ download\CS161\Debug\CS161.exe:致命错误LNK1120:1개의확인할수없는외부참조입니다.抱歉,这是韩文,但它说有一个外部符号,错误是在第一个void方法.这段代码直接来自教科书,我想知道为什么这不起作用.
#include <iostream>
using namespace std;
void iceCreamDivision(int number, double totalWeight);
int main()
{
int number;
double totalWeight;
cout << "Enter the number of customers: ";
cin >> number;
cout << "Enter weight of ice cream to divide (in ounces): ";
cin >> totalWeight;
iceCreamDivision(number, totalWeight);
return 0;
}
void iceCreamDivison(int number, double totalWeight)
{
double portion;
if (number == 0)
{
cout << "Cannot divide among zero customers.\n";
return; …Run Code Online (Sandbox Code Playgroud)