Search:

Type: Posts; User: Elias Zaguri

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    4,036

    Problem with memory allocation

    Im having problem with the memory allocation.

    .H

    #ifndef DSTRING_H
    #define DSTRING_H
    #include <stdio.h>

    typedef char* DString;
  2. Replies
    2
    Views
    5,200

    SQL Connection (Exception fail)

    When trying to connect to sql through sqlconnection I get an error, "NullReferenceException was unhandled" "An unhandled exception of type 'System.NullReferenceException' occurred in...
  3. Replies
    4
    Views
    684

    I missed his post, my bad! i fixed it now, also...

    I missed his post, my bad! i fixed it now, also fixed indent on my codes so all look alot better, thx for the advice
  4. Replies
    4
    Views
    684

    So i changed my code since i posted last. ...

    So i changed my code since i posted last.

    Still got a problem to do a loop to start again without closing the program




    #include <stdio.h>
    #include <stdlib.h>
    #include <time.h>
  5. Replies
    7
    Views
    2,297

    I just tried to do it this way, It does remove...

    I just tried to do it this way, It does remove .,? and so on and check for palindrome, however when I press 'y' to start again and write normal words without .,?-! it tells me itīs not a palindrome...
  6. Replies
    7
    Views
    2,297

    I wrote like this and it works #include...

    I wrote like this and it works




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

    void string_change(char string_text[])
  7. Replies
    7
    Views
    2,297

    Program to check for Palindrome

    My task is to write a program that checks for palindrome.

    Same word
    Example:

    (wow is a palindrome)
    (radar is a palindrome)

    I am only allowed to use one built in function.
  8. Replies
    1
    Views
    485

    Simple yatzee game

    I made a function generating 5 random numbers into an array. After that I made an multi-dimensional array and stored dices in six diffrent char. Now im trying to use a switch case to decide which 5...
  9. Replies
    12
    Views
    4,178

    #include #include #include...

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

    void generate_random_numbers(int random_numbers[]);
    int count_matching_numbers(int random_numbers[], size_t n, int x);


    int main(){...
  10. Replies
    12
    Views
    4,178

    I got all the functions except the search...

    I got all the functions except the search function the work.



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

    void generate_random_numbers(int random_numbers[]);
    int...
  11. Replies
    12
    Views
    4,178

    Tried to listen to your instructions. But I think...

    Tried to listen to your instructions. But I think my program is worse now, I dont really know how to call the functions in the right way i suppose,

    Here's the code now



    #include <stdio.h>...
  12. Replies
    12
    Views
    4,178

    So i tried to fix the code and come up with this....

    So i tried to fix the code and come up with this.




    #include <stdio.h>
    #include <stdlib.h>
  13. Replies
    12
    Views
    4,178

    Got another question if ur up for it. ...

    Got another question if ur up for it.




    #include <stdio.h>
    #include <stdlib.h>
    #include <time.h>
    #include <stdbool.h>
  14. Replies
    12
    Views
    4,178

    Ill do that, thanks for the tip, I didnt know...

    Ill do that, thanks for the tip, I didnt know what to search for, google is to big to find something specific if you don't know what you're searching for!
  15. Replies
    12
    Views
    4,178

    Need help!! Find number in an array..

    So my task is to create a program that generate 10 random integer numbers into an array and write them on the screen. After that the program is supposed to ask the user for a number, count how many...
  16. C program that tells Minimum number, Maximum Number, Sum And Average

    So the task is to write a program that repeatedly ask for a positive number, Negative numbers will make the input to stop.
    After that the program will tell you minimum number, maximum number, sum of...
  17. Replies
    4
    Views
    684

    Gues the number (Game)

    Im kinda new in programming so I need some help.
    The task is to write a "game". The user is guessing a number between 1-100 and the program is telling if the number is too high or too low. When the...
  18. Replies
    1
    Views
    534

    Money converter

    So the task is to build a program that converts swedish krona to euro using 4 functions

    *one that handles input
    returnvalue: input krona

    *one that converts to euro
    returnvalue: quantity of...
Results 1 to 18 of 18