5,331 Posted Topics

Member Avatar for Advaith_1

After the cout (and add an `<< endl` to the line), you need to pause the problem. Usually this is done by taking some input, such as a line like `char avar; cin >> avar;`. That should keep the window open until you hit the Enter key.

Member Avatar for svn74
0
271
Member Avatar for asic_designer

So, your 33 lines of C code generates 383 lines of assembler. And you expect us (most of us have day jobs) to analyze it? You set both ax and ay to the same value, and then call the atan2f() function with both variables. If atan2f() is a system library …

Member Avatar for asic_designer
0
394
Member Avatar for Nak Machine

1. We don't do your homework for you (this is a repeat from my post on your other thread). 2. Show your work. If you don't make an effort, we can't help.

Member Avatar for rubberman
0
114
Member Avatar for Nak Machine

1. We don't do your homework for you. 2. Why Turbo-C? It is so out-of-date that it probably won't work on most modern machines.

Member Avatar for rubberman
0
71
Member Avatar for edensigauke

Why do you think SDL is dependent upon Code::Blocks? It is a development library with standard headers. Have you been to the SDL web site? Here is a link: http://libsdl.org/

Member Avatar for rubberman
0
155
Member Avatar for AmrMohammed

Really, the only significance between "pure" Java and Android is the virtual machine that runs the byte code the respective compilers generate. For Android, that is called Dalvik. Its compiler generates different byte-code than that of native Java, and so requires a different virtual machine to interpret it. The source …

Member Avatar for JamesCherrill
0
162
Member Avatar for Winston_1

It's a start at least. Take the input. Print it out to verify what you got. This may be what the teacher of the class wants at this point. So Winston, do you have a problem here?

Member Avatar for rubberman
0
296
Member Avatar for Siberian

What virtual machine manager are you using? What is the host operating system? Did you verify the ISO or DVD that you used to install Vista - the disc checksum (usually an md5 or sha256 checksum)?

Member Avatar for Siberian
0
299
Member Avatar for fedodedo12345

What ddanbe said. Start with the math. Then code. Then when you have some problems with the code, post it here and we may be able to help you sort it out.

Member Avatar for rubberman
0
196
Member Avatar for MustafaScript

Python is a run-time compiled scripting language. C++ is a compiled machine-level language. With python, you can edit your source code and run/test it immediately. With C++, you have to compile and re-link your application after editing the source code. A lot of people like python, and it is used …

Member Avatar for rubberman
0
204
Member Avatar for AJay272

And what happens when you press the "any key"? Is this a new problem with the system? Was it working ok before this started? Have you tried booting into the recovery partition and running the recovery tools? In any case, it sounds like you have a disc or disc controller …

Member Avatar for rubberman
0
89
Member Avatar for safaklx

This is a case where you need to incorporate multiple threads - one to handle the character, and another to play the music. In a single thread, only one activity can go on at a time.

Member Avatar for safaklx
0
118
Member Avatar for jhaiyz

What do YOU mean by "an updateable program"? Any program you have the source code for can be updated. So, please clarify what you want to accomplish.

Member Avatar for jhaiyz
0
109
Member Avatar for markdean1989

And that is just the start! :-) Remember, PHP is an object-oriented language. If you approach it that way (C++ for web sites), then you will do well. If not, then I have a gazillion examples of failed PHP projects that forgot that maxim!

Member Avatar for pixelsoul
0
132
Member Avatar for ZER09

Assuming that your modem provides a real ethernet connection/port, then it should be capable of use by any of the ports on your router. So, if the WAN port is bad, you would see the behavior you did. Assuming that when you restarted the laptop and that the modem was …

Member Avatar for ZER09
0
252
Member Avatar for anumash

These are "abstract" types that express certain types that are compatible with the architecture of the CPU you are running on. For example, size_t is the size of an unsigned integer, a 64-bit value on 64-bit systems, and a 32-bit value on 32-bit systems. An ssize_t is a signed value, …

Member Avatar for mike_2000_17
0
254
Member Avatar for rudolph.skinny

