Search:

Type: Posts; User: brack

Page 1 of 10 1 2 3 4

Search: Search took 0.01 seconds.

  1. Thread: Help!!!

    by brack
    Replies
    3
    Views
    1,161

    i don' t know though if your array is one or two...

    i don' t know though if your array is one or two dimension. But, you must access all the array and each time in the loop have this:
    sum =0;
    loop{
    sum = sum + A[ i ];
    }

    Your opinion?
  2. Replies
    5
    Views
    2,786

    its atoi and NOT itoa :) a way to remember:...

    its atoi and NOT itoa :)

    a way to remember: ascii TO integer
  3. Thread: loading bar

    by brack
    Replies
    42
    Views
    9,124

    yes! the loading bar is something like showing...

    yes! the loading bar is something like showing how much progress is your search. If the files are big the search should have some sec. So i want something that says x% of search completed. Like...
  4. Thread: loading bar

    by brack
    Replies
    42
    Views
    9,124

    loading bar

    Hello,

    can i add a loading bar to my program? Can anyone help me? It will be better in C++ but if it is possible here i will apreciate this! :)


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

    int...
  5. Replies
    1
    Views
    922

    reading a word from file

    Hello,

    which function i can use so as to read from a file word by word(apart from scanf)?
    thanks...
  6. Replies
    2
    Views
    979

    οκ. thx!

    οκ. thx!
  7. Replies
    2
    Views
    979

    Gaining permission

    Hi! Sorry if i post in the wrong place. I would like to ask if i could use this tutorial Cprogramming.com Tutorial: Introduction to C so as to translate it in my language(Greek).
    Althouhg i may...
  8. Replies
    0
    Views
    3,321

    what does getitimer?

    Hi! I am working on an exercise where i must count the time of a process. The problem is when using the getitimer. I searched google, read some staff and more over i understood what id does. My...
  9. i know the other functions and i have made some...

    i know the other functions and i have made some examples so as to see how working...but my problem is that i can't find a function that needs CPU AND OR Kernel time . Can you help me a little more?
  10. Counting down real, CPU, Kernel time (PLEASE HELP)!

    Hi!. I have an exercise that i already have solved. BUT i have a problem and don't know if it is correct. What i mean is that i don't know how to check if it is correct...can anyone help me????...
  11. Replies
    4
    Views
    6,269

    i got it thanks...

    i got it thanks...
  12. Replies
    2
    Views
    1,332

    ok salem i will check out the whole code...

    ok salem i will check out the whole code then...thanks !
  13. Replies
    2
    Views
    1,332

    sily mistake...cant find it!

    whats wrong?


    ...
    fflush(stdout);
    exit(0);
    }
    printf("this line should never be printed\n");
    } /* end of main */
  14. Replies
    4
    Views
    6,269

    Right! thanks...i just change it into if else{ }

    Right! thanks...i just change it into if else{ }
  15. Replies
    4
    Views
    6,269

    switch case error. Can anyone help?

    switch case error. Can anyone help?



    void sig_handler(int signo){
    switch(signo){
    case SIGALRM:
    flag = getpid();
    switch(flag){
    case parent_PID:
  16. Replies
    2
    Views
    1,146

    thank you vary much and i will read this BUT can...

    thank you vary much and i will read this BUT can anyone help me a little how to start? what to do first? explain maybe what i must do...please...thanks
  17. Replies
    2
    Views
    1,146

    working with system time

    Hey, after 6 months i come back programming again in C...i now have a lesson "operating systems" and i have a book of tanenbaum(a bit big!!)...So,

    i have an exercise to solve and i need help. I...
  18. Thread: Strange printf

    by brack
    Replies
    4
    Views
    1,000

    yes right! thanks...its another mistake for not...

    yes right! thanks...its another mistake for not sleeping well! lol
  19. Thread: Strange printf

    by brack
    Replies
    4
    Views
    1,000

    Strange printf

    First of all i fixed my mistake by intializinf i, j to zero. BUT, if i do not initialize them to zero the printf function prints '0' and '92'(which according to ascii code is 'a'). Why this?...
  20. Replies
    4
    Views
    1,336

    thanks! i understood the difference...

    thanks! i understood the difference...
  21. Replies
    4
    Views
    1,336

    why the output of malloc is zero

    You can see bellow my code where i try to understand how to use malloc. But, i do not understand something. Why the output of A array is all zero? I thought that calloc does this "trick" and not...
  22. Replies
    21
    Views
    4,467

    what does !c mean?

    it is about homework but i do not understand what !c is... please help...thanks....


    #include <stdio.h>

    int main(){
    int n=10;
    float a=2, p=3, s=5;
    int c=0;
  23. Replies
    4
    Views
    1,604

    thank you all! i will check them out and post if...

    thank you all! i will check them out and post if i got a problem...thanks again...
  24. Thread: graphics in c

    by brack
    Replies
    1
    Views
    1,237

    first of all have you paid for this library? i...

    first of all have you paid for this library? i think i saw somewhere some functions like drawline(). Have you google for it? Basically, i don' t know much and i need too some more information about...
  25. Replies
    4
    Views
    1,604

    i was currently using gdb, but i don' t...

    i was currently using gdb, but i don' t understand how this helps to debug programs...i mean, sometimes i have segmentation fault and all it does is print in the screen Segmentation Fault...which...
Results 1 to 25 of 234
Page 1 of 10 1 2 3 4