2,867 Posted Topics

Member Avatar for desingingmindTX

Agreed, it sounds like the game is trying to use an unsupported screen resolution, in which case the monitor would go blank or switch off. You should probably check the manual of both your monitor and your game to find out whether your monitor meets the minimum screen resolution requirements …

Member Avatar for junt
0
95
Member Avatar for zawpai

>When I compile it, the system show me this two errors. The first error is because the compiler has no idea what 'beta' is. Look at this section of code: [code=cplusplus] class alpha { private: int data; public: alpha() { data = 3; } friend int frifunc(alpha, beta); // friend …

Member Avatar for zawpai
0
123
Member Avatar for k2k

FreeBSD, like most *nixs, requires a Mail Transfer Agent (MTA) to send external mail. On FreeBSD, sendmail is setup as the default MTA, so you should probably learn how to use that before trying out other MTAs. The FreeBSD handbook covers the configuration of sendmail fairly well: [url]http://www.freebsd.org/doc/en/books/handbook/sendmail.html[/url]

Member Avatar for John A
0
114
Member Avatar for Dark_Knight

>people say the program is the best at arbitrary precision arithmetic It may not be the best, but it's definitely one of the better ones. It's just how [URL="http://en.wikipedia.org/wiki/Floating_point"]floating point precision[/URL] works. You get a larger range, but the precision goes way down. What you're looking for is an exact …

Member Avatar for Dark_Knight
0
125
Member Avatar for FranzM1CZ9

Perhaps try [URL="http://support.microsoft.com/kb/180969"]exporting the mail[/URL] first, then importing it into your mail client of choice.

Member Avatar for John A
0
116
Member Avatar for Dani

Gee Dani, why don't you just rename your css files? :icon_cheesygrin:

Member Avatar for John A
1
279
Member Avatar for iamthwee

>xandors sucks. they made it look like windows, which is retarded. it's ugly and sucks. I'm so sorry you consider an operating system 'sucky' when it doesn't match your definition of 'beautiful'. And unless someone can give a number of valid reasons why Xandros is a lousy operating system, I'm …

Member Avatar for linux
0
123
Member Avatar for Ancient Dragon

[QUOTE=jbennet;609072]zips should be fine. In the past i have uploaded a few megs worth of html/php/css/jpegs in a zip file[/QUOTE] Have you tried uploading a zip file recently?

Member Avatar for sarehu
0
234
Member Avatar for tringler326

More information please. When you start up your computer, is an option to boot Windows listed anywhere in GRUB (the bootloader)? What is the output on the screen?

Member Avatar for vsss
0
147
Member Avatar for Driklyn

You had [code=cplusplus]#include "Window.h"[/code] at the top of Main.h, right? You'll also want sentinels for your header files, so they don't get included twice: Window.h [code]#ifndef WINDOW_H #define WINDOW_H // code goes here #endif[/code] Main.h [code]#ifndef MAIN_H #define MAIN_H // etc #endif[/code] and so on. Aside from that, perhaps elaborating …

Member Avatar for Driklyn
0
96
Member Avatar for pradeepk.prasad

Boot off your Gentoo installation disk. Open a terminal, get root with su, then mount your root partition: [code]mount /dev/sd[COLOR="red"][B]Xn[/B][/COLOR] /mnt/gentoo[/code] Replace 'sdXn' with the device that corresponds to your Linux root partition. If you're unsure about which device is your root partition, try running [icode]fdisk -l[/icode] first. Repeat the …

Member Avatar for John A
0
108
Member Avatar for k2k

You don't need to format your disk prior to installing FreeBSD. The installer allows you to run fdisk, which you can use to repartition your disk. After doing so, the installer will format the partitions you created and will copy the operating system onto them.

Member Avatar for John A
0
135
Member Avatar for Kadence

>I get the following "undefined reference" error You need to link with the libraries too. Simply including header files isn't enough; at the linking stage the linker needs the actual implementations for the functions which were used in the program. Look in the documentation for which libraries you need to …

Member Avatar for Kadence
0
714
Member Avatar for dan_e6

[code]t = current->next;[/code] This is where your problem lies. Since the memory address 't' is purely local (it's just been pushed onto the stack), when the function returns, the linked list pointer in the parent function will keep pointing to the address of the memory that you deleted.

Member Avatar for John A
0
107
Member Avatar for babygirl32822
Re: help

Moved to Windows forums until further details of the system are provided.

Member Avatar for caperjack
0
29
Member Avatar for nu2cpp

Several ways to do it, depending on how you run the program: - If you're using relative paths in your program, they will always be relative to the current working directory. For example, if you always run your executable from the current working directory, you could find the right location …

Member Avatar for John A
0
134
Member Avatar for zawpai

You might want to try running your program from the command line as opposed to your IDE's built in console (I assume that's what you're using right now).

Member Avatar for mitrmkar
0
160
Member Avatar for Onixtender

You'll want to create a structure that is designed like a binary tree. One pointer points to the next row in the matrix, and the other points to the next element in the row. So your structure would look something like: [code=c] struct matrix { int data; struct matrix *next; …

Member Avatar for John A
0
90
Member Avatar for tapas_sarangi

[url]http://httpd.apache.org/docs/2.2/howto/access.html[/url] Your httpd.conf file is located in [icode]/private/etc/apache2[/icode].

Member Avatar for John A
0
67
Member Avatar for Eulerito

It's up to you to figure out what kind of text you're trying to read. All ReadFile() does is grab raw data from a file and put it in a buffer. It doesn't care whether it's binary or ASCII or Unicode or something else, it's just doing what you told …

Member Avatar for Asat232
0
117
Member Avatar for dan_e6

>why would we use a recursive function to check if it's in ascending order? It's just another poor example of teachers trying to get students to use recursion. In most cases the solution to the assignment they hand out would be much better suited to a loop, and the result …

Member Avatar for n1337
0
466
Member Avatar for Nick Evan

It all depends on the size of the browser window that you're using, because if the image can't fit in your browser window, it will automatically be scaled to as large as possible within the current browser window you're using, which can often affect the readability of text in a …

Member Avatar for Ancient Dragon
0
356
Member Avatar for The Dude

>IE already tracks peoples habit by storing URL's to Index.dat file That's not tracking. index.dat is nothing more than a database residing on your hard drive which holds various bits of data, including web history, for Internet Explorer. At no time is that file ever sent back to Microsoft, although …

Member Avatar for thunderstorm98
0
187
Member Avatar for FTProtocol

>a friend of mine said they weren't needed In that case, I wouldn't recommend relying on your friend for teaching you good coding practices. A break statement is always needed in a switch() statement unless you want execution to continue into the next case, or you're already at the last …

Member Avatar for Nick Evan
0
147
Member Avatar for shaddybOi

This should give you a better idea of what a ring buffer is. [url]http://en.wikipedia.org/wiki/Circular_buffer[/url] All that's left to do is for you to implement it. :icon_wink:

Member Avatar for John A
0
118
Member Avatar for zsj

The official download site for the Linux kernel is kernel.org. You can also get kernel source through your package manager, although keep in mind that Red Hat Linux is an old and outdated distro, so you probably won't be able to get an up to date kernel with it. In …

Member Avatar for John A
0
220
Member Avatar for MAD_DOG
Member Avatar for azwiz
0
336
Member Avatar for moshw

[QUOTE=Ancient Dragon;611162]That's rather odd -- c++ classes normally do not teach C functions such as printf(). All the code you posted is C, not C++.[/QUOTE] I don't think that's such a bad idea to teach C first. C in itself is actually a simpler language than C++, and it's the …

Member Avatar for Ancient Dragon
0
676
Member Avatar for Jennifer84

Use the same logic that you would use if you were outputting a 2D array. Nest two loops, and have two separate indices (in this case, iterators), which keep track of your position in the vector. Something like this: [code=cplusplus] std::vector< std::vector<int> > my_vector; // ... std::vector< std::vector<int> >::iterator iter_x; …

Member Avatar for John A
0
96
Member Avatar for Brent.tc

[url=http://www.daniweb.com/forums/post465204-7.html]That's what I thought, too[/url]. But then again, looking in the forum archives, I see that Narue became a moderator because she [URL="http://www.daniweb.com/forums/showthread.php?t=19571"]requested[/URL] the position. I don't think it's a hard-set rule in any case.

Member Avatar for Nick Evan
0
226
Member Avatar for varsha0702

Tell me which language the code is written in, and I'll move it to the appropriate forum. Lounges aren't meant for support questions, and you'll receive better help if it's in the Software Development forums.

Member Avatar for vijayan121
0
163
Member Avatar for virtual_friend

And don't bother posting any code. We all have psychic powers which allow us to see into your mind and your computer and can tell you where your problem lies. In this case, you're dereferencing a null pointer on line 34.

Member Avatar for mitrmkar
0
76
Member Avatar for lese

Apology accepted. Here's a link to the rules you were supposed to read when you signed up (in particular, "Keep It Organized"): [url]http://www.daniweb.com/forums/faq.php?faq=daniweb_policies[/url] >I still, however, require assistance on two articles I am writing. I left one thread: [url]http://www.daniweb.com/forums/thread124412.html[/url] Finally, this thread would be better suited in the Community Feedback …

Member Avatar for lese
2
187
Member Avatar for iepley

I highly doubt that you have a virus on entourage. It's more likely that someone is sending email from their account, with your return address, effectively spoofing. Then you recieve the bounced emails that you never sent. I cannot find any reports of a Entourage virus on OS X.

Member Avatar for ganbree
0
148
Member Avatar for lese

[url]http://www.daniweb.com/forums/thread124412.html[/url] Thread closed.

Member Avatar for John A
0
45
Member Avatar for mattyd

I'm not quite sure I entirely agree with some of the things he said, such as here: [quote=the article]Yes, evolution by descent from a common ancestor is clearly true. If there was any lingering doubt about the evidence from the fossil record, the study of DNA provides the strongest possible …

Member Avatar for ~s.o.s~
3
10K
Member Avatar for Danarchy

If it's the Javascript, a temporary solution would be to disable the client-side scripting enhancements option in your Control Panel here at DaniWeb.

Member Avatar for Danarchy
0
264
Member Avatar for Chaky
Member Avatar for dineshgautam
Member Avatar for John A
0
46
Member Avatar for Clockowl

That's because the memory address contained in the pointer is lost when the function is popped off the stack. In other words, you can modify the value that the pointer points to, but you can't modify the memory address that the pointer holds (well, you can, but the change won't …

Member Avatar for Clockowl
0
102
Member Avatar for dazed&confuzed

[QUOTE=dazed&confuzed;597594].cpp is what you have to save the file as ..... one is the main page and the #include functions.cpp is on a notepad doc. ----- the .cpp is called from a diff file[/QUOTE] Nope, sorry, but it just isn't supposed to work like that. If you're using an IDE, …

Member Avatar for dazed&confuzed
0
111
Member Avatar for tinazmail

I added code tags, but I see it didn't help much. Also, we don't have a category for the Matlab programming language, so instead I've moved it to "legacy and other languages".

Member Avatar for shouvik.d
0
182
Member Avatar for fatasscp

If you don't know how to use an array, I'd seriously question your ability to write a sorting function.

Member Avatar for sacdpathade
0
113
Member Avatar for k2k

>What is that mean? I did login though... But you didn't log in [i]with that shell[/i]. In other words, you're running a shell within a shell, and you must exit those shells first before you can log out. So, type 'exit' to end the csh session, then type 'exit' or …

Member Avatar for k2k
0
565
Member Avatar for xtheendx

Make a class that contains the firstname, lastname, and score. Now overload the '<' operator for it so that returns the object which is 'smaller' in terms of lastname. Finally, run std::sort on the entire vector, which will in turn use your overloaded operator< for your class.

Member Avatar for xtheendx
0
157
Member Avatar for stevenf12801

>It is most likely a spammer forging her email address in the header...... No, it's most likely a hacked hotmail account. When your email password is changed without your knowledge, that's usually a subtle hint that someone else has access to your account. :icon_rolleyes: If you haven't tried already, use …

Member Avatar for The Dude
0
174
Member Avatar for XCaliber

You need to get yourself a compiler. If you get Visual Studio 2008 Express or Dev-C++ (both free downloads), you'll notice a code editor's built in.

Member Avatar for Radical Edward
0
132
Member Avatar for umeshjaviya

A couple of other notes: - [URL="http://users.aber.ac.uk/auj/voidmain.shtml"]void main is evil[/URL]. Don't use it. - You shouldn't have your function prototype inside main(). Move line 13 to somewhere before main()

Member Avatar for Prabakar
0
97
Member Avatar for jimJohnson

[QUOTE=jimJohnson;597603]i know that but having trouble computing that in coding terms[/QUOTE] So if you have [B]4[/B] items, you would need to find items [B]2[/B] and [B]3[/B]. (Hint: 2 is half of 4.)

Member Avatar for VernonDozier
0
140
Member Avatar for D boss

The correct command to list [I]all[/I] your network interfaces (and their states) would be: [code]ifconfig -a[/code] If you're running this as a normal user, you'll probably have to do: [code]/sbin/ifconfig -a[/code]

Member Avatar for linux
0
109

The End.