5,331 Posted Topics

Member Avatar for crankyslap

It was probably installed somewhere else, and the old version is found first in your PATH environment.

Member Avatar for rubberman
0
93
Member Avatar for nicolemarie

It requires an argument that is an object of type Picture. You are calling the method without any arguments, and while the class writer could have included a version of the method that takes no arguments, they did not. As a result, the compiler is telling you that you are …

Member Avatar for stultuske
0
788
Member Avatar for nee_88

Some compilers will co-locate string literals that are "equal" at the same address. However, this is not required, and a lot of compilers do not do that. So, the comparison that you are doing is comparing two pointers (addresses) that are not necessarily equal, and are not in your situation, …

Member Avatar for rubberman
0
105
Member Avatar for hay123

It is difficult to read this. Consulting the site's guidelines on how to post source code. Here is an example: ~~~ // This is a comment // Here is some code for (int i = 0; i < 1024; i++) { if ((i % 100) == 0) { cout << …

Member Avatar for histrungalot
0
260
Member Avatar for usustarr

Actually, your code should be: while (file.good() && !file.eof()) { char buffer[MAX_LINE_SIZE + 1]; file.getline(buffer, MAX_LINE_SIZE); } The signature for getline is this: istream& getline (char* s, streamsize n ); There may be other issues, but this stood out.

Member Avatar for rubberman
0
172
Member Avatar for Clipper99

This is why I run Linux on all of my systems, and only run Windows in a virtual machine. I install all the Windows cruft that I want, and then take a snapshot of the virtual system. If I get a virus, I just restore to the snapshot - bingo, …

Member Avatar for rubberman
0
292
Member Avatar for degarb

You need to restore the Windows boot loader, which you can do if you boot from the installation disc and go to the repair/recovery mode. Then, you run the commands from a cmd.exe command line "fixmbr" and/or "fixboot". Here is a link to an Ubuntu How-To posting about how to …

Member Avatar for rubberman
0
131
Member Avatar for PANIRTAK

