im useing dev-c++ 5 beta 7
i want to make my own libraries
im new to prgraming and i experamented a little with no luck what so ever if any one could point in the right direction
that would be great
im useing dev-c++ 5 beta 7
i want to make my own libraries
im new to prgraming and i experamented a little with no luck what so ever if any one could point in the right direction
that would be great
try and write a simple code like helloworld:
#include <iostream>
int main()
{
cout<<"HelloWorld";
return 0
}
and keep messing around with your compiler. if you would like, start readin some c++ tutorial it might help you out of what you looking for.
http://www.cprogramming.com/tutorial.html
Snoop
Static Link Libraries or Dynamic Link Libraries (.lib or .dll)Originally posted by oldmancan
im useing dev-c++ 5 beta 7
i want to make my own libraries
im new to prgraming and i experamented a little with no luck what so ever if any one could point in the right direction
that would be great
A Static Link Library is even easier than making an executable because there is not even a link phase. Just go to file, new project, static library, and then put whatever you want in there.
after i put somthing simple in the lib how would i use the code inside another project
#include the same headers and add the library in Project Options (Add Library or Object). You'll select the .a file (.lib is just a different extension).
thanks a lot
i got a simple
Code:void add(int a, int b)Code:{Code:return a + b;to work now i'll try to do somthing usefullCode:}
with this