Search:

Type: Posts; User: Mak

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Thread: Executable file

    by Mak
    Replies
    2
    Views
    1,755

    Executable file

    if i use

    [ -f $file] to check if its a file


    what do i use to check if the file is executable?
  2. Replies
    5
    Views
    2,410

    cool thanks...i'll assume thats right since i...

    cool thanks...i'll assume thats right since i cant check it until monday
  3. Replies
    5
    Views
    2,410

    i have to use ls and grep together even if i...

    i have to use ls and grep together


    even if i wanted to use find i would not know how
  4. Replies
    5
    Views
    2,410

    listing directories with rwx permission..

    How would i use grep and ls togehter to list all directories with rwx permission?
  5. Thread: Shell Programming

    by Mak
    Replies
    7
    Views
    1,511

    meh...i had problems installing it so'm just...

    meh...i had problems installing it

    so'm just working on it at the lab
  6. Thread: Shell Programming

    by Mak
    Replies
    7
    Views
    1,511

    I'm trying to download/set up Cygwin but my...

    I'm trying to download/set up Cygwin but my stupid computer is having problems.
  7. Thread: Shell Programming

    by Mak
    Replies
    7
    Views
    1,511

    that could work..i'm going to try it thanks

    that could work..i'm going to try it

    thanks
  8. Thread: Shell Programming

    by Mak
    Replies
    7
    Views
    1,511

    Shell Programming

    Here is my problem..... I have to do a few programs/labs. Just simple shell programs but I can only do them on campus using Linux.


    So my question is ...is there a program to simluate unix...
  9. Thread: Using GCC

    by Mak
    Replies
    10
    Views
    1,395

    okay...i think i got it figured out now thanks

    okay...i think i got it figured out now

    thanks
  10. Thread: Using GCC

    by Mak
    Replies
    10
    Views
    1,395

    thats the problem..i could not find the GCC file...

    thats the problem..i could not find the GCC file itself or BIN directory

    but i'll try Dev-C++
  11. Thread: Using GCC

    by Mak
    Replies
    10
    Views
    1,395

    okay...for example when using JDK when you...

    okay...for example when using JDK when you compile java files...you go to JDK/BIN/
    and there you use javac to compile


    I'm not sure how this works with GCC

    i have the folder itself

    when I...
  12. Thread: Using GCC

    by Mak
    Replies
    10
    Views
    1,395

    i need to run the following commands... gcc...

    i need to run the following commands...

    gcc file1.c -o file1
    gcc file2.c -o file2
    /file1
    /file2


    how do i do that?
  13. Thread: Using GCC

    by Mak
    Replies
    10
    Views
    1,395

    Using GCC

    I need some help with GCC compiler. I downloaded and extracted the files. After that I'm not really sure what to do.


    I need to use GCC to run C applications
  14. Replies
    3
    Views
    1,757

    gcc compiler

    How do i install or use gcc compiler on my computer?

    THanks
  15. Replies
    2
    Views
    1,705

    never mind...got it working

    never mind...got it working
  16. Replies
    2
    Views
    1,705

    2-D Arrays (Matrices)

    I'm confused :confused:

    I have to creat 2 matrices and then produce a third matrxi. But here is the problem that i have:

    Question states "third matrix whose all off diagonal entries are zero...
  17. Replies
    4
    Views
    1,687

    yeah baby i fixed it changed...

    yeah baby i fixed it


    changed OUTPUT(poutput); to

    OUTPUT(psum);

    i guess that make sense.....although now i dont get float values
  18. Replies
    4
    Views
    1,687

    #include void INPUT(int *var1, int...

    #include <stdio.h>

    void INPUT(int *var1, int *var2, int *var3, int *var4);
    void AVERAGE(int var1, int var2, int var3, int var4,float *var5);
    void OUTPUT(float *var);

    main(){

    int x,y,z,v;...
  19. Replies
    4
    Views
    1,687

    Call by reference...

    I have this program that asks you to input numbers, takes the average and prints it out.... its pretty easy if you do by Value but i have to do it using Call by reference....so far i have :


    ...
  20. Replies
    7
    Views
    2,448

    thanks..that worked. :D

    thanks..that worked. :D
  21. Replies
    7
    Views
    2,448

    #include float AVERAGE(int num1,...

    #include <stdio.h>


    float AVERAGE(int num1, int num2, int num3, int num4);
    float OUTPUT(float output);

    int main(void){

    int a,b,c,d,x, avr, out;
  22. Replies
    7
    Views
    2,448

    nope..that did not help

    nope..that did not help
  23. Replies
    7
    Views
    2,448

    whats going on here? (float question)

    I have this simple program...that takes 4 integers and prints out the average




    #include <stdio.h>


    int AVERAGE(int num1, int num2, int num3, int num4);
    float OUTPUT(float output);
  24. Replies
    9
    Views
    1,572

    okay...it works now. I just need to work on...

    okay...it works now.

    I just need to work on the logical part now.....it does not work as it should.
  25. Replies
    9
    Views
    1,572

    okay...here is my first try: #include...

    okay...here is my first try:





    #include <stdio.h>


    int main(void){
Results 1 to 25 of 33
Page 1 of 2 1 2