The onboard flash memory battery has probably died. Can you boot into the BIOS? If not, then you need to replace the battery (a silver-dollar looking thing in a carrier on the motherboard), determine which are the reset jumpers on the motherboard and short across them (the instructions should be …

Member Avatar for FastEd120
0
103
Member Avatar for razamughal67

If it is physically write-protected, then you are SOL. If it is software write-protected, then you should be able to disable the write-protect settings.

Member Avatar for razamughal67
0
253
Member Avatar for compsci91

See the C function getopt(). Alternatively, iterate over the argv[] array passed on the command line to main(int argc, const char* argv[]). If you don't know about this stuff, you have some studying to do before you try to solve this assignment.

Member Avatar for nullptr
0
206
Member Avatar for mehnihma

It depends upon the operating system that this device is running. If it is running OpenWrt, then this may help: http://wiki.openwrt.org/doc/recipes/3gdongle?s[]=3g&s[]=usb&s[]=dongle

Member Avatar for mehnihma
0
124
Member Avatar for ashboi

FWIW, the XOR operator is ^ as in (0xCAFEFACE ^ 0xECAFEFAC). The | symbol is the OR operator.

Member Avatar for rubberman
0
116
Member Avatar for Labdabeta

What gusano79 said. A header guard is something like this: #ifndef MAIN_H #define MAIN_H // Contents of file below. . . #endif /* MAIN_H */ This will keep the header contents from being processed more than once, even if included in more that one other header file that you are …

Member Avatar for Labdabeta
0
108
Member Avatar for RonKevin

Gaming-oriented computers tend to have high-end processors, video chip sets, and lots of memory. These are good things if you want a high-end development system. This is kind of what my company provides its software engineers for their laptops, a system with: 1. An Intel i7 dual core 3.2GHz hyperthreaded …

Member Avatar for arezz09
0
131
Member Avatar for Chuckleluck

I look at PhP as a scripted version of C++. My advice (just off the top of my head) is to code it entirely in PhP.

Member Avatar for cereal
0
225
Member Avatar for MSheraz
Member Avatar for JamesCherrill
0
200
Member Avatar for rajaag

Web application server such as Tomcat, javascript and/or php for the application, which can easily access the MySql database. Do some google searching - there are a lot of open source applications out there that do similar stuff which you can investigate for code and ideas.

Member Avatar for rubberman
0
126
Member Avatar for BDove

The original INT 13h was for a real-mode system. Once the operating system has booted into the OS these days, unless you are running MS-DOS/FreeDOS, et al, you will be running in protected mode. You need to check your OS documentation to see if INT 13h will still work for …

Member Avatar for BDove
0
267
Member Avatar for Ritesh_4

When you installed the system, you were able to tell it to sync to the hardware clock, which in the case of a virtual machine, would be the host clock. You can still do that via the System->Preferences menu.

Member Avatar for Ritesh_4
0
174
Member Avatar for Sadun89

If you use the standard BIOS and boot loader, then you are limited to 4 primary partitions, just like other operating systems. If your system supports EFI/UEFI then you can use a more modern boot loader with much expanded partitioning options. However, even with a standard PC BIOS, Linux can …

Member Avatar for Sadun89
0
238
Member Avatar for coder_10

The large buffer is causing you to crash because it is being allocated on the stack and you don't have enough stack space. If this is Linux/Unix you can fix that with the system ulimit command, unless the sysadmin has restricted you in some way. In any case, this is …

Member Avatar for coder_10
0
2K
Member Avatar for driven81

Why not install and use Linux? You can boot a Linux live cd/dvd drive, mount your Windows file system, copy your data files to a thumb drive, and then install Linux - it will happily reformat your drive, removing all trace of your virus, and you can use OpenOffice or …

Member Avatar for driven81
0
88
Member Avatar for WDrago

Netbeans is just pure java code. It is neither 32-bit nor 64-bit. The jdk executables that you installed are 64-bit, so your java programs can access more RAM and such. I use 64-bit Java daily in my position as senior systems engineer for a tier-one mobile phone manufacturer, both on …

Member Avatar for rubberman
0
187
Member Avatar for TheFearful

So, your c++ code needs to open and read the XML file, and then prints out the points in the specified format. To do this, you need to either write your own parser, or you need to use a standard XML parser that can read the file and put the …

Member Avatar for rubberman
0
173
Member Avatar for mjdodd

When this happens with Linux, one generally boots with a recovery or live cd/dvd/usb drive and then run fsck on the partition that is bad. That will fix the file system. If the boot sector has gone bad, you can restore that with the fdisk program on the live/recovery system.

Member Avatar for rubberman
0
325
Member Avatar for Tygawr

How you do it depends upon whether you just need serial input/output, or if you need some random access to the data. If you need random access to the data, then as Ancient Dragon said, you need support for files >4GB (maximum a 32-bit offset can handle. Current Linux systems …

Member Avatar for BobS0327
0
235
Member Avatar for vampke

By "new setup" I presume you mean you have a new router? If so, what is the router/gateway address, and what is the NAS address? You may need ot change the NAS address if it is static.

Member Avatar for vampke
0
2K
Member Avatar for CCBB

Re. cscgal: amen to that! Poster has to make the first effort to solve the problem. Then we may decide to help out... :-)

Member Avatar for CCBB
0
136
Member Avatar for lookinforhelp

A fall like that can easily flex the circuit board(s), causing a break in a circuit trace. You need to take this to a competent hardware diagnostic center. It may be fixable, but it may not be. In any case, take the system drive out, plug it into a docking …

Member Avatar for lookinforhelp
0
160
Member Avatar for ret801

How are you determining this amount of RAM? Post the output of the "free" command here.

Member Avatar for rubberman
0
167
Member Avatar for raju1234

Have you tried using the sudo command, as in "sudo su"? If it asks for your password, input your user password.

Member Avatar for LaxLoafer
0
129
Member Avatar for raju1234

If you don't have root access, an administrator's account, and are not in the sudoers list (/etc/sudoers) then you are not out of luck, but you are going to need to do several things to get access to the other 130GB of disc space. To do that you will need …

Member Avatar for mike_2000_17
0
281
Member Avatar for raju1234

What does a locked grub boot loader have to do with using the terminal? If you boot from a live CD/DVD/USB drive and login, you will get a GUI desktop. From that, the terminal program should be available either as an icon on the top menu bar, or as a …

Member Avatar for mike_2000_17
0
126
Member Avatar for psarode55
Member Avatar for raju1234

Normally, a Linux system will automount a usb drive when it is detected, although settings in /etc/fstab can override that. Post the contects of /etc/fstab here.

Member Avatar for rubberman
0
63
Member Avatar for tgibson2011

How is the KVM switch connected to the computers - via PS/2 keyboard/mouse ports, or USB? Also, given that this problem affects all of the PCs attached to the KVM switch makes me think that the problem is related to the switch; however, have you tried a different keyboard?

Member Avatar for rubberman
0
223
Member Avatar for capton

I suppose that if you want to call a different version of a constructor inside another of the same class, that you could, although it is HIGHLY ill-advised! So you could do something like this, I suppose (danger Will Robinson!): [code] class ClassX { private: int knit; int perl; public: …

Member Avatar for capton
0
2K
Member Avatar for murnesty

You pointed the pointer (sic) to an external variable, which won't go out of scope until the translation unit (source file) terminates. The variable itself will terminate when the function is finished, but the external variable glb1 will retain the value you set inside the call fnCall2().

Member Avatar for rubberman
0
133
Member Avatar for kww228

So, you would like us to solve your homework for you? Do we get your degree when you are finished with school? Make an effort to solve this on your own first, and then we might think about helping you!

Member Avatar for legendman3
0
179
Member Avatar for helpsie
Member Avatar for zhouy

So, WinXP works, Win7 does not, correct? If so, then check your network settings for TCP/IP to make sure you are getting a proper DHCP address from the school's network infrastructure, or has a valid static IP address. Look at the XP network settings that work, and make sure your …

Member Avatar for rubberman
0
243
Member Avatar for mayuraro

Physical address == MAC address - hardwired into the NIC (network card). If you mean your IP address, then either you are not getting a DHCP address from your router/DHCP-server, or if you are using a static IP address, then your network configuration is FUBAR. Is this a Windows system, …

Member Avatar for rubberman
0
134
Member Avatar for kivri

We have a similar setup at my place of work. Sometimes, network access points and/or routers have problems. We had such a situation today at work, very similar to what you are experiencing. So, contact the university IT help desk (you have a contact for them, right?) and let them …

Member Avatar for rubberman
0
107
Member Avatar for medsarge84

Please describe your problems. Just saying that "it is having serious trouble..." is not particularly revealing.

Member Avatar for rubberman
0
106
Member Avatar for dee101g

Are you sure this is not a checksum? Have you ever worked with magnetic strip readers before? I have, and usually there is a checksum appended to the data stream, unless you have configured the hardware to leave it off. In any case, the reader should still validate the checksum, …

Member Avatar for rubberman
0
126
Member Avatar for KickAssElmo
Member Avatar for rubberman
0
210
Member Avatar for shean1488

I usually use the "less" command, which will let me look at the file, and optionally edit it if I want.

Member Avatar for rubberman
0
115
Member Avatar for basketmen

Check out the inotify system services. They let you be notified when a file/directory has been changed. See the inotify man page: man inotify

Member Avatar for rubberman
0
110
Member Avatar for shawnv100

A steady 5v or 0v signal is not a standard RS-232 signal. First, you need a specialized driver capable of detecting that the voltage change is valid and not just a transient glitch (not uncommon), and then passing the appropriate information to the user-space application (java in this case). Honestly, …

Member Avatar for shawnv100
0
267
Member Avatar for Ancient Dragon

Well, JMHO in that the new "standard" is fine, but you should still support the old bbcode blocks.

Member Avatar for Dani
0
320

The End.