Search:

Type: Posts; User: rothj0hn

Search: Search took 0.00 seconds.

  1. Thread: string!

    by rothj0hn
    Replies
    6
    Views
    1,142

    typographical error.... chat is char.....

    typographical error.... chat is char.....
  2. Thread: compiler!

    by rothj0hn
    Replies
    3
    Views
    1,025

    compiler!

    wer can i get free download of turbo c++ version 3.1 or 3.0...
  3. Thread: string!

    by rothj0hn
    Replies
    6
    Views
    1,142

    string!

    nid help...



    #include<stdio.h>
    main()
    {
    chat num[4];
    int a,b,c,d;
    printf("input num");
  4. Replies
    4
    Views
    904

    what is the function of strlen?! and before...

    what is the function of strlen?!
    and before using it do i need to do?
    #include<string.h>????
  5. Thread: vs..

    by rothj0hn
    Replies
    1
    Views
    934

    vs..

    gets() vs scanf?!

    which is better?

    how to use gets()?

    some example pls...
  6. Replies
    4
    Views
    904

    string problem!

    nid help in...
    char str[6]
    input is hello...
    so it will be like this
    [h][e][l][l][o] ryt?

    how can i print each element seperately?
    print h...
    then e. then l. then l. then o......
  7. Replies
    5
    Views
    1,431

    for 8yrs old problem..=)

    char num[4];
    int a,b,c,d;
    printf("enter a four digit nuber:");
    scanf("%s",num[4]);
    a=num[0];
    b=num[1];
    c=num[2];
    d=num[3];
    printf("%d",a);
    printf("%d",b);
  8. Replies
    7
    Views
    2,170

    ei

    actually im trying to use a gotoxy(x,y)
    bunch of gotoxy until i formed a number figure made of ****...
    but i doubt that my program wont be flexible..
    coz ive only made a number figure made of...
  9. Replies
    7
    Views
    2,170

    but how will it print **** that will form look...

    but how will it print **** that will form look like the number i input?
  10. Replies
    7
    Views
    2,170

    give me some idea..

    how can i solve this problem...
    nid to input a number and will output **** that will form look like the number i input..

    304=** will be look like 304
  11. Replies
    3
    Views
    1,269

    is this 1 correct?!

    #include<stdio.h>
    #include<conio.h>
    main()
    {
    char month;
    clrscr();
    printf("input month");
    scanf("%s',month);
    if (month==january)
    printf("yes");
  12. Replies
    4
    Views
    1,217

    check my errors...

    #include<stdio.h>
    #include<conio.h>
    main()
    {
    char month[12];
    clrscr()
    printf("input month:");
    scanf("%s",&month);
    if (month=="january")
    printf("new year"0;
  13. Thread: char to int

    by rothj0hn
    Replies
    9
    Views
    2,024

    help!

    in my case i need to convert an input string to a #..
    for example input a month..


    printf("input month");
    scanf("%s",month");
    if (month==january)
    month=1;
  14. Replies
    2
    Views
    5,172

    newbie here.. pls help me in this program!

    problem is i need to input an integer and i must produce an out of it in word form...

    example:
    input=1
    output=one

    input=300
    output=three hundred

    pls help me...
Results 1 to 14 of 14