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
...
Type: Posts; User: ahmedbatty
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
...
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...
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...
It's C and I'm using Microsoft Visual C++ 2008 Express Edition.
I just made a .dat file while making a program and I kinda forgot how to open it.
Please help.
it works fine but gives an infinite loop in function 'read_from_file'
please help me find it
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>
...
sorry
i did it:
#include<stdio.h>
int main()
{
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>
Thank you!
but, how do input using scanf?
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
thank you so much!
There, I did it somehow.
But I don't understand how the "%+05d" works.
#include<stdio.h>
int main()
{
i have tried numerous times, i have tried many things
it just isn't happening
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!
come on man its a matter of life and death for me
anyway i solved it
i wrote this simpletron code:
#include<stdio.h>
/**/
#define SIZE 100
#define READ 10
here:
#include<stdio.h>
int main()
{
int age;
I have made this simpletron code:
#include<stdio.h>
/*****************/
#define SIZE 100
#define READ 10
sorry dude, im just a beginner
i havent studied any of those functions
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...
ok here is what i did for exercise 1 (whatever i understood):
#include<stdio.h>
int main()
{
char a, b, c, *p, *q, *r;
Come on man i didn't know. I'm new here.
Help me please.
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...