Search:

Type: Posts; User: crusher152

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    3,125

    Yea damn so %c also includes numbers, somehow I...

    Yea damn so %c also includes numbers, somehow I wasnt aware of it /facepalm.

    And BTW, also einDeutscher (aGerman) :P. Danke für die schnelle Antwort (thanks for the quick reply).
  2. Replies
    3
    Views
    3,125

    saving scanf result for characters ?

    Hi,

    so creating a menu with the choices of 1-5 (integers) and saving the result into "scanfResult" worked very nicely so Ive tried to implement the same logic to characters but somehow it doesnt...
  3. Replies
    3
    Views
    3,445

    Ups not sure why I wrote "backspace", thanks alot...

    Ups not sure why I wrote "backspace", thanks alot for the explanation and your time.
  4. Replies
    3
    Views
    3,445

    why backspace in scanf function ?

    Hi need your help again ...



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

    typedef struct
    {
    char phone[30];
  5. Replies
    11
    Views
    1,749

    Ive reinstalled everything and now it works, I...

    Ive reinstalled everything and now it works, I dont know what the issue was but again thanks alot !.
  6. Replies
    11
    Views
    1,749

    I thought I have to replace my "strcpy ..." code...

    I thought I have to replace my "strcpy ..." code with the "people..." code but still it wont print out anything in the end. If it works for you then maybe my IDE or compiler is faulty ? I just get...
  7. Replies
    11
    Views
    1,749

    But you then didnt specify ".name" and ".phone",...

    But you then didnt specify ".name" and ".phone", doesnt work for me. Cant you just write down the snippet of code and show it ? That would be so much easier and quicker because somehow I dont get it...
  8. Replies
    11
    Views
    1,749

    Thanks for your time and help but I cant figure...

    Thanks for your time and help but I cant figure it out, it just wont work. If I initiliaze with "people[0]" etc. which I also tried before then the variables "Maik, Kevin" are unused.

    I also dont...
  9. Replies
    11
    Views
    1,749

    Phonebook search without cs50.h library ?

    Hi,

    Iam using different tutorials and sadly the lecture from Harvard on YT always uses a custom made "cs50.h" library which in the end just complicate things because I have to figure then things...
  10. Replies
    2
    Views
    2,717

    Ok thank you I will reinstall everything and see...

    Ok thank you I will reinstall everything and see if it makes a difference. I actually have sometimes compiling issues so something doesnt seem to be right. Again thanks.
  11. Replies
    2
    Views
    2,717

    Setting Ints to 0 makes code slow, why ?

    #include <stdio.h>

    int main(void)

    {

    int fahr = 0, total = 0, step = 0;

    printf("Fahrenheit ?: ");
    scanf("%d", &fahr);
  12. Replies
    5
    Views
    5,113

    Hi, thanks for your reply, such a little error...

    Hi,

    thanks for your reply, such a little error but now it works thanks alot. And sorry for including the code wrong I will do better in the future :).
  13. Replies
    5
    Views
    5,113

    Probably simple mistake (newbie)

    Hi,

    I just started with C like 1 week ago and Ive never coded in my life so bear with me :) as I always try to code stuff from the top of my head that Ive already learned so its really just a very...
Results 1 to 13 of 13