5,727 Posted Topics

Member Avatar for missy

The description is quite exhaustive. I suggest you read it and try yourself while waiting for someone to write your code for you so you can in the last 5 minutes before your homework is due slap something together which has a passing chance of coming near to working because …

Member Avatar for Narue
0
145
Member Avatar for N3wbi3C0d3r

If the code contains as many spelling errors as your username I'm not surprised.

Member Avatar for jwenting
0
146
Member Avatar for jcr1

don't start a new thread when dealing with your old problem... [url]http://www.daniweb.com/techtalkforums/thread13701.html[/url] and use code tags and hopefully indentation to make your code somewhat readable. Have you tested what the value of your "enter_operator" actually is after the input? Should it even go into one of your if-statements?

Member Avatar for alc6379
0
463
Member Avatar for ryan_qut

To prevent duplicating the responses you got at cprogramming.com, I advise you to check out your thread there where your questions have been answered in considerable detail. [url]http://cboard.cprogramming.com/showthread.php?t=58702[/url]

Member Avatar for Dani
0
168
Member Avatar for Domainstop

int main() {} should work fine. void main() {} should also be accepted even though it's not good practice. Your initial code is either posted incomplete or is way wrong.

Member Avatar for Tresa
0
178
Member Avatar for fivetoesonefoot

now why did you alert him to the fact that he shouldn't just submit that code as his assigment? Don't we want people who're too lazy to do their own work to get burned?

Member Avatar for Tresa
0
203
Member Avatar for tipsydesign

you can in your javascript (which is triggered on onclick in your case) do a submit of the form by simply calling the submit() function on the form.

Member Avatar for beckerc
0
173
Member Avatar for old lady

In Java you would write .4f to force the floating point literal into a float instead of a double datatype. Don't think C++ works like that.

Member Avatar for jwenting
0
164
Member Avatar for alexis

have you ever taken any course in highschool mathematics (most of the stuff you're asking is primary school math even)? If not start there. If yes practice what they taught you. If you can't see the code in your head, do the calculations on paper and determine an algorithm from …

Member Avatar for jwenting
0
107
Member Avatar for Alfy

If you don't know what debugging is you should look up about that first and start to practice it...

Member Avatar for jwenting
0
172
Member Avatar for Programming sta

We've been through this before. 1) look at the answers you got elsewhere 2) crossposting and repeat posting the same question is not appreciated. 3) we're not here to do your homework for you. If you have specific questions about specific parts of your assignment we may be able to …

Member Avatar for BountyX
0
192
Member Avatar for SelArom

Variable names make a difference in how easy your program is to maintain and how many bugs you'll introduce writing it. They'll also affect the way your colleagues will treat you, whether you'll get a pizza or a one way trip out the 3rd floor window during the next crunch …

Member Avatar for Chainsaw
1
162
Member Avatar for kiki021600

Quite simple. The execution "mycat file2 2>file3" places the error output from "mycat file2" into the file "file3". As file2 doesn't exist this new file will contain the text "file2 doesn't exist". Remember the assignment says to print error output to stderr? What you do with 2>file3 is redirect stderr …

Member Avatar for Narue
0
1K
Member Avatar for Young Teck 06

Visual Studio includes not only VC++ but also C#, J# and Visual BASIC. VBScript is included in MS Office, maybe in Visual Studio as well (it's pretty generic in MS products as a macro language). Depending on the version of VS you purchase it may also include things like Interdev, …

Member Avatar for vegaseat
0
366
Member Avatar for toadie2004

so what have you actually done to read the data? You've declared the file, but that doesn't read the data... Show some initiative first, try it yourself.

Member Avatar for jasweb2002
0
103
Member Avatar for Dounia

Step 1: what do you have? Step 2: what do you want to have? Step 3: how do you get from the data in step 1 to the data in step 2? It's really really simple, you have a set of data and want to transform that into another set …

Member Avatar for Dounia
0
171
Member Avatar for winds

so you've already described the system. Now "all" you need to do is turn that into code. If you have problems with specific areas of that post what you have and maybe someone can help you overcome those problems but please don't think we're going to write your entire program …

Member Avatar for jwenting
0
100
Member Avatar for suma2411

You know what a factorial is I hope? Then you know you need multiplication to calculate it. The simplest program would use a for loop, something like [code] long fact = 1; // request is the number of which the factorial is requested for (int i=1; i<=request; fact *= i++); …

Member Avatar for jwenting
0
78
Member Avatar for JoBe

[quote]Now that is strange, we're being teached this way of programming and you say that it's the old way, can you explain this a bit more [/quote] It's been that way since the introduction of C in the 1970s and only (relatively) recently been replaced (2000 or so) by the …

Member Avatar for JoBe
-2
382
Member Avatar for mellinda

Most tutorials on multithreading in Java use this scenario (or a similar one) as an example.

Member Avatar for jwenting
0
140
Member Avatar for freesoft_2000

I've no experience with Java2D but I know something of JPEG :) JPEG uses lossy compression which can lead to poor results if you get the image compressed too much. Try finding a command to set the compression ratio and select the lowest compression (largest file) it supports. That should …

Member Avatar for jwenting
0
118
Member Avatar for zack_rage

Go to the nearest bookstore selling computer books. If they're halfway decent they'll have a shelf of books related to C including tutorials. Also pick up a copy of the standard work "the C programming language" by Kernighan and Richie

Member Avatar for zack_rage
0
177
Member Avatar for jamievmi2

More correct C++ usage is to omit the .h from the standard includes. Using the #include <x.h> instead of #include <x> turns on C compatibility mode for the module. Depending on your compiler you'll get a warning or not about it.

Member Avatar for jamievmi2
0
334
Member Avatar for camelNotation

For a corporate website intend on bringing customers to the company I'd say any 3rd party advertising should be avoided like the plague. If the site doesn't bring income to the company, maybe it should not exist. It's that simple. I understand that income can be hard to gauge if …

Member Avatar for jwenting
0
133
Member Avatar for skeet123

compiled your code using BCC55 and it does nothing like you claim. what does happen I quote here: [quote] put 1 MAIN: cmd = put, d = 1 put 2 MAIN: cmd = put, d = 2 put 3 MAIN: cmd = put, d = 3 put 4 MAIN: cmd …

Member Avatar for skeet123
0
161
Member Avatar for Maria5683

first: You're not closing your constructor, check your braces! second: count the arguments to String.format(). Your template string takes 3 arguments, you supply only 2.

Member Avatar for jwenting
0
180
Member Avatar for Beau

Borland has several compilers free for download. These include the 5.5 version of their C++ compiler (one of the best around!) as well as a number of old versions of their C++, C and Pascal systems. [url]http://www.borland.com/products/downloads/download_cbuilder.html[/url] (choose "compiler"). [url]http://bdn.borland.com/museum/[/url] free registration required for both. Borland doesn't send anything you …

Member Avatar for jwenting
0
127

The End.