5,331 Posted Topics

Member Avatar for bernardine

You need to implement the order() function (and others) outside of main(). Java let's you implement functions inside others, but not in C or C++. Also, please don't ask us to analyize 400+ lines of code. That is just disrepectful of our time and efforts.

Member Avatar for helmi_1
0
188
Member Avatar for Ant695

Each case statement needs a 'break;' command at the end, otherwise it will fall through to the next, resulting in your experienced output. Also, I would suggest that you to a case-conversion for weight in the switch() statement so you don't need stuff like `case 'S': case 's':` constructs.

Member Avatar for JamesCherrill
0
187
Member Avatar for ggeoff

The size seen is the file system size, which was set to 250GB originally as that was the size of the smaller drive. You need to go into the disc manager tool and expand the file system. On linux you would do this with the command resize2fs for ext2/3/4 file …

Member Avatar for ggeoff
0
343
Member Avatar for gereline

From your post I assume you mean that your printer has a usb or SD card port? This is a matter of software. The Lexmark applications and drivers should provide you the means to do this. That is about as much help as I, personally, can provide.

Member Avatar for rubberman
0
96
Member Avatar for enterdani

We aren't your code slaves. You code it, post it here, and then we critique it or help you fix errors and/or problems.

Member Avatar for enterdani
0
336
Member Avatar for tnd2491

You need to learn how to parse text data. 1. Get field up to delimiter 2. Go to #1 until you reach the end of the line. Each field goes into a variable. Once you have reached the end of the line, you can store that data as appropriate for …

Member Avatar for vijayan121
0
182
Member Avatar for Francelino
Member Avatar for gahhon

Never having used BlueJ I cannot answer #3. As for #1, if two objects of the same class have the same state, then at that time, they are identical, in that A == B. That said, you can change the state of one, and then they will no longer be …

Member Avatar for gahhon
0
206
Member Avatar for St John

Please don't ask us to do your homework for you. Write the code and then post it with your errors or problems here and then we can help.

Member Avatar for Zawar_1
0
161
Member Avatar for tentrabyte

You can use a series of if/else branches, or you can create a set of functions for each operator and create a 2d array or 2d vector of operators and the associated function. In the latter method, you look up the operator, and call the associated function with the provided …

Member Avatar for mridul.ahuja
0
314
Member Avatar for nitin1

Good question nitin1. I use cmake for appropriately constructed projects, but have never built a project for it. I will have to do some research and get back to you. In the meantime, perhaps another user here can provide some clarity on the subject.

Member Avatar for mridul.ahuja
0
278
Member Avatar for Rai_1

And your question is? We can't tell you what topics to do your research in. Always, choose something that is of personal interest to you, if possible. The domains you mention are all very different, require different approaches, different tools, and different mindsets.

Member Avatar for ddanbe
0
186
Member Avatar for Gurjeet Singh

Try these search terms in Google or DuckDuckGo: "netbeans on tomcat configuration". You will get quite of number of good articles on how to do it. Examples: 1. http://wiki.netbeans.org/AddExternalTomcat 2. https://technology.amis.nl/2012/01/02/installing-tomcat-7-and-configuring-as-server-in-netbeans/ 3. http://stackoverflow.com/questions/9131764/how-to-setup-tomcat-server-in-netbeans

Member Avatar for Shilpa_3
0
146
Member Avatar for CodeWarrior14

You have typedef'd PTR_VALUE, but in this function: int initialize(PTR_VALUE value_array) { value_array = (PTR_VALUE)malloc(sizeof(PTR_VALUE) * 94); return 0; } You initialized the value_array parameter, but it is never returned to the calling function, or set as a global or static variable. IE, it has taken up memory, but it …

Member Avatar for CodeWarrior14
0
225
Member Avatar for sunshine102030

Try `const double pi=3.14;` `const double e=2.718281828;` instead. That's what ddanbe was trying to tell you.

Member Avatar for rubberman
0
154
Member Avatar for Wagaana

