Search:

Type: Posts; User: ahmedbatty

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    3,115

    I changed this: calc.exe: main.o add.o...

    I changed this:



    calc.exe: main.o add.o div.o libsubstatic.a libmultshared.so
    gcc -o calc.exe main.o add.o div.o libsubstatic.a -Wl,-rpath,/home/ahmed/Desktop/labTask3 -lmultshared.so


    ...
  2. Replies
    3
    Views
    3,115

    Am I writing this makefile correctly?

    I am learning how to write C code in Linux and I am learning makefiles at a very beginner level. I am having problems when making shared libraries.
    The exercise is to make a simple function...
  3. Replies
    2
    Views
    1,280

    Graphics in C?

    My Data Structures instructor gave me an assignment to animate a stack using graphics in C.

    He also told me to use <glut.h>.

    What is this header? How to I use it? Do I have to download it...
  4. Replies
    3
    Views
    3,967

    It's C and I'm using Microsoft Visual C++ 2008...

    It's C and I'm using Microsoft Visual C++ 2008 Express Edition.
  5. Replies
    3
    Views
    3,967

    How can I open a .dat file?

    I just made a .dat file while making a program and I kinda forgot how to open it.

    Please help.
  6. it works fine but gives an infinite loop in...

    it works fine but gives an infinite loop in function 'read_from_file'

    please help me find it
  7. There is something wromg with my code, I can't find the error.

    Hello,

    There is something wrong with my code, I can't seem to find my error. The program works just fine, there is something wrong in the function 'read_from_file'



    #include<stdio.h>
    ...
  8. Replies
    3
    Views
    8,159

    sorry i did it: #include ...

    sorry

    i did it:



    #include<stdio.h>

    int main()
    {
  9. Replies
    3
    Views
    8,159

    How can I print a string backwards?

    Hello,

    I have declared and input a string in a array.
    How can I print this "string" backwards?

    Here is my code:



    #include<stdio.h>
  10. Replies
    6
    Views
    5,432

    Thank you!

    Thank you!
  11. Replies
    6
    Views
    5,432

    but, how do input using scanf?

    but, how do input using scanf?
  12. Replies
    6
    Views
    5,432

    Inputing Multiple Strings in "One" Array

    Hello,
    I was wondering if I can input multiple strings in "One" array.
    Can it be done? Or not?
    If yes, then how?

    Please tell me.
    Regards
  13. Replies
    7
    Views
    1,239

    thank you so much!

    thank you so much!
  14. Replies
    7
    Views
    1,239

    There, I did it somehow. But I don't understand...

    There, I did it somehow.
    But I don't understand how the "%+05d" works.



    #include<stdio.h>


    int main()
    {
  15. Replies
    7
    Views
    1,239

    i have tried numerous times, i have tried many...

    i have tried numerous times, i have tried many things
    it just isn't happening
  16. Replies
    7
    Views
    1,239

    Printing a line of numbers in form: +0000

    Hello,
    I want to print a line like this using a printf statement:



    +0000 +0000 +0000 +0000


    How can I do this using a for statement?
    Please Help!
  17. Replies
    3
    Views
    2,508

    come on man its a matter of life and death for me...

    come on man its a matter of life and death for me

    anyway i solved it
  18. Replies
    3
    Views
    2,508

    Simpletron help!

    i wrote this simpletron code:



    #include<stdio.h>


    /**/
    #define SIZE 100
    #define READ 10
  19. here: #include int main() {...

    here:



    #include<stdio.h>

    int main()
    {
    int age;
  20. Replies
    1
    Views
    2,058

    Simpletron problem!

    I have made this simpletron code:



    #include<stdio.h>


    /*****************/
    #define SIZE 100
    #define READ 10
  21. sorry dude, im just a beginner i havent studied...

    sorry dude, im just a beginner
    i havent studied any of those functions
  22. How not to print duplicate numbers in an array?

    Question is:
    Use a single-subscripted array to solve the following:
    Read in 20 numbers, each which is between 10 and 100. As each number is read, print it only if it's not a duplicate of a number...
  23. ok here is what i did for exercise 1 (whatever i...

    ok here is what i did for exercise 1 (whatever i understood):



    #include<stdio.h>


    int main()
    {
    char a, b, c, *p, *q, *r;
  24. Come on man i didn't know. I'm new here. Help me...

    Come on man i didn't know. I'm new here.
    Help me please.
  25. I can't understand these questions. Please explain me.

    Hello,
    The questions are:

    http://i1112.photobucket.com/albums/k500/ahmedbatty/Untitled-1.jpg

    http://i1112.photobucket.com/albums/k500/ahmedbatty/Untitled2.jpg


    I can't understand these...
Results 1 to 25 of 27
Page 1 of 2 1 2