No. We don't do your homework for you. You do the work, post your code with errors when you are stuck. Then we may help.

Member Avatar for rubberman
0
67
Member Avatar for DeanMSands3

dd is a great tool, but as with all great tools, its proper use requires great responsibility! All the other posts are right on - Rev. Jim, Gerbil, and Mike2k. I use dd to create bit-image backups of my system on a regular basis, and only use it to copy …

Member Avatar for rubberman
0
239
Member Avatar for wilmer52
Member Avatar for muhammad_74

Agree 98% with Mike2K, except the 2% that is the fact that EXT4 is a journalled file system. :-) Minor point, but agree - btrfs is still too new to rely upon for a reliable system. Ext3 and ext4 are both based upon the old ext2 file system, but with …

Member Avatar for muhammad_74
0
372
Member Avatar for Abners

iOS and OSX only run on Apple hardware. You will have to replace your laptop. Another solution is to install Linux on the laptop if you cannot afford the new hardware gear.

Member Avatar for techtrendsit
0
322
Member Avatar for aundriaah

What tinstaafl said. Look at the function definition on line 43: `int SingleGame(char file_letter);` You want to remove the semicolon as that makes the compiler pretty much ignore the rest of the code.

Member Avatar for rubberman
0
302
Member Avatar for rushi_1
Member Avatar for coroneshotel2
Re: Hi

You can use your virtual machine(s) to access external systems without difficulty. I do this frequently. I do like VirtualBox as a virtual machine manager since it allows me to make snapshots of a VM so that if it gets a virus or some such it won't infect the host …

Member Avatar for rubberman
0
97
Member Avatar for muhammad_74

