351 Posted Topics
Re: I can't get access to a compiler atm but I will tell you no it don't work. | |
Re: Look at your line 60 and line 66. This is not the way you decrement the value. You should do this: [CODE] STAMINA = STAMINA - 2; [/CODE] or this: [CODE] STAMINA -= 2; [/CODE] | |
Re: Have you tried to compile? Your header file needs the statement "#endif" at the end. The inclusion detection system works in this way: [CODE] #ifndef FUNCTION_H #define FUNCTION_H // Put all your declaration here #endif [/CODE] The reason for doing this is to prevent the compiler from parsing the same … | |
Re: This is where the problem is: [CODE] for(int i=0; i<MAX; i--) cout<<Input_String<<endl; [/CODE] You initialize variable "i" to zero, decrement it in every step, until it is smaller than MAX (which is 100). So, "i" would go from 0 to -1, -2, -3, -4 until to some large negative number … | |
Re: Take away this line: [CODE] return displayGrade; [/CODE] As for the loop, it will keep on prompting you for the next score, until you enter -1 then it will come out of the loop. | |
Re: [QUOTE=Se7Olutionyg;717193]I don't know how to write the divide by zero function, and I don't know why the void function to display the instruction does not run too, [/QUOTE] Anything divide by zero will become infinity. So you need to cater for the case whereby the operator is "/" and the … | |
Re: Welcome to Daniweb! So u wanna build transformers? It's always good to have dreams :) | |
Re: You need to seek help from a counsellor, not in Daniweb where we communicate better with computers than with humans. | |
Re: [QUOTE=mybluehair2;716694]I've already read that, and it tells me just the things I dont really need to know right now. It doesn't give me a good example of displaying text, and it doesn't say anything about if statements. I need to be able to say: if (money > 0) then say … | |
Re: You can post whatever queries you have here, there are many helpful people in Daniweb! | |
Re: Hi welcome to Daniweb! I had learnt all those languages you mentioned except modular-2. | |
Re: I saw a very similar post with a very similar question here just now. Classmates? :P Anyway, the rules here is that you need to try out yourself, show us what you have done, what problems you encountered, and then we will help you to solve the problems. Don't believe … | |
Re: I did not go through the entire post, but I notice your myfunction.h has something wrong. The first few lines of declaration did not state the return type and the required parameters. Also, the inclusion detection should be at the very beginning of the file. | |
Re: It would be good if you can attend some kind of open house or course preview talk at those university to find out more about the prerequisite. Most Comp Sci courses do not need prior programming knowledge, but as you go along there will be some application of mathematics such … | |
Re: It is a place for people to find IT related jobs because those technology companies will be having their booths there for recruitment purposes. | |
| |
Re: Hi Ajay, welcome to Daniweb! U can contribute your part or post your query at the java section. | |
Re: 1. Please use "int main()". You are returning 0 at the end of main(), yet you declare that main() return void. 2. You lack a closing brace "}" and a return statement for do_next_op(). | |
Re: Well, most of the times people come to forums to look for solutions to their programming problems, to find help to solve bugs, etc. UML is used during the requirement analysis and software design stage, where no coding is done yet and the problem/solution domain is still very abstract. Thus, … | |
Re: Is there any restriction in location? Else I would be happy to help you with the interview via email (provided it is not a long one). | |
Re: Are you sure your program runs fine? At the first glance, there's so many errors in it: 1. Your main function is passing uninitialized variables' values like index and insertItem into removeAt() and insertAT() functions. 2. Inside insertAt() function, index and insertItem are treated as local variables. That's very bad … | |
Re: What's the purpose of this thread??? To show an inferior implementation of stack? | |
Re: Firstly what do you want to develope? Do you need only client-side coding, or do you also need server-side coding? If you want to create simple website with no database interaction, you can learn html, javascript, css. If you require some database interaction, you would need to do server-side coding, … | |
Re: Where's your switch statement? You should do something like this: [CODE] switch(choice) { case 'A': if(hours > A_ALLOWED_HOURS) { // Compute charges } else { // Charges is equal to A_FIXED_RATE } break; case 'B': if(hours > B_ALLOWED_HOURS) { // Compute charges } else { // Charges is equal to … | |
Re: I wouldn't say PHP has no future. It is one of the most popular and widely used server-side scripting language. As for whether it is a programming language, it all depends on what's your definition of a programming language. Traditional programming language (eg C++) requires compiler to make the source … | |
Re: I believe you can get visual studio .Net express edition free also. I seem to have the installation CD lying around my desk. Anyway, u need to know what u wanna develop first. For web server side application, u can use php, asp, ruby on rails, etc. For desktop application, … | |
Re: You can use CCriticalSection object if you are using MFC. They are less expensive than mutex. Else, you can use InitializeCriticalSection(), EnterCriticalSection() and LeaveCriticalSection() for the same purpose. | |
Re: Other options (online ones) would be sites that generate frequent updated contents and attracting lots of traffic, and earns from ads revenue. | |
| |
Re: I believe you still need to do programming, especially when you are at an entry level software developer job. Software design and programming are closely related, and having strong programming skills provides a sound foundation for software design. | |
Re: It really depends on your work nature and environment. If you are working with team members that are stationed overseas, or integrating with systems where their developers are not local, you would need a lot of communications. Also, we need to document our technical specifications and source codes so that … | |
Re: It depends on your budget and your requirements. Do you want people to reserve online via internet, or is the software just keeping track of reservation status made through phone calls? |
The End.