I use the g++ compiler for linux and i am trying to link allegro. how do i link allegro with g++?

Member Avatar
Member Avatar
+0 forum 43

C-programming, a that would want to help. I have a problem with the reference to a correct return of the key more words. Does the face make my compiler says that identificatore is not defined as the return of the multiple of the place of the connection, the one that returns this the intersections?

Member Avatar
Member Avatar
-1 forum 5

I think happygeek should change his name to happysuit. And dani should be happyhoe.

Member Avatar
Member Avatar
+0 forum 16

For homework I'm apparently supposed to implement some functions defined in [icode] <algorithm> [/icode]. So this is what I have so far: [CODE=c++]template <class I> bool m_equal( I b, I e, I b2 ) { for ( ; b != e && b == b2; b++, b2++ ); return b == b2; } template <class I, class T> I m_find( I b, I e, const T c ) { for ( ; b != e && *b != c; b++ ); return b; } template <class I, class T> void m_copy( I b,I e, I d ) { while ( …

Member Avatar
Member Avatar
+0 forum 2

I normally don't do this but... Happy Thanksgiving.

Member Avatar
Member Avatar
+0 forum 58

Would it be possible to force members to at least click on a predefined list of threads before they post in that respective forum? I think this would really improve the quality of posts and save _ a lot_ of time for mods and such.

Member Avatar
Member Avatar
+0 forum 68

I probably the only one crazy enough to use ratpoison, but has anyone else tried it? Did you like it? Here is why I like/dislike it: pros: Its simple Its fast It maximizes the real estate of your screen it uses the same keybindings as screen it lets me completely ignore the other 50 windows I have open cons: Some applications do not work in ratpoison (gimp) to some people its weird

Member Avatar
Member Avatar
+0 forum 14

Could you add an ignore feature that would ignore all threads and posts created by a specific user?

Member Avatar
Member Avatar
+1 forum 6

These problems are not really recent or anything, but I would just like to bring the problem to your attention. The attached screenshots should say enough.

Member Avatar
Member Avatar
+0 forum 15

