Search:

Type: Posts; User: genie

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    2,081

    yah i got it fixed thanks

    yah i got it fixed thanks
  2. Replies
    7
    Views
    2,081

    here almost done it but prints weird characters...

    here almost done it but prints weird characters along

    #include <stdio.h>
    int main(void){
    char name[21];
    char surname[21];
    char buffer[46];
    int a,b;
    printf("Please Enter your first...
  3. Replies
    7
    Views
    2,081

    for loop i want it just to get name like from...

    for loop i want it just to get name like from variable 0 untill null terminator and in the buffer i want it to save the first name till i print both in the end
  4. Replies
    7
    Views
    2,081

    problem in my strcpy strcat function

    i m trying to write my own function of strcpy and strcat but 2nd character doesnt even getoutputed

    #include <stdio.h>
    int main(void){
    char name[21];
    char surname[21];
    char buffer[46];...
  5. Replies
    4
    Views
    1,685

    thanks for help

    thanks for help
  6. Replies
    4
    Views
    1,685

    yah srry i mean the ('\0') not 0 typing error...

    yah srry i mean the ('\0') not 0 typing error srry i wanted to ask like u got an array of like 50 element and u do a!='\0' that wont end on 49 ? on the 48 array ?and if u do a='\0' that mean it will...
  7. Replies
    4
    Views
    1,685

    question about Null character

    i wanted to ask like in some codes i see like char !='0'
    that means or ='0' whats that null character all about ? srry for my stupid question i m still a begineer.
  8. Thread: From C to Java

    by genie
    Replies
    26
    Views
    3,488

    java sucks i ll study after C >> C++>>asm >>...

    java sucks i ll study after C >> C++>>asm >> maybe mysql oracle after that
  9. Replies
    17
    Views
    2,076

    pointers point allocation in memory like lets say...

    pointers point allocation in memory like lets say u got 1 mac apple and u wrote a txt that my mac book is in bal bla bla that is like a pointer it points there so it doesnt make ur pc take much memory
  10. Thread: C string problem

    by genie
    Replies
    3
    Views
    887

    yes thanks didnt notice that i fixed that also...

    yes thanks didnt notice that i fixed that also exit function didnt need a brace after it but problem is it keeps exuting even after 3rd line how can i make at at 3rd question it will exit ?


    genie
  11. Thread: getchar

    by genie
    Replies
    4
    Views
    1,202

    it getchar getcharacter from your keyboard to...

    it getchar getcharacter from your keyboard to exit :P
  12. Thread: C string problem

    by genie
    Replies
    3
    Views
    887

    C string problem

    Hello guys i just started learning C 1 week ago i m trying to do a program for guessing i done it but i wanna try make it like if user put 3 times wrong program will close i did but i have 2 errors...
Results 1 to 12 of 12