Search:

Type: Posts; User: lio

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    13
    Views
    1,033

    Thanks .I found my problem is the if clouse

    Thanks .I found my problem is the if clouse
  2. Replies
    13
    Views
    1,033

    I thought that the a.out is countet for argument...

    I thought that the a.out is countet for argument to,any way i did a.out 123 it print enter arguments,i try a.out 1 2 4 -nothing,
    a.out 1 2 -nothing prints out,
  3. Replies
    13
    Views
    1,033

    Is that the right place for the flash #include...

    Is that the right place for the flash
    #include <stdio.h>
    int main(int argc, char *argv[]){
    if(argc<3)
    {
    fprintf(stderr,"%s\n","Enter the arguments");
    fprintf(stderr,"%s %s %s"...
  4. Replies
    13
    Views
    1,033

    YEs :)) first run it cc file.c then a.out 4 6

    YEs :))
    first run it cc file.c
    then
    a.out 4 6
  5. Replies
    13
    Views
    1,033

    Thanks .I did it and there are no errors,but it...

    Thanks .I did it and there are no errors,but it is not printing anything





    #include <stdio.h>
    int main(int argc, char *argv[]){
    if(argc<3)
    {
  6. Replies
    13
    Views
    1,033

    Thank you ,could you tell me hot to pass integers

    Thank you ,could you tell me hot to pass integers
  7. Replies
    13
    Views
    1,033

    passing Arguments problem

    Hi,I am trying to print the first passed argument,but doesnt work,no error just not printing it.

    Thanks


    #include <stdio.h>
    int main(int argc, char *argv[]){
    if(argc<3)
    {...
  8. Replies
    3
    Views
    1,832

    Complexity in stack

    I wrote this program for checking matching brackets using stack.I have to figure out the complexity of the program,but I have know idea how
    Thanks




    #include <stdio.h>
    # define MAXSIZE 100...
  9. Replies
    2
    Views
    3,392

    Running time function in c

    Hi ,I need to figure out the running time of a program ,is there any build in function in c(like System.currentTimeMillis() in JAVA),or I have to write one
    Thanks
  10. Replies
    1
    Views
    2,347

    Comparing brackets with stack

    Hi,I am trying to compare if the entered string is with opening and closing brackets using stack
    everithing works OK ,but my varabales brace,c bracket and par ,are not updateing (they stay 0)
    the...
  11. Replies
    8
    Views
    1,477

    Thanks a lot,that was the problem

    Thanks a lot,that was the problem
  12. Replies
    8
    Views
    1,477

    One more question,how can eliminate Ctrl +Z from...

    One more question,how can eliminate Ctrl +Z from counting
    I Try,but didnt work


    if(c!='^Z')
    try this ,dont work
    if(c!='26')
  13. Replies
    8
    Views
    1,477

    Thanks a lot, the new line was the problem

    Thanks a lot, the new line was the problem
  14. Replies
    8
    Views
    1,477

    Thanks,i fixed it, the same problem It doesnt...

    Thanks,i fixed it,
    the same problem
    It doesnt print anything.EOF for windows was ctrl Z,right
  15. Replies
    8
    Views
    1,477

    Program for counting input

    Why this program doesn print the size of the entered char
    Thanks


    #include <stdio.h>
    int main()
    {
    int c ;
    int count=0 ;
  16. Replies
    5
    Views
    1,123

    Thanks, Common tater I pasted your code agin...

    Thanks,
    Common tater
    I pasted your code agin and it works
  17. Replies
    5
    Views
    1,123

    Function for chek if letter exist

    Hi ,I wrote this functiont to check for abanded characters ,but it doesnt work
    I need help
    Thanks
    The errors are missing terminating characters


    int checkout(char letter)
    {
    char...
  18. Thread: Array and pointers

    by lio
    Replies
    5
    Views
    872

    Thanks I am trying to set each elements value to...

    Thanks
    I am trying to set each elements value to its column(prev dimetion)
    How can I do that
  19. Thread: Array and pointers

    by lio
    Replies
    5
    Views
    872

    Thanks ,I fixed that but still the same problem

    Thanks ,I fixed that but still the same problem
  20. Thread: Array and pointers

    by lio
    Replies
    5
    Views
    872

    Array and pointers

    Hi ,I am confuse a little,why the print(in red),which supposted to print the first element in the array in this case 0 is printing 2
    Thanks


    #include <stdio.h>
    void FILL(int masif[3][5][5]);...
  21. Thread: 3 d array

    by lio
    Replies
    9
    Views
    1,336

    Thanks

    Thanks
  22. Thread: 3 d array

    by lio
    Replies
    9
    Views
    1,336

    Thanks I am trying to pass to the function array...

    Thanks
    I am trying to pass to the function array defined by the user ,how can I do that
  23. Thread: 3 d array

    by lio
    Replies
    9
    Views
    1,336

    I am trying to define function that takes as...

    I am trying to define function that takes as input a 3 dimensional array, and its dimensions


    #include <stdio.h>
    #define fd 5
    #define sd 5
    #define td 5
    void inputArray(int fd,int sd,int...
  24. Thread: 3 d array

    by lio
    Replies
    9
    Views
    1,336

    If I declare the function like that ,it gives me...

    If I declare the function like that ,it gives me error that the variables are not declared
  25. Thread: 3 d array

    by lio
    Replies
    9
    Views
    1,336

    3 d array

    Function that takes as input a 3 dimensional array, and its dimensions

    How can I do that


    void inputArray(int fd,int sd,int td,int array[fd][sd][td])
Results 1 to 25 of 47
Page 1 of 2 1 2