just wondering for no particular reason if my linux box has less or more packages and commands then most (I'm guessing less). Heres my results: packages (on arch linux probably not a very good way to determine anything): 238 commands: 1169 as root and 1168 as a normal user. du: 1.536732 gb

Member Avatar
Member Avatar
+0 forum 3

I am just wondering why you can only post attachments with certain extensions? I mean seriously whats the point? What if I want to distribute my .emacs file or my .xmodmap file or my .xinitrc file? What if someone wants to post a tar.gz or a tar.bz2 archive?

Member Avatar
Member Avatar
+0 forum 20

Ok so I made the following script: [code=bash] #!/bin/sh if ! ps -C screen > /dev/null then exec xterm -fg green -bg black -e screen else if ps -C xterm > /dev/null then exec xterm -fg green -bg black -e screen else exec xterm -fg green -bg black -e screen -r fi fi [/code] This script is run whenever I open a terminal. The problem is that on line 11 and error occurs if there are multiple screen sessions unattached screen sessions. Is there anyway to determine the pid of a process?

Member Avatar
+0 forum 0

I can access my website with my external static ip address. Anyone outside my wifi cant access my website. I assume this is a router problem? How do I allow other computers to allow access to my server?

Member Avatar
Member Avatar
+0 forum 7

Any thoughts? Is Novell forgiven?

Member Avatar
+0 forum 0

2 Im am just wondering how to change the frame color of a table. The following solution works but isn't very pretty. My test code is as follows. [code=html] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTNL 4.01//END" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <style> body { background-color: black ; color: white; } </style> <title> test </title> </head> <body> <table border="1" cellpadding="4px" cellspacing="6" width="732px" height="800" style="margin: 0 auto; background-color: blue; color: black"> <tr height="200" style="background-color: white"> <th width="200"><p> content goes here </p></th> <th width="532"><p> content goes here </p></th> </tr> <tr height="600" style="background-color: white"> <th width="200"> <p> content goes here </p> </th> <th width="532"> <p> content goes …

Member Avatar
Member Avatar
+0 forum 2

I use opera on linux and I am noticing a few problems. Randomly the web page will be rendered to the far left of the screen. Here is a screen shot:

Member Avatar
Member Avatar
+0 forum 11

I was just wondering if any one here plays nethack? I do and my highest score is 9600( yes I know I suck)

Member Avatar
Member Avatar
+0 forum 4

Hello, I am doing a homework assignment and need a bit of help. I have to overload the prefix ++, postfix ++ operator, and the = operator for a circle class. Heres the code I have so far: [code] #include<iostream> using namespace std; class Circle { public: Circle(); Circle(int n); Circle( const Circle &rhs); ~Circle(); Circle operator=(const Circle &rhs); Circle operator++(); Circle operator++(int n); int getRadius() const {return *mRadius;} void setRadius(int n) {*mRadius=n;} private: int *mRadius; }; Circle::Circle() { mRadius=new int(5); } Circle::Circle(int n) { mRadius=new int(n); } Circle::Circle(const Circle &rhs) { mRadius=new int; *mRadius=rhs.getRadius(); } Circle Circle::operator++()//some type of …

Member Avatar
Member Avatar
+0 forum 4

The linux and unix threads seem pretty dead. For the sake of centralization, why not combine all linux and unix questions into one category?

Member Avatar
Member Avatar
+0 forum 9

I am just wondering the political orientation of people and why they are that particular orientation.

Member Avatar
Member Avatar
+0 forum 121

Since I want to get into OS development I decided to install and try to use the bochs emulater. I have a sample floppy operating system called c.img. How do I tell bochs to boot from c.img? whenever I start bochs I just get panics and fatal errors.

Member Avatar
Member Avatar
+0 forum 1

daniweb seems sooo slow lately. Whats up? It uses 1/2 of my first cpu and its clocked at a reasonably 2 ghz.

Member Avatar
Member Avatar
+0 forum 13

sorry messed up

Member Avatar
Member Avatar
+0 forum 1

I have VMware and I was wondering if I can virtualize mac os x (or any other mac version) on linux? Has anyone used VMware to virtualize macs? I dont really want to use it, it just needs to look good ;-) NOTE: i mean the intel based macs

Member Avatar
Member Avatar
+0 forum 1

On emacs, the second indent is double the size of the first one! How do you change this? Is this some wacky gnu thing or is it standard?

Member Avatar
Member Avatar
+0 forum 1

I am using debian linux and I cannot seem to get sdl_ttf working. It compiles fine but the program quits due to error checking in the code. It returns false at the ttf_init() part. Do not know if this makes a difference but I got sdl and ttf via apt. Heres my compilation command : [code] g++ lesson07.cpp -o test -lSDL -lSDL_image -lSDL_ttf -lfreetype [/code] heres my code (actually its a tutorials code. I do not claim that I made it or whatever) [code==c++] /*This source code copyrighted by Lazy Foo' Productions (2004-2007) and may not be redestributed without written …

Member Avatar
Member Avatar
+0 forum 14

I have been reading some online that portage does'nt get rid of packages that it is not using while apt does. Is this true? I have tested this out on my debian system but it seems to keep the packages to. Anyway to change this? I guess I have two questions...

Member Avatar
Member Avatar
+0 forum 2

I was wondering if there is any way to map mouse buttons to commands and override the wm's button mapping.

Member Avatar
Member Avatar
+0 forum 2

I currently have two kernels: a 2.6.18-4-686 kernel and a 2.6.18-3-686 kernel. Which is better? The higher the kernel number the better? Is the 2.6.18-4-686 kernel a newer version or something? Thanks in advance.

Member Avatar
Member Avatar
+0 forum 3

I have a debian base install system and am having problems with performance via allegro. I made a pong game and when I ran it on windows it ran fine but on linux it lags soooo much. Whats the problem?

Member Avatar
Member Avatar
+0 forum 1

The End.