You are viewing our Forum Archives. To view or take place in current topics click here.

All posts by: Almac14

  • Author

    Message
  • Topic: How would I do this?

  • Almac14

    Forum: PC General ForumPosted: Subject: How would I do this?
  • Replies: 3
    Views: 8,358

    Literally what I said above is what there is for that function. There are 4 other functions:
    void printBoard(char [BOARDSIZE][BOARDSIZE])
    int checkRow(char[BOARDSIZE])
    int check(char board[BOARDSIZ ...
  • Topic: How would I do this?

  • Almac14

    Forum: PC General ForumPosted: Subject: How would I do this?
  • Replies: 3
    Views: 8,358

    This function will take one dimension of the board array(row) and iterate through it looking for conflitcts, it should return a 0 if there is a conflict, and a 1 if it is all clear.

    Not sure what ...
  • Topic: C Programming Help

  • Almac14

    Forum: PC General ForumPosted: Subject: C Programming Help
  • Replies: 8
    Views: 8,485

    Quick question, i need to be able to delete duplicates from my two arrays. I looked up examples and checked some slides but not sure what i am doing wrong and any help would be appreciated. The code I ...
  • Topic: C Programming Help

  • Almac14

    Forum: PC General ForumPosted: Subject: C Programming Help
  • Replies: 8
    Views: 8,485

    I feel like i know what you're trying to say but everything ive tried hasnt worked out for yet. I also cant find amy of my previous labs that might be able to reference this exact problem which is a h ...
  • Topic: C Programming Help

  • Almac14

    Forum: PC General ForumPosted: Subject: C Programming Help
  • Replies: 8
    Views: 8,485

    Ok so I took your advice I think but I still cant get the program to run like i could when I had everything in just main. Not sure what im doing wrong.


    #include <stdio.h>
    #include<time ...
  • Topic: C Programming Help

  • Almac14

    Forum: PC General ForumPosted: Subject: C Programming Help
  • Replies: 8
    Views: 8,485

    So I just need some help with passing the array in main. I know the code works fine and everything as if you just put it in main it runs but my assignment is to use functions and I also need to figure ...
  • Topic: Trouble with C programming

  • Almac14

    Forum: PC General ForumPosted: Subject: Trouble with C programming
  • Replies: 6
    Views: 8,386

    Alright so I managed to work on this all day. I made a lot of progress and now my only thing I'm stumped on is probably really easy and I'm probably overthinking it a lot. But I can;t figure out where ...
  • Topic: Trouble with C programming

  • Almac14

    Forum: PC General ForumPosted: Subject: Trouble with C programming
  • Replies: 6
    Views: 8,386

    something like if the next integer is bigger than the last store it, else skip it. This will leave you with the biggest int. That can be modified to get the top 3, would hate to do your assignment for ...
  • Topic: Trouble with C programming

  • Almac14

    Forum: PC General ForumPosted: Subject: Trouble with C programming
  • Replies: 6
    Views: 8,386

    My assignment: You are given a file with 20 integers. Your task is to select and print the three largest numbers with NO sorting and NO arrays. It is possible that the largest numbers are repeated yo ...
  • Topic: Help with a C program

  • Almac14

    Forum: PC General ForumPosted: Subject: Help with a C program
  • Replies: 1
    Views: 7,982

    So my struggle is that I have to be able to square root an integer that the user inputs. I know you can use the "sqrt" function from the math.h library but what would be the easier way of us ...
You are viewing our Forum Archives. To view or take place in current topics click here.