Search:

Type: Posts; User: Mcdom34

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    14,073

    I've included a case for the rest of the pixels...

    I've included a case for the rest of the pixels in the image, but am still unable to get a readable blurred image. What am I doing wrong? :/



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


    int...
  2. Replies
    5
    Views
    14,073

    Wouldn't the code try and place pixel values in...

    Wouldn't the code try and place pixel values in those padding regions then?
  3. Replies
    5
    Views
    14,073

    Image Blur Filter

    I'm writing a program that takes in a `.raw` grayscale image and, pixel by pixel, blurs it. The resulting blurred image in then stored in an output file, specified by the user, of type `.raw`. I've...
  4. Socket Programming - Trouble Connecting to HTTP Server

    I've written a program that should establish a connection with a remote HTTP server, send it a request, and then print a response to the standard output.

    However, for some reason I cannot connect...
  5. Replies
    3
    Views
    2,298

    Simultaneously Update Two Variables

    Is there a way to simultaneously update two variables, like in Python?

    For example



    x, y = 0, 1
    x, y = y, x + y
  6. Replies
    4
    Views
    1,254

    How can I get rid of the extra blank lines when I...

    How can I get rid of the extra blank lines when I post my code within tags?
  7. Replies
    4
    Views
    1,254

    Nevermind, it works. I just ran the program and...

    Nevermind, it works. I just ran the program and got the right output.
  8. Replies
    4
    Views
    1,254

    Variable In While Loop

    I'm writing a program to sum up the even numbers in between 1 and 100, using a while loop. At the beginning of my program, I initialize a variable "sum" to 0, and a variable "temp" to 1. Afterwards I...
  9. Replies
    2
    Views
    11,111

    Wiritng programs in Geany

    I've just installed Geany and MinGW, but whenever I open a new file and attempt to compile a simple C program, I get "Process failed (The system cannot find the file specified). Is there anything...
  10. Replies
    4
    Views
    8,108

    Creating an Array of Labels

    I'm attempting to write a program that displays an array of labels; however, I can't seen to make the labels appear in the form. I've set some of the properties, but still not luck. Any suggestions? ...
  11. Thread: Hangman Game

    by Mcdom34
    Replies
    3
    Views
    2,115

    Hangman Game

    Hello! I'm programming a GUI version of hangman, using Windows Forms. Each button (letter) is directed to the same method, clickLetter. If a letter was clicked, I want that letter to become...
  12. Replies
    1
    Views
    1,195

    Display Indices in For Loop

    I'm writing a program that will display 70 random temperatures, using an array that stores each number. They are going to be divided into weeks (7 temperatThe loures per line), and before displaying...
  13. Replies
    12
    Views
    4,175

    Both arrays are of the same size, but array...

    Both arrays are of the same size, but array average is of type double and array high is of type int. Would that cause an issue?
  14. Replies
    5
    Views
    1,606

    If that were the case, what would you suggest I...

    If that were the case, what would you suggest I do instead of using selection sort?
  15. Replies
    12
    Views
    4,175

    Multivariable For Loop

    Greetings!
    I'm trying to iterate through two arrays, using one for loop, but whenever I try to print both array elements, I get an IndexOutOfBounds error. I've also tried using two different...
  16. Replies
    5
    Views
    1,606

    Thanks! It works perfectly now :tongue:

    Thanks! It works perfectly now :tongue:
  17. Replies
    5
    Views
    1,606

    Sorting an Array

    Hello, I am trying to sort an array of random numbers by passing it to a method Sort(), sort the array, and then pass the entire array back to the calling program. Each time I run this though, the...
  18. Replies
    1
    Views
    933

    Terminating Pipe Program

    I'm writing a program that creates four different pipes between four different processes, and relays messages through each pipe. I've written all of the code for passing the messages, however I'm...
  19. Replies
    2
    Views
    918

    Reading Strings from Buffer

    I'm writing a program that reads strings from a character buffer, and then prints a confirmation. The buffer I have initialized has a size of 50, but the number of strings inside the buffer isn't...
  20. Replies
    1
    Views
    1,254

    Array Expanding

    Is there a way to create an empty array, and then later in the program, add more data to the array?
  21. Replies
    4
    Views
    1,083

    What's the difference?

    What's the difference?
  22. Replies
    4
    Views
    1,083

    Multipipe Messaging

    Hello, I am currently working on a program that creates one process and forks four other ones. The processes are LOG(parent), A(child), B(child), C(child), and D(child). I'm supposed to be able to...
Results 1 to 22 of 24