Search:

Type: Posts; User: striderx240

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    945

    Sorry if I am being confusing. Let's say ...

    Sorry if I am being confusing.
    Let's say


    void GetSex(){
    int input=0,count=0,input2=0;
    do{
    if(count==1)
    cout<<"Please enter a correct input...\n\n";
    cout<<"Enter your...
  2. Replies
    3
    Views
    945

    Simple Question..

    lets say...


    int something;
    cin>>something;
    user enters:"1,space,1"
    How do I stop (input buffer?) at the space?

    Not sure if you guys can understand that.
  3. Replies
    6
    Views
    954

    Thanks, got it working now!

    Thanks, got it working now!
  4. Replies
    6
    Views
    954

    If this is true, how would I remedy this?

    If this is true, how would I remedy this?
  5. Replies
    6
    Views
    954

    String problem

    Correct me if I'm wrong, shouldn't this code pause for user input at cin.getline()? Seems like it's skipping for me.


    void GetName(){
    char Name[50];
    cout<<"Please Enter your name:...
  6. Replies
    15
    Views
    2,627

    So I ran this program and It does not seem to...

    So I ran this program and It does not seem to work, If I entered '2', it would print out 10 arrays and then when I enter '10' it prints out 48 arrays. Why is this happening?
  7. Replies
    15
    Views
    2,627

    Never mind, figured it out, thanks anyway.

    Never mind, figured it out, thanks anyway.
  8. Replies
    15
    Views
    2,627

    Sorry, how would I go about doing that?

    Sorry, how would I go about doing that?
  9. Replies
    15
    Views
    2,627

    The question is verbatim from the homework. :/

    The question is verbatim from the homework. :/
  10. Replies
    15
    Views
    2,627

    I tried out the code you gave me, but it shot out

    I tried out the code you gave me, but it shot out
  11. Replies
    15
    Views
    2,627

    I've learned pointers, but not dynamic memory...

    I've learned pointers, but not dynamic memory allocation and nothing with malloc.
  12. Replies
    15
    Views
    2,627

    I'm using bloodshed

    I'm using bloodshed
  13. Replies
    15
    Views
    2,627

    C Program beginner

    So I need help with my homework, please help if you can;

    I recently started a class that requires I know C, but the prerequisite classes that I took for that class taught C++, weird, but anyway...
Results 1 to 13 of 13