You are not providing enough information. What exactly are you trying to do? Build your own web server with C++ using winsock API's to handle the network interfaces? Something else? What?

Member Avatar for Wagaana
0
121
Member Avatar for AQ

We get a lot of beginners and students here. Post your questions, code, error messages, problems and we will help if possible.

Member Avatar for tinstaafl
0
129
Member Avatar for SimonIoa

What have you done so far? I have developed PHP/MySQL applications (for internal purposes at Nokia). Making it an application? What does it do? Does it serve a rational purpose? Please describe what it does, and how it does it.

Member Avatar for SimonIoa
0
200
Member Avatar for patuie

To add to what JorgeM said, what OS are you running and which version of Skype?

Member Avatar for aminachour
0
158
Member Avatar for P

The code says you need at least 1 argument, the number of processes to run. IE, you need to execute it as `./chainofn N` where N is the number of processes. You are not specifying that argument, hence the error.

Member Avatar for P
0
173
Member Avatar for XP78USER

Did you just turn it off, or did you shut it down? If it is running and you shut it off (power down without shutting down) you can do a lot of damage, mostly to the disc drive. Can you get into the BIOS?

Member Avatar for XP78USER
0
159
Member Avatar for Surabhi_1

What Nathan is saying (nicer than I would) is that we don't do your homework for you!

Member Avatar for Surabhi_1
0
378
Member Avatar for Ajay_12

Just remember, we don't do your work/homework for you. Make an effort, post the code and errors or problems you are having, and then we can help. FWIW, this can be coded in about 2 lines in most programming languages, including C, aside from the required includes, main(), variable declarations, …

Member Avatar for rubberman
0
336
Member Avatar for jnneson

Find a subject that interests you, and then figure out how to program an application that fits it. For example, let's say you like weight lifting and you want to track your progress in pressing more and more weight over time. You could write an application that lets you input …

Member Avatar for jnneson
0
133
Member Avatar for Mark_33

Shutting down the system when the CPU overheats before damage is done is not usually a default setting of many systems, though most can be configured to do that. My Linux 8-core system is so configured. It will map out overheating memory, and gracefully shut down the system if the …

Member Avatar for rubberman
0
286
Member Avatar for William Hemsworth

Most (all) relational databases have native C/C++ api's that you can use, and most of them also support ODBC as well. For small-medium size databases, MySQL is a good choice. For enterprise size systems, then PostgreSQL or Oracle work well. If you are running on a Microsoft operating system, then …

Member Avatar for William Hemsworth
0
357
Member Avatar for zzmrzz

@rch1231 The article is not too bad, but there are a lot of mistakes and the author's English leaves something to be desired. @zzmrmartinzz Read more than just this article to get an appreciation for the differences, strengths, and weaknesses of RedHat based distributions vs. Debian ones. In my opinion, …

Member Avatar for amalfatima
0
561
Member Avatar for ema-miles

What do you mean? What are the steps the computer goes through to boot Windows (or any other operating system), or how does a user boot Windows? Please be specific.

Member Avatar for Nicholas J
0
124
Member Avatar for skip09

Alternatively you can use a 3 member array and set each as used, of course after you have initialized the members to false! IE: `bool lifeline[3] = {false, false, false};`. Either method (mine or ddanbe) will work for you. So, if selection is 1, then `lifeline[0] = true;`, etc.

Member Avatar for rubberman
0
240
Member Avatar for anumash

While the first construct is still allowed in most C compilers, current C++ compilers will issue a warning about assignment of a string constant to a non-const char*.

Member Avatar for rubberman
0
283
Member Avatar for 3knur8

If it is on a Windows share, it can be configured to require authentication, or be open. I would guess that it was configured for secure access, requiring a Windows AD / LDAP id and password.

Member Avatar for rubberman
0
309
Member Avatar for Đăng

I think you are correct. The assembly code as written is doing basically this: d += c; if (d >= b) then goto .L4; So, to quote Richard Pryor in Brewster's Millions, the answer is "Vote for None of the Above"... :-)

