Search:

Type: Posts; User: KoG Metalgod

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    1,351

    My bro will fixed it. Thanks for your time.

    My bro will fixed it. Thanks for your time.
  2. Replies
    1
    Views
    1,351

    Hidden issues in crypto program.

    The issues is that my Vigenere encryption program works to the point where you can encrypt things, and almost decrypt things perfectly. 9/10ths of the time the decryption works but when it decrypts...
  3. Replies
    11
    Views
    1,673

    well I allready knew that the intergers would not...

    well I allready knew that the intergers would not fit but assumed that it would convert each digit to there ANSI value.


    #include <stdio.h>

    int main()
    {
    int x;
    for(x=48;x<58;x++);
    ...
  4. Replies
    11
    Views
    1,673

    Conversion string to arrays

    My programming partner and I have been working on a cool project dealing with binary/hex and it is working great. Everything is just about done and the mathematical side is finished moving into the...
  5. Replies
    2
    Views
    2,654

    you could use something like this and modify it...

    you could use something like this and modify it to work for you


    int main(){
    char farray[200];
    int x;
    FILE *fp;
    fp = fopen("c:\\t3.txt","r");
    x=0;
    if(fp==NULL) printf("NULL);
  6. Replies
    26
    Views
    6,144

    I don't understand why flamers come to boards,...

    I don't understand why flamers come to boards, its a question and an answer. Thanks Noir for the response.
  7. Replies
    10
    Views
    2,003

    a 32 bit machine max is 2^32 -1, thats 32/8...

    a 32 bit machine max is 2^32 -1, thats 32/8 (bytes/bits) which is 4 bytes max able to compuate on 1 variable on a 32 bit machine.
  8. Replies
    26
    Views
    6,144

    Ok question about fgets(), I wanted to try it out...

    Ok question about fgets(), I wanted to try it out in an old program of mine.


    #include <stdio.h>

    int main()
    {
    unsigned long int x,y;
    printf("welcome to the gfc:\n");
    fgets(x, sizeof x,...
  9. Replies
    26
    Views
    6,144

    Here is the blind truth, I don't care why we have...

    Here is the blind truth, I don't care why we have to do it a certain way. If you had a jigsaw skill saw, you don't use your hand to test the blade. Its common sense to lose the gets() (even though I...
  10. Replies
    10
    Views
    2,003

    ints are 2-bytes (2^16-1), doubles are 4...

    ints are 2-bytes (2^16-1), doubles are 4 bytes(2^32-1), chars are one byte(2^8-1). All though ints are machine based and the OS can have them as for the current general standard is 2 bytes on a 32...
  11. Replies
    26
    Views
    6,144

    Just to weight in on a heavy conflict. What does...

    Just to weight in on a heavy conflict. What does fgets() use or do differently then scanf() and gets(). Also back in the day when I was learning C at my old summer job, the book "C for dummies"...
  12. awesome post *votes to move to official Tutorial...

    awesome post *votes to move to official Tutorial section*.
  13. Replies
    5
    Views
    1,167

    well I was working on the code in a back room and...

    well I was working on the code in a back room and has no network connections, so I quickly ran across the building to a computer with internet to post the code. I was in a rush and made sure I posted...
  14. Replies
    5
    Views
    1,167

    How to take in input of just ints

    here is the code, if you have any ideas help me out please.



    #include <stdio.h>
    #include <conio.h>

    int main()
    {
    printf("test for robot");
  15. Replies
    9
    Views
    1,296

    whats so hard about typing "int main()"? You...

    whats so hard about typing "int main()"? You sound like once of those half c++ converts who has to litter everything up and fight tooth and nail for your c++ ways. Follow the standard that way when...
  16. Replies
    5
    Views
    949

    -1 is assocated with the newline, somewhere in...

    -1 is assocated with the newline, somewhere in your code add on and if getchar() != '\n';. I would tell you where to add it but you have only posted a cool function. Thats the only reason why I could...
  17. Replies
    7
    Views
    1,135

    All I can do is help you alittle bit, mytime is...

    All I can do is help you alittle bit, mytime is undefined.
  18. I dont have time to code it out but make...

    I dont have time to code it out but make everything a string and store it in an array is the ghist of the idea.
  19. why would you want to store the phyical...

    why would you want to store the phyical "whitespace" or do you want to know the amount of whitespace and hold the value in an array/pointer?
  20. Replies
    5
    Views
    1,822

    bro come on, did you even try? Did you go to...

    bro come on, did you even try? Did you go to class? Do you need with the syntax or the body of the program. Its strange that you know its called printf() and scanf() and yet have no clue to use them....
  21. Replies
    4
    Views
    2,522

    malloc will assign the amount of memory that you...

    malloc will assign the amount of memory that you need like void *malloc(size_t n) and returns NULL if there is not enought mem for the req. void * malloc is a great way to have a pointer to the array...
  22. Replies
    10
    Views
    1,420

    I complied this with ease in Dev C++ ver 4.9.9.2....

    I complied this with ease in Dev C++ ver 4.9.9.2. Maybe you have not have it set in C. Try saving it as a .C file then try. I cant see you error I am at school so I am just guessing.
  23. Replies
    10
    Views
    1,420

    I would put money that you didn't save the file...

    I would put money that you didn't save the file as .c and you have it on default .cpp *c++ file*. Thats why it wont work. Also use Dev C++ IDE on bloodshed.net, I have been using it for a while and...
  24. Replies
    5
    Views
    16,643

    Looking for a place to find C videos, not to post...

    Looking for a place to find C videos, not to post them.
  25. have someone write you a shell script to auto log...

    have someone write you a shell script to auto log you in, as far as it beging root I would say. Thats a bad idea root should be left to the jedi.
Results 1 to 25 of 66
Page 1 of 3 1 2 3