Search:

Type: Posts; User: Filster7

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Thread: String

    by Filster7
    Replies
    1
    Views
    666

    String

    This is it:

    #include <stdio.h>

    #define MAXLINE 1000


    int getline(char line[], int maxline);
    void copy(char to[], char from[]);
  2. Python is actually easier to learn then C.Its not...

    Python is actually easier to learn then C.Its not that complex.Its a high-dynamic programming language.But its very nice to use.
    I tryed it myself.
  3. Thread: return

    by Filster7
    Replies
    7
    Views
    884

    Not sure thats a good idea...

    Not sure thats a good idea...
  4. Replies
    12
    Views
    1,449

    Its a preety simple answer,i think its a very...

    Its a preety simple answer,i think its a very nice program for beggining a journey into programming.The thing is there are no shortcuts! Have fun!
  5. Replies
    12
    Views
    1,449

    Whiteflags gave you everything you need,the loop...

    Whiteflags gave you everything you need,the loop is perfect.
    But if you want to do it another way just use printf and finish ....
  6. Replies
    9
    Views
    2,215

    I would try code::blocks.Download it and try it...

    I would try code::blocks.Download it and try it out.Its very nice...
  7. First of all,you don't have to be talented to be...

    First of all,you don't have to be talented to be good at something.If you have heart,everything is possible.I don't like the word talent.Beacuse what you have to do every single day is put effort in...
  8. Thread: return

    by Filster7
    Replies
    7
    Views
    884

    Thanks alot ,il look into it more deeply. And...

    Thanks alot ,il look into it more deeply.
    And your right ,about the celsius part.
  9. Thread: return

    by Filster7
    Replies
    7
    Views
    884

    return

    Here is the code:

    #include <stdio.h>

    main ()
    {
    float fahr, celsius;
    int lower, upper, step;
  10. Thread: isprint

    by Filster7
    Replies
    3
    Views
    1,028

    I see.Thanks guys.Im gonna go and read more about...

    I see.Thanks guys.Im gonna go and read more about it....It never hurts to know the details.
  11. Thread: isprint

    by Filster7
    Replies
    3
    Views
    1,028

    isprint

    Ok,here is the code:

    #include <stdio.h>
    #include <ctype.h>


    #define MAXHIST 15
    #define MAXCHAR 128
  12. Thread: Array

    by Filster7
    Replies
    3
    Views
    704

    Sorry,your right....and thats a very shamefull...

    Sorry,your right....and thats a very shamefull mystake....
  13. Thread: Array

    by Filster7
    Replies
    3
    Views
    704

    Oah and don't worry about the main,there is } at...

    Oah and don't worry about the main,there is } at the end.I didn't seem to have copied that...
    Oah and the answer should be when i simply compile the code as it is now,without any input:
    digits = 9...
  14. Thread: Array

    by Filster7
    Replies
    3
    Views
    704

    Array

    So ,i ran into some trouble,doesen't compile the right answer.

    #include <stdio.h>

    main()
    {
    int c, i, nwhite, nother;
    int ndigit[10];
  15. Replies
    6
    Views
    1,660

    In other words. You use # to do things before you...

    In other words. You use # to do things before you start your program,you define something.The pre-processor does its job and after its done,everything else is done.
    Defining something means that if...
  16. Replies
    28
    Views
    28,521

    Does this compile right now at all?

    Does this compile right now at all?
  17. Replies
    28
    Views
    28,521

    What i meant,show the code you had up until now...

    What i meant,show the code you had up until now...
  18. Replies
    28
    Views
    28,521

    Type all the code in one.All the code you have...

    Type all the code in one.All the code you have right now.
  19. Thread: CountingWords

    by Filster7
    Replies
    4
    Views
    826

    Thank you! I thought as much,i guess the language...

    Thank you! I thought as much,i guess the language and every else are just one big login :)
  20. Thread: CountingWords

    by Filster7
    Replies
    4
    Views
    826

    Thanks for that,but i still don't understand...

    Thanks for that,but i still don't understand something.
    I tried replacing IN and OUT with random words and i changed the numbers randomly and the program was still running fine (ofcourse i changed...
  21. Thread: CountingWords

    by Filster7
    Replies
    4
    Views
    826

    CountingWords

    This is the code :

    #include <stdio.h>

    #define IN 1 /* Inside a word */
    #define OUT 0 /* Outside a word */


    main()
    {
  22. Thread: Space

    by Filster7
    Replies
    10
    Views
    1,035

    I understand,i guess your right.This makes me...

    I understand,i guess your right.This makes me practice aswell.
    Il give it my all.I have a lot of passion for programming and i wish to get to the top if possible some day.Sort of a dream of mine....
  23. Thread: Space

    by Filster7
    Replies
    10
    Views
    1,035

    Space

    Thanks for the help,i just have one more question.
    I preety much understood everything.
    But could you please explain to me in actual words.
    What happens from line 15-18?
    Sorry for the trouble.I...
  24. Thread: Space

    by Filster7
    Replies
    10
    Views
    1,035

    So i guess its false.Beacuse the updating of of...

    So i guess its false.Beacuse the updating of of lastc comes after the putchar(c). Then it becomes lastc = c; .Im not really sure if thats correct.But thats how i think.
  25. Thread: Space

    by Filster7
    Replies
    10
    Views
    1,035

    Space

    Ok,so there was no lastc to begin with ,since the beggining of the loop reads only 1 character.So the first if statement is going to be used first in the program.Correct?
Results 1 to 25 of 36
Page 1 of 2 1 2