Search:

Type: Posts; User: codecaine_21

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    9
    Views
    1,471

    Ok will a little research and carefull thought I...

    Ok will a little research and carefull thought I solved my problem thank you Subsonics. Much appreciated!


    Wow Subsonic, why couldn't it have been that easy for me lol but what I actually did was...
  2. Replies
    9
    Views
    1,471

    I gave the pointer a specifier. I didn't know a...

    I gave the pointer a specifier. I didn't know a pointer needed one tho. And I now see the point of dereferencing. Still having trouble tho no matter what I do I get an infinite loop or just the last...
  3. Replies
    9
    Views
    1,471

    I don't know how to dereference so google here I...

    I don't know how to dereference so google here I come! But the way I was doing seesed right ya know! Point to the end of a string and reverse it till it reaches the begining and I see what you mean...
  4. Replies
    9
    Views
    1,471

    Here's the code: int main(void) { ...

    Here's the code:



    int main(void)
    {
    Iint n;
    Char *p;
    Char *p2 = '\0';
    Char array1[] = "Hey how are you?";
  5. Replies
    9
    Views
    1,471

    reverse a string with pointer help

    I have been trying to reverse a string with a pointer. I pointed to the end of a string literal:


    P = array1 + strlen(array1) -1;

    Then declare a 2nd pointer(p2) and set it to the beggining...
  6. Replies
    6
    Views
    5,824

    Oh very tuff over the computer but I am learning...

    Oh very tuff over the computer but I am learning to program in C and have most of the basics down! so I can write my own tools. Not take other peoples work like a script kiddie. By any chance do you...
  7. Replies
    6
    Views
    5,824

    Ok maybe I shouldn't have posted the keylogger...

    Ok maybe I shouldn't have posted the keylogger question. Not the place for it but regaurdless of the number of questions or the context of them I dont see why I couldn't be helped. This is a forum...
  8. Replies
    6
    Views
    5,824

    My appologies Salem. Thank you anyway

    My appologies Salem. Thank you anyway
  9. Replies
    6
    Views
    5,824

    C keyboard hooks for linux

    I am very interested in the concept of the keylogger. I have Googled it but haven't found much. Everything I find is for C sharp or C++ and I still do not know how these things are made up, and the...
  10. Thread: File IO

    by codecaine_21
    Replies
    7
    Views
    1,523

    Prelude, I took out the write mode and used read....

    Prelude, I took out the write mode and used read. Because read returns a null character if the file doesn't exists. From there I can open a file with append mode. Or whatever. Thanks!!

    Swarvy, I...
  11. Thread: File IO

    by codecaine_21
    Replies
    7
    Views
    1,523

    Swarvy.... I see what you are saying about the w+...

    Swarvy.... I see what you are saying about the w+ mode and the append mode. I will drop the write and keep the append! I just thought I had to open a file for writing before I could append to it. So...
  12. Thread: File IO

    by codecaine_21
    Replies
    7
    Views
    1,523

    File IO

    i am trying to figure out how to check if a file exists in my void existing_file(void) function, and if not i would like to create it. The big thing that i am trying to do is prompt the user for a...
  13. Replies
    17
    Views
    2,490

    That was a very nice break down and helps a whole...

    That was a very nice break down and helps a whole lot
    QuadraticFighte!!!!! So when i pass an argument(s) like lets say sudo apt-get install. apt-get is an argument, install and sudo also. So when i...
  14. Replies
    17
    Views
    2,490

    Thank you CommonTater. And Adak, i didnt...

    Thank you CommonTater. And Adak, i didnt understand why it was used. so i asked!
  15. Replies
    17
    Views
    2,490

    i have googled and i have two books on C...

    i have googled and i have two books on C programming. that is why i am asking for insight and help, because i still do not understand. I try and learn on my own and if i need help i ask. that is what...
  16. Replies
    17
    Views
    2,490

    Still a tad bit confused, sorry! Why am i passing...

    Still a tad bit confused, sorry! Why am i passing arguments to main anyway? If you may provide a more elaborate definition/explination. And may you give me a working example to run so i can see it...
  17. Replies
    17
    Views
    2,490

    Arguments to main

    I am learning how to pass arguments to main and it should not be hard to learn! But if someone could explain why it is used, what its for. i do not get the whole concept. The more/better i understand...
  18. Thread: File I/O

    by codecaine_21
    Replies
    1
    Views
    860

    File I/O

    I am trying to learn File I/O but the way the book is "trying" to teach me is not quite sinking in!
    Is there an easier way to code this?



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

    int...
  19. Replies
    9
    Views
    3,191

    Ok now i see! I have to be in the current...

    Ok now i see! I have to be in the current directory that the file is in. Sorry i am a little slow lol Thank y'all
  20. Replies
    9
    Views
    3,191

    This is what i get when i run the commands ...

    This is what i get when i run the commands



    anthony@anthony:~$ gcc -Wall -o bkwrds_str bkwrds_str.c
    gcc: bkwrds_str.c: No such file or directory
    gcc: no input files
  21. Replies
    9
    Views
    3,191

    Ok PehJota now the concept that i am not...

    Ok PehJota now the concept that i am not understanding is "hello_world hello_world.c" i work with the terminal a lot so i shouldn't have much trouble! But the first is where i want to save the file?...
  22. Replies
    9
    Views
    3,191

    I tried to check out your link but it produces an...

    I tried to check out your link but it produces an error and says the server is busy each time i try and visit the site.
  23. Replies
    9
    Views
    3,191

    i was using code::blocks, an ide. I would like to...

    i was using code::blocks, an ide. I would like to try something new, more challenging! so i am trying to compile and run a c program from my Linux terminal. And yes, I think it is gcc.
  24. Replies
    9
    Views
    3,191

    compile prog from terminal

    I have googled compiling and running a program from the terminal but i am having trouble. Any help would be greatly appreciated! Thanks in advanced!
  25. Replies
    14
    Views
    10,389

    sorry man just trying to help!! This forum has...

    sorry man just trying to help!! This forum has helped me out a great deal! I am just trying to help any way i can. I don't want to be just a leech and not give back! Like i said i am a beginner that...
Results 1 to 25 of 64
Page 1 of 3 1 2 3