Search:

Type: Posts; User: tost

Search: Search took 0.00 seconds.

  1. Replies
    10
    Views
    896

    ok thank you for help

    ok thank you for help
  2. Replies
    10
    Views
    896

    i changed the code to avid overrun and you said...

    i changed the code to avid overrun and you said better solution and more easy


    [CODE]#include<stdio.h>

    int main(){
    int const MAX_LEN =100;
    char arr[MAX_LEN];
    int i;
    int judge=0;
  3. Replies
    10
    Views
    896

    i changed the code #include int...

    i changed the code


    #include<stdio.h>

    int main(){

    char arr[100],OH[]={'O','o','H','h'};
    int i,x=0;
    printf("please input ");
  4. Replies
    10
    Views
    896

    that's right this is an array i edited the code ...

    that's right this is an array i edited the code



    #include<stdio.h>



    int main(){
  5. Replies
    10
    Views
    896

    yes i edited the code after i post it ,you posted...

    yes i edited the code after i post it ,you posted too fast
  6. Replies
    10
    Views
    896

    help with this code please

    hello,
    this code give me the same output not OH


    #include<stdio.h>

    int main(){

    char arr[100];
    int i;
  7. Replies
    18
    Views
    4,010

    i'm going to do that practice and practice i...

    i'm going to do that practice and practice
    i need more problems that let me learn

    Working

    #include<stdio.h>
    #include<string.h>
    int main()
    {
  8. Replies
    18
    Views
    4,010

    i changed it then i changed it to 'A','Z' thank...

    i changed it then i changed it to 'A','Z'
    thank you :)
  9. Replies
    18
    Views
    4,010

    :wink: that's right no update happen in the...

    :wink:
    that's right no update happen in the main function it just change the value then nothing
    The correct code

    #include<stdio.h>
    #include<string.h>
    #include<stdbool.h>
    char...
  10. Replies
    18
    Views
    4,010

    mr std10093...

    mr std10093
    i red the topic about why not using BUFSIZ it's size changeable from compiler to other
    so where can i use it socket programming or what ?
    i mean best situation to use BUFSIZ an nothing...
  11. Replies
    18
    Views
    4,010

    mr.Adak...

    mr.Adak
    i will let user input in char array and i will check every char if it upper then change to lower if it lower change to upper and the ascii symbol normal
    that's my logic can you write to me...
  12. Replies
    18
    Views
    4,010

    Thanks i forgot that c++ has toupper tolower...

    Thanks i forgot that c++ has toupper tolower function so i changed all name
    i removed the second check in to_lower to_upper
    and <= >=;

    could you tell me what IDE or compiler you use?
    i still...
  13. Replies
    18
    Views
    4,010

    i need program that i input string like this ...

    i need program that i input string like this
    TOSst!@
    and output
    tosST!@

    the proplem in source that if write anything it just output it the same
  14. Replies
    18
    Views
    4,010

    i used fgets and made new var for strlen() but...

    i used fgets and made new var for strlen()
    but the same proplem :frown:


    #include<stdio.h>
    #include<string.h>
    #include<stdbool.h>
    char toupper(char);
    char tolower(char);
    bool islower(char);
  15. Replies
    18
    Views
    4,010

    convert from upper to lower

    Hello
    please
    1-what is the proplem with this code
    2-how can i use fgets in this code
    3- can i use BUFSIZ
    which will be more faster BUFSIZ or strlen()
  16. Replies
    15
    Views
    1,916

    thank you laserlight

    thank you laserlight
  17. Replies
    15
    Views
    1,916

    okay but what must i do

    okay but what must i do
  18. Replies
    15
    Views
    1,916

    :D thank you KansaiRobot ...

    :D thank you KansaiRobot



    #include<stdio.h>
    int main()
    {
    int count =0;
    int A=0,B=0,C=0,D=0;
    char into;
  19. Replies
    15
    Views
    1,916

    yea you know when you i saw how about you say i...

    yea you know when you i saw how about you say i got jerk hahaha that's easy if the condition true i wil add 1 to var
    then i print the var that will be have the number of every time the condition...
  20. Replies
    15
    Views
    1,916

    yes mr.Salem i did i red this topic last week...

    yes mr.Salem i did i red this topic last week
    but i realy cannot answer this proplem so please help me

    Thank you
  21. Replies
    15
    Views
    1,916

    yes thank you i was mean i will make it func with...

    yes thank you i was mean i will make it func with another name to make new main cause i cannot make more than 1 main
    but please help me i cannot write this program
  22. Replies
    15
    Views
    1,916

    hey i have this idea i will make normal code ...

    hey i have this idea i will make normal code
    user will input grade and if it is more than 75 i will use GOTO and +1 to var the same thing for more than 85 and after the code will add 1 to the var...
  23. Replies
    15
    Views
    1,916

    #include int main() { double...

    #include<stdio.h>

    int main()

    {
    double G;
    printf("Please Input your Grade:> ");

    scanf("%lf",&G);
    if(G>85){printf("A");}
  24. Replies
    15
    Views
    1,916

    Help Have no idea with this proplem

    Hello Please Help me with this proplem

    i know how to make the input and use loop to ask user to input
    50 grade
    but
    how can i count the number of the student that grade more than 85
    and the...
Results 1 to 24 of 24