Search:

Type: Posts; User: tgarrisoniv

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    1,850

    ok so written like this, they are all seperate. i...

    ok so written like this, they are all seperate. i am not sure what you mean by deferencing my points though. i need to use x p and q instead of x y and z?



    #include <stdio.h>
    #include...
  2. Replies
    7
    Views
    1,850

    ok, how else can i point to a pointer? im a bit...

    ok, how else can i point to a pointer? im a bit confused. the assignment is as follows:

    Write a program that creates the structure shown in the figure below and reads data into a and b using the...
  3. Replies
    7
    Views
    1,850

    pointers are as follows: x points to a y points...

    pointers are as follows:
    x points to a
    y points to p points to b
    z points to r points to q points to c
  4. Replies
    7
    Views
    1,850

    multiple pointer program

    pretty basic, first pointer program i have written. format is for a*b=c.
    a has pointer *x, b has pointer *p, and **y, and c has pointer *q, **r, ***z. using *x, **y, and ***z to print results. it...
  5. Replies
    3
    Views
    1,399

    i just dont know what to do to get it to run. im...

    i just dont know what to do to get it to run. im not sure what you mean. im pretty new to programming... i made the 4 functions for clamping with the claw, releasing with the claw, going back and...
  6. Replies
    3
    Views
    1,399

    RobotC help needed!

    ok, so i have a robotc that is to navigate a course, find a colored block and deliver it to the correct corner. there is red, blue, and red.

    this is the program i have so far and it is a...
  7. Replies
    6
    Views
    1,018

    anything else that i could improve upon in this...

    anything else that i could improve upon in this code? trying to be a "good" programmer not just one that can put stuff together and hope it works
  8. Replies
    6
    Views
    1,018

    ok thanks, i originally had the int menu(void)...

    ok thanks,
    i originally had the int menu(void) up a few lines out of the function but it says "declaration for parameter 'menu' but no such parameter but when i have it where within the function,...
  9. Replies
    6
    Views
    1,018

    #include #include int...

    #include<stdio.h>
    #include<stdlib.h>
    int genrand()




    {
    int menu(void);
    int random;
  10. Replies
    6
    Views
    1,018

    creating functions

    i want to make the menu in this program a function so it will be at the bottom and you simply call it without it being in the main. I tried but when i did it didnt like the way i returned it to the...
  11. Replies
    8
    Views
    1,677

    ah i figured out my problem. works fine now....

    ah i figured out my problem. works fine now. thanks for the tip!
  12. Replies
    8
    Views
    1,677

    HMM.... doesnt work for me. it says subscribted...

    HMM.... doesnt work for me. it says subscribted value is neither array nor pointer for that line. i am running code blocks with gnuc compiler...
  13. Replies
    14
    Views
    6,827

    nevermind, i got it! i just used exit(0); thanks...

    nevermind, i got it! i just used exit(0);
    thanks a lot!
  14. Replies
    14
    Views
    6,827

    ok but the page you are referring to does not...

    ok but the page you are referring to does not operate.
  15. Replies
    8
    Views
    1,677

    how do i make this repeat? my way is not...

    how do i make this repeat? my way is not working...


    #include<stdio.h>
    #include<stdlib.h>


    // Global Declarations
    int MonthDays[]={0,31,28,31,30,31,30,31,31,30,31,30,31};
    char *months[]=
  16. Replies
    14
    Views
    6,827

    its due in an hour....:(

    its due in an hour....:(
  17. Replies
    14
    Views
    6,827

    how do i get the program to stop after it prints...

    how do i get the program to stop after it prints "INVALID CHOICE"?


    /*
    This is a menu driven program that prompts a user for either the smallest, largest, sum, or average for a group of 5...
  18. Replies
    8
    Views
    1,677

    Calendar Program

    task is to create a program that asks for year and prints calendar for entire year. this is by the far the largest program i have written so far. i am trying to take it in small pieces. i think the...
  19. Replies
    14
    Views
    6,827

    thanks everyone, i got it all working properly!

    thanks everyone, i got it all working properly!
  20. Replies
    14
    Views
    6,827

    ok it runs fine but the sum and average functions...

    ok it runs fine but the sum and average functions dont work for some reason.... it doesnt return anything. any ideas?
  21. Replies
    14
    Views
    6,827

    thanks!! i also had to remove the option...

    thanks!! i also had to remove the

    option return;
  22. Replies
    14
    Views
    6,827

    menu driven program

    ok, task is to create a menu driven program that asks for 5 integers and asks if you want to find sum, average, largest, or smallest. I have created some of the program but i am not lost. how can i...
Results 1 to 22 of 22