Search:

Type: Posts; User: acho.arnold

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    774

    We would be waiting for your code

    We would be waiting for your code
  2. Replies
    2
    Views
    768

    Thanks man! It seems I have to do more reading...

    Thanks man!
    It seems I have to do more reading on execvlp
  3. Replies
    2
    Views
    768

    Signal handling

    Please I am trying to create a program that would execute a foreground process.

    I have this code for the foreground process


    #include <stdio.h>
    #include <signal.h>


    int main()
  4. Replies
    7
    Views
    1,159

    Thanks guys that rely helped

    Thanks guys that rely helped
  5. Replies
    7
    Views
    1,159

    Yes but the problem is that it prints characters...

    Yes but the problem is that it prints characters with decimal value 65 till it reaches 128 then it goes immediately to -128 i dont know why it has this trend
  6. Replies
    7
    Views
    1,159

    Unexpected output with char

    I tried running the code below and i got an unexpected output


    #include<stdio.h>
    void main()
    {
    char a='A';
    while(a)
    {
    printf("%d\n",a );
  7. Replies
    10
    Views
    4,739

    #include int main(int argc, const...

    #include <stdio.h>


    int main(int argc, const char * argv[])
    {


    int i;

    for (i = 99; i > 0; i--)//This will count from 99 decrementally till it reaches 1
  8. Replies
    3
    Views
    928

    Compile c programs with Eclipse CDt

    Please i just installed eclipse cdt for linux but i dont know how to compile programs on this IDE please any help will be appreciated
  9. I dont see where the function void...

    I dont see where the function


    void New_Staff() //Add New Staff Profile
    {
    int x;
    struct element profile;

    ...
  10. Replies
    9
    Views
    946

    Okey first of all its good programming practice...

    Okey first of all its good programming practice to indent the code it makes it easy to read and in this case debug
    considar the indentd version of the above code below


    #include <stdio.h>...
  11. If you want a function to be declared after the...

    If you want a function to be declared after the main function, be sure to include the fuction prototype before any call of the function
    also
    the fuction bmiCalc has no return type but you asigned...
  12. Replies
    9
    Views
    946

    did you read the previous link provided by salem?...

    did you read the previous link provided by salem? FAQ > Accessing command line parameters/arguments - Cprogramming.com
    Assuming you did which OS and compiler or IDE are you using for your C...
  13. Replies
    9
    Views
    10,940

    you have a mistake in line 21 ...

    you have a mistake in line 21


    values[5]=+randValue;

    The array named value can only be indexed from 0 t0 4 since it was declared as


    int values[5]
  14. Replies
    9
    Views
    946

    Where is the code?

    Where is the code?
  15. Replies
    3
    Views
    1,295

    Please can you provide me any link to where i can...

    Please can you provide me any link to where i can learn about this dark corners?
  16. Replies
    3
    Views
    1,295

    How Obfusicated code works

    This code prints the map of India. How does it work?


    #include <stdio.h>
    main()
    {
    int a,b,c;
    int count = 1;
    for (b=c=10;a="- FIGURE?, UMKC,XYZHello Folks,\
    TFy!QJu ROo...
  17. Replies
    2
    Views
    725

    Try this C Linked List Data Structure Explained...

    Try this C Linked List Data Structure Explained with an Example C Program cuz it works for me!

    And next time please try googling for the such materials because what works for me may not work for...
  18. How to declare two dimensional array using a pointer to a pointer

    This is a sample program that declares a Matrix as a structure with an array as a pointer
    to a pointer.
    The following program is supposed to store a matrix in the structure "_Matrix"
    and later...
  19. Replies
    16
    Views
    20,722

    Program to convert from decimal to fraction

    Please does anybody know an algorithm which can be used to convert a decimal to a fraction especially irrational fractions thanks. That is a programm that can convert to 0.333333333333333333333 to...
  20. I realy dont understand what this are. are they...

    I realy dont understand what this are. are they programming languages? also, Cant it be done in C?
  21. How to optimize a program for multiple processsing

    Good day,
    I will like to write a program that can run parallel on multiple prcessors for example a program that can look for the can multiply two numbers for example while dividing some other...
  22. Replies
    9
    Views
    2,083

    Does it rely mean that there is no standard...

    Does it rely mean that there is no standard definition of the rand() Function?
  23. Replies
    9
    Views
    2,083

    I know how to use the random function i just...

    I know how to use the random function i just wanted to know how the numbers are been Generated
  24. Replies
    9
    Views
    2,083

    Rand() Function

    Hey please i wish to know how the
    //rand() and srand()Functions are declared I use linux and the GCC compiler.I tried checking for the fuction in stdlib.h but i saw only the prototype i am looking...
  25. Replies
    6
    Views
    1,373

    Thanks for the help

    Thanks for the help
Results 1 to 25 of 65
Page 1 of 3 1 2 3