Recent content by lifesfun

  1. L

    C/C++ When Should You Use cin.getline in C++ Over cin>>?

    now i don't know how to answer this question: write a programme that prompt the user to enter a string and output the string in uppercase letters.(use a character array to store the string) can anybody help me?
  2. L

    C/C++ When Should You Use cin.getline in C++ Over cin>>?

    haha... i get it already! thanks for everybody. #include <iostream> #include <cstring> using namespace std; int main() { int a[5], i; float b[4]; char c[3]; cout<<"please enter a integer"<<endl; for (i=0; i<8; i++){ cin>>a[i]; } cout<<"\n 5 integer are: "; for...
  3. L

    C/C++ When Should You Use cin.getline in C++ Over cin>>?

    i was a programme but some error occur.
  4. L

    C/C++ When Should You Use cin.getline in C++ Over cin>>?

    the question: write prgramme that will ask user to enter 5 integer numbers, 4 float numbers and 3 characters. then store them in arrays. output: 5 integers numbers are? 4 float numbers are? 3 characters are?
  5. L

    C/C++ When Should You Use cin.getline in C++ Over cin>>?

    ic. thanks. can anybody help me how to get this output? output:
  6. L

    C/C++ When Should You Use cin.getline in C++ Over cin>>?

    hello, i wish to ask about the c++: cin.getline when we should use this and why we should use this? why we can't direct use cin>>?
  7. L

    Current Increase When Connecting Capacitor to Resistor

    anybody please reply th question above~~
  8. L

    Current Increase When Connecting Capacitor to Resistor

    it is really 6V, and the resistor(if not mistake)is about 8800ohm, the miliammeter is no problem(new)~
  9. L

    Current Increase When Connecting Capacitor to Resistor

    the capacitor is we(i and ngkamsengpeter) use is not 3300pF and also not 3300F but is 3300microfarad.
  10. L

    Gauss' Law: Discrete vs Continuous Charges

    may i know what is distribution charge?
Back
Top