To remember: if you install Windows after Linux, you will have to reinstall the Grub bootloader and reconfigure it to know about both your Linux and Windows installation. Windows seems to think that it "owns" your system... :-(

Member Avatar for muhammad_74
0
208
Member Avatar for Sarkurd

Good explanation Moschops. Now on to nit-picking and some common new C++ programmer errors. 1. Always initialize member variables that do not have default constructors, such as pointers. See code below. 2. DO NOT use NULL for null pointers in C++. Always use 0 (as shown below). NULL is usually …

Member Avatar for Sarkurd
0
294
Member Avatar for LATCH808

Why don't you just use qsort() to do this? It is a standard C function that works fine with scalar arrays like this in C++. I use it all the time, if needed. It is fast, proven, efficient (if the array is not already sorted).

Member Avatar for richieking
0
141
Member Avatar for syedarslanrizvi_1

1. You have to process the incoming data, such as verifying that it is legal for your program's needs/design. 2. You are responsible to format the data so that it can be reasonably displayed on the terminal. 3. This assumes a cursor-addressed terminal/display. You can use curses/ncurses libraries, or similar …

Member Avatar for syedarslanrizvi_1
0
235
Member Avatar for Azii

I'm not sure it is possible to call shell scripts from PL/SQL. You can call embedded java code which in turn can call a shell script. I had to do that in the past to solve this problem. Here is a link that may help: http://stackoverflow.com/questions/4068816/how-to-call-a-shell-script-from-plsql-program

Member Avatar for Azii
0
1K
Member Avatar for Alxprog

This is a compiler, not a linker error. You are not including the header that has declared Swprintf.

Member Avatar for Alxprog
0
680
Member Avatar for phexee

To make a long story short, we don't do your homework for you! Make an honest effort, show us your code, show use where you are getting errors or unexpected results, and then we may decide to help you.

Member Avatar for Moschops
0
132
Member Avatar for franceee

How do they differ? When you login with RDP / terminal services, you are getting logged into the session that your ID did last time. If they didn't log out, then you get the open windows and configurations active when they left. If you log out, then they get reset …

Member Avatar for rubberman
0
289
Member Avatar for Munmun_1

And what? What is the problem? What is the error? ??? You are NOT providing enough information to help you in any tangible way... :-(

Member Avatar for rubberman
0
50
Member Avatar for muhammad_74

With appropriate driver support, the 946GX does support OpenGL 2.0, which should have the shader support you need. Go to the Intel web site support page for these GPUs and see what they say.

Member Avatar for rubberman
0
335
Member Avatar for priyanka_10

Static methods are NOT instance methods! An instance method will operate on instance variables typically, and require an instance to run. A class static method is like a global function, but associated more closely with a class, especially if the class has static member variables.

Member Avatar for newcoder310
0
166
Member Avatar for faridoon.jan.7
Member Avatar for Builder_1
0
121
Member Avatar for ochieng denis

If he meant a Mac PC (Apple), then the BT driver should be part of the basic OS and you should only need to pair the external device with the system. Most devices have a setting (such as holding down the power-on button until the light alternates between red and …

Member Avatar for Reverend Jim
0
163
Member Avatar for muhammad_74

According to Intel it does. http://www.intel.com/p/en_US/support/highlights/graphics/intel946gz shows that is supports OpenGL, and another article indicates that as of Vista, Intel had OpenGL 2.0 drivers for the chip set.

Member Avatar for muhammad_74
0
336
Member Avatar for zdneth

If this is a full-size sd card then it has a read-only slide that sometimes gets moved into the read-only from read-write position. If this is the case, that would explain your situation. If you are using a micro SD card and you use a full-size SD carrier, then the …

Member Avatar for zdneth
0
214
Member Avatar for happygeek

As some wag once observed, "There are lies, damned lies, and then there are statistics!". One could make the case that most people think breathing is bad for your health, assuming you leave off (or minimize) the fact that the study was what people think about breathing truck exhaust fumes...

Member Avatar for NicholaPhillip
0
696
Member Avatar for AmritaHasan11

Why specifically MSI? There are other motherboards that support the AMD FX series processors. Try some Google searches.

Member Avatar for muhammad_74
0
152
Member Avatar for elisabeth.foss.75

Does the original Mac mouse work ok? What about the Magic Mouse? If the Mac mouse works, then it is likely not a computer problem, but a faulty mouse. If it also behaves erratically, then it is likely there is a problem with the USB or wireless controller in the …

Member Avatar for rubberman
0
150
Member Avatar for inhomealone87

What Rik said is pretty correct, though it may be a bad solder joint in the power or battery connector. Unless you are a capable electronics technician, take it or send it in for repair by qualified people.

Member Avatar for rubberman
0
1K
Member Avatar for humorousone

Boot a live linux CD/DVD/USB drive and you can reformat/erase the device without any problem. To erase the drive completely, use the command (assume the SD card is /dev/sdb) "dd if=/dev/zero of=/dev/sdb bs=1M". That will happily zero out the entire device, in 1MB increments. Of course, it is easier to …

Member Avatar for rubberman
0
230
Member Avatar for Foday_1

Sorry. We don't do your homework for you. Make an effort and we can help you debug your work. Do read this site's terms of service (TOS) in regard to this issue.

Member Avatar for HiHe
-1
244
Member Avatar for Farrukh saleem

Linux is NOT Unix, though they share a lot of design features, and support many of the same tools and application sets, though each application needs to be built for Unix or Linux separately. Unix was developed by Brian Kernighan, Dennis Ritchie, and Ken Ken Thompson at AT&T Bell Labs …

Member Avatar for ShouldAt3
0
355
Member Avatar for tony75

You need to install the GNU compiler suite for your system. That will include gcc, g++, and such. You may also need to install make and cmake.

Member Avatar for tony75
0
385
Member Avatar for progressing

A PDF form should not require writer to input the signature and fill out the form. The standard Acrobat viewer should work just fine for that, and it is available for most all Linux systems.

Member Avatar for rubberman
0
152
Member Avatar for saharfatima

This is just the machine playing with itself. What about real user input? This is a situation where a proper description of the flow of the game is required. Pseudo code is ok, or just text descriptions of how the game should flow, and how user input is interpreted to …

Member Avatar for saharfatima
0
177
Member Avatar for mucaa

Not enough information. Does this happen when you boot? After leaving computer alone for some time? What?

Member Avatar for gerbil
0
105

The End.