Search:

Type: Posts; User: yukapuka

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    9
    Views
    4,730

    okay i have found the solution via some assisted...

    okay i have found the solution via some assisted help

    you need to actually build the files yourself from source for your compiler which means you need to download the source files and make & make...
  2. Replies
    9
    Views
    4,730

    it gave the exact same response as it had in my...

    it gave the exact same response as it had in my earlier showcase, nothing has changed , same response, same answer

    $ gcc sdl.c -lSDL
    sdl.c:1:17: fatal error: SDL.h: No such file or directory
    ...
  3. Replies
    9
    Views
    4,730

    tried it and same problem

    tried it and same problem
  4. Replies
    9
    Views
    4,730

    i just thought of something that could be the...

    i just thought of something that could be the problem, if i am using cygwin 64 bit can that be the cause of the problem?
  5. Replies
    9
    Views
    4,730

    this is the file i try to compile #include...

    this is the file i try to compile


    #include <SDL.h>
    #include <stdio.h>

    int main(int argc, char *argv[]){

    }
  6. Replies
    9
    Views
    4,730

    hi there thanks for the advice i did what you...

    hi there thanks for the advice

    i did what you suggested and i get this error in cygwin
  7. Replies
    9
    Views
    4,730

    SDL and cygwin

    Hi i am currently trying to get SDL working with C language

    I am using Cygwin and Sublime text 2

    I know and understand general programming, however i am trying to understand how to get SDL...
  8. Replies
    8
    Views
    40,574

    it says in the reference card that when it...

    it says in the reference card that when it reaches EOF that it returns this in the int return of scanf

    so should i be doing "while(scanf(....);!=EOF);"
  9. Replies
    8
    Views
    40,574

    thank you this is exactly what i was looking for...

    thank you this is exactly what i was looking for

    now i would like to extend the question just to understand this clearly

    if this is my program(hypothetically speaking)



    #include...
  10. Replies
    8
    Views
    40,574

    yes but what i am trying to do is feed the...

    yes but what i am trying to do is feed the porgram a txt file with numbers to test out ,using linux commands
  11. Replies
    8
    Views
    40,574

    How to input test.txt into c program?

    if i have a program named prog.c and i have already converted it into an executable using gcc

    how do i test the prog.o in linux? what is the command for executing a test file where i have my...
  12. thank you very much your a legend!!! for...

    thank you very much your a legend!!! for clarifying that!!
  13. also to add search is a pointer and so is...

    also to add search is a pointer and so is list(list being a pointer to the head of the linked list)
  14. cant understand why this node is not functioning correctly

    anyways i have this small problem i cant seem to understand

    i have this code below




    if( isdigit(c)) {
  15. Replies
    3
    Views
    1,432

    forget it i solved this replaced the dot...

    forget it i solved this

    replaced the dot operator with ->
  16. Replies
    3
    Views
    1,432

    the issue is in the function dateOk at line 185 ...

    the issue is in the function dateOk at line 185

    it says the members are not part of a structure or union, but they are!!! if u check the header ile you will see under the struct date it contains...
  17. Replies
    3
    Views
    1,432

    Help with Header Files and Source files

    Hi

    I am trying to understand why i am getting an error at compiling my header file and source file

    both are provided below


    here is the error

    12054
  18. Replies
    6
    Views
    948

    sorry i got it to work i just had to use...

    sorry i got it to work
    i just had to use brackets in the second for loop

    and what i was trying to get it to do was to put a character into each array unit
  19. Replies
    6
    Views
    948

    scanf and arrays

    hi i am trying to get t his to work, but i dont know why it is not working, what is the problem with this?




    #include <stdio.h>
    #include <stdlib.h>

    #define SIZE 3
  20. Replies
    7
    Views
    1,126

    ahh thank you for that clarification so if i...

    ahh thank you for that clarification

    so if i wanted to exit on end of line, how would i go about implementing this?
  21. Replies
    7
    Views
    1,126

    i do this on Netbeans and Cygwin, but what i am...

    i do this on Netbeans and Cygwin, but what i am confused about further(based on the question you just asked) what is EOF? i thought it was end of file? so after i enter the text for the program to...
  22. Replies
    7
    Views
    1,126

    Program will not exit on EOF

    Hi my program is functioning properly and doing all it is supposed to do, but i just cant get the bloody thing to exist with the while loop

    can anyone tell me why this is happening? or how to fix...
  23. Thanks for that now my question is this: what...

    Thanks for that
    now my question is this: what happens to inputs that are scanned by scanf? do they get put into ch which then get passed to the function encode
    also after encode does with them and...
  24. my problem is that i dont know how to deal with...

    my problem is that i dont know how to deal with the encode function here, it doesnt do its job in the while loop
  25. okay thank for that very inspiring and...

    okay thank for that very inspiring and enthusiastic help, but i still cant work this out so if you dont mind helping me, the code is above
Results 1 to 25 of 48
Page 1 of 2 1 2