Member Avatar for Schol-R-LEA
0
148
Member Avatar for obinaysamanoden
Member Avatar for bernardo.mclobo
0
173
Member Avatar for skaterxxboy

Are you sure this computer supports more than 4GB of RAM? Have you checked the BIOS settings to see if you can alter that? The Nanya simms are DDR3 devices so that should not be the issue.

Member Avatar for cgeier
0
351
Member Avatar for shifiya
Member Avatar for iamthwee
-1
150
Member Avatar for lewashby

This should not be a problem at all with VBox. How have you configured the virtual network adapter for your VM? Is it nat'd or bridged? If bridged, are you using a static or dhcp address? I have run VM's on dozens of VBox installations in both Windows and Linux …

Member Avatar for Sana_4
0
245
Member Avatar for ixlr8

Here is a list of Linux POS software systems, most of which are open source: http://www.linux.com/community/forums/desktop/top-10-point-of-sale-pos-software-in-linux I worked with OpenBravo in the past. It is a decent system that might work for you.

Member Avatar for rubberman
0
336
Member Avatar for miniru

There is no solution to this problem. Occasionally, RF connections drop packets, and such "freezes" happens. You need to copy the data to your local drive for reliable viewing. Consider the shared drive a repository and copy stuff back and forth as needed, not use it as a "live" image.

Member Avatar for matrixdevuk
0
168
Member Avatar for Mahesh57

Instead of "ping", use "nslookup" instead. That will provide 1 or more IP addresses for the domain name, any one of which may, or may not, be available.

Member Avatar for matrixdevuk
0
239
Member Avatar for deboy4y2k

Access to / (root of the apache directory tree - not the system root folder) is very dangerous! You should set it up to require a userid and password to access, as in: https://host.domain.com/?user=foo&password=bar - so, index.html in / should validate these GET variables.

Member Avatar for matrixdevuk
0
306
Member Avatar for ms95

So, where are you getting free-store from the operating system? Usually one uses sbrk() for that. That provides you with heap store that you can allocate with calloc/malloc et al. And you use that store to provide memory to applications when requested. It doesn't come magically... you have to first …

Member Avatar for ms95
0
346
Member Avatar for Ghost0s

Software engineering is mostly thinking about data and how it should behave and interact with other data. This gives rise to the expression "data driven architecture". Here, the term "architecture" is key. Look at applications as designing and building buildings... (sic). These days, I recommend starting with some modelling tools, …

Member Avatar for Ghost0s
0
195
Member Avatar for habib_6

When this happens, the function should also set errno to a known value to indicate the error that occurred.

Member Avatar for rubberman
1
115
Member Avatar for Vimal Bhatt

Do you want to run Windows, or Linux? With Linux, most software is free, which in a Windows system is often not the case, especially for video editing software. So, your budget is only for hardware?

Member Avatar for XP78USER
0
248
Member Avatar for Shamar_1

What nutster is trying to say is that we don't do your homework for you. Write your code and post it here and we may decide to help you...

Member Avatar for rubberman
-1
247
Member Avatar for Riptyed

Are you sure these are local documents? This behavior sounds like shared documents when there is a glitch in the connection between systems.

Member Avatar for rubberman
0
115
Member Avatar for Shamar_1
Member Avatar for XP78USER

Have you tried Linux? I agree that XP is probably the best Windows OS released, but now out-of-date. Windows 7 is pretty good - kind of an updated XP in my opinion. Windows 8.x? Gah! Windows 10 is still not mainstream and widely available (beta still). I have had to …

Member Avatar for mike_2000_17
-2
138
Member Avatar for Kalle_2

Unix/Linux passwords are hashed and "salted" with a unique value that will be placed as the first 2 characters of the password in the password file. So, when you want to verify the password, you use the salt value and use that to hash the input value to create a …

Member Avatar for JOSheaIV
0
201
Member Avatar for Pirah

We don't do your homework for you. Make an effort and we will perhaps help you.

Member Avatar for rubberman
0
49

The End.